Host based option configuration in DHCP

From Notes_Wiki
Revision as of 04:19, 24 December 2014 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Dhcp_server_configuration|Dhcp server configuration</yambe:breadcrumb> =Host based option configuration in DHCP= Sometimes it is required to give different ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Dhcp_server_configuration|Dhcp server configuration</yambe:breadcrumb>

Host based option configuration in DHCP

Sometimes it is required to give different DHCP options for a particular host. The option can be DNS, default gateway, domain etc. To configure separate set of options for a group of hosts 'group' declaration can be used as follows:

   group
   {
        option routers 10.4.20.171;
        host test1 { hardware ethernet 00:18:51:84:8B:95; fixed-address 10.4.20.158; }
        host test2 { hardware ethernet 00:18:51:EE:0E:4A; fixed-address 10.4.20.200; }
   }