getting a container created works great with this command (except it doesn't set the hostname): vzctl create 101 --ostemplate gentoo-openvz-i686-current --ipadd 192.168.1.110 --hostname foo ip address is good, I can ping the Host machine IP, but not the router, or anything else. # ifconfig: venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:192.168.1.110 P-t-P:192.168.1.110 Bcast:0.0.0.0 Mask:255.255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:23 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2681 (2.6 KiB) TX bytes:3293 (3.2 KiB) I'm really new to this so just tell me what info or details I'm missing.
# ip a l (from HN and from inside the VE) # ip r l (from HN and from inside the VE) # arp -n (from HN) # check iptables rules (on the HN and inside VE) # check sysctl parameters - http://wiki.openvz.org/Quick_installation#sysctl
[SOLVED] Re: netmask and broadcast addresses
hmm, not sure what I did... but I re-installed Gentoo and recompiled the openvz kernel and now networking works great.
Re: [SOLVED] Re: netmask and broadcast addresses
Then try remembering the difference between suggested commands output in last configuration and configuration that was before.