| Mehrere Netzwerkkarten in VMplayer benutzen/Use multiple nics in VMplayer |
|
|
|
| Mittwoch, 08 Juni 2011 | |
|
Da es immer wieder Bauprobleme mit dem VMware Server gibt habe ich mich entschlossen dan VMware Player zu benutzen. Leider kann man da im GUI nicht wie im Server mehrere virtuelle Netzwerkkarten so konfigurieren, dass sie auf unterschiedliche physikalische Netzwerkkarten zugreifen. Es geht aber doch wenn man ein paar Zeilen in /etc/vmware/network und der .vmx Datei zufügt bzw ändert.
===> English <===
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.
1) eth0 und eth1 existieren auf dem Hostsystem, sind an ein reales Netz
angeschlossen und haben die IPs 192.168.0.10/24 und 192.168.2.10/24
2) in VM zwei bridged Netzwerkkarten definiert
Ziel:
In der VM sollen eth0 und eth1 auf die realen eth0 und eth1 im bridged Modus zugreifen können.
Dazu habe ich in /etc/vmware/networking folgende Zeilen aufgenommen:
answer VNET_2_INTERFACE eth1
und in der vmx Datei des VMware Images habe ich folgende Dinge aufgenommen
ethernet0.connectionType="custom" (war "bridged")
ethernet1.connectionType="custom" ethernet0.vnet="vmnet0" ...
ethernet1.vnet="vmnet2"
Danach habe ich 2 Netzwerkkarten eth0 und eth1 in der VM die auf die realen eth0 und eth1 zugreifen können.
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:
answer VNET_2_INTERFACE eth1
The vmx file of the VM got following new and modified lines:
ethernet0.vnet="vmnet0"
... ethernet1.connectionType="custom" ethernet1.vnet="vmnet2" Finally I was able to access the real nics eh0 and eth1 from the VM. |
|
| Last Updated ( Mittwoch, 03 August 2011 ) |
| < Prev | Next > |
|---|







