Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Fresh install internet access issue

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 3 Posters 650 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • D
        dpeley
        last edited by

        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.

        error1.png
        error2.png

        However, as soon as I hit "Save" on the WAN interface without changing anything, everything connects:

        error3.png

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          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

          1 Reply Last reply Reply Quote 1
          • D
            dpeley
            last edited by

            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!

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • K
                kimi4
                last edited by kimi4

                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.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  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/13

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • K
                    kimi4
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Hmm. Check the dhcp logs when it fails then. What errors are shown there.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • K
                        kimi4
                        last edited by kimi4

                        Here is DHCP log after the rebooting https://nimb.ws/Yoazge
                        And after Save&Apply and obtaining IPv4 https://nimb.ws/5D2c9i

                        And here are System - General Logs
                        Before obtaining IPv4 https://nimb.ws/rINUKB
                        After Save&Apply https://nimb.ws/RYqjC1

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          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

                          1 Reply Last reply Reply Quote 0
                          • K
                            kimi4
                            last edited by

                            Done - https://nimb.ws/MtROaU

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              That looks to be working fine, it pulls an IP and then renews it every hour. Was it not working at that point?

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.