Hi everyone
I'm really struggling getting veth to work. The container is Ubuntu 8.04 64bit and host is CentOS 5.3 64bit
I'm following this guide... http://wiki.openvz.org/Veth#Simple_configuration_with_virtua l_Ethernet_device
but I just can't get it going
Here's what I'm doing:
vzctl set 105 --netif_add eth0,,,,vzbr0 --save
[host-node]# ifconfig veth105.0 0
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/veth105.0/forwarding
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/veth105.0/proxy_arp
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
[host-node]# vzctl enter 101
[ve-101]# /sbin/ifconfig eth0 0
[ve-101]# /sbin/ip addr add 192.168.1.15 dev eth0
[ve-101]# /sbin/ip route add default dev eth0
Do I need to restart the CT or the host's networking at any point in this procedure?
At what point should I be able to ping out of the container?
Anyone?
I've been working on this all day to switch our servers over and still no luck
Cheers, B
[Updated on: Sun, 01 November 2009 21:15]
Report message to a moderator