Hi,
I installed vmware server 2.02 on Ubuntu 10.04 LTS server and installed a guest OS, also Ubuntu 10.04 LTS Server.
I selected NAT for the primary interface on the guest and I can connect to the Interenet. I can, however, not connect from the host to the guest and the other way around. The routing table on the host looks like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
EXT_IP 0.0.0.0 255.255.255.128 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
172.16.132.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet2
172.16.174.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
0.0.0.0 EXT_GW 0.0.0.0 UG 100 0 0 eth0
The IP address of the vmnet2 interface on the host is 172.16.132.1, the IP address of the guest is 172.16.132.128. I cannot ping the gw on 172.16.132.2 from the host either. Does anyone know what I am doing wrong? I can ping the gw on 172.16.132.2 from the guest, but not the host on 172.16.132.1
Any help would be greatly appreciated.
iptables -L yields the same output on both hosts:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Probably not required, but I also turned on ip forwarding.
echo 1 > /proc/sys/net/ipv4/ip_forward