Normally, on the dashboard, in the Gateways section I have
WAN_DHCP6
1234::1234:1234:1234:1234
~ ~ ~ Online
and
WAN_DHCP
123.123.123.123
~ ~ ~ Online
with my real WAN ips.
Every few days internet completely stops working, and I just see
WAN_DHCP6 - ~ ~ ~ Online
in the gateways, meaning no WAN_DHCP and no ip address.
Rebooting the router fixes the problem for a few days. How do I start diagnosing and fixing this issue? Thank you!
I have AT&T fiber, not sure if that's relevant. Connection was stable for about a year, this issue started to manifest itself about two weeks ago.
Looking at Reporting->Health->System->States
Not sure what this means. At 17:46 internet connection was lost, at 18:43 I restarted it and it has been working well since then. What does this chart mean?
Here are logs from the time of the failure:
2024-04-09T17:48:00-05:00 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2024-04-09T17:48:00-05:00 Notice dhclient dhclient-script: Reason FAIL on re0 executing
2024-04-09T17:47:58-05:00 Notice dhclient dhclient-script: New Routers (re0): 123.123.123.123
2024-04-09T17:47:57-05:00 Notice dhclient dhclient-script: New Routers (re0): 123.123.123.123
2024-04-09T17:47:57-05:00 Notice dhclient dhclient-script: New Broadcast Address (re0): 123.123.123.123
2024-04-09T17:47:57-05:00 Notice dhclient dhclient-script: New Subnet Mask (re0): 255.255.254.0
2024-04-09T17:47:57-05:00 Notice dhclient dhclient-script: New IP Address (re0): 123.123.123.123
2024-04-09T17:47:57-05:00 Notice dhclient dhclient-script: Reason TIMEOUT on re0 executing
2024-04-09T17:46:37-05:00 Notice kernel <6>re0: link state changed to UP
2024-04-09T17:46:33-05:00 Notice kernel <6>re0: link state changed to DOWN
2024-04-09T17:46:33-05:00 Notice kernel <6>re0: watchdog timeout
2024-04-09T17:46:28-05:00 Notice kernel <6>re0: link state changed to UP
2024-04-09T17:46:24-05:00 Notice kernel <6>re0: link state changed to DOWN
2024-04-09T17:46:24-05:00 Notice kernel <6>re0: watchdog timeout
2024-04-09T17:46:20-05:00 Error dhclient connection closed
2024-04-09T17:46:19-05:00 Notice kernel <6>re0: link state changed to UP
2024-04-09T17:46:16-05:00 Notice kernel <6>re0: link state changed to DOWN
2024-04-09T17:46:16-05:00 Notice kernel <6>re0: watchdog timeout
2024-04-09T17:46:09-05:00 Notice kernel <6>re0: link state changed to UP
2024-04-09T17:46:09-05:00 Error dhclient send_packet: No buffer space available
2024-04-09T17:46:05-05:00 Notice kernel <6>re0: link state changed to DOWN
2024-04-09T17:46:05-05:00 Notice kernel <6>re0: watchdog timeout
2024-04-09T17:46:05-05:00 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6,[lan]))
2024-04-09T17:46:05-05:00 Notice opnsense /usr/local/etc/rc.linkup: plugins_configure dhcp (,inet6,[lan])
2024-04-09T17:46:05-05:00 Notice opnsense /usr/local/etc/rc.linkup: DEVD: Ethernet detached event for wan(re0)
Quote2024-04-09T17:46:37-05:00 Notice kernel <6>re0: link state changed to UP
2024-04-09T17:46:33-05:00 Notice kernel <6>re0: link state changed to DOWN
You are using Realtek NIC, which is known to be unreliable in FreeBSD.
Most Realtek NIC issues usually can be solved by using vendor driver instead of the default FreeBSD driver.
Try installing vendor driver first from os-realtek-re plugin (System>Firmware>Plugins) if you haven't already done so.
Interesting. I also have igb0 and igb1. Should I just switch over to one of those?
I changed three things:
- Switched my WAN to igb0 (previously it was re0)
- Switched my LAN to re0 (previously it was igb0)
- installed the os-realtek-re plugin
- reset my AT&T modem, and configured it again for passthrough
let's see if any of this helps...