Network route problem

Aaron Konstam akonstam at sbcglobal.net
Sat Jan 7 22:26:24 UTC 2012


On Sat, 2012-01-07 at 17:18 +0100, Luc MAIGNAN wrote: 
> Hi,
> 
> I have the following problem.
> 
> Here is the output of : route -n :
> 
> 0.0.0.0                192.168.50.2        0.0.0.0         UG    0      
> 0        0 eth0
> 169.254.0.0        0.0.0.0                 255.255.0.0     U     1002   
> 0        0 eth0
> 172.16.2.6          192.168.50.184  255.255.255.255 UGH   0      
> 0        0 eth0
> 192.168.50.0       0.0.0.0                 255.255.255.0   U     0      
> 0        0 eth0
> 
> 
> When I try to ping 172.16.2.6, it doesn't work while the first available 
> route is used (0.0.0.0 via 192.168.50.2)
> 
> How can I modify the order of the route table to force use of the right 
> route ?
> 
> 
> Thanks for any help

At first blush I would suggest the route command but its man page says
its obsolete and use: ip route
-- 
=======================================================================
The idle man does not know what it is to enjoy rest.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net



More information about the users mailing list