0% found this document useful (0 votes)
56 views

Configure DHCP Help

The document discusses configuring DHCP on a router. It describes excluding IP addresses from being assigned, creating a DHCP pool with the network address and default gateway, configuring DHCP relay from an interface, and having a client interface request an IP address via DHCP. It also lists show commands to verify DHCP bindings and an example of a DHCP pool configuration for a VLAN.

Uploaded by

api-224615605
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views

Configure DHCP Help

The document discusses configuring DHCP on a router. It describes excluding IP addresses from being assigned, creating a DHCP pool with the network address and default gateway, configuring DHCP relay from an interface, and having a client interface request an IP address via DHCP. It also lists show commands to verify DHCP bindings and an example of a DHCP pool configuration for a VLAN.

Uploaded by

api-224615605
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Configuring DHCP

Configure the excluded IPv4 addresses.


R2(config)# ip dhcp excluded-address 193.168.10.1 193.168.10.10

Create a DHCP pool


R2(config)# ip dhcp pool R1-LAN

Configure the DHCP pool to include the network address, the default
gateway, and the IP address of the DNS server.
R2(dhcp-config)# network 193.168.10.0 255.255.255.0
R2(dhcp-config)# default-router 193.168.10.1
R2(dhcp-config)# dns-server 193.168.20.254

Configure DHCP Relay


From The interface: R1(config-if)# ip helper-address 1.1.1.2

Configure DHCP Client


R2(config)# interface g0/1
R2(config-if)# ip address dhcp
R2(config-if)# no shutdown

Show Commands:
Verify DHCP bindings.
R2# show ip dhcp binding

DHCP pool for each VLAN.


ip dhcp pool VLAN_10
network 172.31.10.0 255.255.255.224
default-router 172.31.10.1
dns-server 209.165.201.14

You might also like