What is DHCP?
Benefits of DHCP over static assignment
What are the four different types of DHCP messages?
What addresses will a DHCP Client use as its src and dst addresses if it does not already have an IP when sending a DHCP Discover?
What addresses will a DHCP Server use as its src and dst addresses when responding to a DHCP Discover message?
How does a host know whether a DHCP Offer is meant for it or not when sent via broadcast?
What does the ‘ip helper-address <server-ip>' command do?</server-ip>
Tells an interface that receives messages from DHCP clients to:
- Watch for incoming DHCP messages with a destination IP of 255.255.255.255
- Change the packet’s source IP to the router’s incoming interface IP address
- Change the packet’s destination IP to that of the DHCP server (listed in the command)
- Route the packet to the DHCP server
What does a DHCP relay do?
What information does a DHCP server need to know in order to serve a host?
What are the 3 methods of allocation that a DHCP server can use?
True or False. A DHCP server can also be used to provide the IP address of a TFTP server on the network that devices should use.
True.
What are the two rules for configuring a DHCP relay on a network?
What command(s) can you use to see if an interface is being used as a DHCP Relay?
What command can you use to cause a switch or router interface to get its IP via DHCP?
‘ip address dhcp’ in interface config mode
How can you find out if a switch/router interface has had its IP configured via DHCP?
Use the ‘show dhcp lease’ command
True or False. A router or switch using DHCP to obtain its IP address will only show the IP if DHCP has been successful.
True.
When looking at a Cisco routing table, how can you tell if a route has been created from information learned via DHCP?
What information does a host need to learn from a DHCP server?
What extra information does the Windows command ‘ipconfig /all’ show above just ‘ipconfig’?
What command can you use on a Windows device to see its routing table?
‘netstat -rn’
What commands does MacOS use that is similar to Windows’ ‘ipconfig’ command?
What command can you use on MacOS to see a device’s routing table?
‘netstat -rn’
True or False. ‘ifconfig’ only works for MacOS.
False. It also works for older Linux distributions (or ones where it has been enabled) and does the same as it does on MacOS (shows the host’s IP address and subnet mask)
It has since been replaced by the ‘ip address’ command.
True or False. ‘netstat -rn’ only works for MacOS.
False. It also works for older Linux distributions (or ones where it has been enabled) and does the same as it does on MacOS (shows the routing table)
It has since been replaced by the ‘ip route’ command.