OpenVZ Forum


Home » General » Support » Private IPs not working
Private IPs not working [message #862] Tue, 17 January 2006 01:56 Go to next message
phpfreak is currently offline  phpfreak
Messages: 47
Registered: January 2006
Member
When trying to add a Private IP, we get an error kicked out:

[root@openvz /vz]# vzctl set 9998 --save --ipadd 10.0.1.10
Adding IP address(es): 10.0.1.10
arpsend: 10.0.1.10 is detected on another computer : 00:00:0c:07:ac:00
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.0.1.10 eth0 FAILED

I know for a fact that IP is not anywhere on our network. This happens when we use any 10.0x or 192.168.x IPs. I think this may be a feature of Virtozzo to prevent setting up Private VE's, but I'm not sure.

I check the VE itself, the ip is bound and it's up, but wont ping out.

Any ideas?

Thanks,







Re: Private IPs not working [message #864 is a reply to message #862] Tue, 17 January 2006 07:20 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

No, there is no such feature that prevents private IP usage.

vzctl just uses arpsend utility (see arpsend(8) for details) to make sure nobody else is replying to that IP. In your case it found that something on the same LAN as your eth0 is claiming it owns this 10.0.1.10 address; and the only thing we know about that 'something' is it also claims its MAC address is 00:00:0c:07:ac:00.

In you case you have to find the range of IPs that will not intercept with that 'something'.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Tue, 17 January 2006 07:20]

Report message to a moderator

Previous Topic: service vz
Next Topic: newb: creating "windows 2003" template on openVZ
Goto Forum:
  


Current Time: Sun Jul 21 21:17:34 GMT 2024

Total time taken to generate the page: 0.02508 seconds