OpenVZ Forum


Home » General » Support » VE IP address stops working after several hours
Resolved (well, almost) [message #33046 is a reply to message #33043] Fri, 19 September 2008 15:19 Go to previous message
fatbrother
Messages: 12
Registered: September 2008
Location: Novosibirsk, Russia
Junior Member
It worked!!! At least it worked for full day and did not fail.
But one question remains (hopefully last).

Where should I add "ip route add real_ip2 dev venet0 ..." commands?

I run all other ip rule/ip route commands from /etc/network/if-up.d/sourcerouting script. But when that script runs, venet0 is not up yet, so the command "ip route add ... venet0 ..." fails. I had to enter it manually after HN reboot.

I am thinking about adding it to /etc/rc3.d/ with prefix 22 or 25, so it runs after /etc/rc3.d/S20vz, but it looks ugly for me.
Do you have any better idea? How is it supposed to be done?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can't start networking on a fedora-9-i386-default-20080913 VE
Next Topic: Creation of VE private area failed
Goto Forum:
  


Current Time: Sun Sep 07 00:18:42 GMT 2025

Total time taken to generate the page: 0.09810 seconds