Configuring an Internal DHCP Server DHCP Server Default Values
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 22-2
DHCP Server Default Values
Quick Steps to Configure Internal DHCP Server
DHCP server software is installed on the OmniSwitch to centrally manage IP addresses and other TCP/IP
configuration settings for clients present on a network.
Follow the steps in this section for a quick tutorial on how to configure an internal DHCP server on the
OmniSwitch.
1 Navigate to /flash/switch directory.
-> cd /flash/switch
2 Create and customize the dhcp.conf and dhcpd.pcy files according to your requirements. Use the vi
command to modify the existing configuration file.
Note: Both the dhcpd.conf and dhcpd.pcy files must be present for the DHCP server to be enabled.
-> vi dhcpd.conf
Declare dynamic DHCP options, global options, and server configuration parameters for client interfaces
in the dhcpd.conf file. Add DHCP related information for a particular subnet.
For example, for the subnet 200.0.0.0, define the dynamic DHCP range, router option, domain name and
other details using the following code:
server-identifier sample.example.com;
subnet 200.0.0.0 netmask 255.255.255.0
{
dynamic-dhcp range 200.0.0.10 200.0.0.11
{
option subnet-mask 255.255.255.0;
option routers 200.0.0.254;
option domain-name-servers 200.0.0.99;
option domain-name "example.com";
option dhcp-lease-time 30000;
}
}
3 After entering the required information in the dhcpd.conf file type :wq to save the changes made to
the dhcpd.conf file.
Parameter Description Command Default Value/Comments
DHCP Server operation dhcp-server status disabled
Note. For detailed information on how to configure the DHCP server on OmniSwitch, see the Configuring
DHCP Server on OmniSwitch section. The *.conf and *.pcy files can be created using VitalQIP, refer to the
VitalQIP documentation for additional information.
Note. See “Configuration File Parameters and Syntax” on page 22-14 for details on what each of the
optional keywords specify.