Configuring an Internal DHCP Server Configuring DHCP Server on OmniSwitch
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 22-6
Configuring DHCP Server on OmniSwitch
The DHCP server implementation on OmniSwitch makes use of the policy, configuration, and server
database file
s stored in the /flash/switch directory. Both the configuration and policy files must be
present for the DHCP server to be enabled. The functions of the DHCP server related files are as follows:
• DHCP Policy file: The dhcpd(v6).pcy file initializes the global attributes for the DHCP server.
• DHCP Configuration files: The dhcpd(v6).conf file is used to configure specific DHCP server
settings on the switch such as IP address ranges and options. The dhcpd(v6).conf.lastgood file is a
backup for the dhcpd(v6).conf file.
• DHCP Server Database file: The dhcpd(v6)Srv.db file is activated only during takeover and server
restart of the DHCP server. It contains lease details of the client IP addresses.
Policy file
The policy file is used to configure the DHCP related policies according to user requirements. The DHCP
server policy parameters can be defined using the policy file. Ideally, most of the server parameters are
kept static.
Example of a dhcpd.pcy File
PingDelay = 200
PingAttempts = 3
PingSendDelay = 1000
DefaultLease = 86400
Example of a dhcpdv6.pcy File
;
; QIP DHCPv6 Policy File
;
AbusiveClientMonitorPeriod=30
AbusiveClientWarningCount=30
AbusiveClientLockout=0
AddManualToGlobalDuidPool=1
AllowClientPacketsWithInvalidOptions=1
AllowUnencodedFqdn=1
CheckTransactionID=0
ClientFqdnOptionSupport=client
ClientHostNameProcessing=correct
ClientProcessingWaitTime=3000
CompressedLog=0
DefaultLease=60000
DHCPv6SocketAddr=2620:0:60:1480::3
DuidWarningsToEventLog=0
;
ForceClass=user
HonorRequestedLeaseTime=1
LogLeaseGrantAndRenew=0