VMware, dhcp and multiple ethernet cards in host

Roger Oberholtzer roger at opq.se
Wed Apr 29 03:37:37 PDT 2009


For any vmware gurus out there:

In vmware workstation 6.5 on Linux, I am trying to get an OS installed
via the network. To do this, VMware must do a pxe boot. The first step
in this is a dhcp request. Simple enough. Except something is not as I
need. I have two ethernet cards in the host. I think the dhcp request
from vmware is not sent out on both interfaces. I can live with it being
sent out on one. But I do not know how to tell vmware which to use for
this. 

My setup:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
    link/ether 00:a0:00:00:19:4a brd ff:ff:ff:ff:ff:ff
    inet 10.1.6.131/24 brd 10.1.6.255 scope global eth1
    inet 10.1.5.131/24 brd 10.1.5.255 scope global eth1:ANTS
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
    link/ether 00:19:bb:46:5f:f5 brd ff:ff:ff:ff:ff:ff
    inet 10.2.16.41/24 brd 10.2.16.255 scope global eth0
4: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 1000
    link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.139.1/24 brd 192.168.139.255 scope global vmnet1
5: vmnet8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 1000
    link/ether 00:50:56:c0:00:08 brd ff:ff:ff:ff:ff:ff
    inet 172.16.140.1/24 brd 172.16.140.255 scope global vmnet8

I have looked through the docs and see nothing that looks relevant. I am
not installing from a VMware server (most vmware/dhcp discussions are
about getting a vmware server set up right). I am installing an OS in a
VMware workstation client. The DHCP server is company-wide and is
absolutely working. Only my vmware client on a host with 2 nics is not
doing dhcp correctly. Other virtual machines that are already installed
are using the network just fine.

Any suggestions?

-- 
Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden

Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696




More information about the Linux-users mailing list