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

    No internet

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 4 Posters 966 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.
    • B
      beatgeek @Jarhead
      last edited by

      @jarhead
      the network (simplified while troubleshooting) is:

      cable from wall -> cable modem -> netgate 1100 wan port -> lan port to laptop

      block private networks is selected for wan. everything is at factory default right now.

      i ran a packet capture. it didn't really show much, a lot of broadcast arps asking "who has... tell..." , some DHCP discovers, a few router solicitations, and ping requests (no response found)

      1 Reply Last reply Reply Quote 0
      • B
        beatgeek
        last edited by

        also, following this:
        https://docs.netgate.com/pfsense/en/latest/troubleshooting/connectivity.html

        my isp assigns me a dynamic address, not static, so most of the first steps to check there are irrelevant. the step that fails is "check that the default gateway shows online". instead it shows "pending". but i don't know how to fix this.

        V 1 Reply Last reply Reply Quote 0
        • V
          viragomann @beatgeek
          last edited by

          @beatgeek
          Does pfSense get a WAN IP at all. Check Status > interfaces.

          Any special settings on the WAN interface?

          Check the DHCP log for related entries.

          You can also run a packet capture on WAN, set the port filter to "67|68" to get only DHCP related packets.
          You should see a DHCP request and a response from the server. Post what you get, please.

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

            dpinger showing 'pending' like that usually means it has no gateway IP to try to ping yet. So usually the dhcp client hasn't completed on WAN.

            1 Reply Last reply Reply Quote 0
            • B
              beatgeek @viragomann
              last edited by stephenw10

              @viragomann

              No special WAN settings. This is all I see for the WAN status:

              WAN Interface (wan, mvneta0.4090, switchports: 0t 3)
              Status
              up 
              DHCP
              up 
              MAC Address
              f0:ad:4e:20:75:5c 
              IPv6 Link Local
              fe80::f2ad:4eff:fe20:755c%mvneta0.4090 
              MTU
              1500 
              Media
              1000baseT <full-duplex,master> 
              In/out packets
              20/15 (8 KiB/1 KiB) 
              In/out packets (pass)
              20/15 (8 KiB/1 KiB) 
              In/out packets (block)
              0/0 (0 B/0 B) 
              In/out errors
              0/0 
              Collisions
              0 
              

              Here are some DHCP logs:

              Deleting old routes 
              PREINIT 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 2 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 3 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 3 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 7 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 11 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 14 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 16 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 3 
              No DHCPOFFERS received. 
              Trying recorded lease 216.15.18.38 
              TIMEOUT 
              Starting add_new_address() 
              ifconfig mvneta0.4090 inet 216.15.18.38 netmask 255.255.240.0 broadcast 255.255.255.255 
              New IP Address (mvneta0.4090): 216.15.18.38 
              New Subnet Mask (mvneta0.4090): 255.255.240.0 
              New Broadcast Address (mvneta0.4090): 255.255.255.255 
              New Routers (mvneta0.4090): 216.15.16.1 
              New Routers (mvneta0.4090): 216.15.16.1 
              Deleting old routes 
              No working leases in persistent database - sleeping. 
              FAIL 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 2 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 2 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 4 
              Cannot open or create pidfile: No such file or directory 
              PREINIT 
              EXPIRE 
              Deleting old routes 
              PREINIT 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 2 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 2 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 2 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 5 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 12 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 19 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 10 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 6 
              No DHCPOFFERS received. 
              Trying recorded lease 216.15.18.38 
              TIMEOUT 
              Starting add_new_address() 
              ifconfig mvneta0.4090 inet 216.15.18.38 netmask 255.255.240.0 broadcast 255.255.255.255 
              New IP Address (mvneta0.4090): 216.15.18.38 
              New Subnet Mask (mvneta0.4090): 255.255.240.0 
              New Broadcast Address (mvneta0.4090): 255.255.255.255 
              New Routers (mvneta0.4090): 216.15.16.1 
              New Routers (mvneta0.4090): 216.15.16.1 
              Deleting old routes 
              No working leases in persistent database - sleeping. 
              FAIL 
              connection closed 
              exiting. 
              Cannot open or create pidfile: No such file or directory 
              PREINIT 
              EXPIRE 
              Deleting old routes 
              PREINIT 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 2 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 5 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 10 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 11 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 12 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 7 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 11 
              No DHCPOFFERS received. 
              Trying recorded lease 216.15.18.38 
              TIMEOUT 
              Starting add_new_address() 
              ifconfig mvneta0.4090 inet 216.15.18.38 netmask 255.255.240.0 broadcast 255.255.255.255 
              New IP Address (mvneta0.4090): 216.15.18.38 
              New Subnet Mask (mvneta0.4090): 255.255.240.0 
              New Broadcast Address (mvneta0.4090): 255.255.255.255 
              New Routers (mvneta0.4090): 216.15.16.1 
              New Routers (mvneta0.4090): 216.15.16.1 
              Deleting old routes 
              No working leases in persistent database - sleeping. 
              FAIL 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 1 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 2 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 3 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 4 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 4 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 11 
              logfile turned over due to size>500K 
              logfile turned over due to size>500K 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 8 
              Internet Systems Consortium DHCP Server 4.4.2-P1 
              Copyright 2004-2021 Internet Systems Consortium. 
              All rights reserved. 
              For info, please visit https://www.isc.org/software/dhcp/ 
              Config file: /etc/dhcpd.conf 
              Database file: /var/db/dhcpd.leases 
              Internet Systems Consortium DHCP Server 4.4.2-P1 
              PID file: /var/run/dhcpd.pid 
              Copyright 2004-2021 Internet Systems Consortium. 
              All rights reserved. 
              For info, please visit https://www.isc.org/software/dhcp/ 
              Wrote 0 class decls to leases file. 
              Wrote 12 leases to leases file. 
              Listening on BPF/mvneta0.4091/f0:ad:4e:20:75:5c/192.168.1.0/24 
              Sending on BPF/mvneta0.4091/f0:ad:4e:20:75:5c/192.168.1.0/24 
              Sending on Socket/fallback/fallback-net 
              Server starting service. 
              DHCPDISCOVER on mvneta0.4090 to 255.255.255.255 port 67 interval 14 
              TIMEOUT 
              

              Here's a sample of the packet capture for port 67|68:

              02:57:15.897310 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              02:57:17.905077 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              02:57:19.966338 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              02:57:21.998077 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              02:57:22.085843 IP 10.17.160.1.67 > 255.255.255.255.68: UDP, length 394
              02:57:24.122624 IP 10.17.160.1.67 > 255.255.255.255.68: UDP, length 394
              02:57:26.207230 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              02:57:36.949075 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              02:57:42.406159 IP 10.17.160.1.67 > 255.255.255.255.68: UDP, length 347
              02:57:42.461459 IP 10.17.160.1.67 > 255.255.255.255.68: UDP, length 347
              02:57:47.949284 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
              

              In Wireshark it describes most of those as "DHCP Discover"

              V J 2 Replies Last reply Reply Quote 0
              • V
                viragomann @beatgeek
                last edited by

                @beatgeek
                As seen in the log, pfSense is sending a lot of DHCPDISCOVER, but gets no DHCPOFFER.

                That it works with another router let me suspect that the pfSense MAC is banned by the ISP for whatever reason.
                So I would find out the WAN side MAC of the other router and spoof it on pfSense to circumvent this.

                1 Reply Last reply Reply Quote 0
                • J
                  Jarhead @beatgeek
                  last edited by Jarhead

                  @beatgeek said in No internet:

                  @viragomann

                  No special WAN settings. This is all I see for the WAN status:
                  WAN Interface (wan, mvneta0.4090, switchports: 0t 3)
                  Status
                  up
                  DHCP
                  up
                  MAC Address
                  f0:ad:4e:20:75:5c
                  IPv6 Link Local
                  fe80::f2ad:4eff:fe20:755c%mvneta0.4090
                  MTU
                  1500
                  Media
                  1000baseT <full-duplex,master>
                  In/out packets
                  20/15 (8 KiB/1 KiB)
                  In/out packets (pass)
                  20/15 (8 KiB/1 KiB)
                  In/out packets (block)
                  0/0 (0 B/0 B)
                  In/out errors
                  0/0
                  Collisions
                  0

                  Did you copy/paste this? There's no IPv4 entry.
                  Post a pic of your WAN settings.
                  Any chance you have IPv4 settings to "none"?

                  1 Reply Last reply Reply Quote 0
                  • B
                    beatgeek
                    last edited by

                    After booting pfsense back up again, it's mysteriously working now, with no settings changes. WAN status is up, internet works. I guess rebooting pfsense 13 times wasn't enough, it needed a 14th reboot to start working. ๐Ÿ˜‰

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jarhead @beatgeek
                      last edited by

                      @beatgeek said in No internet:

                      After booting pfsense back up again, it's mysteriously working now, with no settings changes. WAN status is up, internet works. I guess rebooting pfsense 13 times wasn't enough, it needed a 14th reboot to start working. ๐Ÿ˜‰

                      Or you had IPv4 set to none. ๐Ÿ˜Š

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        viragomann @Jarhead
                        last edited by

                        @jarhead said in No internet:

                        Or you had IPv4 set to none. ๐Ÿ˜Š

                        I don't expect that pfSense was sending out DHCPDISCOVER on WAN in this case.

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

                          Mmm, it was set as DHCP and just never received a response so the status page shows no IPv4 address.

                          Steve

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