routing problem
Jeremy Fowler
JFowler at westrope.com
Wed Aug 31 12:23:38 CDT 2005
> On 11:34:52 am 08/31/05 "Jeremy Fowler" <JFowler at westrope.com> wrote:
> > Default gateway for host1 is set to 10.1.1.2, change to 10.1.1.1
>
> Umm.. no. The default gateway is for any request outside the
> local subnet
> and if 10.1.1.2 is the router out then this is correct. The
> routing table
> for host1 shows that no gateway is required for 10.1.1.0/24
> and that all
> else (0.0.0.0) should be shoved out 10.1.1.2.
Umm.. host1 and host2 are on the same subnet, so why would they have two separate default gateways? The reason its going thru host2 is because 101.1.1.10 isn't on the subnet and so it forwards packets to host2, the default gateway. He doesn't want packets to go thru host2, so you change the default gateway. Standard convention places gateways on either the first or last address on the subnet range, in the case of 10.1.1.0/24 that would be either 10.1.1.1 or 10.1.1.254. So when I saw that a) the default gateway wasn't the same for host1 and host2 it caught my eye. and b) host two had a default gateway address at the beginning of the subnet address range, so I assumed it was correct.
Try not to be so condescending with your replies, makes you sound like an ass.
More information about the Kclug
mailing list