Trixbox on OpenVZ, I dont cant to do the bridge

Augustino
Posts: 9
Member Since:
2009-08-28

hello

I want to install trixbox on openvz, i found many handbooks, I also had internet in my container but currently, I dont have access to internet in the container but I have access in the father machine, the insternet is needed to install the repositories

I dont have internet in the container

I am making this
Wheres is the error?

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
RTNETLINK answers: File exists
# vzctl enter 777
entered into VE 777
[root@test /]# ping google.com
ping: unknown host google.com

Best Regards



mustardman
Posts: 1289
Member Since:
2006-06-18
Save yourself some grief and

Do it from a running VPS using a CentOS 5 template. Much easier than trying to create a template from scratch.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.