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

"The IP address must not be within the DHCP range for this interface"

Scheduled Pinned Locked Moved DHCP and DNS
6 Posts 3 Posters 35.0k 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.
  • C
    Callahan
    last edited by Jan 9, 2011, 2:50 PM

    Right, a very basic run down of what I have. Have replaced our corp firewall at work with pfSense. Am running 5.0-BETA. We have an XBox at work for the downtime and I need to open up some ports for it to work properly with XBox Live (http://support.xbox.com/en-gb/pages/xbox-360/troubleshoot/kb/xbox-kb.aspx?kbid=908874). The XBox has an IP from the scope I'm using (192.168.2.4). I pulled the MAC address from the DHCP leases link in pfSense and now want to add a DHCP reservation so that I can add a rule that locks down access to the above ports to the XBox only.When I try to assign the address (or any address in the scope) to a reservation under the DHCP Serve link, I am shown the above error. I don't understand why as without the ability, how can I lock down the rules? The rules will become invalid if something else picks up the current IP address of the XBox.

    Many thanks for any light you can shed!
    :)

    1 Reply Last reply Reply Quote 0
    • W
      wallabybob
      last edited by Jan 9, 2011, 10:34 PM

      On pfSense DHCP server the DHCP address range specifies the range of addresses available for assignment to ANY MAC address. DHCP static IP address assignments must be outside that range.

      Hence you need to either

      • split your current range(s) so that the current IP address isn't included; OR

      • assign the XBOX a different IP address, one outside the DHCP address range

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Jan 10, 2011, 6:37 PM

        You might want to read this page to better understand why you can't have a static DHCP entry inside of your pool:

        http://doc.pfsense.org/index.php/Why_can%27t_I_have_static_mappings_inside_my_DHCP_range%3F

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 1
        • C
          Callahan
          last edited by Jan 11, 2011, 10:18 PM

          Hi Jimp,

          While I understand the link, I find this statement odd:

          "An example: If your DHCP pool is from 192.168.0.10 to 192.168.0.250, and you define a static mapping for 192.168.0.25. If the PC that normally has 192.168.0.25 is ever offline, another device could be assigned 192.168.0.25. When the other machine powers back up, it will not be able to get 192.168.0.25 because it is currently in use."

          What's the point of using MAC addresses if the reserved addresses can be assigned to other machine? Surely that's the point of using the MAC address. All other dhcp servers I've used allow the assignment of addresses from the range. This was why I was confused.

          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Jan 11, 2011, 10:25 PM

            Read it again. A DHCP static map is not a reservation. That's just how the DHCP daemon we use works. The MAC address has nothing to do with the scenario given there.

            If you were to put a static map in the pool, and the machine with the static map is offline, and that IP comes up in the pool rotation, it will be handed out to someone else.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 1
            • C
              Callahan
              last edited by Jan 11, 2011, 10:57 PM

              Ah ok. I was, as you say reading it as a reservation as up until this point my experience had been building DHCP on Windows servers and the odd home router setup where that's generally how DHCP static assignments within your given range would work.

              Thanks for clearing that up.
              :-)

              1 Reply Last reply Reply Quote 0
              2 out of 6
              • First post
                2/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received