How to Configure Dual Port PCI-e LAN in Proxmox

mohamedrafim

New Member
May 24, 2022
4
0
1
Dear Team,

I have installed an Intel 82575EB Dual port Gigabit network card (PCI-e 1x Card) for Pfsense firewall installation as virual machine in Proxmox server and when i am start vm i am getting following error.



Task viewer: VM 100 - Start

OutputStatus

Stop
kvm: -device vfio-pci,host=0000:02:00.0,id=hostpci1,bus=pci.0,addr=0x11: vfio 0000:02:00.0: device is already attached
TASK ERROR: start failed: QEMU exited with code 1

Please help me on this issue
 

Attachments

  • Ethernet Card Info.jpg
    Ethernet Card Info.jpg
    334.8 KB · Views: 59
  • Hardware Summary.jpg
    Hardware Summary.jpg
    299.1 KB · Views: 50
You are trying to passthrough the same NIC two times.
First you passthrough "00:02:00" wich will passthrough the complete NIC with poth ports. Then you use "00:02:00.1" which will pasthrough one of the two ports of your NIC.

If you just want to passthrough one port for WAN either use "00:02:00.1" or "00:02:00.0" only.
If you want to passthrough both ports just use "00:02:00" and check the "all functions" checkbox.
 
  • Like
Reactions: aznthugxboii
Hi thank you for your reply
I tried as per your reply but it's showing WAN infterface and LAN interface is not showing
I want use port 1 for WAN and port 2 for LAN using dual port pci nic card 1653405880476.png1653405916100.png
1653406049631.png
 
Adding both individual functions might work fine (like in your screenshots) but not all NICs allow to seperate the functions. In such a case it would be better to only add "0000.02.00.0" OR "0000.02.00.1" but with the "All functions" (see your screenshot where it is not checked) checked which should result in a single "0000.02.00" entry that will passthrough the whole NIC with both functions/ports.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!