Hi everybody! Centos 5 x86_64, kernel 2.6.18-128.2.1.el5.028stab064.7, vzctl 3.0.23. There are 3 IP addresses on the server - a.b.x.c (hwnode ip) and two for containers - a.b.y.d and a.b.y.e. After I created containers by vzctl create, added them IPs and started them, there is no network in containers. Then I tried: ifconfig eth0:0 up a.b.y.d netmask 255.255.255.192; sleep 1; ifconfig eth0:0 down and networking became up for a few hours. Than, everything stopped working again. What can I do with it?
Hi, - please specify whether venet or veth is used. - please, make sure that "arp -n" output contains VEs' ip addresses so that HN is able to respond to "arp who-has" requests. - make sure that sysctl are set properly http://wiki.openvz.org/Quick_installation#sysctl - use tcpdump to examine network packets behavior http://forum.openvz.org/index.php?t=tree&goto=27545& #msg_27545
I used venet, and it was my mistake. I had read http://wiki.openvz.org/VEs_and_HNs_in_different_subnets and solved the problem. Thanks for your answer!