Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP Range and Static Addresses

I have allocated static ipv4 and ipv6 addresses to all of my hosts. Depending on the type of device, I've allocated them in different regions of the subnet. For dynamic ip addresses, does the dhcp allocation range need to be outside the regions where I've allocated the static addresses? Or conversely, is it okay for static ip addresses to be allocated outside of the dhcp allocation range? The reason I ask is because my wireless router (which I'm currently using only as an AP) would not allow a static address to be allocated outside of the dhcp allocation range. I thought that was a bug (or at least it wasn't expected behaviour), accommodated it by opening up the dhcp allocation range assigning static address within the range. I would prefer to allocate dynamic addresses outside the regions of the subnet that I'm using for other hosts so they are more obvious. Does it matter?


This thread was automatically locked due to age.
  • Hi, 

    Yes, static mapped definitions must be outside the DHCP Pool range, or you will start getting IP conflicts.

    The router should have no say in the matter if you're not running DHCP services on it, and not using the WAN port (i.e. no NAT/Masq on the router).

    Barry
  • ASG allows static addresses to be outside the dynamic scope, both for IPv4 and IPv6.
  • Thanks for the replies.

    The reference to my wireless router was not to imply that it has any effect on what utm does. Since I'm now using it only as an AP, it has nothing to do with the addresses. I was only pointing out that for some reason, it would not allow static addresses to be allocated outside of the dhcp allocation range, which seems strange.

    I didn't experience any noticeable address conflicts the way it was configured before, but I moved the dhcp allocation range to a part of the subnet that I'm not using for static addresses based on the responses here.

    Thanks again.
  • Static mapped definitions other than being outside DHCP pool is there a recommendation whether they should be below the DHCP range or above it?

    Thanks,
  • Makes no difference to the UTM - use whatever fits your allocation methodology.  Personally, I use low addresses for all manual and static dhcp addresses, and the top end of my subnet for regular dhcp.