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 static mapping not working

version 9.353-4  on a sophos 220

we have dhcp scopes set  with the tick box   "Clients with static mappings only"

we have hosts defined in definitions and userss >network defintions 

the dhcp is giving out the ip addresses reserved for static hosts

so 2 problems

1. the rule static mappings only is not working

2. it is ignoring the static mappings also



This thread was automatically locked due to age.
Parents
  • Neil, unlike with Windows Server, the UTM's DHCP server does not make "reservations." You must make static assignments outside of the "Range" assigned dynamically by DHCP.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I am getting these errors in my DHCP log files.

    2016:09:13-20:21:14 jh_home dhcpd: DHCPREQUEST for 10.254.254.166 from 34:23:87:e3:67:05 via eth0
    2016:09:13-20:21:14 jh_home dhcpd: DHCPACK on 10.254.254.166 to 34:23:87:e3:67:05 via eth0
    2016:09:13-20:21:14 jh_home dhcpd: Dynamic and static leases present for 10.254.254.166.
    2016:09:13-20:21:14 jh_home dhcpd: Remove host declaration REF_NetHosJennlaptop or remove 10.254.254.166
    2016:09:13-20:21:14 jh_home dhcpd: from the dynamic address pool for 10.254.254.0/24
    2016:09:13-20:21:14 jh_home dhcpd: uid lease 10.254.254.166 for client 34:23:87:e3:67:05 is duplicate on 10.254.254.0/24

    I use 10.254.254.2 - 10.254.254.254 for my DHCP pool.  I have created quite a few hosts by clicking on their DHCP lease and clicking on the "Make Static" button.  However, I am thinking that letting the static IP be part of the DHCP pool isn't what the UTM wants me to do (even though this is what the interface offers).  Do I need to change my DHCP Pool and then set static IPs for the "Hosts" that are outside of the Pool?

  • hi 

    as Bob said above - 

    Neil, unlike with Windows Server, the UTM's DHCP server does not make "reservations." You must make static assignments outside of the "Range" assigned dynamically by DHCP.

    as strange as it seems this is the way it works 

    the clients still even talk to the dhcp sever , even thought they dont get their assigment from it 

    example we have a wireless dhcp for BYOD devices , we manage this using mac addresses,  this way we never need to change the password 

    so in effect all entries are  static 

    10.254.254.2 - 10.254.254.254     in this example   i would set  a minimal scope   10.254.254.2-  10.254.254.20   say  then you assign the static addresses starting at 10.254.254.21 >    

    in the definition you still specify the dhcp scope , even thought the static ip is outside the scope

    i can confirm  this works - i dont not use the "make static"

    hope this helps

    neil

Reply
  • hi 

    as Bob said above - 

    Neil, unlike with Windows Server, the UTM's DHCP server does not make "reservations." You must make static assignments outside of the "Range" assigned dynamically by DHCP.

    as strange as it seems this is the way it works 

    the clients still even talk to the dhcp sever , even thought they dont get their assigment from it 

    example we have a wireless dhcp for BYOD devices , we manage this using mac addresses,  this way we never need to change the password 

    so in effect all entries are  static 

    10.254.254.2 - 10.254.254.254     in this example   i would set  a minimal scope   10.254.254.2-  10.254.254.20   say  then you assign the static addresses starting at 10.254.254.21 >    

    in the definition you still specify the dhcp scope , even thought the static ip is outside the scope

    i can confirm  this works - i dont not use the "make static"

    hope this helps

    neil

Children
No Data