VMware Communities
Alvaro931
Contributor
Contributor

Problem to add Network Adapter in VMWARE

Hi, I have a problem when i try to add a new Network Adapter in the wirtual machine. The VW gives me the error : "Cannot assign a PCI slot to 'ethernet0'. There are no more hot-pluggable PCI slots available in the virtual machine. Remove some devices from the virtual machine configuration and try again".

I try to edit the .vmx file but this dont result. Please help me. Thank you.

 

I insert my .vmx file if this could help to fix the problem.

.encoding = "UTF-8"
config.version="8"
virtualHW.version="11"
usb.present="false"
priority.grabbed = ""
priority.ungrabbed = ""
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"
floppy0.autodetect="true"
floppy0.startConnected="false"
displayName="MADRID.PCRT"
guestOS="windows8srv-64"
pciBridge0.present="TRUE"
memsize="2048"
numvcpus="1"
firmware="efi"
ide0:0.present="true"
ide0:0.fileName="MADRID.PCRT_1.vmdk"
sata0.present="true"
sata0:0.present="true"
sata0:0.autodetect="true"
sata0:0.deviceType = "cdrom-image"
sata0:0.startConnected="false"
extendedConfigFile = "MADRID.PCRT.vmxf"
virtualHW.productCompatibility = "hosted"
tools.upgrade.policy = "useGlobal"
numa.autosize.cookie = "10001"
numa.autosize.vcpu.maxPerVirtualNode = "1"
uuid.bios = "56 4d 01 5a 34 7c 2e ee-3a 21 5c 6c f1 16 c3 77"
uuid.location = "56 4d 01 5a 34 7c 2e ee-3a 21 5c 6c f1 16 c3 77"
ide0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
scsi0.pciSlotNumber = "-1"
svga.vramSize = "134217728"
vmotion.checkpointFBSize = "4194304"
vmotion.checkpointSVGAPrimarySize = "134217728"
vm.genid = "7263922690528185718"
vm.genidX = "7431894673703071501"
monitor.phys_bits_used = "42"
cleanShutdown = "FALSE"
softPowerOff = "FALSE"
gui.enableStretchGuest = "TRUE"
tools.syncTime = "FALSE"
toolsInstallManager.lastInstallError = "0"
checkpoint.vmState = ""
tools.remindInstall = "FALSE"
toolsInstallManager.updateCounter = "8"
gui.lastPoweredViewMode = "fullscreen"
svga.guestBackedPrimaryAware = "TRUE"
isolation.tools.hgfs.disable = "FALSE"
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "D:\Carpeta compartida VMWARE"
sharedFolder0.guestName = "Carpeta compartida VMWARE"
sharedFolder0.expiration = "session"
sharedFolder.maxNum = "1"
sata0.pciSlotNumber = "32"
unity.wasCapable = "TRUE"

Reply
0 Kudos
8 Replies
scott28tt
VMware Employee
VMware Employee

@Alvaro931 

Is this specific to VMware Integrated OpenStack, VMware vSphere, or some other VMware product?


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
Alvaro931
Contributor
Contributor

@scott28tt Is VMware® Workstation 15 Pro Version 15.0.2

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

@Alvaro931 

Moderator: Moved to Workstation Pro Discussions - not related to VMware Integrated OpenStack.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
Alvaro931
Contributor
Contributor

Some idea?

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

@Alvaro931 

What NIC are you trying to add the VM and how are you doing that?


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
Alvaro931
Contributor
Contributor

Reply
0 Kudos
continuum
Immortal
Immortal

Hi

interesting case. The error you received is
"Cannot assign a PCI slot to 'ethernet0'. There are no more hot-pluggable PCI slots available in the virtual machine. "
is correct - but the suggested fix is completely wrong:
"Remove some devices from the virtual machine configuration and try again".

Instead you have to add PCIbridges to make room for more PCIcards.
In vmx-slang this means you need to add this lines:


pciBridge4.functions = "8"
pciBridge4.pciSlotNumber = "21"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge5.pciSlotNumber = "22"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge6.pciSlotNumber = "23"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
pciBridge7.pciSlotNumber = "24"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"

So close the current VM in the GUI and close its tab.
Then add the lines to your vmx-file and then reopen the VM.
Next you should be able to add a networkcard.

Ulli

 


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
continuum
Immortal
Immortal

The additional lines I mentioned before should allow you to add a network-card.
But the added card will probably use slot 16 which is usually used by the first scsi-controller.
So I would suggest to also add the line
scsi0.present = "true"

Then the VM will use slot 16 for the scsi-controller and that will prevent future problems while adding other extra devices.
I guess this VM was build by someone who wanted to build something like a barebones VM.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos