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.
Note. For detailed information on how to configure the DHCP server on OmniSwitch, see the Configuring
DHCP Server on OmniSwitch section.
1 Navigate to /flash/switch directory.
-> cd /flash/switch
2 Copy the dhcpd.conf.template file and save it as dhcpd.conf. The dhcpd.conf file can then be
customized as necessary.
-> cp dhcpd.conf.template dhcpd.conf
3 Copy the dhcpd.pcy.template file and save it as dhcpd.pcy. The dhcpd.pcy file can then be customized
as necessary.
4 Customize the dhcp.conf and dhcpd.pcy files according to your requirements. Use the vi command to
modify the existing configuration file.
-> 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;
}
}
Note. See “Configuration File Parameters and Syntax” on page -13 topic of the Configuring DHCP Server
section for details on what each of the optional keywords specify.
Quick Steps to Configure Internal DHCP Server Configuring DHCP Server
page 32-4 OmniSwitch 6250/6450 Network Configuration Guide June 2013
5 After entering the required information in the dhcpd.conf file. Type :wq to save the changes made to
the dhcpd.conf file.
Note.
• If the dhcpd.conf file is corrupted, the dhcpd.conf.lastgood file is used as a backup file.
• If the dhcpd.conf file is updated successfully, then the dhcpd.conf.lastgood file is over written with
the configurations present in the dhcpd.conf file.
• Properly configured dhcpd.conf and dhcpd.pcy files can be transferred to the switch remotely instead
of using the vi editor.
6 Restart the DHCP server using the dhcp-server restart command. The changes made in the
dhcpd.conf file are applied to the OmniSwitch.
-> dhcp-server restart
Note. The dhcp-server restart command automatically updates the dhcpd.conf, dhcpd.conf.lastgood
and dhcpd.pcy files.
7 Enable the DHCP server using the dhcp-server command.
-> dhcp-server enable
Configuring DHCP Server DHCP Server Overview
OmniSwitch 6250/6450 Network Configuration Guide June 2013 page 32-5
8 Check the IP address leases by entering the following command:
-> show dhcp-server leases
IP address MAC address Lease Granted Lease Expiry Type
-------------+----------------+---------------------+--------------------+---------
200.255.91.53 10:fe:a2:e4:32:08 2010-01-16 11:38:47 2010-01-17 11:38:47 Dynamic
200.255.91.5 20:fe:a2:e4:32:08 2010-01-16 10:30:00 2010-01-18 10:30:00 Static
200.255.91.56 20:fe:a2:e4:33:08 2010-01-16 10:30:00 2010-01-18 10:30:00 Dynamic
200.255.91.58 20:fe:a2:e4:34:08 2010-01-16 10:30:00 2010-01-18 10:30:00 Dynamic
Ref:
http://enterprise.alcatel-lucent.com/as ... _revD1.pdf
https://mdnurain.wordpress.com/