OpenVZ Forum


Home » General » Support » Add route when venet0 comes up
Re: Add route when venet0 comes up [message #36080 is a reply to message #36074] Wed, 20 May 2009 11:37 Go to previous message
schogge is currently offline  schogge
Messages: 19
Registered: July 2007
Junior Member
The script redhat-add_ip.sh seems to be not helpful in this case.

But I think I have another solution:

The OpenVZ start script /etc/init.d/vz has a function called start_net(). At the end of this function I added the following line:

ip route add 10.3.0.0/24 dev venet0 table mytable


This is working at the moment.

Does anybody has any thoughts that I'm breaking something by doing this?

schogge

[Updated on: Wed, 20 May 2009 11:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: SIOCGMIIPHY on vr1 failed: Operation not supported
Next Topic: *SOLVED* Shutdown Driving me nuts
Goto Forum:
  


Current Time: Sat Sep 28 03:20:43 GMT 2024

Total time taken to generate the page: 0.04136 seconds