OpenVZ Forum


Home » General » Support » Unable to add ip: Address already in use
Unable to add ip: Address already in use [message #24310] Mon, 03 December 2007 21:26 Go to previous message
Inverted is currently offline  Inverted
Messages: 9
Registered: September 2006
Junior Member
I built 6 templates, one for each architecture(i386, x86_64) for FC2, FC4, & FC6. I used the following commands on the host VE to add the network information for each VE:

vzctl set <VEID> --ipadd xxx.xxx.xxx.xxx --save

However, whenever I try and do this for the FC2 VEs it says that the address is already in use. I can stop the VE and run the commands again and they complete without error. But when I start up the VE the network info doesn't exist. I have checked and no other machine on the network is using this IP.


[root@build1 dists]# vzctl set 201 --ipadd xxx.xxx.xxx.xxx --save
Adding IP address(es): xxx.xxx.xxx.xxx
Unable to add IP xxx.xxx.xxx.xxx: Address already in use
Saved parameters for VE 201

[root@build1 dists]# vzctl enter 201
entered into VE 201
[root@ve201.build1 /]# ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
BROADCAST POINTOPOINT NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


When I stop the VE and look at /proc/vz/veinfo, the ip information isn't there, but it is there while running.
 
Read Message
Read Message
Read Message
Previous Topic: unable to install cubepanel in VE
Next Topic: Fuse(sshfs) instead of NFS
Goto Forum:
  


Current Time: Fri Nov 08 23:36:24 GMT 2024

Total time taken to generate the page: 0.03129 seconds