Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

how to fix a virtual Network Adapter to be the first one (from guest point of view)

$
0
0

Hi,

 

I'm sure some of you already got into this problem. I'll give an example right away:

 

I have a VM with 2 virtual network adapters:

 

As seen from the vSphere Client when editing the VM:

 

Network Adapter 1 (MAC: 00:50:56:b3:7f:f0)

Network Adapter 2 (MAC: 00:50:56:b3:58:09)

 

or if we take a look at .vmx file this corespondes to

 

ethernet0.generatedAddress = "00:50:56:b3:7f:f0"

...

ethernet1.generatedAddress = "00:50:56:b3:58:09"

 

So far so good. I boot the VM and I go to the Boot order settings.

 

I configure PXE boot so that the order is

 

Network Boot from VMware VMXNET

Network Boot from VMware VMXNET 2

Hard Drive

...

 

So I presume that "VMware VMXNET" == Network Adapter 1. But it is NOT! When PXE boot process starts I can see that is first trying to boot from a network adapter with MAC 00:50:56:b3:58:09 (that would be Network Adapter 2) and later from network adapter with MAC 00:50:56:b3:7f:f0 (that would be Network Adapter 1). This is also the case when OS is up&running since Network Adapter 1 (aka ethernet0) is mapped to eth1 via udev and Network Adapter 2 (aka ethernet1) is mapped to eth0 via udev.

 

So obviously there is some kind of "random" mapping for which network adapter is seen as first adapter by the guest VM.

 

I'm sure there is some way to fix the order of virtual Network Adapters. How?


Viewing all articles
Browse latest Browse all 176483

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>