shared-network

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Nov 11 07:17:01 UTC 2010


Laszlo Fekete wrote:

>I have shared-network with two subnets, one with fixed-addresses and the
>another with dynamic pool.
>How can I configure, if a client has fixed address, then use only it and
>not any of the dynamic range?

Add "deny known-hosts;" to the pool like this :

authoritative;
shared-nerwork Desktops {
   subnet 192.168.5.0 netmask 255.255.255.0 {
     pool {
       range 192.168.5.1 192.168.5.253;
       deny known-clients;
     }
   }
   subnet160.1.2.0 netmask 255.255.255.192 {
   }
}

host 160.1.2.1 { hardware ethernet 00:11:22:33:44:55; fixed-address
162.1.2.1 }
host 160.1.2.2 { hardware ethernet 00:11:22:33:44:5a; fixed-address
162.1.2.2 }
host 160.1.2.3 { hardware ethernet 00:11:22:33:44:5b; fixed-address
162.1.2.3 }
host 160.1.2.4 { hardware ethernet 00:11:22:33:44:5c; fixed-address
162.1.2.4 }
...


-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list