DHCP Flashcards
DHCP Benefits
Centralized & automated IP configuration
Efficient handling of clients that must be updated frequently
Laptops that move locations on a wireless network
DHCP Relay Agent
Eliminates the need for a DHCP server on every subnet by forwarding DHCP messages
DHCP Clients
Desktop PCs are good clients because there are typically many
They don’t accept incoming connections so it doesn’t matter if the IP changes
Servers, routers, switches, etc should be configured manually
Command: Configure DHCP Server
ip dhcp excluded-address 10.10.10.1 10.10.10.10 –> specifies scope excluded from pool
ip dhcp pool Flackbox
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server 10.10.20.10
Command: Verify DHCP information
Display total, excluded, & leased addresses:
show ip dhcp pool
Display addresses handed out:
show ip dhcp binding
Show information about a specific DHCP lease:
show dhcp lease
Command: Configure External DHCP server at 10.10.20.10 on interface F0/1
interface f0/1
ip helper-address 10.10.20.10
Command: Configure F0/0 as a DHCP client
interface f0/0
ip address dhcp
no shutdown