FC2 static routing problem

jludwig wralphie at comcast.net
Thu Sep 2 12:50:21 UTC 2004


On Wed, 2004-09-01 at 13:58, Scott Burch wrote:
> I am having an issue with a FC2 box and static routing.
> 
> I have put in a static route to a destination, but when I do a
> traceroute, it still sends it to the default gateway.  I have 
> done a 'route -Cn' and checked the route cache, and the route
> cache shows the correct destination.
> 
> The only network modification that I have done is to include 
> 'alias net-pf-10 off' to the modprobe.conf file to turn off
> ipv6.
> 
> Has anyone seen this before?
> 
> [root at mail1 etc]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 172.16.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 192.168.30.0    172.16.1.200    255.255.255.0   UG    0      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
> 0.0.0.0         172.16.1.1      0.0.0.0         UG    0      0        0 eth0
>                                                                                 
> [root at mail1 etc]# route -Cn
> Kernel IP routing cache
> Source          Destination     Gateway         Flags Metric Ref    Use Iface
> 172.16.1.242    172.16.1.255    172.16.1.255    ibl   0      0        7 lo
> 172.16.1.17     192.168.30.5    172.16.1.200          0      0        0 eth0
> 172.16.1.15     172.16.1.255    172.16.1.255    ibl   0      0        0 lo
> 172.16.1.1      172.16.1.17     172.16.1.17     il    0      0        0 lo
> 172.16.1.17     66.187.233.4    172.16.1.1            0      0        1 eth0
> 127.0.0.1       127.0.0.1       127.0.0.1       l     0      0        6 lo
> 127.0.0.1       127.0.0.1       127.0.0.1       l     0      4       25 lo
> 67.123.168.174  224.0.0.1       224.0.0.1       ml    0      0        2 lo
> 66.187.233.4    172.16.1.17     172.16.1.17     l     0      0        1 lo
> 172.16.1.25     172.16.1.255    172.16.1.255    ibl   0      0        7 lo
> 172.16.1.17     192.168.30.5    172.16.1.200          0      0        2 eth0
>                                                                                 
>                                                                                 
> ot at mail1 etc]# traceroute -n 192.168.30.5
> traceroute to 192.168.30.5 (192.168.30.5), 30 hops max, 38 byte packets
>  1  172.16.1.1  2.159 ms  3.739 ms  0.453 ms
>  2  67.123.168.174  1.040 ms  0.988 ms  0.961 ms
>  3  68.126.95.249  7.185 ms  7.863 ms  6.983 ms
>  4  63.203.35.65  7.032 ms  7.108 ms  7.596 ms
>  5  *
>                                                                                 
> 
> 
If I remember correctly the route daemon picks the first route that
matches.

Check your order.

-- 
jludwig <wralphie at comcast.net>





More information about the fedora-list mailing list