Configuring Fixed Addresses

The hosts that are to obtain a fixed address via DHCP are listed with a hostname, IP address and MAC (hardware address), as shown here in bold text, for the example host hatter:

subnet 192.168.1.0 netmask 2 55.255.255.0 { range 192.168.1.16 192.168.1.127; default-lease-time 14400; max-lease-time 172800; host hatter {

fixed-address 192.168.1.1; hardware ethernet 00:00:1c:b5:5a:58;

Note that each of these fixed hosts is inside the subnet declaration. Note also the importance of the semicolons at the end of the lines.

Was this article helpful?

0 0

Post a comment