Bitzu

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

Single choice

Which service translates a host name such as example.com into an IP address?

  1. DHCP
  2. NTP
  3. ICMP
  4. DNS
Show answer

Answer: D. DNS

DNS performs name resolution. DHCP assigns addresses, NTP syncs time and ICMP carries diagnostic messages.

Select all that apply

Which items can a DHCP server provide to a client?

  1. An IP address and subnet mask
  2. Translation of host names to addresses
  3. A default gateway address
  4. A DNS server address
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More 100-150 CCST topics in this module