Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Gateway doesn't come back online after losing connectivity
« previous
next »
Print
Pages: [
1
]
Author
Topic: Gateway doesn't come back online after losing connectivity (Read 1922 times)
patrick3000
Jr. Member
Posts: 87
Karma: 6
Gateway doesn't come back online after losing connectivity
«
on:
November 17, 2023, 06:59:13 pm »
I have two gateways: WAN and WAN2, which are in a gateway group, with gateway monitoring, and WAN is assigned highest priority.
My problem is with WAN2, which is assigned to on-board Intel adapter. When I lose internet connectivity to WAN2, either because my ISP has an outage or because I unplug the ethernet cable for testing purposes, WAN2 correctly shows in OPNsense as going offline, but the problem is that it remains offline even after internet connectivity is restored. The only way to get WAN2 to show as back online is to reboot OPNsense.
(Incidentally, WAN works perfectly, even though it's assigned to a NIC with a 2.5 GB Realtek adapter, but WAN comes back online after an outage with no problem.)
So here is my question: why is that, after going offline due to loss of connectivity, gateway monitoring will not show WAN2 as back online even after connectivity is restored, yet rebooting OPNsense will somehow cause gateway monitoring to show that WAN2 is back online?
Can anyone offer any troubleshooting tips?
Logged
Saarbremer
Sr. Member
Posts: 353
Karma: 14
Re: Gateway doesn't come back online after losing connectivity
«
Reply #1 on:
November 17, 2023, 07:19:31 pm »
Hi,
did you check if the dpinger service for the WAN2 gateway is still down after connection loss? There was an issue with that on IPv6 with statically assigned IPs. The gateway.log can tell you more about possible shortcomings or error messages.
Furthermore, what is your configuration on WAN/WAN2 in terms of address assignment and upstream gateway?
Logged
patrick3000
Jr. Member
Posts: 87
Karma: 6
Re: Gateway doesn't come back online after losing connectivity
«
Reply #2 on:
November 17, 2023, 07:37:08 pm »
I did not check dpinger for WAN2 after a connection loss but will do so. I cannot take WAN2 offline right now to test because it's the middle of the day where I am and my spouse works from home and needs online connectivity, so I cannot risk doing something that will probably require me to reboot OPNsense. However, tonight I will test this, take WAN2 offline, and look at dpinger.
Regarding upstream, both WAN2 and WAN are assigned IPv4 addresses through DHCP.
«
Last Edit: November 17, 2023, 07:39:06 pm by patrick3000
»
Logged
DEC670airp414user
Full Member
Posts: 164
Karma: 8
Re: Gateway doesn't come back online after losing connectivity
«
Reply #3 on:
November 18, 2023, 12:50:56 pm »
https://forum.opnsense.org/index.php?topic=36558.msg180685#msg180685
reapplying makes it come back online for me under gateway
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Gateway doesn't come back online after losing connectivity