Vps – Problems with IP Block Proxmox on OVH

eth0hostinglinux-networkingproxmoxvps

I am using Proxmox. That should be clear by the title. I have developed a software program in vb.net that generates network configurations, and I just copy and paste to the correct files.
I am using Bridged networking for both KVM and OpenVZ. I had a KVM VPS that was using an IP Address, we will say: XXX.XXX.XXX.XXX. I destroyed this VPS, and created a new one with the same IP that was OpenVZ. That has also been destroyed. Now, when I try to re-use that IP in OpenVZ or KVM,

I get the following error: IP's below are publically routable, as they should be. On other VPS's, I can ping the IP's, but on this vps, I can't even bring up the eth0 interface.

[root@g2s /]# service network restart
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device][-s source] destination
  -f : quit on first reply
  -q : be quiet
  -b : keep broadcasting, don't go unicast
  -D : duplicate address detection mode
  -U : Unsolicited ARP mode, update your neighbours
  -A : ARP answer mode, update your neighbours
  -V : print version and exit
  -c count : how many packets to send
  -w timeout : how long to wait for a reply
  -I device : which ethernet device to use (eth0)
  -s source : source ip address
  destination : ask for what ip address
Error, some other host already uses address XXX.XXX.XXX.XXX.

How can I go about fixing this issue? It is used on no other Virtual servers, I have the same problem with a second IP as well.

I have tried both Debian OS, and CentOS.

CentOS /etc/sysconfig/network-scripts/ifcfg-eth0:

HWADDR=02:00:00:d6:b8:3a
TYPE=Ethernet
BOOTPROTO=none
IPADDR=XXX.XXX.XXX.XXX
PREFIX=24
GATEWAY=192.99.9.254
DNS1=8.8.8.8
DNS2=8.8.4.4
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
ONBOOT=yes

/etc/sysconfig/network

GATEWAYDEV="eth0"

I have also tried flushing the ARP Cache on the Node.
Any ideas? I am a bit new to proxmox.

Edit: It works when using KVM, but not OpenVZ.

Best Answer

(I assume you use RHEL6)

1) I'd try this : PREFIX versus NETMASK

2) If it doesn't work, I would try to get a clue with /etc/init.d/network stop;sh -x /etc/init.d/network start (be sure to use vitrual kvm while doing so; not standard ssh connection)

3) I'd start over with blank network configuration : The fact that it works with one virtualisation technology and not another makes me think the problem is not on ovh side.