VMware Communities
j_freeman
Contributor
Contributor

Limited or no connectivity network problem

VMware version: 6.0.0 build-45731

Host OS: Windows XP SP2 (32-bit)

Guest OS: Windows XP SP2 (32-bit)

Host OS ipconfig /all:

Windows IP Configuration

Host Name . . . . . . . . . . . . : athlonx2

Primary Dns Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Unknown

IP Routing Enabled. . . . . . . . : No

WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for

VMnet8

Physical Address. . . . . . . . . : 00-50-56-C0-00-08

Dhcp Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 192.168.214.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for

VMnet1

Physical Address. . . . . . . . . : 00-50-56-C0-00-01

Dhcp Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 192.168.108.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : NVIDIA nForce Networking Controller

Physical Address. . . . . . . . . : 00-04-61-49-28-50

Dhcp Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 192.168.4.101

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.4.20

DHCP Server . . . . . . . . . . . : 192.168.4.20

DNS Servers . . . . . . . . . . . : 208.67.222.222

208.67.222.220

24.144.0.4

Lease Obtained. . . . . . . . . . : Wednesday, August 29, 2007 9:21:19 A

M

Lease Expires . . . . . . . . . . : Thursday, August 30, 2007 9:21:19 AM[/code]

Guest OS ipconfig /all:

Windows IP Configuration

Host Name . . . . . . . . . . . . : vmxp

Primary Dns Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Unknown

IP Routing Enabled. . . . . . . . : No

WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter

Physical Address. . . . . . . . . : 00-0C-29-39-8E-9D

Dhcp Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

Autoconfiguration IP Address. . . : 169.254.253.78

Subnet Mask . . . . . . . . . . . : 255.255.0.0

Default Gateway . . . . . . . . . :[/code]

VMX file:

config.version = "8"

virtualHW.version = "4"

scsi0.present = "TRUE"

memsize = "1024"

MemAllowAutoScaleDown = "FALSE"

ide0:0.present = "TRUE"

ide0:0.fileName = "Windows XP Professional.vmdk"

ide1:0.present = "TRUE"

ide1:0.fileName = "auto detect"

ide1:0.deviceType = "cdrom-raw"

floppy0.present = "FALSE"

ethernet0.present = "TRUE"

usb.present = "TRUE"

sound.present = "TRUE"

sound.virtualDev = "es1371"

sound.fileName = "-1"

sound.autodetect = "TRUE"

displayName = "Windows XP Professional"

guestOS = "winxppro"

nvram = "Windows XP Professional.nvram"

ide0:0.redo = ""

ide1:0.startConnected = "TRUE"

ethernet0.addressType = "generated"

uuid.location = "56 4d 38 3a 87 dd bb 70-0e 66 74 e4 22 39 8e 9d"

uuid.bios = "56 4d 38 3a 87 dd bb 70-0e 66 74 e4 22 39 8e 9d"

ethernet0.generatedAddress = "00:0c:29:39:8e:9d"

ethernet0.generatedAddressOffset = "0"

tools.syncTime = "TRUE"

isolation.tools.hgfs.disable = "TRUE"

virtualHW.productCompatibility = "hosted"

tools.upgrade.policy = "manual"

ide1:0.autodetect = "TRUE"

The host computer is connected to a router which is connected to a cable modem. Yesterday, networking was fine--no problems. But this morning I can't get on the network in the guest OS. I haven't changed any settings.

Any ideas? It's very frustrating...

0 Kudos
9 Replies
frankjg
Contributor
Contributor

Does your host machine have internet connection?

0 Kudos
j_freeman
Contributor
Contributor

Does your host machine have internet connection?

Yes, it does.

0 Kudos
AWo
Immortal
Immortal

If your Host is directly connected to the internet communication device, the NIC type in the vmx file is missing: ethernet0.connectionType = "nat"

If you're connected via LAN and a router, the guest is missig the default gateway address.

Andreas Woithon

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
RDPetruska
Leadership
Leadership

>If you're connected via LAN and a router, the guest is missing the default gateway address

That's what the OP describes... PC connected to router, connected to cable modem. There's no gateway address because the 169.254.x.y is an autoconfig address given when no DHCP server is reachable, and therefore could not get a gateway address or an IP address.

OP-->

Does your router have MAC address filtering enabled?

Have you either disabled or configured the nVidia firewall?

AWo
Immortal
Immortal

Yep, but the host has one, so it seems that one is needed ("Does your host machine have internet connection? Yes, it does"). The host IP configuration lists a DHCP server, which is the same as the default gateway. So, at least the host configuration was set via DHCP by the router/internet device.

The Microsoft IP address comes when no other address could be assigned. Therefore, if there is a local firewall on the host which lets all VM traffic pass through, he should

\- configure the virtual NIC with a static IP from the hosts IP network including the default gateway (for testing)

\- check if the DHCP server on the router/internet device went down in the meantime or something else is wrong with it (try "ipconfig /release", "ipconfig /renew" first on the host, then on the guest to check if DHCP is available)

Message was edited by:

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
j_freeman
Contributor
Contributor

Thanks for the help guys. I rebooted my router, and that seems to have worked now. I'm curious as to why the reboot was needed and why it worked.

Also what is interesting is the fact when I go to the "List DHCP Clients" feature in my router's interface it lists only two computers; one is my dad's PC, and the other is not my host PC but rather the guest PC. Yet, both the host and the guest have a working network connection.

Does your router have MAC address filtering enabled?

Nope.

Have you either disabled or configured the nVidia firewall?

The nVidia firewall is disabled. I do, however, have the Windows firewall enabled. But no changes have been made since yesterday (when things were working).

Edit: BTW, I've been using bridged networking because I had problems with NAT in other guest operating systems.

check if the DHCP server on the router/internet device went down in the meantime or something else is wrong with it (try "ipconfig /release", "ipconfig /renew" first on the host, then on the guest to check if DHCP is available)

When the guest still didn't have connectivity, I tried a Repair Connection on both the host and guest. The host worked fine, but the guest could not repair.

Message was edited by:

j_freeman

Message was edited by:

j_freeman

0 Kudos
AWo
Immortal
Immortal

The best explanation seems to be that the internal DHCP server of your router/internet device was not running or had some kind of problem. Restarting it fixed it, soit started to work again. Therefore your guest was able to receive all it needs (and I bet it has an defualt gateway, now)

Why the router only shows two lesed adresses, hmmm, I guess you checked it after all three machines got an IP address. Who knows...the world is not a perfect place Smiley Wink

Andreas Woithon

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
KevinG
Immortal
Immortal

I rebooted my router, and that seems to have worked now. I'm curious as to why the reboot was needed and why it worked.

This happens time to time, I have to reboot my router at home once in a great while. Smiley Sad

0 Kudos
mikeo1313
Contributor
Contributor

I have the same problem as the poster... Except, my router has mac filtering...

I changed the default ips of both VMnet8 & VMnet1 nics {on host} to be similar to other ips in lan, and within a trusted ip range.

My software firewall is setup to trust & share networks of both VMnet8 & VMnet1

My guest OS, win 2003, has that arbitrary ip assigned to its nic. 169.254.208.237 ... what confuses me is that the mac address of the nic there doesn't match neither that of VMnet8 nor VMnet1 devices on host os.

I am confused as to whether I have to put the mac address of both or either VMnet8 , VMnet1's and/or guest OS's nic in the mac address filter.

My VMmachine's network setting is Bridged.

Thanks

0 Kudos