After moving my OPNsense from VM to a MacMini Late 2012 I'm having issues with the ue0 USB to Ethernet adapter (I know is not recommended but the Mini only have one ethernet port) This is what I got so far any idea what could be causing the issue its the Realtek drivers or something like that. The Lan port is working but very slow if I do an Internet speed in the OPNsense I get the correct speed 850 MBps but the clients connected to the Lan port only max to 200Mbps.
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: WAN (wan)
options=80088<VLAN_MTU,VLAN_HWCSUM,LINKSTATE>
ether 0c:4d:e9:b2:23:8b
inet 71.179.258.721 netmask 0xffffff00 broadcast 71.179.225.721
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0<> metric 0 mtu 1536
groups: enc
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pflog0: flags=20100<PROMISC,PPROMISC> metric 0 mtu 33160
groups: pflog
pfsync0: flags=0<> metric 0 mtu 1500
syncpeer: 0.0.0.0 maxupd: 128 defer: off
syncok: 1
groups: pfsync
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: LAN (lan)
options=80008<VLAN_MTU,LINKSTATE>
ether 80:3f:5d:f3:a4:00
inet 10.1.10.1 netmask 0xffffff00 broadcast 10.1.10.255
inet6 fe80::823f:5dff:%ue0 prefixlen 64 scopeid 0x6
inet6 2600:4040:29f2:b800 prefixlen 64
media: Ethernet autoselect
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ugen0.2: <Realtek USB 10/100/1G/2.5G LAN> at usbus0, cfg=2 md=HOST spd=SUPER (5.0Gbps) pwr=ON (64mA)
ugen0.2.0: cdce0: <CDC Communications Control>
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 80:3f:5d:f3:a4:00
ue0: link state changed to UP
arp: 10.1.10.4 moved from e4:5f:01:5f:b3:b9 to 26:84:63:91:56:02 on ue0
arp: 10.1.10.4 moved from 26:84:63:91:56:02 to e4:5f:01:5f:b3:b9 on ue0
Any idea what could be causing this issue?
you could try the os-realtek-re plugin.
It installs the vendor's driver instead of the freebsd one. It might only support up to 1 Gbps though. Not sure.
Quote from: cookiemonster on February 17, 2024, 10:35:49 PM
you could try the os-realtek-re plugin
try it with same results
It could be the USB port bandwidth that is limiting. You might consider trying an Apple thunderbolt 2 Ethernet adaptor but that makes you use the hdmi port for graphics.
Thank you. Sadly this Mac mini is older only have thunderbolt 1 and there is no adapter that run at 2.5Gb. I ended up installing Openwrt and the adapter works at full speed.