1
General Discussion / ARP MAC resolution problem with Realtek RTL8111E
« on: December 11, 2023, 06:03:55 pm »
So I'm running OPNsense with the mentioned cable router as the gateway.
I'm starting the OPNsense device (AMD E1-6010, 4 GB RAM) manually every day to save some electricity.
But I'm experiencing the problem that the LAN switch of the cable router doesn't want to tell OPNsense its MAC address which results in having no internet connection.
I had this issue already on a Linux-based firewall, so it doesn't seem to be a software problem of the underlying FreeBSD.
But on OPNsense this issue appears much more frequently. I suspect either the WAN NIC of the firewall or the LAN NIC of the cable modem as the cause. Restarting the cable modem does not fix the issue but restarting OPNsense does fix the issue. Restarting all services on OPNsense does not fix the issue.
Any tips on how to find the cause? How would I debug the ARP handling? Here are the ARP entries when internet is down:
Here are the ARP entries after OPNsense reboot:
NICs:
LAN: Onboard Realtek RTL8111H
WAN: Add-on Realtek RTL8111E
I'm starting the OPNsense device (AMD E1-6010, 4 GB RAM) manually every day to save some electricity.
But I'm experiencing the problem that the LAN switch of the cable router doesn't want to tell OPNsense its MAC address which results in having no internet connection.
I had this issue already on a Linux-based firewall, so it doesn't seem to be a software problem of the underlying FreeBSD.
But on OPNsense this issue appears much more frequently. I suspect either the WAN NIC of the firewall or the LAN NIC of the cable modem as the cause. Restarting the cable modem does not fix the issue but restarting OPNsense does fix the issue. Restarting all services on OPNsense does not fix the issue.
Any tips on how to find the cause? How would I debug the ARP handling? Here are the ARP entries when internet is down:
Code: [Select]
root@OPNsense:~ # arp -a
? (192.168.7.100) at a8:a1:59:aa:a1:0c on re1 expires in 1183 seconds [ethernet]
? (192.168.7.2) at 3c:8c:f8:15:78:80 on re1 expires in 1132 seconds [ethernet]
? (192.168.7.1) at f4:b5:20:4b:cd:53 on re1 permanent [ethernet]
? (192.168.0.1) at (incomplete) on re0 expired [ethernet]
? (192.168.0.2) at 00:e0:4c:68:1a:07 on re0 permanent [ethernet]
root@OPNsense:~ #
Here are the ARP entries after OPNsense reboot:
Code: [Select]
root@OPNsense:~ # arp -a
? (192.168.7.100) at a8:a1:59:aa:a1:0c on re1 expires in 1136 seconds [ethernet]
? (192.168.7.2) at 3c:8c:f8:15:78:80 on re1 expires in 1185 seconds [ethernet]
OPNsense (192.168.7.1) at f4:b5:20:4b:cd:53 on re1 permanent [ethernet]
? (192.168.0.1) at 9c:c8:fc:3b:e3:7a on re0 expires in 1182 seconds [ethernet]
? (192.168.0.2) at 00:e0:4c:68:1a:07 on re0 permanent [ethernet]
root@OPNsense:~ #
NICs:
LAN: Onboard Realtek RTL8111H
WAN: Add-on Realtek RTL8111E