virtualizing opnsense in proxmox, nic unavailable even with proper IOMMU

Started by yjjoe, April 28, 2024, 09:54:48 PM

Previous topic - Next topic
Hi,

I'm having a Proxmox host at version 8.2.2.
Pcie pass-through is well setup and working

On that Proxmox host I have 2 additional ethernet adapter:
1) Solarflare Communications SFC9020 10G Ethernet Controller (2 slot)
2) Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

The opnsense VM is set to use machine type Q35. The 2 ethernet adapter are added as pci device (iommu).

During the install these 2 adapters are not visible. So in order to complete the setup I've assign the default para-virtualized bridge vmbr0 to the LAN interface.
Once opnsense is installed and the web gui is accessible, I go in a shell and type pciconf -lv. It shows my 2 ethernet adapters!

Do you guys have any idea of why there are not showing up when assigning interface? Only the bridge is available.

Is there any specific Kernel Modules to load? Could it be that both of my nic are unsupported?

Atm I'm stucked, thanks for your help!

Cheerios



Just a guess, but your two cards are probably not supported under the BSD from OPNSense - so passing through the NICS wouldn't work.  If you using the virtIO drivers and Linux Bridges it should work fine! I have a R86s G2 device with Mellanox3 10GB ports and I225V 2.5 ports, running just fine for last 9 months with a virtualized OPNSense under Proxmox - using the Proxmox Linux bridges . . .

Hope this helps.