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

    Help: dhcpd: DHCPDISCOVER…:: no free leases

    DHCP and DNS
    3
    6
    11.9k
    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.
    • M
      missu8
      last edited by

      please help me :-*
      i used pfsense 2.0.1 (no vlan, no multi dhcp, it's very simpe network: wan-pfsense(as gateway,dhcp server)-lan)
      config: dhcp range: 10.10.11.[10-250]/24
      i have 98 client online, when client >100,i have a problem:
      Sep 18 13:56:59 dhcpd: DHCPDISCOVER from c4:17:fe:6d:29:b2 via bge0: network 10.10.11.0/24: no free leases
      Sep 18 13:57:03 dhcpd: DHCPDISCOVER from c4:17:fe:6d:29:b2 via bge0: network 10.10.11.0/24: no free leases
      Sep 18 13:57:10 dhcpd: DHCPDISCOVER from 78:dd:08:c5:18:82 via bge0: network 10.10.11.0/24: no free leases
      Sep 18 13:57:11 dhcpd: DHCPDISCOVER from c4:17:fe:6d:29:b2 via bge0: network 10.10.11.0/24: no free leases
      …
      1 year ago was ok but from 4 days ago...
      english with me: very bad, sorry if failed to Spell (i use google tran  ;D)
      thanks read
      Untitled.jpg
      Untitled.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        When clients go offline they don't always release their lease. Therefore it is possible you might have (for example) 50 clients online but 200 "active" leases. It might help to reduce the lease time OR increase the range of available addresses.

        1 Reply Last reply Reply Quote 0
        • M
          missu8
          last edited by

          @wallabybob:

          When clients go offline they don't always release their lease. Therefore it is possible you might have (for example) 50 clients online but 200 "active" leases. It might help to reduce the lease time OR increase the range of available addresses.

          thanks for your help
          i set 1000 clients and now it's ok
          thank you very very muck  :-*

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            So you changed your lan network to bigger, you posted you were using a /24 – sorry but /24 does not allow for 1000 clients.  You would have to be at min /22 for 1000 nodes

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • M
              missu8
              last edited by

              @johnpoz:

              So you changed your lan network to bigger, you posted you were using a /24 – sorry but /24 does not allow for 1000 clients.  You would have to be at min /22 for 1000 nodes

              /24 : old subnet
              /21: now (/21 have 2000 clients  but i set range 1000 clients)
              thanks for reply

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                not really the way I would of gone about it that is for sure.  How about just lowering the lease so that they would be freed up after a client disconnected.  Default I believe is 24 hours.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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