100-150 CCST ยท Network models, types and protocols
DHCP, DNS, NTP and ICMP
What DHCP, DNS, NTP and ICMP do, how the DHCP lease process works and what each service is used for in troubleshooting.
Key points
- DHCP hands out IP address, mask, default gateway and DNS server automatically, as a lease (UDP ports 67 server, 68 client).
- The lease process is Discover, Offer, Request, Acknowledge.
- DNS translates names to IP addresses (port 53).
- NTP synchronises device clocks (UDP 123).
- ICMP carries diagnostic and error messages; ping uses its echo request and reply.
- If pinging an IP works but the name fails, suspect DNS.
Practice questions
Which service translates a host name such as example.com into an IP address?
- DHCP
- NTP
- ICMP
- DNS
Show answer
Answer: D. DNS
DNS performs name resolution. DHCP assigns addresses, NTP syncs time and ICMP carries diagnostic messages.
Which items can a DHCP server provide to a client?
- An IP address and subnet mask
- Translation of host names to addresses
- A default gateway address
- A DNS server address
- TCP sequence numbers
Show answer
Answer: A. An IP address and subnet mask, C. A default gateway address, D. A DNS server address
A DHCP server typically supplies the IP address, subnet mask, default gateway and DNS server addresses. It does not translate names or hand out sequence numbers.
The ping command sends its echo requests over TCP.
Show answer
Answer: False
False. Ping uses ICMP echo request and echo reply messages, not TCP or UDP.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
