DHCP for IPv4

DHCP for IPv4

DHCP for IPv4
Fig 1:DHCP for IPv4

Dynamic Host Configuration Protocol (DHCP) is commonly used for assigning IPv4 address information to a network host. DHCP allows a DHCP client to obtain an IP address, subnet mask, default gateway IP address, DNS server IP address, and other types of IP addressing information from a DHCP server.

DHCP Operations

The operation includes exchange of messages (Discover, Offer, Request, Acknowledgment [DORA] process) that occur as a DHCP client obtains IP addressing information from a DHCP server.

DHCP Server Configurations

ip dhcp excluded-address 1.1.1.1 1.1.1.5
ip dhcp pool POOL-A
network 1.1.1.0 255.255.255.0
default-router 1.1.1.2

DHCP Client Configurations

R1#configure terminal

R1(config)#int fa 0/1

R1(config-if)#ip address dhcp

DHCP RELAY AGENT CONFIGURATIONS

R1#configure terminal

R1(config)#service dhcp

R1(config)#interface fa 0/0

R1(config-if)#ip helper-address 10.1.1.2


DHCP Troubleshooting Commands

show ip dhcp conflict

show ip dhcp binding

debug ip dhcp server events

Post a Comment

0 Comments