OpenVZ Forum


Home » General » Support » New IP-Block and OpenVZ
New IP-Block and OpenVZ [message #28922] Tue, 01 April 2008 12:53 Go to next message
darkblue is currently offline  darkblue
Messages: 1
Registered: April 2008
Junior Member
Hi everybody,

we have a server runnning openvz with ip-address: 83.243.81.XX. The problem is we just aquired half an ip-block with ip-addresses from 89.106.78.128 to 89.106.78.255 gw 89.106.78.129. We wanted to give some of these ips to our VZs. Just adding a new VZ like this:

vzctl create 108
vzctl set 108 --hostname test01.darkblue.de --save
vzctl set 108 --ipadd 89.106.78.130 --save
vzctl set 108 --nameserver XX.XX.XX.XX --save

did not work out. We also tried to add a new IP-address as alias eth-iface to the HWNode. But also with no success.

Does anyone know how to do this correctly? By the way we use venet for openvz.

Thanks!

Darkblue
Re: New IP-Block and OpenVZ [message #28928 is a reply to message #28922] Tue, 01 April 2008 21:03 Go to previous message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Hello, you should not assign the new ips to your HN. You did add them to the VE correctly. what is the HN's default route or the route for 89.106.78.127/25? route -n

if the route for 78.127/25 is not specified or the default route will not route packets from 78.127/25, you need to add a route for this subnet. after you do this, the correct router will be receiving your outbound packets.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Previous Topic: Quota accounting for another partition
Next Topic: Strange conntrack timeout settings
Goto Forum:
  


Current Time: Sat Feb 04 09:01:03 GMT 2023

Total time taken to generate the page: 0.00795 seconds