Host based option configuration in DHCP

From Notes_Wiki

Home > CentOS > CentOS 6.x > Dhcp server configuration > 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; }
   }



Home > CentOS > CentOS 6.x > Dhcp server configuration > Host based option configuration in DHCP