dmesg
pveversion -v
vzlist -a
vzctl enter 101
I do not have a network on any VE.
Code:
CT: 101: started
ioctl32(mount:3770): Unknown cmd fd(3) cmd(80041272){t:12;sz:4} arg(bf9cce18) on /
ioctl32(mount:3770): Unknown cmd fd(3) cmd(00001260){t:12;sz:0} arg(bf9ccddc) on /
ioctl32(mount:3770): Unknown cmd fd(3) cmd(80041272){t:12;sz:4} arg(bf9cce18) on /
ioctl32(mount:3770): Unknown cmd fd(3) cmd(00001260){t:12;sz:0} arg(bf9ccddc) on /
pveversion -v
Code:
pve-manager: 1.4-10 (pve-manager/1.4/4403)
qemu-server: 1.1-8
pve-kernel: 2.6.24-16
pve-qemu-kvm: 0.11.0-2
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
vzlist -a
Code:
CTID NPROC STATUS IP_ADDR HOSTNAME
101 5 running 10.0.0.101 test1......
vzctl enter 101
Code:
entered into CT 101
root@test1:/# ifconfig
root@test1:/# cat /etc/network/interfaces
# This configuration file is auto-generated.
# WARNING: Do not edit this file, your changes will be lost.
# Please create/edit /etc/network/interfaces.head and /etc/network/interfaces.tail instead,
# their contents will be inserted at the beginning and at the end
# of this file, respectively.
# Auto generated interfaces
auto lo
iface lo inet loopback
auto venet0
iface venet0 inet static
address 127.0.0.1
netmask 255.255.255.255
broadcast 0.0.0.0
up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
up route add default gw 192.0.2.1
auto venet0:0
iface venet0:0 inet static
address 10.0.0.101
netmask 255.255.255.255
broadcast 0.0.0.0
root@test1:/# /etc/init.d/networking restart
* Reconfiguring network interfaces... ifdown: failed to open statefile /var/run/network/ifstate: No such file or directory
ifup: failed to open statefile /var/run/network/ifstate: No such file or directory
I do not have a network on any VE.