OpenVZ Forum


Home » General » Support » route-venet0 removed by vzctl (How to do custom routes?)
route-venet0 removed by vzctl [message #42115] Tue, 01 March 2011 16:37 Go to next message
tomp is currently offline  tomp
Messages: 64
Registered: August 2007
Member
Hi,

I have used in the past the file /etc/sysconfig/network-scripts/route-venet0 to create static routes with the correct source IP address for cases where a container has both a public and private IP address.

However in recent versions of vzctl it has now started removing that file.

How do you add static routes using a particular source IP address now?

Thanks Sad
Re: route-venet0 removed by vzctl [message #42122 is a reply to message #42115] Wed, 02 March 2011 02:35 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

The correct thing to do would be to support netmasks in venet IPs -- this is a subject of opened bug in bugzilla, but still not implemented.

As for removing route-venet0, please file a bug to http://bugzilla.openvz.org/. It was added by commit 25c14e96 and should probably be reverted.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: route-venet0 removed by vzctl [message #42229 is a reply to message #42115] Mon, 21 March 2011 14:41 Go to previous messageGo to next message
tomp is currently offline  tomp
Messages: 64
Registered: August 2007
Member
I have logged a bug, thanks.
Re: route-venet0 removed by vzctl [message #42274 is a reply to message #42115] Tue, 29 March 2011 21:48 Go to previous message
tomp is currently offline  tomp
Messages: 64
Registered: August 2007
Member
Wow you folks have fixed the bug already and it will be in next vzctl release. Good work, thanks again!
Previous Topic: Kernel 2.6.32-5-openvz-amd64 & CPULIMIT
Next Topic: HN crashed with "general protection fault: 0000 [1] SMP"
Goto Forum:
  


Current Time: Fri May 10 02:02:07 GMT 2024

Total time taken to generate the page: 0.01526 seconds