/etc/resolv.conf
route
nameserver 10.0.11.1
domain a.b
search a.b
-----------
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.11.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 10.0.11.1 0.0.0.0 UG 100 0 0 eth0
-----------------------
ESXi IP = 10.0.11.11
--------------------------
on Client VM:
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0c:29:d6:b4:ca
inet addr:10.0.11.12 Bcast:10.0.11.255 Mask:255.255.255.0
----------------------------------
/etc/network# more interfaces
auto lo
iface lo inet loopback
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 10.0.11.12
gateway 10.0.11.1
netmask 255.255.255.0
network 10.0.11.0
broadcast 10.0.11.255
----------------
ping www.google.com
PING www.l.google.com (72.14.204.147) 56(84) bytes of data.
cannot ping
on the Guest VM, route shows:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.11.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 10.0.11.1 0.0.0.0 UG 100 0 0 eth0
Can you ping the default gw?
Who is the default gw?
Andre
The default gateway is 10.0.11.1 , and yes i can ping it
I mean what device is it?
Patcket arrive there... so the problem is in the default gw.
Check NAT or firewall rules.
since you mentioned device, i think the following article
http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-10.10
addresses it, even though it is not about VMWare specific, but might give us a clue
Now the ifconfig on the host ubuntu, shows:
ifconfig
eth0 Link encap:Ethernet HWaddr 84:2b:2b:b1:51:35
inet addr:10.0.1.163 Bcast:10.0.1.255 Mask:255.255.255.0
inet6 addr: fe80::862b:2bff:feb1:5135/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26378952 errors:0 dropped:0 overruns:0 frame:0
TX packets:15955781 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28492174923 (28.4 GB) TX bytes:6178672736 (6.1 GB)
Interrupt:21 Memory:f7fe0000-f8000000
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:1026543 errors:0 dropped:0 overruns:0 frame:0
TX packets:1026543 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:164602660 (164.6 MB) TX bytes:164602660 (164.6 MB)
virbr0 Link encap:Ethernet HWaddr 02:78:1e:bd:90:56
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::78:1eff:febd:9056/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:15261 (15.2 KB)
but as mentioned in the article
/etc/network/interfaces, was
auto lo
iface lo inet loopback
i changed it to :
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
auto br0
iface br0 inet static
address 10.0.11.101
network 10.0.11.0
netmask 255.255.255.0
broadcast 10.0.11.255
gateway 10.0.11.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
now, i am not sure about br0 , maybe it should be virbr0 ?
anyway i will try it out and will post the results. in the meantime, if anyone thinks / knows that THIS is the solution and have alrady tried it, please post it here.