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

DHCP Reservations not working?

2.3-RC Snapshot Feedback and Issues - ARCHIVED
9
21
10.0k
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.
  • H
    heper
    last edited by Apr 3, 2016, 9:23 PM

    @bluepr0:

    I just came to the forum looking for someone else with the same problem. There's a major problem with DHCP reservations, indeed!

    ok. post screenshots of the configuration & packet-captures when a clients asks/receives a lease

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Apr 4, 2016, 1:23 AM

      Running latest 2.3

      2.3-RC (amd64)
      built on Sun Apr 03 14:24:26 CDT 2016

      On esxi 6u2

      My boxes don't seem to be having any issues with reservations..

      I just deleted my reservation, got a new ip in my pool 192.168.9.225… I then created a reservation for .100, released and renewed my lease on the client and big bang zoom got my 192.168.9.100 as I had setup.. As the correct domain, everything..

      If you say your not even getting the correct domain - sure you don't just have another dhcp server running on your network..

      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
      • C
        cmb
        last edited by Apr 5, 2016, 5:09 AM

        Everything here works fine. Sounds like the usual expecting a client renewing its existing lease to not have that lease renewed. That's not how dhcpd functions, if a machine asks for its existing lease to be renewed, it'll be renewed. A release and renew on the client will obtain its reservation.

        1 Reply Last reply Reply Quote 0
        • B
          Bradford1040
          last edited by Apr 5, 2016, 5:33 AM

          @browncoat:

          @heper:

          unrelated to your problem but:

          The DHCP server is using the full 10.0.0.0/8 range

          you need more then 16million ip's in the same broadcast range ?

          Why limit yourself unnecessarily?

          Tell the truth I set my network mask to /8 as well, felt having no limits "EVER, lol" was the way to go. After all I plan on running multi WAN and hosting, but 16 million is a bit excessive lol. But I am running 2.3 in Proxmox-VE and no DHCP issues at all.

          1 Reply Last reply Reply Quote 0
          • D
            Derelict LAYER 8 Netgate
            last edited by Apr 5, 2016, 6:09 AM

            The main reason not to do it is address space collisions. If you set up a VPN into your network, it'll be broken from any location using 10/8, 10.x/16 and 10.x.x/24. That's a LOT of places.

            But other than that it really doesn't matter what the subnet size is in a broadcast domain. It only matters how many actual hosts are on it.

            (No DHCP issues here either.)

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • B
              Bradford1040
              last edited by Apr 5, 2016, 6:44 AM

              @Derelict:

              The main reason not to do it is address space collisions. If you set up a VPN into your network, it'll be broken from any location using 10/8, 10.x/16 and 10.x.x/24. That's a LOT of places.

              But other than that it really doesn't matter what the subnet size is in a broadcast domain. It only matters how many actual hosts are on it.

              (No DHCP issues here either.)

              Wait so if my home is 10.0.0.1/8 and work is the same VPN wont work?

              1 Reply Last reply Reply Quote 0
              • D
                Derelict LAYER 8 Netgate
                last edited by Apr 5, 2016, 6:50 AM

                Not without Herculean effort and much added complication.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • P
                  phil.davis
                  last edited by Apr 5, 2016, 6:56 AM

                  Yep - if home is 10.0.0.1/8 (LAN IP) and thus all your home devices are in 10.0.0.0/8 somewhere, then when they want to send to anything else with a "10" address they will deduce that the target system (e.g. at 10.20.30.40) lies in the same subnet. So the home device will just do ARP locally to try and find the target system. pfSense (or any router) won't even get a chance to see anything.

                  If you are VPNing to work directly from a VPN client on a home device, then you might get lucky if it gives itself a route through the VPN to the work subset of "10" (e.g. 10.20.30.0/24) and then the local device network stack works out to send stuff in 10.20.30.0/24 across the VPN, even though it is part of the local LAN also. But of course if you have an actual device on your LAN at 10.20.30.40 then you can never get to both!

                  You are much better off choosing a "random" bit of private address space, of the size you reasonably need, so as to minimize the chance of a conflict if you have incoming or outgoing VPN links to/from pfSense or local client laptops…

                  As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                  If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                  1 Reply Last reply Reply Quote 0
                  • B
                    Bradford1040
                    last edited by Apr 5, 2016, 7:02 AM

                    @phil.davis:

                    Yep - if home is 10.0.0.1/8 (LAN IP) and thus all your home devices are in 10.0.0.0/8 somewhere, then when they want to send to anything else with a "10" address they will deduce that the target system (e.g. at 10.20.30.40) lies in the same subnet. So the home device will just do ARP locally to try and find the target system. pfSense (or any router) won't even get a chance to see anything.

                    If you are VPNing to work directly from a VPN client on a home device, then you might get lucky if it gives itself a route through the VPN to the work subset of "10" (e.g. 10.20.30.0/24) and then the local device network stack works out to send stuff in 10.20.30.0/24 across the VPN, even though it is part of the local LAN also. But of course if you have an actual device on your LAN at 10.20.30.40 then you can never get to both!

                    You are much better off choosing a "random" bit of private address space, of the size you reasonably need, so as to minimize the chance of a conflict if you have incoming or outgoing VPN links to/from pfSense or local client laptops…

                    Well Thank You! I have not tried a VPN yet but used XRDP plenty and that worked fine, still a novice on VPN's and VLAN's tell the truth. But learning new stuff everyday. Who said you can't teach an old dog huh?? lol. Thank you for the advice guys. Back on topic now, (But Thank you, very much)

                    1 Reply Last reply Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator
                      last edited by Apr 5, 2016, 11:44 AM

                      "It only matters how many actual hosts are on it."

                      Agreed, but come on - using a /8 on any interface anywhere is just nonsense…  You for sure could never actually put that many hosts on the same broadcast domain and expect it to work.

                      And yup for sure its most likely going to cause problems if you try and vpn..  No matter how you look at it is not a realistic mask to place on an interface anywhere..

                      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
                        MikeV7896
                        last edited by Apr 5, 2016, 2:16 PM

                        Just to get this back on the topic of DHCP reservations… I've not had any issues with DHCP reservations functioning. I have at least 12 of them set on my home network and all work just fine.

                        I even tried DHCPv6 reservations for a bit and those work too.

                        The S in IOT stands for Security

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