Ch10 DHCP - Practical Flashcards
Excluding IPv4 addresses in DHCPv4
ip dhcp excluded-address low_address [high_address]
Global Config Command
Command used to create DHCPv4 Address Pool
ip dhcp pool dhcp_pool_name
// puts prompt into (dhcp_config)# mode.
Defining Default Gateway in DHCPv4 Config Mode
default-router address1 [address2 … address8]
DHCP-Config Cmd
Define DHCPv4 Address Pool
network network_number [mask | /prefix_length]
DHCP Config Command
Two Required Tasks to Setup DHCPv4
- Define the address pool.
- Define the default router or gateway.
Four Optional Tasks to Setup DHCPv4
- Define DNS Server
- Define the Domain Name.
- Define the duration of the DHCP lease.
- Define the NetBIOS WINS server.
Command to stop DHCP Server Function
no service dhcp
Global Config Command
Command to re/enable DHCP Server Function
service dhcp
Global Config Command
Define DNS Server DHCPv4
dns-server dns_address [address2…address8]
Define the Domain Name DHCPv4
domain-name domain_name
DHCP-Config Command
Define the Duration of the DHCP Lease DHCPv4
lease { days [hours] [minutes] | infinite ]
Define the NetBIOS WINS Server DHCPv4
netbios-name-server address1 [address2….address8]
What is the default value of a DNS lease?
1 day.
4 Methods to Verify DHCPv4 Configuration
- show running-config | section dhcp
- show ip dhcp binding
- show ip dhcp server statistics
- ipconfig /all // client side
Command Used to Display DHCP Commands Only in Running-Config
show running-config | section dhcp