OpenVZ Forum


Home » General » Support » I dont have access to internet in the vps
I dont have access to internet in the vps [message #37844] Tue, 27 October 2009 17:33 Go to previous message
Augustino is currently offline  Augustino
Messages: 9
Registered: October 2009
Junior Member
I configure one brigde to get internet but i got this error:
RENETLINK answers: File exist

I do this:

# 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

how can I fix this?
 
Read Message
Read Message
Previous Topic: Template and Wrong permision's.
Next Topic: CPU Allocation with OpenVZ
Goto Forum:
  


Current Time: Tue Jul 16 06:49:52 GMT 2024

Total time taken to generate the page: 0.02621 seconds