OpenVZ Forum


Home » Mailing lists » Users » virtual machine not able to ping out side netwrok
virtual machine not able to ping out side netwrok [message #27219] Tue, 12 February 2008 08:52
satish patel is currently offline  satish patel
Messages: 1
Registered: February 2008
Junior Member
Dear all
 
                 recently i have installed openVZ on suse 10.x and i have installed centOS-4.0-minimal and its working fine but thing is that my CentOS-4.0 not able to ping outside lan or anyother pc on lan is there any special kind of setup 
 
 I have setup ip address of VM and hostname DNS but i dont know how to put default route caz it is venet0:0 interface and i dont know how its communicate with eth0 ( pysical interface ) can anyone explain me how this thing work..
 
 [root@test101 /]# ifconfig
 lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  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)
 
 venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
           inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
           RX packets:6632 errors:0 dropped:0 overruns:0 frame:0
           TX packets:5681 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:534904 (522.3 KiB)  TX bytes:564282 (551.0 KiB)
 
 venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
           inet addr:192.168.104.12  P-t-P:192.168.104.12  Bcast:0.0.0.0  Mask:255.255.255.255
           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
 
 [root@test101 /]# route -n
 Kernel IP routing table
 Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 192.0.2.0       0.0.0.0         255.255.255.0   U     0      0        0 venet0
 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 venet0
 0.0.0.0         192.0.2.1       0.0.0.0         UG    0      0        0 venet0
 
 but i am not able to ping my gateway ( router )
 

$ cat ~/satish/url.txt                                                      

http://www.linuxbug.org
_____________________________________________________________________________________________________

       
---------------------------------
 Download prohibited? No problem. CHAT from any browser, without download.
Previous Topic: openvz and qemu
Next Topic: problem with snmpd on veth
Goto Forum:
  


Current Time: Mon May 06 09:16:35 GMT 2024

Total time taken to generate the page: 0.02469 seconds