Skip to contentSkip to conversation

[2.4] disapearing routing entries

DISCUSSION Andrzej Krzysztofowicz 3 participants 5 messages Mar 26, 2004 – Mar 27, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I sometimes notice while using different 2.4/2.2 kernels that some static route entries tend to disappear suddenly few days after they are manually added. It happens only to manually added (non-automatic) entries. No messages concerning this are found in dmesg and system logs.

This happens to me on different kernels (2.4 up to 2.4.25, and also on 2.2.25), on different architectures (i386, sparc), on different routing tables (default and an extra one, No. 100), after different (but random) amount of time (few to over 30 days), etc.

In all cases always specific routing entries seem to disappear (not all, and always the same in a specific routing configuration).

Could anybody tell me:

1. Whether the problem is known?
2. How to further debug this problem?

Andrzej

Signature · 4 lines
=======================================================================
  Andrzej M. Krzysztofowicz               [email protected]
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology
#1 lore raw
Quoted 6 lines · Andrzej Krzysztofowicz

Hi,

I sometimes notice while using different 2.4/2.2 kernels that some static route entries tend to disappear suddenly few days after they are manually added. It happens only to manually added (non-automatic) entries. No messages concerning this are found in dmesg and system logs.

Make doubly sure you are not running routed, gated or zebra/quagga, userspace tools which change your routing.

Regards,
bert

Signature · 2 lines
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
#2 lore raw
Quoted 10 lines · bert hubert
Quoted 6 lines · Andrzej Krzysztofowicz

Hi,

I sometimes notice while using different 2.4/2.2 kernels that some static route entries tend to disappear suddenly few days after they are manually added. It happens only to manually added (non-automatic) entries. No messages concerning this are found in dmesg and system logs.

Make doubly sure you are not running routed, gated or zebra/quagga, userspace tools which change your routing.

None of them.
Only apache and openvpn on one machine and only dhcpd on another one.

The disappearing entries were not related to openvpn routing.

( disapear: route to a specific host via a specific gw and defaultroute
in an extra routing table )

Signature · 4 lines
=======================================================================
  Andrzej M. Krzysztofowicz               [email protected]
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology
#3 lore raw
Quoted 2 lines · Andrzej Krzysztofowicz

None of them.
Only apache and openvpn on one machine and only dhcpd on another one.

Are you running a DHCP client (dhclient, pump, dhcpcd or any other) on the first machine?

-- Jamie

#4 lore raw
Quoted 7 lines · Jamie Lokier
Quoted 2 lines · Andrzej Krzysztofowicz

None of them.
Only apache and openvpn on one machine and only dhcpd on another one.

Are you running a DHCP client (dhclient, pump, dhcpcd or any other) on the first machine?

Yes, I do. I didn't think it may be the source of the problem as DHCP timings are:
LEASETIME=7200
RENEWALTIME=3600
REBINDTIME=6300
and the problem appears after a week or more of normal operation. But I will disable dhcpcd and test again.

Signature · 4 lines
=======================================================================
  Andrzej M. Krzysztofowicz               [email protected]
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology