VMware

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
4 Replies Last post: Nov 13, 2009 12:53 AM by DirkVDB  

Two Bridged Network interfaces posted: Nov 6, 2009 3:19 AM

Click to view DirkVDB's profile Novice 3 posts since
Nov 6, 2009

Hi,

I'm running VMWare Player 3.0.0 build-203739 on Red Hat Enterprise Linux 4 on a machine that has 2 physical network interfaces (eth0, eth1)

I want to have bridged access to these interfaces in my virtual machines, but when I create two virtual adapters they both get an ip from the eth0 interface.

How do I map the second virtual interface to eth1?

/etc/vmware/networks looks like this:

answer VNET_0_INTERFACE eth0

answer VNET_1_INTERFACE eth1

Thanks

Re: Two Bridged Network interfaces

1. Nov 10, 2009 2:36 PM in response to: DirkVDB
Click to view ckousoulis's profile Hot Shot 172 posts since
Dec 14, 2007
Can you post your .vmx config file for the virtual machine with the two virtual NICs?
Since you didn't mention any VM configuration, I would first suggest that you check VM Settings in the UI. For the two virtual NIC devices, there is a UI control to select which virtual network the virtual adapter should use. You will want to set each NIC to use a virtual network that is bridged to a specific host adapter (as opposed to just auto-bridged). Modifying virtual network configuration can be done with the vmnetcfg UI.

Sorry for the brevidy; I can provide more details if needed.

Thanks.

Re: Two Bridged Network interfaces

3. Nov 12, 2009 11:02 AM in response to: DirkVDB
Click to view continuum's profile Guru 12,639 posts since
Dec 18, 2003
your vmx-file is completely mis-configured - don't know why ???

anyway - remove move all ethernet entries and replace them with this ones

ethernet0.present= "true"
ethernet0.startConnected = "true"
ethernet0.virtualDev = "e1000"
ethernet0.connectionType = "custom"
ethernet0.vnet = "vmnet0"

ethernet1.present= "true"
ethernet1.startConnected = "true"
ethernet1.virtualDev = "e1000"
ethernet1.connectionType = "custom"
ethernet1.vnet = "vmnet2"

also do not assign vmnet1 to a physical nic - it should be left to the default which is hostonly
so change

answer VNET_1_INTERFACE eth1

to

answer VNET_2_INTERFACE eth1

___________________________________

VMX-parameters- VMware-liveCD - VM-Sickbay

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities