OpenVZ on OVH vRack (Multiple subnet on same IF) [message #51441] |
Thu, 05 June 2014 12:43 |
loki
Messages: 6 Registered: June 2014 Location: Canada
|
Junior Member |
|
|
Hi,
We have servers on OVH using vRack technology with OpenVZ and SolusVM.
With our xen servers, we can use these blocs without doing any changes to eth1, and specify IP Addr with correct subnet / gateway on each VM. That allows us to move any vm to any server and keep the same public address.
I have been trying for 2 days , to setup 2 FO IP Blocs for use by our SolusVM servers.
So it looks like :
/28 |--\
/29 |---------OVH-vRack1.5 --------eth1----SolusVM(OpenVZ)Server #1
In short, 2 IP blocs, assigned to the same interface, on the same server (eventualy more servers as we scale on that technology).
So, i can make things work without issues if i setup an IP address from either the /28 or /29 bloc to eth1 , and then bind vz to eth1. but it has the following problems:
Cannot use more then 1 blocs with OpenVZ
Has to waste 1 ip from every bloc i would eventually add
Does anyone have a suggestion / idea of what could be a setup for that ? If we start OpenVZ witouth an IP assigned to eth1 device, of course, we get the following starting vm's : vps-net_add ERROR: Unable to get source ip [ETH1]
Thanks!
|
|
|
|
Re: OpenVZ on OVH vRack (Multiple subnet on same IF) [message #51501 is a reply to message #51500] |
Mon, 30 June 2014 01:30 |
loki
Messages: 6 Registered: June 2014 Location: Canada
|
Junior Member |
|
|
For some reason one of the routers at the DC flushe ARP cache every 4 hours.
Now i have scripted something to do arp_send for every running ct's (similar to what happens in the vzctl start process)
This script will run on an hourly cron, never lost connectivity after that.
|
|
|