Configuring an Internal DHCP Server Configuring DHCP Server on OmniSwitch
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 22-8
Example dhcpd.conf File
#Global parameters that specify addresses and lease time.
option domain-name-servers 200.0.0.99;
option domain-name "example.com";
option dhcp-lease-time 20000;
#IP subnet
subnet 200.0.0.0 netmask 255.255.255.0
{
#Dynamic scope and parameters that apply to this scope overriding global params.
dynamic-dhcp range 220.0.0.100 220.0.0.130
{
option routers 220.0.0.254;
option subnet-mask 255.255.255.0;
option domain-name “scope_example.com";
option domain-name-servers 192.168.1.1;
option dhcp-lease-time 30000;
}
#Static binding based on MAC address
manual-dhcp 00-01-02-03-04-05 220.0.0.140
{
option subnet-mask 255.255.255.0;
}
}
Details about valid parameters and declarations are listed in the table found in “Configuration File
Parameters and Syntax” on page 22-14.
Example dhcpdv6.conf File
v6-server-identifier schumacher-nt.quadritek.com;
duid-pool { <- DUID pool for which we allocate IP across sunbets
00-03-02-be-1a-0f-cd-14-67-98-05-56-98-98-67-cd-69-01
00-02-00-00-00-09-*
00-02-00-00-00-08-*
00-02-00-00-00-07-*
00-01-*
}
x-duid-pool { <- Excluded DUID pool for which we do not allocate IP
00-02-00-00-00-09-0c-c0-84-d3-03-00-09-12
}
v6-subnet 2620:0000:0060:1480:0000:0000/97 { <- IPV6 subnet
x-duid-pool { <- Excluded DUID pool for this subnet
00-02-00-00-00-09-0c-c0-84-d3-03-00-09-13
00-02-00-00-00-09-0c-c0-84-d3-03-00-09-19
}
policy send-unicast-option-enabled false; <- policy options applicable
policy subnet-unavailable-threshold 90;
Note. A subnet declaration must be included for every subnet in the network related to the DHCP server.