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 #38097 is a reply to message #37956] Sat, 14 November 2009 23:57 Go to previous messageGo to previous message
Augustino is currently offline  Augustino
Messages: 9
Registered: October 2009
Junior Member
maratrus wrote on Fri, 06 November 2009 05:45
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.


I am pained, follow many tutorials and I cant get internet in my virtual machine, Can somebody say the steps? Please
 
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: Wed Jul 24 06:14:39 GMT 2024

Total time taken to generate the page: 0.02456 seconds