IP Services: NAT, DHCP, DNS, NTP, SNMP, Syslog & QoS

CCNA 200-301 · IP Services

By Abu Anns · Last updated 20 November 2026Exam version: 200-301 v1.1 (current until 2 Feb 2027)

IP Services is the smallest domain on the exam at 10%, but it covers nine objectives — the widest surface of any domain. The good news is that the questions are mostly about purpose and basics: what each service does, which port it uses, and the one or two commands that configure it. Nobody is asked to design a QoS policy or an SNMP architecture; they are asked to recognise the right service for a scenario and to read basic output. Learn each service's purpose, port, and key command, and this domain becomes easy points.

NAT: connecting private networks to the internet

NAT (Network Address Translation) lets devices with private RFC 1918 addresses reach the public internet by translating their private address to a public one at the edge router. The vocabulary matters: the inside local address is the device's private address, the inside global address is the public address it appears as on the internet, the outside global address is the public address of the internet destination, and the outside local address is how that destination appears inside the network (usually the same as the outside global). Static NAT maps one private address to one public address permanently, typically for a server that must be reachable from the internet. Dynamic NAT maps private addresses to a pool of public addresses on demand. PAT (Port Address Translation), also called NAT overload, maps many private addresses to a single public address by giving each connection a unique source port number — this is what home routers and small offices use, and it is why thousands of devices can share one public IP address.

Configuration marks the interfaces first — ip nat inside on the LAN-facing interface and ip nat outside on the internet-facing interface — then defines the translation: ip nat inside source static 192.168.1.10 203.0.113.10 for static NAT, or an access list plus ip nat inside source list 1 interface GigabitEthernet0/1 overload for PAT. Verify with show ip nat translations, which shows the current mappings, and show ip nat statistics.

DHCP, DNS, and NTP

DHCP automatically assigns IP addresses, subnet masks, default gateways, and DNS servers to hosts. The exchange has four steps, remembered as DORA: the client broadcasts a Discover, the server replies with an Offer, the client sends a Request, and the server confirms with an Acknowledgement. DHCP uses UDP ports 67 (server) and 68 (client). Because DHCP messages are broadcasts, they do not cross routers — so when the DHCP server sits on a different subnet from the clients, the router interface facing the clients needs a DHCP relay, configured with ip helper-address 10.1.1.5, which forwards the broadcast as a unicast to the server. A router can also act as a DHCP client itself (ip address dhcp on an interface) or as a small DHCP server (ip dhcp pool, with network, default-router, and dns-server commands, and ip dhcp excluded-address to reserve addresses).

DNS resolves human-readable names to IP addresses, using UDP port 53 for queries. Without DNS, every user would need to memorise IP addresses. On a Cisco device, ip name-server 8.8.8.8 sets the DNS server, and ip domain-lookup enables name resolution (many engineers disable it on lab routers with no ip domain-lookup to avoid long waits when mistyping a command). NTP (Network Time Protocol) synchronises clocks across the network over UDP port 123. Accurate time matters more than it seems: log timestamps, certificate validity, and troubleshooting all depend on every device agreeing on the time. NTP organises servers into stratum levels — stratum 0 is a reference clock such as an atomic clock or GPS receiver, stratum 1 servers sync directly to it, and each level further down increments the stratum number. A device acts as an NTP client with ntp server 192.168.1.1 and as a server with ntp master.

SNMP, syslog, and device management

SNMP (Simple Network Management Protocol) lets a management system monitor and manage network devices: it polls devices for information (interface status, CPU use, error counts) and receives traps — unsolicited alerts sent when something happens. SNMP uses UDP port 161 for manager-to-agent communication and UDP 162 for traps. Version 1 and version 2c authenticate with community strings sent in plaintext — effectively a password anyone on the wire can read — while SNMPv3 adds proper authentication and encryption and is the only version that should be used on a production network.

Syslog collects log messages from devices in a central place, so an engineer can search one server's logs instead of logging into every device. Syslog uses UDP port 514. Messages have a severity level from 0 to 7, and the exam tests this scale: 0 Emergency (system unusable), 1 Alert (immediate action needed), 2 Critical, 3 Error, 4 Warning, 5 Notification, 6 Informational, 7 Debugging. The lower the number, the more severe the message — and when you configure logging trap 4, you are telling the device to send messages of severity 4 and below (more severe), not 4 and above. Messages also carry a facility code identifying the source subsystem. Configure a syslog server with logging host 10.1.1.10.

Remote device management itself is part of this domain too: SSH (TCP 22) provides encrypted remote command-line access and should always be preferred over Telnet (TCP 23), which sends everything — including passwords — in plaintext. Setting up SSH requires a hostname, a domain name (ip domain-name example.com), an RSA key pair (crypto key generate rsa), a local username, and transport input ssh on the VTY lines. Console access is the physical fallback, and HTTP/HTTPS provide web-based management on devices that support it. Authentication for remote access can be local or centralised through TACACS+ or RADIUS servers, covered in the security guide.

QoS and file transfer

QoS (Quality of Service) manages the forwarding treatment of different traffic types when bandwidth is limited. The per-hop behaviour (PHB) at each router follows a pipeline the exam names explicitly: classification (identifying the traffic type), marking (tagging it with a priority value such as a DSCP value), queuing (deciding the order packets leave an interface), congestion management (deciding which packets to drop when a queue fills), policing (dropping traffic that exceeds a configured rate), and shaping (buffering excess traffic and sending it later instead of dropping it). The policing-versus-shaping distinction is the exam's favourite QoS question: policing drops, shaping delays. Voice traffic gets the highest priority marking (DSCP EF, value 46) because it cannot tolerate delay or jitter.

Finally, TFTP and FTP move files to and from network devices — most commonly IOS images and configuration files. TFTP uses UDP port 69, has no authentication, and is simple but insecure; it is the traditional choice for quick transfers inside a trusted network. FTP uses TCP ports 20 and 21, supports authentication, and is more reliable. The exam's point is the comparison: TFTP is UDP-based and unauthenticated, FTP is TCP-based and authenticated.

Advertisement

Exam traps to watch for

Practice questions

Test yourself on this guide. Answers are checked instantly, with a full explanation for each question.

Q1.A host with private address 192.168.1.10 accesses the internet through a NAT router, which translates it to public address 203.0.113.5. What is 192.168.1.10 called in NAT terminology?

Report an error

Q2.Which NAT type allows many private hosts to share a single public IP address by using unique source port numbers?

Report an error

Q3.A DHCP server is on a different subnet from the clients it serves. What must be configured on the router interface facing the clients so they can obtain addresses?

Report an error

Q4.What is the correct order of the four DHCP messages?

Report an error

Q5.Which NTP stratum level is closest to the reference clock, and what is stratum 0?

Report an error

Q6.A network engineer configures logging trap 4 on a router. Which syslog severity levels will be sent to the syslog server?

Report an error

Q7.Which SNMP version should be used on a production network, and why?

Report an error

Q8.What is the difference between QoS policing and QoS shaping?

Report an error

Q9.Which steps are required before a Cisco device can accept SSH connections?

Report an error

Q10.Which statement correctly compares TFTP and FTP?

Report an error