VMware Communities
carl_flippin
Contributor
Contributor

Bridging failing with dhcp

I'm having a problem with DHCP over the bridged network. I looked for quite a while on the forums but couldn't find anything that quite fits. I'm running VMware Workstation 5.5.3 on Windows XP as the host. I've tried running Windows XP and 4 versions of Linux on it and, in every case, I can't get a DHCP lease. I see a request come across and I see my DHCP server make a lease offer but the response never seems to be received by the VM. If i assign a static IP, everything works just fine. I'd rather have my VM work with my network setup, however. I have tried re-installing VMware and I removed and reinstalled the bridge client on my network adapter. Anything else I should try?

Thanks,

Carl Flippin

0 Kudos
2 Replies
KevinG
Immortal
Immortal

Hi Carl,

Where is your DHCP server and what are you using for a DHCP server? (Router...etc)

I assume that your host is configured for DHCP and it gets an IP OK?

Post ipconfig /all from the host

Post ipconfig /all or ifconfig -a from the guest

Post the .vmx file from the virtual machine

Is this a home or business environment?

Are there any port restrictions like multiple MAC address, IP's, MAC filtering..etc

0 Kudos
carl_flippin
Contributor
Contributor

The DHCP server is an OpenBSD box. When I run the DHCP server in debug mode I see the lease request come in:

DHCPDISCOVER from 00:0c:29:50:3d:a8 via vr1

DHCPOFFER on 192.168.15.35 to 00:0c:29:50:3d:a8 via vr1

ipconfig /all from host:

Windows IP Configuration

Host Name . . . . . . . . . . . . : hplaptop

Primary Dns Suffix . . . . . . . :

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

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

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

DNS Suffix Search List. . . . . . : alogism.com

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.23.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.38.1

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

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

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . : alogism.com

Description . . . . . . . . . . . : Broadcom 802.11b/g WLAN

Physical Address. . . . . . . . . : 00-90-4B-F3-FE-02

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

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 192.168.15.31

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

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

DHCP Server . . . . . . . . . . . : 192.168.15.1

DNS Servers . . . . . . . . . . . : 192.168.15.1

Lease Obtained. . . . . . . . . . : Thursday, March 08, 2007 4:47:29

Lease Expires . . . . . . . . . . : Thursday, March 08, 2007 16:47:29

Ethernet adapter Bluetooth Network Connection:

Media State . . . . . . . . . . . : Media disconnected

Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)

Physical Address. . . . . . . . . : 00-10-C6-8E-C0-3A

Here is the .vmx file:

config.version = "8"

virtualHW.version = "4"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

memsize = "512"

MemAllowAutoScaleDown = "FALSE"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "Other Linux 2.6.x kernel.vmdk"

ide1:0.present = "TRUE"

ide1:0.fileName = "C:\Documents and Settings\Carl Flippin\Desktop\arch-0.7.2-ftp.iso"

ide1:0.deviceType = "cdrom-image"

floppy0.present = "FALSE"

ethernet0.present = "TRUE"

usb.present = "TRUE"

sound.present = "TRUE"

sound.virtualDev = "es1371"

sound.fileName = "-1"

sound.autodetect = "TRUE"

displayName = "Arch"

guestOS = "other26xlinux"

nvram = "Other Linux 2.6.x kernel.nvram"

scsi0:0.redo = ""

ethernet0.addressType = "generated"

uuid.location = "56 4d a8 3b 56 dc a5 f7-5d 64 9f 8f 1c 50 3d a8"

uuid.bios = "56 4d a8 3b 56 dc a5 f7-5d 64 9f 8f 1c 50 3d a8"

ethernet0.generatedAddress = "00:0c:29:50:3d:a8"

ethernet0.generatedAddressOffset = "0"

This is all running on a home network. VMware is running on my laptop via wireless to an AP connected to the main switch and then to the OpenBSD firewall. I though it could have been getting filtered somehow so I tried again with all the filtering disabled on the firewall and still no luck. I see the request come in and I see a response go out but the vm never sees it.

0 Kudos