VMware Communities
rnoonan
Contributor
Contributor

Can't bridge to LAN: Host = XP Pro SP3, Guest = Ubuntu 8.10

The system configuration:

Windows XP Pro SP3 with firewall disabled. 1 x built-in NIC on company LAN, 1 x USB 10/100 NIC on private switch. Workstation 6.5.2 is installed and running a guest of Ubuntu 8.10. The guest is configured to use bridged networking on VMNet0 (auto is disabled, I set this bridge up manually).

In short, layer 2 traffic appears to pass, but layer 3 does not. Firewalls are disabled on all nodes, the VMWare bridge protocol is installed on the 2nd NIC. The guest will even go through the process of a DHCP request with another host on the private LAN, but after the lease is issued I still can't pass ICMP or TCP traffic and the interface never seems to actually configure. I can configure it manually, but the result is the same. I can't ping or connect to a TCP port.

From posts I've read I think I'll get asked for the info below. Hope it doesn't look like a crap flood Smiley Happy

Thanks in advance for your suggestions.

Host IP Configuration:

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.12.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.189.1

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

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

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : SR9600 USB To Fast Ethernet Adapter

Physical Address. . . . . . . . . : 00-10-13-50-A3-43

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

IP Address. . . . . . . . . . . . : 192.168.99.25

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

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

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : xxx

Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Cont

roller

Physical Address. . . . . . . . . : 00-21-70-94-E9-3A

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

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 192.168.5.128

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

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

DHCP Server . . . . . . . . . . . : 192.168.5.1

DNS Servers . . . . . . . . . . . : 192.168.1.2

64.65.196.6

Primary WINS Server . . . . . . . : 192.168.1.2

Lease Obtained. . . . . . . . . . : Monday, April 13, 2009 11:51:33 AM

Lease Expires . . . . . . . . . . : Tuesday, April 14, 2009 11:51:33 AM

VM configuration:

.encoding = "windows-1252"

config.version = "8"

virtualHW.version = "7"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

memsize = "512"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "Kubuntu 8.10 Desktop.vmdk"

ide0:0.present = "FALSE"

ide0:0.fileName = "auto detect"

ide0:0.deviceType = "cdrom-raw"

ide1:0.present = "TRUE"

ide1:0.fileName = "auto detect"

ide1:0.deviceType = "cdrom-raw"

floppy0.fileType = "device"

floppy0.fileName = ""

floppy0.clientDevice = "FALSE"

ethernet0.present = "TRUE"

ethernet0.connectionType = "bridged"

ethernet0.wakeOnPcktRcv = "FALSE"

usb.present = "TRUE"

ehci.present = "TRUE"

sound.present = "TRUE"

sound.fileName = "-1"

sound.autodetect = "TRUE"

mks.enable3d = "TRUE"

pciBridge0.present = "TRUE"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "TRUE"

roamingVM.exitBehavior = "go"

displayName = "Kubuntu 8.10 Desktop"

guestOS = "ubuntu"

nvram = "Kubuntu 8.10 Desktop.nvram"

virtualHW.productCompatibility = "hosted"

ft.secondary0.enabled = "TRUE"

tools.upgrade.policy = "useGlobal"

extendedConfigFile = "Kubuntu 8.10 Desktop.vmxf"

checkpoint.vmState = ""

ethernet0.addressType = "generated"

tools.syncTime = "FALSE"

uuid.location = "56 4d b7 dd 0a 63 d0 70-04 cc 8a 93 1e 75 1f b1"

uuid.bios = "56 4d b7 dd 0a 63 d0 70-04 cc 8a 93 1e 75 1f b1"

scsi0:0.redo = ""

vmotion.checkpointFBSize = "134217728"

pciBridge0.pciSlotNumber = "17"

pciBridge4.pciSlotNumber = "21"

pciBridge5.pciSlotNumber = "22"

pciBridge6.pciSlotNumber = "23"

pciBridge7.pciSlotNumber = "24"

scsi0.pciSlotNumber = "16"

usb.pciSlotNumber = "32"

ethernet0.pciSlotNumber = "33"

sound.pciSlotNumber = "34"

ehci.pciSlotNumber = "35"

