Clueless Network Prob

Net Llama! netllama
Mon May 17 11:33:40 PDT 2004


On Fri, 21 Jun 2002, Michael Hipp wrote:
> Thanks Net Llama!

no problem.

> I corrected a problem of wrong gateway and now am down to this (route -n):
> Destination     Gateway         Genmask         Flags Metric Ref    UseIface
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
>
> A nearby Red Hat box with only one eth looks like this:
> Destination     Gateway         Genmask         Flags Metric Ref    UseIface
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
>
> Should there be 2 lines per eth? Do you fix it by doing 'route add' and
> 'route del'.

Yea, something is definitely wonky there if youv'e got two identical
entries in your routing table.  Definitely try to delete them, and re add
and see if that fixes it.  If you're getting that routing table by default
at bootup, then odds are it might be getting added twice from somewhere or
other.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com




More information about the Linux-users mailing list