I'm bored to struggle with the compile issues of VMware Server on Linux. That's why I decided to use VMplayer. Unfortunately you cannot use multiple physical network cards in a VM - at least if you use the VMwareplayer GUI only. But you can if you add some lines in /etc/vmware/network and add and change some lines in the .vmx file of the Vm.
 
This page helped me to figure out how to get it done.

Prerequisites:
1) eth0 and eth1 exist on the host system, are connected to a real network and have IPs 192.168.0.10/24 and 192.168.2.10/24
2) The VM has two bridged nics defined
 
Goal:
The VM should be able to access the physical nics eth0 and eth1 on the virtual nics eth0 und eth1 in bridged mode:
 
I added following lines in /etc/vmware/networking:
 
add_bridge_mapping eth1 2
answer VNET_2_INTERFACE eth1

The vmx file of the VM got following new and modified lines:
 
ethernet0.connectionType="custom" (was "bridged")
ethernet0.vnet="vmnet0"
...
ethernet1.connectionType="custom"
ethernet1.vnet="vmnet2"

Finally I was able to access the real nics eh0 and eth1 from the VM.
 

Add comment

Spam Kommentare sind sinnlos !
Vor der Publizierung wird jeder Beitrag auf Spam geprüft. Leider dauert es deswegen bis ein Kommentar sichtbar wird. Dafür erhält aber kein Subscriber Spam eMails.
Die eMail ist optional und nicht öffentlich sichtbar. Sie ist notwendig um eMail Benachrichtigungen zu Antworten auf Kommentare zu erhalten und wird u.U. genutzt um offline zu kommunizieren.

Spam comments are useless !
Any comment will be reviewed first and checked for spam. Unfortunately this delays the publishing of comments but will protect subscribers from spam.
eMail is optional and hidden and is required get update notifications for any comments and may be used to contact you offline