vmci0.pciSlotNumber = "36"

ethernet0.generatedAddress = "00:0c:29:75:1f:b1"

ethernet0.generatedAddressOffset = "0"

vmci0.id = "510992305"

floppy0.autodetect = "TRUE"

ide0:0.autodetect = "TRUE"

ide1:0.autodetect = "TRUE"

ide1:0.startConnected = "FALSE"

floppy0.startConnected = "FALSE"

ethernet0.vnet = "VMnet2"

tools.remindInstall = "TRUE"

Guest IP config:

I haven't figured out now to cut & paste between host and guest yet. The basic eth0 config is:

Link encap: Ethernet, HW addr: 00:0c:29:75:1f:b1, inet adddr:192.168.99.35, Bcast: 192.168.99.255, Mask: 255.255.255.0

Tags (2)
Reply
0 Kudos
7 Replies
KevinG
Immortal
Immortal

If you installed the VMware Tools in the guest OS, you should be able to copy / paste the full contents of ifconfig -a that would be helpful in troubleshooting your issue.

Do you move / copy this VM to another location / directory by any chance?

Reply
0 Kudos
rnoonan
Contributor
Contributor

I used Easy Install to do an unattended install from the Ubuntu .iso file. After that I tried to install VMWare Tools manually and was told it was already installed, so I declined to re-install. But I can't copy and paste. I also just discovered sshd is not installed so I can't copy the ifconfig output that way either. (I assume I can get to the VM from the host because I can ping it from the host. I just can't reach it over the real LAN.)

I've attached a screen cap of my ifconfig -a output. Thanks for looking.

No, I have not moved or copied this VM. This is how it was originally installed.

Reply
0 Kudos
KevinG
Immortal
Immortal

The guest is configured to use bridged networking on VMNet0 (auto is disabled, I set this bridge up manually).

The .vmx file shows that it using vmnet2, I assume you bridged vmnet2 to the USB network adapter and this is the subnet you want to be on?

What else is on this subnet (92.168.99..x ) that you trying to talk with?

By the way, "vmware-toolbox" needs to be running in the Ubuntu guest to copy / paste

From the command line start vmware-toolbox

vmware-toolbox & ( you may have to sudo vmware-toolbox & )

rnoonan
Contributor
Contributor

KevinG, thanks for your assistance.

Just to wrap this post up. First issue was that vmware-tools was not propery installed by the unattended install process. After I got that installed properly not only did I have cut and past working, but I was able to bridge on the built-in Broadcom NIC. I then went back to attempting to get bridging working on the USB NIC and it does not. It is a cheapo part I bought from a random online vendor. It works fine from XP Pro and the hardware configures up fine under Ubuntu, I've been able to use it from a NAT config, but for some reason VMWare bridging does not seem to work with it.

If anyone can recommend a known working USB NIC, I would most appreciate your suggestions.

I may try another USB NIC or just modify the procedure for my demo so that I can use the built-in.

Thanks.

Reply
0 Kudos
earukan
Contributor
Contributor

Hi,

were you able to find any solution to this problem, I also face the same issue with Windows XP guest OS and vista as the host OS,

I am using SR9600 USB to FE converter, I did some troubleshooting and i could see packets going out of the interface, but no replies from external network..

Thanks in advance

aruran

Reply
0 Kudos
rnoonan
Contributor
Contributor

I did not succeed, but found this blog post which seemed to hold a likely solution if you are sufficiently determined:

http://21500.org/?tag=sr9600

Reply
0 Kudos
earukan
Contributor
Contributor

I managed to make the SR9600 work in the gues OS (windows xp) but not via bridging, Following is my findings

As the SR9600 is a USB device first and then can be considered as FE device, I guess the guess the vmware is detecting it as a USB device rather than a FE device, So you can directly connect the USB device via the vmware player/ workstation, Pls refer teh snapshot for this

Then it will install the USB-Lan driver in the host PC and the FE interface will be directly available in the guest OS, The host OS which had the SR9600 lan interface will disappear. We can use the SR9600 directly from the guest OS without any bridging configuration.

Let me know if you were able to make this

thanks

Reply
0 Kudos