WAN only connects on unplug and plug back in
-
@randombits said in WAN only connects on unplug and plug back in:
I tried all those combinations and nothing worked
So, imho, it's not pfSense that takes your connection down. Whatever happens, its on the other side of the WAN cable.
-
@randombits said in WAN only connects on unplug and plug back in:
In the gui it says all's ok
Is that before bouncing the NIC in Proxmox?
-
@stephenw10 yes
-
Oh right we went through this already. Too many threads!
At that stage it can ping the gateway but has no default route.
When it starts throwing:
Aug 23 14:51:11 kernel arpresolve: can't allocate llinfo for isp.gateway.ip on em0 Aug 23 14:51:11 kernel arpresolve: can't allocate llinfo for isp.gateway.ip on em0
I would expect that gateway to show as down in the dashboard?
When that happens the WAN must be losing it's lease because the firewall ends up without an IP in the gateway subnet.
This must be a timing issue. Though it shouldn't be possible.
You can almost certainly workaround this with a shellmd in the mean time.
When it's in the failed state try running these commands at the CLI:
/etc/rc.newroutedns
/etc/rc.newwanip
Check in between if either of those re-add the required default route. If so you can add them as a shellcmd so it runs at boot.
-
@stephenw10 Neither of those commands did anything, /etc/rc.newwanip did take a while though.
-
Hmm, try:
/etc/rc.reload_interfaces wan
-
@stephenw10 YES!! That did it ! Now after my over exuberance how do I add that into a reboots .... ?
(It was all a bit worry given that the phone here (FreePBX VM) goes over the internet and we do get power blips that can cause reboots and no phone. Mobiles are very poor in this area)
-
Add it as a shellmd. The easiest way to do that it to install the Shellcmd package then add the command like:
-
SOLVED !
@stephenw10 Well that worked !.
Many thanks for bearing with me on this. The whole thing is weird as to why it started to happen. I can sleep better thinking everything will come back up after a power failure or backup.
The first I noticed it is when Proxmox does it's twice it's week back overnight and the internet would be down in the morning. I set pfSense to backup on early Fridays mornings and on Saturdays Docker would update containers - Watchtower. And then on early Sunday mornings Proxmox would do another back.
Thanks Stephen for all your help I appreciate it.
Dave.
-
Ah, cool! Shouldn't be required though, be good to find out what's actually causing that. Someday!
Anyway glad we were able to get a workaround in place.