OpenVZ Forum - RDF feed
type: channel
items: I dont have access to internet in the vps
items: Re: I dont have access to internet in the vps

I dont have access to internet in the vps
type: item
description: 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?
creator: Augustino
date: 2009-10-27T17:33:16-00:00

Re: I dont have access to internet in the vps
type: item
description: Quote: # vzctl exec 777 ip route add default via 192.168.1.1 dev eth0 RTNETLINK answers: File exists This tells you there is already such a route, see output of ip route list. Quote: [root@test /]# ping google.com ping: unknown host google.com This tells you nothing but the fact that the resolver can not find an IP for DNS name google.com. It can be caused by e.g. nameserver absent from /etc/resolv.conf or unreachable.
creator: kir
date: 2009-10-28T07:58:23-00:00