Difference between revisions of "Host based option configuration in DHCP"
From Notes_Wiki
|  (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 ...") | m | ||
| Line 1: | Line 1: | ||
| [[Main Page|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 '<tt>group</tt>' declaration can be used as follows: | 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 '<tt>group</tt>' declaration can be used as follows: | ||
| Line 11: | Line 10: | ||
|     } |     } | ||
| </pre> | </pre> | ||
| [[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Dhcp server configuration]] > [[Host based option configuration in DHCP]] | |||
Latest revision as of 11:07, 14 July 2022
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

