(E-Mail Removed) (David Efflandt) writes:
>On Fri, 3 Jun 2005, Mark <(E-Mail Removed)> wrote:
>>> Why did you set a -host route for 192.168.0.1 and default route for
>>> 192.168.0.1/255.255.255.0 network only, when both of those are local
>>> networks covered by one of your last 2 routes (why 2 different netmasks
>>> for 192.168.0.0 network?)?
>>
>> the only route I have explicitly set ( in route.conf file ) is
>> default 192.168.0.1 255.255.255.0
This makes no sense at all. The default netmask is 0.0.0.0
The default address is 0.0.0.0 with your netmask this would only match an
address of the form 0.0.0.x
which does not exist.
>>
>> which is the same as the gateway configuration on my XP box.
>I doubt it. Where my XP box shows "Default Gateway:" it just shows an IP,
>NOT a Netmask. Like I said, the above in Linux is not a default route
>and the default route should end up at the bottom of your routing looking
>similar to:
>default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
>> I'm not sure where the other lines are coming wrong since I have'nt ( to my
>> knowledge )
>> explicitly set them...
>Something is apparently setting 2 different netmasks. Maybe the netmask
>for your eth0 is set different from your routing, or is is due to the
>misconfigured default route. But I do not recall if you mentioned whether
>your LAN uses 255.255.255.0 or 255.255.0.0 netmask.
No that is just another number in the route. He does not need it as long as
he has an entry which tells the system how to send messages to 192.168.0.1
since that is needed for the default route. But his default route is
screwed up.