PFsense loses default gateway.
-
What type of connection, do you have double NAT or you receive external IP on pfSense?
-
Just a basic residential cable connection. 1 public ip. I do have a disabled gateway for when I had a 2nd connection, another disabled Hurricane Electric IPV6, and disabled wan IPV6 gateways.
-
So… let me ask you again.
Do you have public IP on pfSense side (modem is in bridge mode)? -
Yes the modem is in bridge mode. The wan interface has a public up assigned
Sorry for confusion but I didn't know cable provider did nat the connection unless the modem had a built in router.
-
Do some screenshot of your WAN settings, please.
-
I attached screenshots of the wan interface, Gateway screen under routes, and my IPV4 gateway that I am having problems with.
Joe–
-
Any thoughts on what could be causing the issue, or is there more info required?
Joe–
-
For testing purposes try "Mark Gateway as Down" option instead of disabling monitoring, see what happens.
I don't see anything unusual in your configuration.
Also does modem or pfSense reboot help in this situation?
About PHP errors, I can't understand how config errors can influence with PHP errors. Do you have any packages installed?
Maybe it's time to start from scratch? Try minimal configuration to check if problem persists. -
Sorry for the late response, hard to get the fam. to OK some downtime. :)
I did try marking the gateway as down, then tested by unplugging the cable modem for 30 minutes. When I plugged it back in the modem came back online, but no default gateway anymore until I rebooted.
Yes rebooting PFSense brings the default gateway back, this has been my interim fix.
I don't think the php errors would be related to this problem. from what I read online it seemed like they were related to how comments changed in PHP files. I do have the following packages installed: Avahi, darkstat, iftop, iperf, LADVD, openvpn-client-export, & RRD_Summary.
I've been on the fence for a while now to rebuild the system to see if a fresh build would help. This post is my step before hand. Wanted to check there isn't a bug; with a known workaround.
-
I believe that the issue may be solved. Time will tell when the cable modem blips again.
If you look at my gateways.png screenshot the WAN_DHCP gateway did not have the "(Default)" the Wan_DHCP6 and testvlangw only had the "(Default)" set. Once I added the default to the WAN_DHCP my tests recovered. I unplugged the modem for 30 minutes and when i plugged back in and had success.
I also swapped the nic for the wlan to a broadcomm that I had, since the chipset was on the official HCL. But, I noticed it didn't resolve the issue. Interesting enough after I swapped the nic in the PFSense GUI the routes still shown the old nic as the gateway interface until I rebooted.
I also thought it strange that a reboot gave the Wan_DHCP a default entry in the routing table.