OpenVZ Forum


Home » General » Support » Elastix on OpenVZ, I cant to do the bridge
Re: Elastix on OpenVZ, I cant to do the bridge [message #37896 is a reply to message #37869] Fri, 30 October 2009 12:29 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello Augusto,


from my point of view the marked commands are erroneous

Quote:

# brctl addbr br0
# ifconfig eth0 0
# brctl addif br0 eth0
# ifconfig br0 192.168.1.125 netmask 255.255.255.0
# ip route add default via 192.168.1.1 dev br0
# ifconfig eth0 192.168.1.105 netmask 255.255.255.0
# ifconfig venet0 192.168.1.125 netmask 255.255.255.0
# vzctl start 777
# 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


IP addresses are not supposed to be assigned on both br0 and eth0 interfaces.
Please, read http://wiki.openvz.org/Veth#Virtual_Ethernet_devices_can_be_ joined_in_one_bridge

Just properly configure eth0 add it to bridge as well as veth777.0.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CPULIMIT problem
Next Topic: Live migration with host file system mounted
Goto Forum:
  


Current Time: Tue Nov 05 17:55:49 GMT 2024

Total time taken to generate the page: 0.03624 seconds