Fresh install internet access issue
-
Probably hitting this: https://redmine.pfsense.org/issues/9267
Try extending the timeout values on the dhcp client as shown here: https://forum.netgate.com/topic/145010/after-cable-modem-power-down-wan-interface-gets-no-ip/13
Steve
-
Unfortunately that isn't the issue (with mine at least), but I tried it anyway. I set the timeout to 900 seconds, but the same issue remained. pfSense gets its IP right away and is able to ping the outside world immediately from the WAN connection, however the LAN doesn't connect.
However, as soon as I hit "Save" on the WAN interface without changing anything, everything connects:
-
So not the same issue then.
Sounds like you have no default route. Check in Diag > Routes when it fails.
If so go to System > Routing > Gateways and set the WAN dhcp gateway as IPv4 default rather than 'automatic' which it probably is right now.
Steve
-
You are a gentleman and a scholar.
It was indeed set to automatic, and upon changing to WAN_DHCP (after reverting the timeout setting), I've rebooted twice and the network came right back up both times, which is better already! I really hope OP's issue is the same, cause I am positively giddy. Thank you kindly!
-
No problem, glad you're back up.
I think the OP here was probably hitting that dhclient bug as he was not getting an IP at all which is what you see when the dhclint gives up on error.
Steve
-
Hi, thanks for the activity. I have changed the IPv4 default gateway from Automatic to WAN_DHCP but this doesn't work for me.
After rebooting I still have no public IPv4 but I can access only some sites but most addresses are unreachable. For example, I have access to this forum, google.
There is no ping including 1.1.1.1 and 8.8.8.8. How is the access works in such way?
Here are the outputs of IP checkers https://nimb.ws/79piGI , https://nimb.ws/5Ab6Fd
After the "save & apply" procedure I can see my public IPv4. -
Ah so it looks like you are getting IPv6 only until you do that.
Try adding the dhcp client time out value to the v4 settings which is what I though might help you. As shown here:
https://forum.netgate.com/topic/145010/after-cable-modem-power-down-wan-interface-gets-no-ip/13Steve
-
Tried to set from 90 to 900 here https://nimb.ws/9tPfzO no luck, still can't obtain IPv4.
BTW I do not use any modem, just ethernet cable from ISP. -
Hmm. Check the dhcp logs when it fails then. What errors are shown there.
Steve
-
Here is DHCP log after the rebooting https://nimb.ws/Yoazge
And after Save&Apply and obtaining IPv4 https://nimb.ws/5D2c9iAnd here are System - General Logs
Before obtaining IPv4 https://nimb.ws/rINUKB
After Save&Apply https://nimb.ws/RYqjC1 -
Ah you will need to filter those logs by
dhclient
to see only the firewall trying to pull a lease rather than all the dhcpd server entries which is the only thing shown currently.Steve
-
Done - https://nimb.ws/MtROaU
-
That looks to be working fine, it pulls an IP and then renews it every hour. Was it not working at that point?