I've just migrated my old web server (based on Debian 3.3.5-13) to openvz container. Everythings seems to work fine (joomla, mysql apache etc) but the network is unreachable.
from container - etc/network/interfaces:
Seems to be ok.
But when I typed ifconfig I got nothing. When I typed ifconfig -a I got only this:
Other openvz containers on this cluster node works fine.
from container - etc/network/interfaces:
Code:
# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 0
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down
iface venet0 inet6 manual
auto venet0:0
iface venet0:0 inet static
address my_ip_address
netmask 255.255.255.255
Seems to be ok.
But when I typed ifconfig I got nothing. When I typed ifconfig -a I got only this:
Code:
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)
Other openvz containers on this cluster node works fine.