Reply to Message

View discussion in a popup

Replying to:
BBui
Contributor
Contributor

VMware Player bridged network interface eth10 has same ip address as host

For work I'm trying to connect a VM launched in VMware Player 5.0.2 to my host computer via bridged network connection. The trouble that I'm having is that with DHCP the IP address that gets assigned to my guest OS (Ubuntu Linux) is identical to the IPv4 address of my host PC (running Windows 8). I'm particularly trying to bridge to my wireless network (although I've tested wired network and I still have the same problem).

Here are some additional details of my setup and what I've tried (*unfortunately my account is too new that I'm not able to upload pictures, so I'll try my best to explain):

  • Windows Firewall is turned off, as well as my AntiVirus (I use StopZilla and from what I've found, there is no firewall to disengage)
  • In the Virtual Machine Settings > Network Adapter, I selected Bridged network connection. Selected my wireless NIC in Configure Adapters. I've also tried doing this with the Virtual Network Editor tool that is so seemingly hard to find access to. No difference.
  • In Virtual Machine Settings > Network Adapter > Advanced..., I updated the MAC Address to that of my host PC
  • This is a snippet of my eth10 settings.
DEVICE="eth10" NM_CONTROLLED="yes" ONBOOT="yes" BOOTPROTO="dhcp" HWADDR="78:45:C4:C0:52:42"
  • Under ifconfig, the inet addr, HWaddr, and Mask addresses are identical to the IPv4, Subnet Mask, and Physical Address of my host PC. See below:

     ifconfig.jpg

  • I also notice something odd in my udev rules list (command: vi /etc/udev/rules.d/70-persistent-net.rules). Here it looks as if the rules set updates with every new attempt I make at resetting my configuration. Or in other words, a new rule is created every time I change my Bridge Adapter (you can tell by the different MAC addresses in each rule, which is the result of me jumping from a wireless to a wired connection). Instead of deleting each new rule, I've just been commenting out the older rules as I go. See below:

rules.jpg

Here are some notes that I've been keeping about different things I've tried:

  • Generated new MAC Address and changed MAC address (in VM Network Adapter settings, in ifcgf-eth10 settings, and in persistent rules); no change
  • Selected Replicate physical network connection state in VM Network Adapter settings; no change
  • Gained access to Virtual Network Editor. Instead of Auto-Bridging, selected Wireless NIC as preferred adapter; no change
  • Tried to use command ifconfig eth10 10.0.0.25 netmask 255.255.255.0 to force IP change. Ran ifconfig immediately and saw change, but after reboot/restart it went back to 10.0.0.6; no change
  • Disabled entire firewall on router; no change

The end result is that from the guest OS I am able to ping myself, the gateway, the internet (i.e. www.google.com), etc. But that's kind of a given since it's assigned a valid IP address. The problem is that unless I run the command ifdown eth10 to power down that interface, my host PC isn't able to connect to the internet (Skype, Outlook and my browsers on my host PC all go offline).

Unless I'm not searching with the right technical terms, this problem seems to be undocumented that I've looked. I've got to be missing something because I've never had such a hard time trying to connect my VM to my PC.

Let me know if there's any other information I could provide that might aid in your suggestions. Thanks, all.

Reply
0 Kudos