Hy people
I ran into a problem.
First of all, some information on the side:
I know how PCI passthrough works under Proxmox.
All parameters and modules that are required on my hardware are set and loaded.
The device is already unmounted using a script and a cronjob during the start of Proxmox and bound to the VirtIO driver.
The IOMMU groups also fit.
Passed PCIe devices were tested in a Win Server 2019 VM.
In general, I can say that passing it through to the VM works without any problems.
Even after a restart, hard reset or similar of the VM.
Also the driver installation and the general function that a NIC has to perform.
So OPNsenes ISO worried and started.
All VirtIO NICs are visible but the PCIe passed NICs are not.
But I see on the switch that the NICs start.
So first google and use the forum search xD.
So this should be a problem with BSD 12 and no longer occur under BSD 13. (OPNsense, PFsense, both currently still BSD 12.xx)
The solution is to switch to i440fx or use q35 v3.1. (Not tested)
I cannot use the PCIe function with the i440fx.
With q35 v3.1 I am not very knowledgeable about whether that brings any performance, stability and / or security concerns with it.
Both are somehow not really satisfactory.
So test wise changed to pfsense.
After a few tests, I did not see any errors. e.g. NICs are visible get a DHCP lease etc.
So I only get errors under OPNsense. (although I have read again and again in most forums that there is the same problem under pfsense)
Hadware:
Intel Corporation 82571EB / 82571GB Gigabit Ethernet Controller (4x 1GB NIC)
Settings:
hostpci0: 0000: 10: 00, pcie = 1, rombar = 0
Thus 2x NICs 10:00:00 and 10:00:01 are passed through by the 4x.
2x NICs are in the same IOMMU group. But it should also fit because I want to pass through 2x NICs. (Multi-WAN)
No errors occurred under WIN Server.
YES I only want to connect my WAN NICs to the VM in connection with PCI passthrough and not use a Linux bridge for the WAN.
Are you aware of these problems and what solutions do you use?
I look forward to your answers and suggestions for solutions.
I ran into a problem.
First of all, some information on the side:
I know how PCI passthrough works under Proxmox.
All parameters and modules that are required on my hardware are set and loaded.
The device is already unmounted using a script and a cronjob during the start of Proxmox and bound to the VirtIO driver.
The IOMMU groups also fit.
Passed PCIe devices were tested in a Win Server 2019 VM.
In general, I can say that passing it through to the VM works without any problems.
Even after a restart, hard reset or similar of the VM.
Also the driver installation and the general function that a NIC has to perform.
So OPNsenes ISO worried and started.
All VirtIO NICs are visible but the PCIe passed NICs are not.
But I see on the switch that the NICs start.
So first google and use the forum search xD.
So this should be a problem with BSD 12 and no longer occur under BSD 13. (OPNsense, PFsense, both currently still BSD 12.xx)
The solution is to switch to i440fx or use q35 v3.1. (Not tested)
I cannot use the PCIe function with the i440fx.
With q35 v3.1 I am not very knowledgeable about whether that brings any performance, stability and / or security concerns with it.
Both are somehow not really satisfactory.
So test wise changed to pfsense.
After a few tests, I did not see any errors. e.g. NICs are visible get a DHCP lease etc.
So I only get errors under OPNsense. (although I have read again and again in most forums that there is the same problem under pfsense)
Hadware:
Intel Corporation 82571EB / 82571GB Gigabit Ethernet Controller (4x 1GB NIC)
Settings:
hostpci0: 0000: 10: 00, pcie = 1, rombar = 0
Thus 2x NICs 10:00:00 and 10:00:01 are passed through by the 4x.
2x NICs are in the same IOMMU group. But it should also fit because I want to pass through 2x NICs. (Multi-WAN)
No errors occurred under WIN Server.
YES I only want to connect my WAN NICs to the VM in connection with PCI passthrough and not use a Linux bridge for the WAN.
Are you aware of these problems and what solutions do you use?
I look forward to your answers and suggestions for solutions.