OpenVZ Forum


Home » General » Support » Unable to assign IP(s)
Unable to assign IP(s) [message #37628] Fri, 02 October 2009 18:08 Go to previous message
pztje is currently offline  pztje
Messages: 1
Registered: October 2009
Junior Member
As the subject states, I'm unable to assign IP adresses to my container after a (container only) reboot. It was working perfectly fine before that, so I'm very much lost on what could be causing it.

When the VE starts it states that it actually IS assigning IPs, but in reality it is not. (Not even the the local loopback device.)

Some output:

Start;
Starting VE ...
VE is mounted
Adding IP address(es): 1.2.3.4 5.6.7.8
Setting CPU units: 1000
Setting devices
Configure meminfo: 1575562
Set hostname: obfuscated.tld
File resolv.conf was modified
VE start in progress...


Connectivity bit in my container's config;
IP_ADDRESS="1.2.3.4 5.6.7.8"
HOSTNAME="obfuscated.tld"
VE_ROOT="/openvz/merlin/mount"
VE_PRIVATE="/openvz/merlin/root"
OSTEMPLATE="ubuntu-8.04-amd64-minimal"
ORIGIN_SAMPLE="vps.basic"
NAMESERVER="9.10.11.12"
NAME="merlin"
CAPABILITY="CHOWN:on DAC_READ_SEARCH:on SETGID:on SETUID:on NET_BIND_SERVICE:on NET_ADMIN:on SYS_CHROOT:on SYS_NICE:on "
DEVICES="c:10:200:rw "
IPTABLES="iptable_nat"


root@merlin:/# 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)


As you can see a venet0:0 device isn't created either.

Removing it and adding it while running has no effect either.

Any help is greatly appreciated, the machine actually handles most of my stuff. Sad

[Updated on: Fri, 02 October 2009 18:10]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: I figured it out.
Next Topic: Howto migrate physical to virtual server
Goto Forum:
  


Current Time: Thu Aug 22 05:42:24 GMT 2024

Total time taken to generate the page: 0.03091 seconds