Elastix on OpenVZ, I cant to do the bridge [message #37869] |
Thu, 29 October 2009 01:49 |
Augustino
Messages: 9 Registered: October 2009
|
Junior Member |
|
|
hello
I want to install elaxtix 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
[Updated on: Thu, 29 October 2009 02:10] Report message to a moderator
|
|
|