Quantcast
Channel: VMware Communities : Popular Discussions - General Issues
Viewing all articles
Browse latest Browse all 41042

Host-Only networking not working

$
0
0

Hi everyone,

 

I have been trying to get host-only networking working for two days now.

 

This is my setup:

 

Host: Debian 6.0.5, 64bit; VMware Server 2.0.2 build-203138; located in a data center

Guest: CentOS 6.2, 64bit

 

 

Host-only subnet is 172.16.1.* (VMNet 1). For testing purposes, I added NAT which is 172.16.8.* (VMNet8).

From my guest, I can ping 172.16.8.2. Pinging 172.168.1.1 does not work.

From my host, I cannot ping any of the guest IPs: 172.16.8.128 (which is assigned via VMWare-DHCP) results in 100% packet loss (but this is okay, since NAT only works in the opposite direction). Pinging 172.16.1.128 (again, assigned via VMWare-DHCP) also results in 100% packet loss.

 

Here is some (hopefully useful) information:

 

Host:

 

# uname -a
Linux Debian-60-squeeze-64-LAMP 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux

 

 

# /etc/init.d/vmware status
At least one instance of VMware Server is still running.
Bridged networking on /dev/vmnet0 is running
Host network detection is not running
Host-only networking on /dev/vmnet1 is running
DHCP server on /dev/vmnet1 is running
Host-only networking on /dev/vmnet8 is running
DHCP server on /dev/vmnet8 is running
NAT networking on /dev/vmnet8 is running
Module vmmon loaded
Module vmnet loaded

I'm wondering about that "Host network detection is not running" message, but googling around I didn't find any fix for that.

 

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
XX.XX.43.160    XX.XX.43.161    255.255.255.224 UG    0      0        0 eth0
XX.XX.43.160    0.0.0.0         255.255.255.224 U     0      0        0 eth0
172.16.1.0      0.0.0.0         255.255.255.0   U     0      0        0 vmnet1
172.16.8.0      0.0.0.0         255.255.255.0   U     0      0        0 vmnet8
0.0.0.0         XX.XX.43.161    0.0.0.0         UG    0      0        0 eth0

 

# ifconfig vmnet1
vmnet1    Link encap:AMPR NET/ROM  HWaddr          inet addr:172.16.1.1  Mask:255.255.255.0          UP RUNNING  MTU:0  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
# ifconfig vmnet8
vmnet8    Link encap:AMPR NET/ROM  HWaddr          inet addr:172.16.8.1  Mask:255.255.255.0          UP RUNNING  MTU:0  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

 

# cat Guest.vmx | grep -i ether
ethernet0.present = "TRUE"
ethernet0.allowGuestConnectionControl = "FALSE"
ethernet0.virtualDev = "e1000"
ethernet0.features = "1"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.networkName = "NAT"
ethernet0.addressType = "generated"
ethernet0.generatedAddress = "00:0c:29:ca:ac:12"
ethernet0.pciSlotNumber = "32"
ethernet0.generatedAddressOffset = "0"
ethernet1.present = "TRUE"
ethernet1.allowGuestConnectionControl = "FALSE"
ethernet1.virtualDev = "e1000"
ethernet1.features = "1"
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet1.networkName = "HostOnly"
ethernet1.addressType = "generated"
ethernet1.generatedAddress = "00:0c:29:ca:ac:1c"
ethernet1.pciSlotNumber = "34"
ethernet1.generatedAddressOffset = "10"

 

 

And routes from my guest:

 

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.16.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth5
172.16.8.0      0.0.0.0         255.255.255.0   U     0      0        0 eth4
0.0.0.0         172.16.8.2      0.0.0.0         UG    0      0        0 eth4

 

Do you need any further information? Please help me fix this problem.

 

Thank you in advance,

Chris


Viewing all articles
Browse latest Browse all 41042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>