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

    WAN DHCP not renewing lease/establishing w/o intervention after reboot/shutdown

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 2 Posters 1.6k 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.
    • morrealeM Offline
      morreale
      last edited by

      Not sure when or why this started happening but after I reboot or shutdown the pfSense box I have no internet until I manually click.  What settings/logs would you need me to provide to help diagnose.  I have disabled all extra services and that didn't make a difference (snort, squid, pfblockerng, watchdog)  I have tried several different settings under the advanced configuration for WAN DHCP.  (pfSense default, FreeBSD default, blank, with and without reject leases)  as soon as I hit the "renew" button the link comes up.  If I make a change to the protocol timing settings after pfSense has come back online and save the IP gets renewed and the link is established also.

      below is from DHCP log after I cleared it and rebooted.  I let it sit for a few minutes before I hit the renew button.  I also removed items relating to other DHCP scopes for different VLANS.  Which I have also disabled for trouble shooting but didn't make a difference.

      Last 100 DHCP Log Entries. (Maximum 100)
      Time	Process	PID	Message
      Jul 17 11:46:22	dhclient	91429	accepting packet with data after udp payload.
      Jul 17 11:46:22	dhclient	91429	ip length 328 disagrees with bytes received 346.
      Jul 17 11:46:16	dhclient	91429	accepting packet with data after udp payload.
      Jul 17 11:46:16	dhclient	91429	ip length 328 disagrees with bytes received 346.
      Jul 17 11:46:10	dhclient	91429	accepting packet with data after udp payload.
      Jul 17 11:46:10	dhclient	91429	ip length 328 disagrees with bytes received 346.
      Jul 17 11:46:07	dhclient	91429	accepting packet with data after udp payload.
      Jul 17 11:46:07	dhclient	91429	ip length 328 disagrees with bytes received 346.
      
      Jul 17 11:45:52	dhclient	91429	accepting packet with data after udp payload.
      Jul 17 11:45:52	dhclient	91429	ip length 328 disagrees with bytes received 346.
      
      Jul 17 11:45:50	dhcpleases		Sending HUP signal to dns daemon(13952)
      Jul 17 11:45:50	dhcpleases		Sending HUP signal to dns daemon(13952)
      
      Jul 17 11:45:50	dhcpd		Server starting service.
      
      Jul 17 11:45:50	dhcpd		Sending on Socket/fallback/fallback-net
      
      Jul 17 11:45:50	dhcpd		Wrote 151 leases to leases file.
      Jul 17 11:45:50	dhcpd		Wrote 0 new dynamic host decls to leases file.
      Jul 17 11:45:50	dhcpd		Wrote 0 deleted host decls to leases file.
      Jul 17 11:45:50	dhcpd		Wrote 0 class decls to leases file.
      
      Jul 17 11:45:50	dhcpd		For info, please visit https://www.isc.org/software/dhcp/
      Jul 17 11:45:50	dhcpd		All rights reserved.
      Jul 17 11:45:50	dhcpd		Copyright 2004-2016 Internet Systems Consortium.
      Jul 17 11:45:50	dhcpd		Internet Systems Consortium DHCP Server 4.3.3-P1
      Jul 17 11:45:50	dhcpd		PID file: /var/run/dhcpd.pid
      Jul 17 11:45:50	dhcpd		Database file: /var/db/dhcpd.leases
      Jul 17 11:45:50	dhcpd		Config file: /etc/dhcpd.conf
      Jul 17 11:45:50	dhcpd		For info, please visit https://www.isc.org/software/dhcp/
      Jul 17 11:45:50	dhcpd		All rights reserved.
      Jul 17 11:45:50	dhcpd		Copyright 2004-2016 Internet Systems Consortium.
      Jul 17 11:45:50	dhcpd		Internet Systems Consortium DHCP Server 4.3.3-P1
      Jul 17 11:45:49	dhcpleases		Sending HUP signal to dns daemon(13952)
      Jul 17 11:45:47	dhclient	86542	bound to 68.xxx.xxx.xxx -- renewal in 10482 seconds.
      Jul 17 11:45:47	dhclient		Creating resolv.conf
      Jul 17 11:45:47	dhclient		/sbin/route add default 68.xxx.xxx.xxx
      Jul 17 11:45:47	dhclient		Adding new routes to interface: em0
      Jul 17 11:45:47	dhclient		New Routers (em0): 68.xxx.xxx.xxx
      Jul 17 11:45:47	dhclient		New Broadcast Address (em0): 255.255.255.255
      Jul 17 11:45:47	dhclient		New Subnet Mask (em0): 255.255.252.0
      Jul 17 11:45:47	dhclient		New IP Address (em0): 68.xxx.xxx.xxx
      Jul 17 11:45:46	dhclient		ifconfig em0 inet 68.xxx.xxx.xxx netmask 255.255.252.0 broadcast 255.255.255.255
      Jul 17 11:45:46	dhclient		Starting add_new_address()
      Jul 17 11:45:46	dhclient		REBOOT
      Jul 17 11:45:46	dhclient	86542	DHCPACK from 68.xxx.xxx.xxx
      Jul 17 11:45:46	dhclient	86542	accepting packet with data after udp payload.
      Jul 17 11:45:46	dhclient	86542	ip length 339 disagrees with bytes received 366.
      Jul 17 11:45:46	dhclient	86542	DHCPREQUEST on em0 to 255.255.255.255 port 67
      
      Jul 17 11:45:46	dhclient		PREINIT
      
      Jul 17 11:45:44	dhcpleases		Sending HUP signal to dns daemon(29505)
      Jul 17 11:45:44	dhcpleases		Sending HUP signal to dns daemon(29505)
      
      Jul 17 11:42:41	dhcpleases		Sending HUP signal to dns daemon(29505)
      
      Jul 17 11:42:37	dhcpd		reuse_lease: lease age 21 (secs) under 25% threshold, reply with unaltered, existing lease
      

      pfSense 25.07.1-RELEASE (amd64) / Supermicro X11SDV-8C-TP8F / 1TB / 32Gb 2666MHz ECC

      1 Reply Last reply Reply Quote 0
      • chpalmerC Offline
        chpalmer
        last edited by

        Curious-  who is your ISP?    What kind of interface is your WAN?

        https://forum.pfsense.org/index.php?topic=115234.0

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

        1 Reply Last reply Reply Quote 0
        • morrealeM Offline
          morreale
          last edited by

          @chpalmer:

          Curious-  who is your ISP?    What kind of interface is your WAN?

          https://forum.pfsense.org/index.php?topic=115234.0

          isp: charter
          baremetal
          wan: not a VLAN, physical intel nic connected to a motorola surfboard cable modem (is that what you are asking?)

          reading the other threads posted and will come back and post any relevant info

          pfSense 25.07.1-RELEASE (amd64) / Supermicro X11SDV-8C-TP8F / 1TB / 32Gb 2666MHz ECC

          1 Reply Last reply Reply Quote 0
          • morrealeM Offline
            morreale
            last edited by

            i think i resolved it

            replaced cable modem and WAN nic (think modem was the issue though)

            it was showing a connection at 100Mbps even when connected directly to laptop.  used to be 1000mbps - i noticed it a while back after we had a storm but didnt think anything of it

            now connected at 1000Mbps and connection has come back online after a couple reboots and shutdowns

            does that make sense?  wasn't having issues with connection except for dhcp issue

            pfSense 25.07.1-RELEASE (amd64) / Supermicro X11SDV-8C-TP8F / 1TB / 32Gb 2666MHz ECC

            1 Reply Last reply Reply Quote 0
            • chpalmerC Offline
              chpalmer
              last edited by

              Yep- total sense.  Thanks!

              Triggering snowflakes one by one..
              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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