You are not logged in.

#1 2011-09-27 09:52:07

bjorntj
Member
Registered: 2011-05-10
Posts: 150

Static route not working?

I have added a couple of static routes but after awhile they stop working and I have to reboot for them to work again. If I run route -Cn I see the following routes have been cached..:

10.4.34.26      172.21.30.75    10.4.34.1             0      0        6 eth0
10.4.34.26      172.21.30.75    10.4.34.1             0      0        0 eth0

If I run ip route flush cache, those entries are gone but when I ping 172.21.30.75 the same route is added again..

But if you look at my routing table using route -n, it displays this:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.4.34.1       0.0.0.0         UG    0      0        0 eth0
10.4.34.0       0.0.0.0         255.255.255.0   U     1      0        0 eth0
10.220.124.0    10.4.34.102     255.255.255.0   UG    0      0        0 eth0
172.21.30.0     10.4.34.102     255.255.255.0   UG    0      0        0 eth0

Why isn't 172.21.30.75 routed via 10.4.34.102?

btw, I am using NetworkManager, if that makes any difference...

Edit: can someone move this to the Networking forum?

Regards,

BTJ

Last edited by bjorntj (2011-09-27 12:19:15)


Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Offline

Board footer

Powered by FluxBB