Then Should I just do the following?
Install bridge-utils with apt-get
1.Create bridge device
2. Add veth devices to bridge
brctl addif vzbr0 veth777.0
3. Configure bridge device
ifconfig vzbr0 0
echo 1 > /proc/sys/net/ipv4/conf/vzbr0/forwarding
echo 1 > /proc/sys/net/ipv4/conf/vzbr0/proxy_arp
4. The new IP for the container?
ip route add 192.168.1.125 dev vzbr0
Thats all? Should I configure the iptables?
Is needed anymore?
This is needed? or not?
# vzctl set 777 --netif_add eth0 --save
# vzctl exec 777 ifconfig eth0 192.168.1.105 netmask 255.255.255.0
# brctl addif br0 veth777.0
# vzctl exec 777 ip route add default via 192.168.1.1 dev eth0
Best Regards
[Updated on: Sat, 31 October 2009 03:27]
Report message to a moderator