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

What is Static Mapping?

In DHCP > IPv4 Lease Table > Make Static, and regarding:
DHCP Server
DHCP Range
IPv4 Address

If I set the "IPv4 Address" to a value in the "DHCP Range", Can the "DHCP Server" offer this address to other devices?

Is this correct?
Static Mapping = Always assign an IP Address to specific MAC addresses and Prevent the DHCP Server from assigning it to other devices even if it is in the DHCP Range?


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

    That is correct. A statically mapped IP in the DHCP server can be assigned to another client. Best practice is to assign the IP outside of the regular DHCP range and it will map correctly.

    Bit different from the Windows Server implementation I normally work with where a 'reservation' is assigned to an IP/MAC pair and the IP is removed from the rest of the DHCP pool.

  • A statically mapped IP in the DHCP server can be assigned to another client. Best practice is to assign the IP outside of the regular DHCP range and it will map correctly.


    So why select the DHCP Server and Range when creating a static map?
  • Because the DHCP server hands out the IP adresses for the static mappings.

    ----------
    Sophos user, admin and reseller.
    Private Setup:

    • XG: HPE DL20 Gen9 (Core i3-7300, 8GB RAM, 120GB SSD) | XG 18.0 (Home License) with: Web Protection, Site-to-Site-VPN (IPSec, RED-Tunnel), Remote Access (SSL, HTML5)
    • UTM: 2 vCPUs, 2GB RAM, 50GB vHDD, 2 vNICs on vServer (KVM) | UTM 9.7 (Home License) with: Email Protection, Webserver Protection, RED-Tunnel (server)

  • Because the DHCP server hands out the IP adresses for the static mappings.


    For what purpose, can't Static Mapping work without DHCP?
  • No. Static Mapping is intended to allow DHCP clients to always get the same IP each time they request a renewal of their IP. If you want to assign a static IP to a device without DHCP, you have to configure the device itself to use a static IP address.

    Example is something like a network enabled projection screen that moves between offices. Because it floats, it has to have DHCP enabled, but because the software at each office has a hard coded IP, the projector has to always get the same IP at each office. A static mapping at each office allows the projector to get the same IP each time it's at a specific office. Otherwise you'd have to teach the end user how to program the static IP into the device at each office, there's bound to be a mix-up somewhere and the inevitable support call. Leave DHCP on but statically mapped. Saves everyone some headaches.
  • When placing Sophos firewalls to replace non-Sophos firewalls, duplicating Static Mapping is an issue. Creating entries for static maps to already existing DHCP reservations  pop-ups an error stating only addresses within the DHCP Pool will be allowed. A work-around was "Make Static" within DHCP Lease table. But that creates havoc with devices acquiring new IP Address.

    How could that be addressed?

  • Unlike Windows DHCP server, the one in the UTM does not use "Reservations."  In the UTM, you must be careful to assign fixed IPs outside the range of IPs assigned by DHCP.  Does that answer your question?

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA