ESXi and Networking Devices

vmware-esxi

I have two intel pro 1000 pt nics. One quad and one dual port. I want to assign all nic ports to a VM. I enabled PCI passthrough on all devices but ESXi will only allow me to add two nic ports until it tells me the maximum number of pci devices have been added.

I have also tried setting up a virtual switch but it didn't seem like this would give full access to the nics.

What is the best way to setup the nics to the VM has direct access to them? This is for a firewall VM.

Best Answer

If you want to do pass through with every NIC in the box, what is the point of having the OS run on VMWare? Since there won't be any other NICs for other guests you might as well install it on the metal.

Edit: In light of your recent comments - Why not use vSwitches and tag the ports appropriately at the physical switch?

Edit 2: I'm doing this from memory, as I'm not in the office so bear with me. In configuration > networking > add networking. Then you want to add a Virtual Machine network to each of the NICs that you want. Each one will have a different name and you should name them descriptively (ie FW-Trust, FW-DMZ, etc). You can choose to tag the traffic there, or you can leave it untagged and just tag the ports on the physical switch behind it.

Then in the VM go to edit > Add > NIC and then in the Network drop-down you should see the name of each vSwitch that you created in the configuration tab. Just add as many virtual NICs as you want that correlate to the vSwitches that you created.

Related Topic