Day 23 - DHCP & DNS Flashcards
When a DHCPv4-configured device boots up or connects to the network, the client broadcasts what type of message?
DHCPDISCOVER broadcast message
After a DHCP client sends a DHCPDISCOVER broadcast message, what does the DHCP server respond with?
DHCPOFFER unicast message
After a DHCP server sends a DHCPOFFER unicast message, what does the DHCP client respond with?
DHCPREQUEST broadcast message
After the DHCP client sends the DHCPREQUEST broadcast message, what does the DHCP server respond with?
DHCPACK
If a client is powered down or taken off the network, the IP address given by DHCP is what?
Returned to the pool for reuse
In what ways can a Cisco router be involved with DHCP
As a DHCP server
A DHCP relay agent
A DHCP client
What are the commands to configure a Cisco DHCP server to hand out ip addresses?
ip dhcp excluded-address {starting-ip-address} {ending-ip-address}
ip dhcp pool {name-of-pool}
network {network-address} {subnet}
default-router {ip-address}
dns-server {ip-address}
What command would you check to see if DHCP for a Router is being used a DHCP client?
show dhcp lease
What commands would you use on a Router to set it up as a DHCP client?
int {int}
-outside facing interface to the ISP
ip address dhcp
no shutdown
What command would you use to disable DHCP service on a device?
no service dhcp
What command would you use to verify DHCPv4 operation?
show ip dhcp binding
On a DHCP client, how would you release and renew DHCP configurations?
ipconfig /release
ipconfig /renew
To ensure that broadcasted DHCPDISCOVER messages are sent to the remote DHCPv4 server, what command would you use on a Cisco device?
ip helper-address
How many UDP services does the ip helper-address command forward?
8
What services does the ip helper-address command forward?
Port 37: Time
Port 49: TACACS
Port 53: DNS
Port 67: DHCP/BOOTP Server
Port 68: DHCP/BOOTP Client
Port 69: TFTP
Port 137: NetBios name service
Port 138: NetBios datagram service