USB to RJ45 adapter not recognized as valid interface when virtualizing pfSense
I'm trying passthrough a USB RJ45 adapter to pfSense using Proxmox and a Intel NUC. The adapter is based on the Realtek RTL8153.
When I install pfsense directly on the NUC, pfSense recognized the adapter without any problems. However when I passthrough the adapter directly to pfSense running in a Proxmox VM, the adapter is not picked up. However running usbconfig from the console does show the adapter.
ugen0.1: <Intel UHCI root HUB> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen1.1: <0x1033 XHCI root HUB> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.2: <Realtek USB 101001000 LAN> at usbus1, cfg=1 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA) ugen0.2: <QEMU QEMU USB Tablet> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
I have confirmed its not an issue with the passthrough command by running a Ubuntu VM with the adapter passed through to it. Ubuntu picked up the adapter no problem.
Is there anything I can do to get pfSense to recognize the adapter while running as a VM? Seems to be both pfSense and Proxmox don't have any problems with the adapter and it should be possible to get this to work.
Gertjan last edited by Gertjan
Is there anything I can do to get pfSense to recognize the adapter while running as a VM?
The issue is probably the FreeBSD kernel, and the fact that the device's (USB NIC) name changes when it's exposed through a VM like Proxmox. Check it out yourself : the name isn't the same when booting pfSense natively on the device, and when you boot under Proxmox.
The FreeBSD kernel has not all imaginable device drivers build into it by default.
Btw : USB NIC's do not often offer a workable situation : FreeBSD has little support for these. See this forum ... many tried, and many failed.
And the name Realtek is often related to the "I have problems" posts on this forum.
Yup, use VLANs and a managed switch would be a better solution there.
Does it actually change the USB IDs? Kind of surprised to see that though I've never tried it myself.
I see. In that case I'll just continue using the adapter as a bridge in Proxmox and assign it to pfSense that way. That has been working just fine for about a year now. Was thinking about doing hardware passthrough because I want to get rid of my old router and let pfSense handle the PPPoE connection to my ISP and wanted to minimize any potential security risks.