Share this
Cisco IOS DHCP Server Configuration
by Hunter Gorman on May 22, 2020 1:30:00 PM
Cisco devices running Cisco programming incorporate Dynamic Host Configuration Protocol (DHCP) servers and transfer specialist programming. The Cisco IOS DHCP server is a full usage server that allocates and oversees IP addresses from determined location pools inside the gadget to DHCP customers. The DHCP server can be arranged to allocate extra parameters, for example, the IP address of the Domain Name System (DNS) server and the default devices. Today, we'll be diving into the DHCP server system to work through the general use case as well as walking through a configuration example for your network.
Overview of the DHCP Server
The Cisco DHCP server acknowledges address task solicitations and restorations from the customer and appoints the addresses from predefined gatherings of addresses inside DHCP address pools. These location pools can likewise be designed to supply extra data to the mentioning customer, for example, the IP address of the Domain Name System (DNS) server, the default gadget, and other setup parameters. The Cisco DHCP server can acknowledge communication from privately joined LAN portions or from DHCP demands that have been sent by other DHCP transfer operators inside the system.
General Usage Scenarios
There are four key DHCP usage scenarios:
- Initial Client Connection: the client requests from the DHCP server an IP address and other parameter values for accessing network services
- IP Usage Extension: the client contacts the DHCP server to extend the usage of its current IP address
- Client Connection After Reboot: the client contacts the DHCP server for confirmation that it can use the same IP address being used before the reboot
- Client Disconnection: the client requests the DHCP server to release its IP address.
____________
Field Services for Configurations
We offer remote staging and configuration environments to help you get a leg-up on getting your gear ready for deployment. EXTEND Field Services also gives you access to SmartHands engineers to augment your team when you need an extra set of hands.
____________
Dynamic Host Configuration Protocol (DHCP)
DHCP is an application layer protocol used to distribute various network configuration parameters to devices on a TCP/IP network. – IP addresses, subnet masks, default gateways, DNS servers, etc. DHCP employs a client-server architecture; a DHCP client is configured to request network parameters from a DHCP server on the network. A DHCP server is configured with a pool of available IP addresses and assigns one of them to the DHCP client.
When you're looking to configure DHCP on Cisco routers, Layer 3 and Layer 2 switches, follow these steps:
- Exclude IP addresses from being assigned by DHCP
- Create a new DHCP pool
- Define a subnet that will be used to assign IP addresses to hosts
- Define the default gateway
- Define the DNS server
- Define the DNS domain name
- Define the lease duration by using the lease time
Configuring Manual Bindings
A location restricting is a mapping between the IP address and MAC address of a customer. The IP address of a customer can be relegated physically by an overseer or doled out consequently from a pool by a DHCP server.
Manual ties are IP addresses physically mapped to MAC locations of hosts that are found in the DHCP database. Manual ties are put away in the NVRAM of the DHCP server and are simply extraordinary location pools. There is no restriction to the number of manual ties, however, you can arrange just a single manual restricting per have a pool.
Note We cannot configure manual bindings within the same pool.
PivIT Troubleshooting Tip
You can determine the client identifier by using the debug IP DHCP server packet command.
PIVIT-Router# debug ip dhcp server packet
Customizing DHCP Server Operation
By default, the DHCP server pings a pool address twice before assigning a particular address to a requesting client. If the ping is unanswered, the DHCP server assumes (with a high probability) that the address is not in use and assigns the address to the requesting client.
Configuring the Remote Device to Import DHCP Options
Perform the following task to configure the remote device to import DHCP options
DHCP Show Commands
- Show IP DHCP import
- Show IP DHCP Pool
- Show IP DHCP binding
- Show IP DHCP database
- Show IP DHCP server statistics
We hope this configuration guide helped! We created the Tech Corner to connect with you on configuring your DHCP Server, join in product discussions, access configuration guides, share product comparisons, and provide you with information about the industry! Subscribe to the Tech Corner today!
Share this
- Configuration Guides (46)
- Cisco Routers (29)
- Switches (27)
- Network Security (22)
- Routing Protocols (21)
- Cisco Switches (20)
- Routers (20)
- Product Comparisons (19)
- Cisco (18)
- Cisco Technical Information (17)
- Firewall (17)
- Network Protocols (17)
- Wireless (17)
- Cisco Security (16)
- Security (15)
- cisco asa (12)
- Cisco Wireless (11)
- Router Protocols (11)
- Servers (11)
- IT Hardware Solutions (10)
- Cisco UCS (9)
- OneCall (9)
- Cisco Catalyst (8)
- Upgrading Network (8)
- Access Control Lists (7)
- Cisco Servers (7)
- Fortinet (7)
- Product Highlight (7)
- Access Points (6)
- Arista Networks (6)
- OSPF (6)
- Server Comparisons (6)
- Wireless APs (6)
- Cisco ASR (5)
- HPE-Aruba Wireless (5)
- Juniper Mist (5)
- Network Management (5)
- SD-WAN (5)
- Switch Comparison (5)
- Back To Basics (4)
- Cloud Solutions (4)
- Cybersecurity (4)
- EIGRP (4)
- HSRP (4)
- Juniper Networks (4)
- Network Automation (4)
- OEM Comparison (4)
- Aruba Central (3)
- Cisco Telephony (3)
- DHCP (3)
- DHCP Snooping (3)
- Dell EMC PowerEdge (3)
- Firewall Architecture (3)
- Internet (3)
- Maintenance Renewal (3)
- Network Accessories (3)
- Storage (3)
- Telephony (3)
- aruba (3)
- Cisco NX-OS (2)
- Cisco Nexus (2)
- Dell Servers (2)
- Fortinet NGFWs (2)
- LAN Networks (2)
- Network Time Protocol (2)
- Palo Alto NGFWs (2)
- Rapid PVST+ (2)
- Remote Configuration (2)
- Software Defined Networking (2)
- WLAN (2)
- fortigate (2)
- Asset Management (1)
- CPU Usage (1)
- Cisco AIR-CT (1)
- Cisco Aironet (1)
- Cisco DNA (1)
- Cisco ISR (1)
- Cisco Supervisor Engines (1)
- Cisco UCS Manager (1)
- Cognitive Campus (1)
- Cost of Downtime (1)
- Dell EMC Data Domain (1)
- Edge Switches (1)
- Fabric Extenders (1)
- GRE Tunnel (1)
- HPE BL (1)
- IT Trends (1)
- Juniper SRX (1)
- Maintenance (1)
- Network Servers (1)
- Nexus Switches (1)
- Nutanix (1)
- Optics (1)
- PowerEdge R740xd (1)
- STP Extension (1)
- Sparing Integrity Program (1)
- Switched Virtual Interface (1)
- TCP (1)
- TPM (1)
- UCS Fabric Interconnects (1)
- Ways to Save (1)
- hyperconverge (1)
- September 2023 (1)
- August 2023 (5)
- July 2023 (2)
- June 2023 (4)
- May 2023 (5)
- April 2023 (8)
- March 2023 (7)
- February 2023 (5)
- January 2023 (2)
- December 2022 (3)
- November 2022 (3)
- October 2022 (8)
- September 2022 (9)
- August 2022 (9)
- July 2022 (8)
- June 2022 (9)
- May 2022 (5)
- April 2022 (3)
- March 2022 (1)
- February 2022 (2)
- November 2021 (2)
- October 2021 (1)
- September 2021 (2)
- August 2021 (2)
- July 2021 (3)
- June 2021 (2)
- May 2021 (4)
- April 2021 (4)
- March 2021 (2)
- February 2021 (1)
- January 2021 (2)
- December 2020 (2)
- November 2020 (2)
- October 2020 (2)
- September 2020 (2)
- August 2020 (4)
- July 2020 (5)
- June 2020 (4)
- May 2020 (6)
- April 2020 (2)
- March 2020 (1)
- February 2020 (2)
- January 2020 (2)
- December 2019 (1)
- May 2019 (2)
- April 2019 (5)
- February 2019 (1)
- January 2019 (3)
- December 2018 (1)
Comments (3)