OpenVZ Forum


Home » General » Support » cannot ping internet from ve
icon8.gif  cannot ping internet from ve [message #30848] Mon, 09 June 2008 08:59 Go to previous message
cesurasean is currently offline  cesurasean
Messages: 8
Registered: June 2008
Junior Member
I am having the same issues on two seperate machines.

One machine is Debian with OpenVZ installed, the other is RHEL.

Both CANNOT access the internet via the Container.

I don't understand what I am doing wrong here!

I set the parameters ( ip address and name server ) BEFORE I start the container,

and I also set the ip address and nameservers with the ifconfig command once the container is opened. Still, no success. Neither of those work.

I'm stumped. I'm thinking it has something to with virtualization of the ethernet card.

This is happening on two seperate machines ( seperate distros also ) !!!





server:/# ifconfig
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.1.101 P-t-P:192.168.1.101 Bcast:192.168.1.101 Mask:255.255.255.0
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

server:/#




----this is taken from the host machine that runs openvz. it's able to ping the ve. ve can't access internet.

server:~# ping 192.168.1.101
PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data.
64 bytes from 192.168.1.101: icmp_seq=1 ttl=64 time=0.151 ms
64 bytes from 192.168.1.101: icmp_seq=2 ttl=64 time=0.116 ms
64 bytes from 192.168.1.101: icmp_seq=3 ttl=64 time=0.128 ms
64 bytes from 192.168.1.101: icmp_seq=4 ttl=64 time=0.118 ms
64 bytes from 192.168.1.101: icmp_seq=5 ttl=64 time=0.122 ms
64 bytes from 192.168.1.101: icmp_seq=6 ttl=64 time=0.084 ms
64 bytes from 192.168.1.101: icmp_seq=7 ttl=64 time=0.111 ms
64 bytes from 192.168.1.101: icmp_seq=8 ttl=64 time=0.082 ms
64 bytes from 192.168.1.101: icmp_seq=9 ttl=64 time=0.100 ms
64 bytes from 192.168.1.101: icmp_seq=10 ttl=64 time=0.106 ms
64 bytes from 192.168.1.101: icmp_seq=11 ttl=64 time=0.130 ms
64 bytes from 192.168.1.101: icmp_seq=12 ttl=64 time=0.083 ms
64 bytes from 192.168.1.101: icmp_seq=13 ttl=64 time=0.132 ms
64 bytes from 192.168.1.101: icmp_seq=14 ttl=64 time=0.121 ms
64 bytes from 192.168.1.101: icmp_seq=15 ttl=64 time=0.125 ms

--- 192.168.1.101 ping statistics ---
15 packets transmitted, 15 received, 0% packet loss, time 13997ms
rtt min/avg/max/mdev = 0.082/0.113/0.151/0.024 ms
server:~#






For SOME reason I can actually ping the container and get valid responses back from another machine within the network. What's going on? I have checked, and there is no firewalls on the host machines, the routers allow for those ip addresses that are specified ( otherwise there wouldn't be a response when I ping it from another machine ).

[Updated on: Mon, 09 June 2008 09:02]

Report message to a moderator

 
Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VPS Mandriva
Next Topic: HNode high load...
Goto Forum:
  


Current Time: Fri Aug 29 22:02:57 GMT 2025

Total time taken to generate the page: 0.06993 seconds