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 #37956 is a reply to message #37903] Fri, 06 November 2009 10:45 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:

Should I configure the iptables?


It's up to you. Configuring iptables has nothing to do with configuring bridge.

Quote:

This is needed? or not?



Quote:

#vzctl set 777 --netif_add eth0 --save


Of course, it must be done otherwise you cannot add veth777.0 into the bridge.
Quote:

# vzctl exec 777 ifconfig eth0 192.168.1.105 netmask 255.255.255.0


You assign ip address inside the VE with this command. If you want your VE to use network this command has to be invoked.

Quote:

# brctl addif br0 veth777.0


You've already invoked this command.

Quote:

# vzctl exec 777 ip route add default via 192.168.1.1 dev eth0


You may set up the default route inside VE.
 
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 Aug 27 15:07:02 GMT 2024

Total time taken to generate the page: 0.03767 seconds