Networking with VMware Player, two different NIC's

jaydee

Diamond Member
May 6, 2000
4,500
3
81
I am running Ubuntu as the host OS, with two virtual machines that will have CentOS 6. My host machine has two NIC's (eth0, eth1), and I would like to attach one VM to "eth0" and the other VM to "eth1" (I need to keep the two VM's on separate VLANs).

I don't see any sort of option for selecting a network adapter for a virtual machine in the settings. How do I force VMWare to use a specific NIC?

If this should be in *nix Software forum, let me know, but I assume this works the same way in Windows...
 

KentState

Diamond Member
Oct 19, 2001
8,397
393
126
VM's don't directly reference NICS, but virtual networks. You can then setup the virtual networks to point to a specific physical network card. In Workstation, there is a Virtual Network Editor under the Edit menu option.
 

jaydee

Diamond Member
May 6, 2000
4,500
3
81
VM's don't directly reference NICS, but virtual networks. You can then setup the virtual networks to point to a specific physical network card. In Workstation, there is a Virtual Network Editor under the Edit menu option.

Right, I have VMWare Player though, not Workstation... I have two VM's, and two NIC cards, but both VM's default to the same network interface, that is identified with "eth0" in the host machine. If I "ifdown eth0", then the VM's will default to host machine network interface "eth1", but as soon as I bring eth0 back up, the VM's revert back.