Network Services – DHCP, DNS and More

Learn how the services that keep a business network running really work. DHCP hands out addresses, DNS turns names into addresses, NTP keeps every clock in step, and SNMP and syslog report on the health of devices. You configure DHCP scopes and relay agents, plan and track the address space, read DNS records and trace a lookup from the root down, and set up time synchronization and logging on network devices. You also see how quality of service protects voice calls on a busy link, and how proxies and load balancers sit between clients and servers. Each service comes with its ports, its typical faults and the commands that diagnose them.

BeginnerLesson 6 of 9 in Networking Fundamentals Course

What you will learn

  1. Explain how hosts lease their addresses, configure DHCP scopes and relay agents, keep a reliable record of the address space, and fix clients that get no address or the wrong settings.
    • Follow how a client leases, renews and releases an address
      Describe the four DHCP messages, the lease timers and the options a client receives, and recognize what a self-assigned address means. Compare DHCP with the ways IPv6 hosts get their addresses.
    • Configure a DHCP scope with exclusions, reservations and options
      Plan a scope for a subnet, keep fixed addresses out of the pool, reserve addresses for particular devices, choose a lease time and verify the server, using Cisco IOS as the worked example.
    • Relay DHCP across subnets and troubleshoot failed leases
      Explain why clients in other subnets need a relay agent, configure one with ip helper-address, and work through the usual causes of missing or wrong addresses, including rogue servers and exhausted pools.
    • Plan and track the address space with IPAM
      Build a structured address plan, keep records of every subnet and assignment, measure how full each subnet is, and keep the records in line with what is really on the network.
  2. Read and write the common DNS record types, follow a name lookup step by step from the client to the authoritative server, and diagnose name-resolution problems with command-line tools.
    • Read DNS zones and record types
      Explain the DNS namespace, zones and authoritative servers, and read and write the A, AAAA, CNAME, MX, NS, PTR, TXT and SOA records, including reverse zones and time to live.
    • Follow how a name is resolved
      Trace a lookup from the client's own resolver through a recursive resolver, the root, the top-level domain and the authoritative server, and explain caching, forwarders, the hosts file and secure DNS options.
    • Diagnose name-resolution problems
      Separate DNS faults from connectivity faults, query DNS servers directly with nslookup, dig and Resolve-DnsName, read their results, and fix stale caches, record mistakes and client misconfiguration.
  3. Synchronize device clocks with NTP, collect status and counters with SNMP, and gather and interpret syslog messages so that events across the network can be monitored and lined up.
    • Synchronize clocks with NTP
      Explain why accurate time matters, how NTP strata and polling work, configure NTP client and server mode on network devices, and compare NTP with PTP and secure time options.
    • Monitor devices with SNMP
      Describe the SNMP manager, agent, MIB and OIDs, the operations and ports, the differences between versions 1, 2c and 3, and calculate link utilization from interface counters.
    • Collect and read syslog messages
      Explain the syslog severity levels and facilities, send device logs to a central collector, read Cisco-format messages and line up events using correct timestamps.
  4. Explain how quality of service protects delay-sensitive traffic on congested links, and how proxies and load balancers stand between clients and servers to filter, cache and share traffic.
    • Classify and mark traffic for QoS
      Describe what quality of service controls and why voice and video need it, classify traffic, and read and choose CoS and DSCP markings, including EF, AF and CS values and the trust boundary.
    • Manage congestion with queuing, dropping, policing and shaping
      Explain where congestion arises and how queuing, tail drop, WRED, policing and shaping each handle excess traffic, and choose between policing and shaping for a given link.
    • Explain forward and reverse proxies
      Describe how a proxy relays requests, compare forward and reverse proxies and their uses, and explain explicit and transparent setups, HTTPS inspection, caching and common proxy faults.
    • Distribute traffic with load balancers
      Explain how a load balancer presents one virtual address for a pool of servers, checks their health, chooses a server with common algorithms and keeps sessions together, and compare it with DNS round robin.

DHCP and DNS study guide

4 chapters

1

Give devices the right addresses

A device needs more than an unused IP address: it also needs the right mask, gateway and DNS servers for its subnet. DHCP supplies these settings and keeps track of leases, while a relay lets one server serve several networks. You will build a scope, trace a failed lease from client to server, and keep the address plan accurate as devices join, move and leave. IPAM connects that plan to the live DHCP and DNS records.

1.1 How a DHCP lease begins and stays valid

DHCP, the Dynamic Host Configuration Protocol, supplies an IPv4 address and settings for a limited time called a lease. The server listens on UDP 67; the client uses UDP 68. Laptops, printers, phones and router interfaces can all be clients. On Cisco IOS, ip address dhcp makes an interface request its settings.

Get the first lease

A new client uses four messages, remembered as DORA:

  1. Discover: with no usable address or known server, the client broadcasts from 0.0.0.0 to 255.255.255.255.
  2. Offer: a server proposes an address, lease time and settings.
  3. Request: the client asks for the chosen offer. This request is normally broadcast, so other offering servers learn that they were not selected.
  4. Acknowledge: the chosen server confirms the lease. The client can now use it.

For example, a laptop receives 192.168.10.57/24, gateway 192.168.10.1, DNS server 192.168.10.5 and an 8-hour lease. Many clients check the address with ARP before using it. If another host answers for that address, the client sends DHCPDECLINE and starts again.

Settings arrive as numbered options. Option 1 supplies the subnet mask, 3 the router, 6 the DNS servers, 15 the domain name and 51 the lease time. Options such as 43 or 150 help phones and access points find a controller or configuration server. A correct address with an incorrect DNS server is therefore still a DHCP configuration problem.

Renew before the lease ends

The lease has two default renewal times, measured from its start:

TimeClient actionFor an 8-hour lease
T1: 50%Unicast Request to the original serverAfter 4 hours
T2: 87.5%Broadcast Request that any server may answerAfter 7 hours
ExpiryStop using the address and begin Discover againAfter 8 hours

An acknowledgment during renewal restarts the lease, usually for the same address. Users keep working during normal background renewal; a short lease does not disconnect them on a schedule.

On Windows, ipconfig /all shows the server and lease times. ipconfig /release returns the address, and ipconfig /renew requests a lease. A device that leaves without releasing still occupies its lease until it expires. If DHCP fails, Windows may assign itself a link-local APIPA address such as 169.254.37.112. This permits communication with other link-local hosts on that segment, but provides no routed internet access.

Compare IPv6 address setup

With SLAAC, a host builds an IPv6 address using a /64 prefix advertised by a router. Router Advertisement flags direct hosts toward DHCPv6: M requests managed address configuration; O requests other settings such as DNS. Stateful DHCPv6 supplies an address; stateless DHCPv6 supplies extra settings while SLAAC supplies the address. DHCPv6 uses UDP 546 for clients and 547 for servers. The default gateway comes from Router Advertisements or manual configuration, not DHCPv6.

Key Takeaways

  • DORA establishes the initial lease; an Offer alone does not confirm it.
  • DHCP options supply settings such as the gateway and DNS servers.
  • Default T1 and T2 are 50% and 87.5% of the lease.
  • An expired lease must no longer be used.
  • An APIPA address points to a failed IPv4 lease process.
  • IPv6 hosts learn their default gateway from a router, not DHCPv6.

1.2 Build and verify a DHCP scope

A scope, called a pool on Cisco devices, combines a subnet's leasable addresses with the settings clients need there. Plan the addresses before entering commands, so the DHCP server and devices configured by hand never claim the same address.

Choose the available range

Start with the network, prefix and usable host range. List the gateway, servers and other fixed devices, then exclude their addresses. For 192.168.10.0/24, the usable range is .1 through .254. Excluding .1 through .20 leaves .21 through .254:

254−20=234

That pool supports 234 leases. An expected 260 clients will not fit; use a larger subnet such as a /23 with 510 usable addresses, or another subnet. Count excluded and reserved space as well as active users when planning growth.

An exclusion tells the server never to lease an address. A reservation ties an address to a particular MAC address or client identifier, while the device still uses DHCP. A printer with a reservation receives updated DNS settings at renewal. A printer with a manually typed static configuration must be updated on the device itself.

ChoiceWhere it is controlledHow conflicts are avoided
Static addressOn the deviceKeep it outside the dynamic range or exclude it
ReservationOn the DHCP serverAssociate it with the intended client
Dynamic leaseOn the DHCP serverAllocate from the available pool
Configure a pool on Cisco IOS

Enter the exclusion in global configuration. The remaining settings belong inside the pool:

ip dhcp excluded-address 192.168.10.1 192.168.10.20
ip dhcp pool OFFICE
 network 192.168.10.0 255.255.255.0
 default-router 192.168.10.1
 dns-server 192.168.10.5
 domain-name example.com
 lease 0 8

lease 0 8 means 0 days and 8 hours. Without a lease command, the IOS default is 1 day. The gateway must match this subnet; copying another pool's default-router can leave clients able to reach local hosts but unable to leave their network.

Check the result with show ip dhcp pool for pool capacity, show ip dhcp binding for clients and expiry times, and show ip dhcp conflict for addresses removed after a conflict. Windows Server uses the same scope, exclusion, reservation and option concepts; scope options can override server-wide options.

Match lease time and redundancy to demand

Guest Wi-Fi benefits from leases of roughly 1–4 hours because departed devices release their space sooner through expiry. Stable desktops can use leases lasting several days; the Windows Server default is 8 days. A pool of 200 addresses with 60 new guest devices each day can fill in about 3.3 days if those leases remain held. Shortening the configured duration helps as new leases and renewals take effect; it does not instantly erase existing leases.

Two servers may split the range without overlap, such as an 80/20 split, or use a supported failover feature that shares lease state. Two independent servers must not freely allocate the same addresses: each could otherwise give one address to a different client.

Key Takeaways

  • Exclude manually assigned addresses from DHCP.
  • A reservation keeps a fixed assignment under DHCP control.
  • Calculate capacity after exclusions and other unavailable addresses.
  • Set the gateway separately for each subnet.
  • Verify capacity, bindings and conflicts with different commands.
  • Independent DHCP pools serving one subnet must not overlap.

1.3 Find where the lease process stops

A client broadcasts its Discover on its local segment. An ordinary router does not forward that broadcast, so a DHCP server in another subnet needs a relay agent to hear it. The relay usually runs on the router or layer-3 switch interface that serves as the client subnet's gateway.

Relay the request and identify the subnet

The relay receives the broadcast and sends a unicast request to the server. It inserts its client-facing interface address in giaddr, the gateway IP address field. The server uses this address to select the client's scope and sends its reply back through the relay.

For VLAN 20, suppose the gateway is 192.168.20.1 on GigabitEthernet0/1 and the server is 10.0.0.10. Configure:

interface GigabitEthernet0/1
 ip helper-address 10.0.0.10

The command belongs on the client-facing interface. A helper on the server-facing interface misses the client broadcast. The server also needs a scope for 192.168.20.0/24 and a route back to 192.168.20.1. A second helper line can name a backup server. On IOS, helper addresses forward several UDP broadcast services by default, including DNS and TFTP, so review that behavior when designing the network.

Work outward from the client

Use the symptom to choose the next check:

ObservationNext check
A 169.254 addressWhether a usable DHCP reply arrived
Correct subnet, wrong gateway or DNSScope options and the responding server
Only a new VLAN failsVLAN membership, its scope and its relay
New clients fail while old clients workAvailable pool space and conflict entries
Unexpected private subnet and gatewayThe DHCP Server entry in ipconfig /all

Then inspect the path. Confirm the switch port's VLAN, the helper's server address, routing in both directions and ACL or firewall rules for DHCP. Clients use UDP 68 and servers UDP 67; relay-to-server traffic uses the server port. A working DNS service does not show that DHCP traffic is permitted.

For example, VLAN 10 works but a new VLAN 30 receives only APIPA addresses. If the server is remote and VLAN 30 has no helper, its Discover never reaches the server. Add the relay on that VLAN's gateway and verify that the server has a matching scope before testing renewal again.

Fix the cause before clearing state

An exhausted pool has no free addresses to offer. In show ip dhcp pool, compare leased addresses with total minus excluded addresses, then check the conflict list for further unavailable space. Repeated ipconfig /renew requests cannot create capacity. Review stale exclusions and reservations, adjust lease duration for turnover, or enlarge the address space.

A static device inside the dynamic pool can cause duplicate-address warnings. Find and correct that overlap, then clear resolved conflict entries with clear ip dhcp conflict * when appropriate. Clearing the list while the duplicate still exists invites the same fault again.

An unauthorized rogue DHCP server, often a connected home router, may supply the wrong gateway. Identify it from the client configuration and remove it. DHCP snooping prevents untrusted switch ports from sending server replies, protecting later clients from the same mistake.

Key Takeaways

  • A relay converts the local DHCP broadcast into a request to a remote server.
  • The server uses giaddr to choose the client subnet’s scope.
  • Place the helper on the client-facing interface.
  • Check pool space and conflicts before retrying failed leases.
  • Identify the responding server when clients receive unexpected settings.

1.4 Keep an address plan that matches the network

IP address management (IPAM) joins planning with record keeping and discovery. It answers practical questions: Which subnet belongs to this VLAN? Who owns this address? Is it static, reserved or leased? Which range still has room? A spreadsheet can hold a small plan; a dedicated tool can also compare that plan with live devices. Products combining DNS, DHCP and IPAM are called DDI.

Record enough to make the next change safely

For every subnet, record its network and prefix, VLAN ID, gateway, purpose, location, DHCP range and exclusions. For each static assignment, record the hostname, MAC address, device type, owner and assignment date. These fields make it possible to distinguish an address that is merely quiet from one that is available for reuse.

A site using 10.20.0.0/16 might assign:

FunctionSubnet
Staff10.20.10.0/24
Phones10.20.20.0/24
Printers10.20.30.0/24
Device management10.20.99.0/24

Within each subnet, .1 can be the gateway, .2–.20 the fixed range, and .21–.254 the DHCP range. Documenting this pattern helps an engineer recognize a device's role and prevents two teams from allocating overlapping space. The plan still needs an individual record when a fixed address is assigned.

Measure headroom

Address utilization compares used addresses with usable addresses:

utilization=addresses in useusable addresses×100%

A /22 has 1,022 usable IPv4 addresses. If 870 are in use, utilization is about 85.1%. An alert threshold of 80% would already have triggered planning for more space. Keep this subnet measure separate from DHCP pool availability: exclusions and reservations can leave a dynamic pool full even while the subnet still has unassigned addresses.

Reconcile the plan with evidence

IPAM discovery can read DHCP leases, DNS records and router ARP tables, and scan subnets. Compare these views: a discovered address with no owner may be an undocumented device; a recorded server with no current evidence may have been retired. Investigate the difference before changing the assignment.

Before assigning a static address, check the IPAM record, DHCP leases and DNS. A failed ping is too little evidence: the current owner may be switched off or may block ping. After assigning the address, record the device and protect the assignment from DHCP. When retiring it, reclaim the address and remove stale DNS records so a future user does not inherit the old name.

DHCP can update DNS dynamically, keeping a client's A and PTR records aligned with its lease. IPAM brings these records into one view, but automatic discovery still needs an accurate plan and ownership information to explain what a device is supposed to be doing.

IPv6 removes the pressure to count every possible host address in a /64. It does not remove the need to plan. Record which /64 prefix belongs to each site and VLAN, along with gateways and important fixed assignments. Track the structure and ownership of the address space even when individual host addresses change often.

Key Takeaways

  • Record each subnet’s prefix, VLAN, gateway and allocation ranges.
  • Track the owner and assignment method of fixed addresses.
  • Use utilization trends to plan before capacity runs out.
  • Check several records before reusing an address; silence to ping is insufficient.
2

Read DNS answers and trace name lookups

A name lookup depends on several pieces working together: the client’s local settings, a resolver, the servers responsible for the domain, and cached answers along the way. Learning who supplies each answer makes DNS faults easier to locate. You will read records, follow a lookup from the root to the domain, and compare replies from different servers to find stale data, missing records and blocked traffic.

2.1 What DNS records tell clients

DNS, the Domain Name System, stores information under names arranged in a tree. Read www.example.com. from right to left: the root is the final dot, com is the top-level domain, and example and www identify lower levels. A fully qualified domain name (FQDN) gives the complete path to the root.

Find who owns the answer

A zone is a managed part of that tree, held on authoritative name servers. The primary holds the editable copy; secondaries hold read-only copies obtained by zone transfer over TCP 53. The SOA serial number lets secondaries detect a newer version. Multiple authoritative servers keep answers available when one server fails.

Read the record type before its value
RecordWhat it holds
AAn IPv4 address for a name
AAAAAn IPv6 address for a name
CNAMEAnother name, the alias's canonical target
MXA mail server name and preference number
NSAn authoritative server name for a zone
PTRA name returned by a reverse address lookup
TXTText such as an SPF rule or ownership proof
SOAPrimary server, contact, serial number and zone timers
SRVA server location for a named service

For example, "www.example.com. 3600 IN A 203.0.113.10" maps a name to an IPv4 address. "www.example.com. 3600 IN AAAA 2001:db8::10" supplies IPv6. In these records, 3600 is the cache lifetime in seconds and IN is the internet class.

An alias such as "shop.example.com. 3600 IN CNAME www.example.com." points to the name, not directly to its address. A lookup follows that target to obtain an A or AAAA answer. A CNAME cannot share its name with ordinary data such as A, MX, SOA or NS records. DNSSEC metadata is a special exception. The zone apex needs SOA and NS records, so a standard CNAME cannot be placed there; provider alias or flattening features are different record-handling features.

MX preferences run in the opposite direction from a “higher is better” score. With preference 10 for mail1.example.com. and 20 for mail2.example.com., senders try mail1 first. MX values must be hostnames with direct A or AAAA records. MX and NS targets must not be CNAME aliases.

Reverse the address and control caching

Forward lookups start with a name; reverse lookups start with an address. For IPv4 address 203.0.113.25, the PTR owner is 25.113.0.203.in-addr.arpa.. IPv6 reverse lookup uses reversed hexadecimal digits under ip6.arpa. Adding an A record does not create a PTR unless an update feature does so.

Time to live (TTL) is the maximum normal cache lifetime in seconds: 300 is 5 minutes, 3600 an hour and 86400 a day. Before an address change, lower the TTL from 86400 to 300 and wait at least the old day-long TTL. Then change the address, allowing ordinary caches to refresh within 5 minutes, and raise the TTL again after the move.

In a zone file, a name without a final dot is relative to the current zone. Writing mail.example.com in the example.com zone produces mail.example.com.example.com. Use mail.example.com. for the complete name, or the relative name mail.

Key Takeaways

  • Read the record type to distinguish an address, alias, mail route or authority.
  • Lower MX preference numbers are tried first.
  • PTR records support reverse lookups and are maintained separately from A records.
  • A CNAME cannot coexist with ordinary records at the same name.
  • A TTL change does not shorten copies already cached with the old TTL.
  • Use a final dot for an absolute name in a zone file.
  • Increase the SOA serial when publishing a changed zone.

2.2 Follow a lookup through DNS

A computer does not normally contact every DNS server itself. Its stub resolver asks a recursive resolver to obtain the answer. The resolver either has a usable cached answer or contacts the servers that are authoritative for parts of the name.

Start on the client

Local sources include the hosts file and the client's DNS cache. A hosts entry can override DNS for that computer. The Windows path is C:\Windows\System32\drivers\etc\hosts; Linux and macOS use /etc/hosts. A forgotten test entry can explain why one computer reaches an old server while every other computer works.

The client learns its resolver address from DHCP option 6 or manual configuration. Its request is recursive: it asks that resolver for the final answer. The client is delegating the search, not asking for directions to the next DNS server.

Work from the root toward the name

For a lookup of www.example.com with empty caches:

  1. The client asks its recursive resolver.
  2. The resolver asks a root server, which refers it to the com servers.
  3. A com server refers it to the authoritative servers for example.com.
  4. A domain server returns "A 203.0.113.10", with TTL 3600.
  5. The resolver caches that answer and returns it to the client.

The resolver's requests along the hierarchy are iterative: each server supplies its best answer or referral. The root does not hold every site's address. There are 13 root server identities, named a through m, each served by many physical systems using anycast addresses.

The next client can receive the cached answer without repeating this search. A tool may label it "Non-authoritative answer"; this identifies the answer's source, not an error. Referrals and negative answers are cached too. An NXDOMAIN result can therefore remain visible after a missing name has been added, until its negative cache lifetime ends.

Use forwarding when another resolver should search

A resolver can send unanswered requests to an upstream forwarder, which performs the search. A conditional forwarder sends requests for a particular domain to designated servers. For example, a company can direct a partner's internal domain to the partner's resolver while sending ordinary public names elsewhere.

Request pathWho finishes the search?
Client recursive queryThe client's resolver
Resolver iterative queriesThe resolver follows successive referrals
Query sent to a forwarderThe upstream recursive resolver
Separate privacy from authenticity

Ordinary DNS uses UDP or TCP port 53. Most small queries use UDP; zone transfers and many large replies use TCP. DNS over TLS (DoT) encrypts the client-resolver connection on TCP 853. DNS over HTTPS (DoH) carries queries through HTTPS on port 443 and can bypass filtering that watches only ordinary DNS.

DNSSEC instead lets a validating resolver check signatures and detect altered or forged DNS data. It does not encrypt queries or answers. Encryption protects the transport path; signed data supports authenticity.

After an address edit, authoritative servers publish the new data but do not push it into every resolver cache. Users can temporarily receive different answers because their cached copies have different remaining TTLs. That cache lifetime explains the usual delay described as “DNS propagation.”

Key Takeaways

  • The stub asks a recursive resolver for a final answer.
  • Iterative replies guide a resolver through the DNS hierarchy.
  • A cached non-authoritative answer can be correct.
  • Forwarders search for other resolvers; conditional forwarding selects by domain.
  • DoH and DoT encrypt transport; DNSSEC validates DNS data.

2.3 Use DNS replies to locate a fault

Start with the exact failure. “Could not find host” means a name lookup failed. “Connection refused” after a successful lookup points elsewhere. Testing a known address and then its name helps separate name resolution from access to the destination.

If ping 203.0.113.10 works but ping www.example.com reports that it cannot find the host, investigate resolution. If both fail, check addressing and routing, but remember that ping can also be filtered. A failed ping alone cannot establish that DNS is broken or that the service is unreachable.

Ask the right server directly

Find the configured DNS servers using ipconfig /all, resolvectl status, or /etc/resolv.conf where applicable. Then compare queries:

nslookup www.example.com
nslookup www.example.com 192.0.2.53
nslookup -type=MX example.com
dig @192.0.2.53 example.com MX
dig -x 203.0.113.25
dig +trace www.example.com
Resolve-DnsName www.example.com -Type AAAA

The first lookup tests the client's selected resolver; an explicit server address tests a chosen resolver or authority. dig +trace follows referrals. A successful direct query but a failing application lookup suggests local settings, cache or the hosts file.

Interpret the reply
ResultMeaning
NOERROR with answer dataThe requested data was returned
NOERROR without requested dataThe name has no answer of that type
NXDOMAINThe queried name does not exist
SERVFAILThe server could not complete the lookup
REFUSEDThe server's policy rejects the query
No reply or timeoutCheck reachability and whether the server responds

SERVFAIL can follow an unreachable authority or failed DNSSEC validation. REFUSED is different: a reachable server may allow recursion only for internal clients. In dig, the aa flag identifies an authoritative answer.

Compare old and new data

Suppose a server moved from 203.0.113.10 to 203.0.113.80. The authority returns .80 while the office resolver returns .10 with time left on an old 86400-second TTL. The edit is published; the office cache is stale. Wait for expiry or clear the affected resolver and client caches. ipconfig /flushdns clears the Windows client cache, not every upstream cache. Lowering the TTL in advance avoids a long wait during a planned move.

When only one computer differs, inspect its hosts file and local cache. When authoritative servers disagree, compare SOA serials: a changed primary zone with an unchanged serial may not transfer to secondaries.

Match the failing service to its records

A wrong A record affects IPv4. An incorrect or unusable AAAA record can cause IPv6 connection delays even when IPv4 works; an IPv4-only server does not need an AAAA record. For mail, verify the MX names and their direct A or AAAA records. Without MX, senders can try the domain's own address records. A missing PTR may affect mail acceptance and makes logs harder to read.

Finally, allow both UDP and TCP 53 where ordinary DNS requires them. A firewall allowing UDP alone may pass small replies yet break large answers and zone transfers.

Key Takeaways

  • Use the exact error to separate a lookup failure from a connection failure.
  • Compare the configured resolver with a specific server and the authority.
  • NXDOMAIN, SERVFAIL and REFUSED describe different problems.
  • A client cache flush does not clear an upstream resolver.
  • Wrong AAAA data can cause delays; missing AAAA data is valid for IPv4-only services.
  • Permit DNS over TCP as well as UDP.
3

Put device reports on a shared timeline

A useful incident record needs three things: clocks that agree, measurements that show how devices are behaving, and event messages that explain what changed. NTP supplies shared time, SNMP collects device values, and syslog gathers events. You will configure and verify these services, turn byte counters into traffic rates, and read severity thresholds so the collector receives the events you need.

3.1 Keep clocks in sync with NTP

Shared time makes events comparable. If a switch records a port failure and a router records a lost neighbor, accurate timestamps help establish their order. Time also affects certificate validity and authentication: Active Directory's Kerberos default allows only 5 minutes of clock difference.

Understand the clock hierarchy

NTP, the Network Time Protocol, exchanges timestamped packets over UDP 123. Four timestamps let the client estimate its clock offset and network delay. It polls repeatedly, commonly at intervals of 64–1,024 seconds. Small corrections are usually made gradually, called slewing, to avoid sudden backward jumps.

A stratum describes distance from a reference clock:

StratumExample
0A GPS receiver or atomic reference clock
1A time server connected directly to that reference
2A router synchronized to the stratum 1 server
3A switch synchronized to that router
16An unsynchronized system

Usable network strata run from 1 to 15. Stratum is not an accuracy score: a nearby stratum 2 server may produce better results than a distant stratum 1 source reached over a variable-delay path.

Use several upstream sources, ideally at least four, for the internal time servers. This lets NTP compare sources and reject a false one. Other network devices can synchronize to those internal servers, limiting external traffic and keeping the local timeline consistent.

Configure and verify a client

On Cisco IOS, ntp server 192.0.2.123 selects an upstream server; adding prefer marks a preferred source. A synchronized device can then answer time requests from other devices. ntp master 4 instead advertises the router's own clock as a stratum 4 source. Its default is stratum 8 when the number is omitted. Use such a local reference only when no better source exists, such as in an isolated lab.

Check show ntp status for synchronization and the local stratum. If the upstream is stratum 2, the synchronized client becomes stratum 3. In show ntp associations, an asterisk marks the selected source. Allow several minutes for a new association to settle before treating the initial unsynchronized state as a persistent fault.

NTP distributes UTC. The device's time-zone and daylight-saving configuration controls the displayed local time. For example, clock timezone CET 1 sets a one-hour standard offset on IOS. An exact whole-hour error suggests display settings. Many organizations log in UTC to avoid converting between sites during an incident.

Protect time and choose the needed precision

Symmetric-key authentication limits accepted time sources to those sharing the configured key. Network Time Security (NTS) uses a TLS-based key exchange on TCP 4460, then authenticates the NTP packets that still travel over UDP 123. Restrict which hosts may query or control time services as well.

Precision Time Protocol (PTP, IEEE 1588) follows a grandmaster clock and uses hardware timestamps in network cards and switches to reach sub-microsecond accuracy on suitable local networks. It serves needs such as mobile networks and industrial control where ordinary NTP's millisecond-level timing is insufficient. PTP can run over Ethernet or IP; IP transport uses UDP 319 for event messages and UDP 320 for general messages. SNTP is a simpler NTP implementation for clients with less demanding time needs.

Key Takeaways

  • NTP uses UDP 123 and synchronizes time in UTC.
  • A client’s stratum is one above its chosen upstream; stratum 16 is unsynchronized.
  • A lower stratum alone does not guarantee better accuracy.
  • Verify synchronization status and the selected association.
  • Time-zone settings control local display, not the time supplied by NTP.
  • NTS authenticates NTP; PTP provides hardware-assisted precision.

SNMP, the Simple Network Management Protocol, lets a monitoring manager read data from an agent on a device. The data is described by a management information base (MIB). Each object has an object identifier (OID), a dotted path in a tree. For example, 1.3.6.1.2.1.1.5.0 identifies sysName; 1.3.6.1.2.1.1.3.0 identifies sysUpTime. Vendor objects live under the enterprises branch, 1.3.6.1.4.1.

Combine scheduled polling with alerts

The agent listens on UDP 161 for requests. The manager receives traps and informs on UDP 162.

OperationPurpose
GetRead a value
GetNext or GetBulkWalk through related objects, such as interface tables
SetChange a writable value
TrapSend an unsolicited event notification without acknowledgment
InformSend a notification that requests acknowledgment

A manager might poll traffic, CPU and memory every 5 minutes to build graphs. A trap can report a failed link immediately. Use both: traps may be lost over UDP, and a failed device may be unable to send any notification. Informs retry according to timeout and retry settings, but can still fail after retries run out.

Choose a secure version

SNMPv1 and v2c send a community string in plain text. Read-only (RO) access permits reads; read-write (RW) access also permits supported changes. Version 2c adds GetBulk, informs and high-capacity counters. SNMPv3 uses accounts with security levels noAuthNoPriv, authNoPriv and authPriv. Prefer authPriv, which authenticates and encrypts messages, where supported.

An IOS v2c configuration can use snmp-server community N3tM0n-RO RO 10 to restrict reads using ACL 10. snmp-server host 192.0.2.50 version 2c N3tM0n-RO selects the notification receiver, and snmp-server enable traps enables traps. A v3 example is:

snmp-server group NMS v3 priv
snmp-server user monitor NMS v3 auth sha <auth-password> priv aes 128 <priv-password>

Avoid default communities such as "public" and "private", limit access to management hosts and grant write access only when needed. SNMP exposes MIB objects; it is not a remote command shell.

Convert a counter change into utilization

Counters measure accumulated bytes, also called octets. Suppose ifHCInOctets rises from 18,250,000,000 to 19,750,000,000 in 300 seconds:

  1. Subtract the readings: 1,500,000,000 bytes arrived.
  2. Multiply by 8: 12,000,000,000 bits arrived.
  3. Divide by 300 seconds: 40,000,000 bit/s, or 40 Mbit/s.
  4. Divide by the 100 Mbit/s link rate: inbound utilization averaged 40%.

This is an interval average, so brief peaks may be higher. Forgetting the byte-to-bit factor gives a rate eight times too small.

A 32-bit counter reaches 4,294,967,295 and wraps to zero. At 1 Gbit/s it wraps in about 34 seconds, so a 5-minute poll interval can miss several wraps. Use 64-bit ifHCInOctets and ifHCOutOctets, supported by v2c and v3, for fast links. Check counter continuity before interpreting a negative difference as negative traffic.

Key Takeaways

  • The manager queries the device’s agent; MIB objects are identified by OIDs.
  • Requests use UDP 161; notifications arrive at UDP 162.
  • Polling and event notifications cover different monitoring needs.
  • SNMPv3 authPriv authenticates and encrypts messages.
  • Convert byte differences to bits before calculating bit/s.
  • Use 64-bit counters when 32-bit counters can wrap between polls.

3.3 Collect events and read their severity

Syslog sends event messages to a central collector. Central collection preserves evidence across device restarts and allows an engineer to search several devices together. A security information and event management system (SIEM) can use those records to correlate events.

Traditional syslog uses UDP 514. TCP transport provides delivery acknowledgments at the transport layer; TLS on TCP 6514 also protects the connection. Even reliable transport needs working collection and storage, so verify that messages actually arrive.

Read the severity threshold correctly

Syslog levels run from 0 to 7, with smaller numbers meaning greater severity:

LevelNameMeaning
0EmergencySystem unusable
1AlertImmediate action needed
2CriticalA critical condition
3ErrorAn error condition
4WarningA warning condition
5NoticeNormal but significant event
6InformationalGeneral information
7DebugDetailed diagnostic information

A configured threshold includes that level and every more severe level. logging trap warnings sends levels 0–4, not just level 4. The IOS remote-logging default is informational, levels 0–6. Enabling debugging sends all levels and can generate a large amount of traffic and processing work.

Separate facility from severity

The syslog facility identifies a source category. Examples include kern (0), user (1), mail (2) and auth (4). Local0 through local7, codes 16–23, are available for local use; Cisco devices default to local7. A collector can sort network-device messages using that code.

A message's priority combines both fields:

priority=8×facility+severity

Local7 at severity 3 produces 187, written as "<187>". The number is an encoded pair, not a separate severity scale.

Cisco's visible message pattern is "%FACILITY-SEVERITY-MNEMONIC: description". In "%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down", LINEPROTO names the IOS feature, 5 means Notice, and UPDOWN identifies the event. This feature name is distinct from the transport facility local7. "%SYS-5-CONFIG_I: Configured from console by admin on vty0" records a configuration change.

Choose destinations and align timestamps

Destinations have separate settings. logging buffered 16384 informational keeps an in-memory buffer, read with show logging. logging host 192.0.2.50 selects a collector. logging trap warnings sets its threshold. In a remote terminal session, terminal monitor displays monitored messages. Debug output to the console can overload a busy device's CPU.

Use service timestamps log datetime msec to add date and millisecond timestamps, and NTP to synchronize clocks. A port-down event at 10:42:13.208, a router neighbor loss at 10:42:13.350 and the port's return at 10:42:17.511 form a useful sequence. They suggest a related link problem worth investigating; they do not identify a faulty cable by themselves. Without shared time, the apparent order may simply reflect clock error.

Key Takeaways

  • Lower severity numbers mean more urgent events.
  • A logging threshold includes its own level and all lower numbers.
  • A syslog facility code and an IOS feature label have different roles.
  • Priority encodes facility and severity as 8 × facility + severity.
  • Configure each destination and verify collected messages.
  • NTP and detailed timestamps make cross-device event order meaningful.
4

Control traffic at busy links and server edges

A busy network must decide which packets wait, which are dropped and which service receives each request. QoS protects delay-sensitive traffic at bottlenecks; proxies relay requests for clients or servers; load balancers share work among healthy servers. You will connect traffic markings to actual queue behavior, choose between policing and shaping, and examine how health checks and session storage affect a service during failures.

4.1 Classify traffic and carry its marking

A voice call and a file transfer react differently to congestion. A file can wait while TCP retransmits missing data. A conversation suffers when packets arrive late, arrive unevenly or disappear. Quality of service (QoS) lets the network give different traffic different treatment.

Identify the service need

Four properties matter: bandwidth, the amount sent per second; delay, the end-to-end travel time; jitter, variation in that delay; and loss, the share of packets dropped. Common voice design targets are no more than 150 ms one-way delay, 30 ms jitter and 1% loss. These are planning targets for usable interactive voice, not extra capacity created by a policy.

QoS is a per-hop behavior (PHB). Each router or switch applies its own policy. A packet marked for priority still needs each congested hop to recognize and serve that class. Queue priorities change service order when traffic competes; classification, marking and rate limits can act even on an uncongested link.

Classify first, then mark

Classification identifies traffic using addresses and ports, an incoming interface, an existing marking or application recognition such as Cisco NBAR. Marking writes a value into a frame or packet so later devices can identify its class cheaply.

MarkingLocation and sizeWhat happens across routing
CoS3 bits in an 802.1Q VLAN tag; 0–7The tag is local to that frame and may be removed or rebuilt
DSCP6 bits in the IP header; 0–63Travels with the IP packet unless a device re-marks it

DSCP occupies six bits of IPv4's ToS byte or IPv6's Traffic Class. The remaining two bits are ECN, explicit congestion notification. CoS cannot appear in a frame sent without the VLAN tag.

Decode common DSCP values

Best effort is 0. Expedited forwarding (EF) is 46, binary 101110, commonly used for voice media. Assured forwarding (AFxy) identifies class x, from 1–4, and drop precedence y, from 1–3:

AFxy value=8x+2y

Thus AF11, AF21, AF31 and AF41 are 10, 18, 26 and 34. For AF32, calculate 8 times 3 plus 2 times 2 to obtain 28. Within class 4, AF43 (38) has higher drop precedence than AF42 (36), which is higher than AF41 (34). Higher drop precedence means greater loss preference during congestion, not better protection. The configured policy determines resources between different AF classes.

Class selectors use 8 times their number: CS3 is 24, often used for call signaling; CS6 is 48, commonly used for routing traffic.

Decide whose markings to trust

At a trust boundary, the network decides which incoming markings it will honor. An access switch can trust an IP phone while re-marking the connected PC's traffic to best effort. Otherwise, a user could mark a large download EF and compete with calls. Internet providers' ordinary services generally do not preserve a customer's QoS treatment end to end.

To size voice capacity, include headers. A G.711 call sending 50 packets per second, each with 160 voice bytes plus 40 header bytes, uses 200 bytes per packet. Multiplying by 8 and then by 50 gives 80,000 bit/s, or 80 kbit/s per direction. Twenty calls use 1.6 Mbit/s in each direction at the IP layer, before layer-2 overhead.

Key Takeaways

  • Delay, jitter and loss affect real-time traffic differently from file transfers.
  • Classification identifies traffic; marking labels it for later hops.
  • CoS is in a VLAN tag; DSCP is in the IP header.
  • EF is 46; AFxy encodes class and drop precedence.
  • Compare AF drop precedence within the same class.
  • Trust markings only at a deliberate network boundary.
  • Include packet headers when sizing voice bandwidth.

4.2 Choose what happens to excess packets

Congestion begins when packets arrive faster than an interface can send them. A 1 Gbit/s LAN feeding a 100 Mbit/s WAN can create this bottleneck even if the LAN itself is lightly loaded. Waiting packets enter an output queue; time spent there adds delay.

Select the next packet to send

FIFO, first in, first out, sends packets in arrival order. Class-based weighted fair queuing (CBWFQ) gives traffic classes minimum bandwidth shares during congestion. Low-latency queuing (LLQ) adds a strict priority queue for delay-sensitive traffic, with a configured limit to protect other classes.

On a 100 Mbit/s WAN, a policy might allocate a 10 Mbit/s priority class to voice, guarantee 30% to business applications, and leave the remainder to default traffic. A bandwidth guarantee is a minimum share under competition, not necessarily a maximum when other classes are idle. The priority limit prevents voice-class traffic from consuming the whole congested link.

Drop before every queue fills together

Tail drop discards newly arriving packets when a queue is full. If many TCP flows experience that loss together, they can all slow down and later speed up together. This global synchronization wastes capacity.

Weighted random early detection (WRED) starts dropping selected packets before the queue fills. Flows then back off at different times. A DSCP-aware policy can drop AF13 more readily than AF11 because both are in class 1 but AF13 has higher drop precedence. UDP voice does not reduce its sending rate in response to such loss, so WRED is not the usual treatment for the voice priority queue.

Distinguish policing from shaping
MethodExcess trafficDelay and placement
PolicingDropped or re-markedNo buffering delay; input or output
ShapingBuffered, then sent at the configured rateAdds waiting delay; output

A provider may police at the committed information rate (CIR). Bursts above the contract can be discarded even if the physical port is faster. TCP may show a sawtooth pattern as it recovers and is cut back again.

A shaper buffers bursts locally and releases traffic at the configured rate. Its burst allowance for an interval is:

Bc=CIR×Tc

For 200 Mbit/s and a 10 ms interval, convert 10 ms to 0.010 s. Multiplication gives 2,000,000 bits per interval; division by 8 gives 250,000 bytes.

Suppose the site has a 1 Gbit/s handoff but the provider polices at 200 Mbit/s. Shape the site's outbound traffic to 200 Mbit/s and apply the voice queue inside that shaper. The waiting then occurs where the site controls priority, before the provider discards excess packets.

Apply and inspect the policy

On IOS, a class-map identifies traffic, a policy-map defines actions, and service-policy attaches the policy to an interface and direction. A queue policy only changes competition during congestion. Policing and shaping still enforce their configured rate on an otherwise idle link. Oversized queues can make voice delay worse by increasing waiting time.

Key Takeaways

  • Queuing controls send order and minimum shares during congestion.
  • LLQ protects delay-sensitive packets while limiting the priority class.
  • WRED spreads TCP backoff by dropping before the queue is full.
  • Policing drops or re-marks excess traffic; shaping buffers it.
  • Shape before a slower provider rate limit to keep queue control locally.

4.3 Tell client proxies from server proxies

A proxy receives a request and makes a separate request toward its destination. The client connects to the proxy, and the proxy connects onward. This application-level role lets it filter, cache or route requests. NAT instead rewrites addresses in packets without acting as the application's request-handling server.

Ask whom the proxy represents
ProxyActs forTypical jobs
Forward proxyClients accessing other servicesFilter web access, authenticate users, scan downloads, cache responses and record access
Reverse proxyServers receiving client requestsTerminate TLS, route by host or path, cache static content and filter web attacks

A forward proxy can provide one controlled internet exit for an organization's users. A reverse proxy can publish www.example.com at 203.0.113.10 while forwarding requests to internal servers such as 10.1.1.21 and 10.1.1.22. The direction of representation is the defining difference.

Configure or intercept client traffic

An explicit proxy is known to the client. Its address and port, such as 10.0.0.8 on 3128 or 8080, may be entered manually, distributed by management software or selected through a PAC, proxy auto-configuration, file. WPAD helps discover proxy configuration automatically. These port numbers are common choices, not universal requirements for all proxies.

A transparent proxy receives traffic redirected by the network without client proxy settings. It can still be a forward proxy because it acts for clients. Client awareness and whom the proxy represents are two different comparisons.

Understand what happens to HTTPS

With an explicit proxy, a client can send a CONNECT request. The proxy establishes a tunnel, and encrypted traffic passes through it. The proxy can see the requested destination, but tunneling alone does not reveal the protected HTTP content.

To inspect that content, the proxy must perform TLS interception. It creates separate protected connections and presents certificates signed by the organization's certificate authority. Clients must trust that authority. Certificate-pinned applications can reject this replacement certificate, so some destinations need inspection exemptions. Interception also changes who can read the traffic, which makes privacy part of the design decision.

A caching proxy can reuse responses only when HTTP caching rules allow it. Repeated software downloads or static resources can save WAN bandwidth. Personal or frequently changing data often cannot be shared from a cache. Ordinary encrypted tunnels do not give a proxy access to the content needed for such inspection and caching.

Diagnose a proxy-specific failure

If browsing fails while other applications work, inspect the proxy address, port and reachability. If automatic configuration fails, test access to the PAC file. If internal sites fail only through the proxy, check the bypass rules: a pattern such as *.corp.example.com can keep those requests on the internal path.

For incoming web services, a reverse proxy may send /api to an application server and /images to a static-content server. If it spreads eligible requests among several back ends, it is also performing load balancing. Central TLS termination simplifies certificate management, while the internal connections may be re-encrypted when required.

Key Takeaways

  • A proxy handles separate client-facing and destination-facing connections.
  • A forward proxy acts for clients; a reverse proxy acts for servers.
  • Explicit and transparent describe how clients reach a forward proxy.
  • CONNECT tunneling preserves encrypted content; TLS interception decrypts it.
  • Check PAC access, proxy settings and internal bypass rules when web access fails.

4.4 Share requests among healthy servers

A load balancer presents a virtual IP address (VIP) to clients and sends traffic to a pool of back-end servers. The client uses one service name while the pool supplies capacity and tolerates individual server failures. For maintenance, draining stops new connections to one server and lets existing work finish before removal.

Test the service before sending it work

A health check should match the service clients need. Ping tests whether a host responds, a TCP check tests whether a port accepts connections, and an HTTP check can test a page such as /health for status 200. A host may answer ping even after its web process crashes.

For shop.example.com, suppose the VIP is 203.0.113.20 on port 443 and the pool is 10.1.2.11–10.1.2.13 on port 8080. Checks run every 5 seconds and mark a server down after three consecutive failures. Detection takes roughly three check intervals, about 15 seconds, with actual timing affected by check scheduling and timeouts. Once .13 is down, new connections go to .11 and .12. Those survivors need enough spare capacity for the extra load.

Choose how to distribute work
AlgorithmSelection ruleUseful caution
Round robinEach server in turnEqual connection counts can still mean unequal work
Weighted round robinTurns in configured ratiosWeights must reflect intended capacity
Least connectionsFewest active connectionsMeasures current connection counts, not every kind of workload
Source IP hashConsistent choice from client addressMany users behind one NAT address may cluster

Weights 3:2:1 divide 600 new connections into 300, 200 and 100. With active counts 12, 7 and 9, least connections chooses the second server. These algorithms choose among eligible healthy servers, not ones already removed by health checks.

Keep session state available

Session persistence, or sticky sessions, sends a user back to the same server when that server stores their session, such as a cart. A cookie or source address can identify the user. Stickiness can make the load less even; if that server fails, its local session may be lost. A shared database or cache lets other servers recover the session and reduces dependence on one back end.

A layer 4 balancer uses addresses and ports to distribute TCP or UDP traffic without reading application content. A layer 7 balancer reads information such as HTTP hostnames, paths and cookies. To inspect HTTPS content it terminates TLS, called TLS offload, and can establish a new encrypted connection toward the back end.

Protect the entry point too

A single load balancer can itself fail. An active-passive pair has a standby ready to take over the VIP; an active-active design lets both handle traffic.

Plain DNS round robin publishes several A records for a name and rotates their order. It offers simple distribution but has no built-in service health checks or immediate removal of cached addresses. Clients can keep using a failed address until records are changed and caches expire. Global server load balancing adds health and location decisions to DNS responses, but cache lifetimes still matter.

Key Takeaways

  • A VIP gives clients one entry point for a healthy server pool.
  • Check the application service, not just whether the host answers ping.
  • Algorithms distribute work in different ways; equal turns do not guarantee equal load.
  • Persistence keeps a user with a server; shared session storage supports failover.
  • Layer 7 routing can use application content and requires HTTPS termination to read it.
  • Make the load balancer redundant as well as the back ends.
  • Plain DNS round robin leaves health and cache-expiry problems unresolved.

DHCP and DNS examples

4 Walkthroughs

1

Bring a new office subnet online

19 steps
Build a DHCP plan, follow a lease, connect a remote server and check the records before assigning fixed addresses.
  1. 1
    IntroductionFrom an address plan to a working client

    A new office segment needs usable addresses, correct network options and a reliable way to reach the central DHCP server. Follow that setup from the client’s first request through capacity checks and relay configuration. You will also decide what evidence makes a static assignment safe. Keep three questions in mind: which subnet is this client on, who assigned its settings, and which addresses are still available?

  2. 2
    ExplanationBegin with a client that has no address

    The client cannot start by sending from a normal leased address. It broadcasts a Discover from 0.0.0.0 to 255.255.255.255 so local DHCP servers can hear it. The server side uses UDP 67 and the client side UDP 68. A server’s Offer proposes an address and options, but the client has not yet received a confirmed lease. That distinction matters when tracing a process that stops after an offer.

  3. 3
    ExplanationSelect and confirm the offer

    The client sends a Request to select an offer. During this initial exchange, broadcasting also lets other offering servers know their offers were not chosen. The selected server sends Acknowledge, completing DORA. The client can then use the settings. If its address check finds another host using the proposed address, it can send DHCPDECLINE and restart discovery instead of accepting a duplicate.

  4. 4
    ExampleWork out an eight-hour lease

    A laptop receives an 8-hour lease at 08:00. Default T1 is halfway through: 4 hours later, at 12:00, it asks the original server by unicast. If that server stays silent, T2 is 7 hours after the start, at 15:00, and the client broadcasts for another server. Without an answer by 16:00, the lease expires and the client must stop using the address.

  5. 5
    ChallengePredict the next lease action

    A client has a 4-hour lease beginning at 10:00. No server has answered its renewal attempt. At what time does default rebinding start, and what changes about the request?

    ---reveal---

    T2 is 87.5% of 4 hours, or 3 hours 30 minutes after the start: 13:30. The client broadcasts its Request so any server can respond, instead of unicasting only to the original server. It may keep using the address until expiry at 14:00.

  6. 6
    ConnectionKeep IPv6’s gateway source separate

    For IPv6, Router Advertisements can supply the /64 prefix for SLAAC and identify a default router. Stateful DHCPv6 can supply an address, while stateless DHCPv6 supplies extra settings. The client uses UDP 546 and server UDP 547. Even when DHCPv6 is involved, it does not supply the default gateway. A complete IPv6 setup therefore needs the router information as well as any DHCPv6 settings.

  7. 7
    ExampleProtect the fixed range first

    Plan 192.168.10.0/24 with .1 as gateway and .2–.20 for fixed devices. There are 254 usable addresses, so excluding .1–.20 leaves 234 for DHCP. Enter the exclusion globally with ip dhcp excluded-address 192.168.10.1 192.168.10.20. A manually configured device must not remain eligible for an unrelated dynamic lease, even if it is switched off while the pool is configured.

  8. 8
    ExplanationAttach the right options to the pool

    Under ip dhcp pool OFFICE, set network 192.168.10.0 255.255.255.0, default-router 192.168.10.1 and dns-server 192.168.10.5. The address and mask identify the subnet; the gateway gets traffic off that subnet; DNS enables name lookups. lease 0 8 selects 8 hours. A copied pool needs its gateway checked carefully because another subnet’s gateway can leave local access working while routed access fails.

  9. 9
    ChallengeChoose central control for a printer

    A printer needs a stable address, and the team expects its DNS settings to change later. Should it use a reservation or a manually typed static configuration? Why?

    ---reveal---

    Use a reservation if central DHCP control is wanted. The printer still requests a lease, but the server recognizes its client identifier and supplies its reserved address and current options. A static configuration also provides a stable address, but its DNS setting must be changed on the printer.

  10. 10
    TipCheck the actual allocation state

    Use show ip dhcp pool to compare leased addresses with total minus excluded addresses. show ip dhcp binding identifies the clients holding leases, and show ip dhcp conflict shows addresses removed after detected conflicts. A full pool needs allocation or capacity changes. Repeated client renewals cannot help when every eligible address is already held. Shorter future leases help turnover as they take effect.

  11. 11
    ExplanationCross the router with a relay

    The central server is at 10.0.0.10, but VLAN 20 clients broadcast on 192.168.20.0/24. Their gateway receives those broadcasts and relays requests by unicast. It puts 192.168.20.1 in giaddr, identifying the client subnet. The server uses that field to choose the VLAN 20 scope and replies through the relay. A matching scope and a return route are part of this path, not optional substitutes for the relay.

  12. 12
    ExamplePlace the helper where broadcasts arrive

    On the interface serving VLAN 20 clients, configure ip helper-address 10.0.0.10. The command must be on the client-facing interface because that is where the request arrives as a broadcast. A helper on the server-facing interface cannot rescue a broadcast that never crossed the router. The helper names the remote server; giaddr tells that server which client subnet needs a lease.

  13. 13
    ChallengeDiagnose the new VLAN

    A new VLAN gets 169.254 addresses. Existing VLANs use the same remote DHCP server successfully. The new gateway has no helper and the server has no scope for it. What two configuration changes are needed?

    ---reveal---

    Add the helper on the new client-facing gateway interface, and add a matching scope with that subnet’s options. The relay delivers the broadcast to the server, while the scope gives it addresses to offer. Fixing only one still leaves the lease process incomplete.

  14. 14
    TipFind the server that actually answered

    If clients receive addresses from an unexpected subnet, read the DHCP Server entry in ipconfig /all. An unauthorized home router may be supplying its own gateway and DNS settings. Remove the rogue server and protect access ports with DHCP snooping, allowing replies only from trusted directions. This differs from pool exhaustion: here a server answered, but its settings are wrong.

  15. 15
    ExplanationConnect assignments to their owners

    The subnet plan records network, prefix, VLAN, gateway, location, purpose, dynamic range and exclusions. Each static device also needs its name, MAC address, owner and assignment date. IPAM ties these records together. DHCP says who currently holds a lease; DNS says how names map to addresses; the plan says who should be using the space and why. Discovery compares those intentions with live evidence.

  16. 16
    ExampleCalculate the planning threshold

    The address block 10.20.0.0/22 has 1,022 usable IPv4 addresses. With 870 in use, divide 870 by 1,022 and multiply by 100 to get about 85.1% utilization. If the planning alert is 80%, expansion needs attention already. This calculation uses the whole subnet’s usable addresses. DHCP free space may be lower because excluded and reserved addresses are not all available for new dynamic leases.

  17. 17
    ChallengeCheck before reusing a quiet address

    A scanner is off today and does not answer ping. Its address is still listed under a current owner in IPAM. Can you assign that address to a new printer now? What evidence should you check?

    ---reveal---

    Do not treat silence as availability. Check the owner’s assignment, DHCP records and DNS, then confirm retirement or release before reuse. A switched-off device can return later with its old configuration. Record the new assignment and keep DHCP from allocating the same address.

  18. 18
    ChallengeSeparate pool health from subnet use

    New guests get no leases, but IPAM shows only 75% of the subnet in use. The dynamic pool is fully leased and the unused addresses are excluded. Why can both reports be right?

    ---reveal---

    They measure different ranges. IPAM compares used addresses with all usable addresses; the dynamic pool counts only addresses DHCP may allocate. Check whether exclusions still serve a purpose, review lease turnover, and adjust capacity deliberately. A lower subnet percentage does not create a free dynamic lease.

  19. 19
    RecapUse the evidence to choose the next action

    A client with no lease sends you toward pool capacity, relay delivery and the DHCP path. A client with a valid but wrong configuration sends you toward options and the responding server. Before changing allocations, compare the live leases with the address plan. The useful repair is the one that restores the missing part of that process, then leaves a clear record of the new assignment.

2

Trace a name lookup and repair stale answers

16 steps
Read DNS records, follow the resolver’s search and use direct queries to distinguish publication, cache and client faults.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFollow the answer back to its source
  2. 2
    ExampleRead an address record
  3. 3
    ExplanationFollow an alias without changing its meaning
  4. 4
    ExampleRead a mail preference
  5. 5
    ChallengePrepare for the address move
  6. 6
    ConnectionReverse an address in a separate zone
  7. 7
    ExplanationLet the resolver do the search
  8. 8
    ExampleReuse a valid cached answer
  9. 9
    ChallengeChoose the protection the requirement needs
  10. 10
    TipSend a domain to a particular resolver
  11. 11
    ExampleCompare resolver and authoritative answers
  12. 12
    Key InsightClear the cache that holds the old answer
  13. 13
    ChallengeDistinguish absent data from an absent name
  14. 14
    TipUse the failure mode to choose a test
  15. 15
    ChallengeLocate the outdated copy
  16. 16
    RecapMake each comparison answer one question
3

Build a timeline from counters and events

17 steps
Verify shared time, calculate an interface rate and read the events that explain a traffic interruption.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionMeasure the link and explain the interruption
  2. 2
    ExplanationChoose a shared source of time
  3. 3
    ExampleFollow the reference distance
  4. 4
    TipVerify before trusting displayed time
  5. 5
    ChallengeSeparate synchronization from the display
  6. 6
    ExplanationRead objects from an agent
  7. 7
    ExampleStart with the counter difference
  8. 8
    ExampleConvert bytes to a bit rate
  9. 9
    ChallengeTry a fresh counter calculation
  10. 10
    Key InsightAvoid hidden wraps on fast links
  11. 11
    ConnectionUse secure polling and timely alerts
  12. 12
    ExplanationGive events a permanent destination
  13. 13
    ExplanationRead a threshold as a range
  14. 14
    ExampleDecode the two different facility meanings
  15. 15
    ChallengePredict what reaches the collector
  16. 16
    ChallengeCombine the timeline with the graph
  17. 17
    RecapKeep the units and timeline attached
4

Protect voice and keep a web service available

20 steps
Choose packet treatment at a rate-limited WAN, distinguish proxy behavior and route requests to healthy back ends.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFind the constraint before choosing a control
  2. 2
    ExplanationDescribe the call problem precisely
  3. 3
    ExplanationIdentify the class, then carry a label
  4. 4
    ExampleCalculate a voice stream’s rate
  5. 5
    ExampleRead AF without treating it as a score
  6. 6
    ChallengeDecide what the marking really promises
  7. 7
    ExplanationLook at the queue where traffic waits
  8. 8
    ExampleMatch the contract before the provider drops
  9. 9
    ExampleConvert the shaping interval
  10. 10
    ChallengeChoose between dropping and waiting
  11. 11
    Key InsightUse early drops for responsive flows
  12. 12
    ExplanationKeep the proxy’s role separate from awareness
  13. 13
    ExplanationUnderstand an HTTPS tunnel
  14. 14
    ChallengeIdentify the deployment from its behavior
  15. 15
    ExplanationCheck a member before assigning new work
  16. 16
    ExampleChoose a distribution rule that fits
  17. 17
    ChallengeKeep state available when a member fails
  18. 18
    TipProtect the entry point during maintenance
  19. 19
    ChallengeCombine the service-edge decisions
  20. 20
    RecapPlace each decision where it can help

DHCP and DNS practice questions

50 Practice Questions in 5 sets

Set 1: Configure services and interpret evidence10 Practice Questions

Question 1 of 10

A printer must keep a stable address, but the team wants it to receive future DNS option changes automatically. What assignment method fits?
  1. A static address typed into the printer
  2. An exclusion with no DHCP client setup
  3. A shorter unreserved dynamic lease
  4. A reservation for the printer’s client ID
Show answerHide answer
Answer: D
A reservation gives the printer a stable address while it remains a DHCP client, so it receives updated options at renewal. An exclusion only prevents allocation; it does not configure the printer. A manually entered static setup also needs its DNS settings updated on the device.

Question 2 of 10

VLAN 62 uses gateway 10.62.0.1. Its remote DHCP server has a matching scope and return route, but the gateway has no helper. Other VLANs obtain leases. Where should the helper be added?
  1. On the interface facing the DHCP server
  2. On the interface serving VLAN 62 clients
  3. On the gateway interface of a working VLAN
  4. On the server subnet’s gateway interface
Show answerHide answer
Answer: B
The relay must receive the local broadcast on the VLAN 62 client-facing interface and forward it to the server. A helper on the server-facing interface does not see that client broadcast. The scope and return route are already present, so the missing relay is the configuration gap described.

Question 3 of 10

An IPAM report shows 381 addresses in use out of 510 usable. The planning alert is 75%. What does the report imply?
  1. Utilization is about 74.7%, below the alert
  2. Utilization is about 75.3%, above the alert
  3. Utilization is about 25.3%, below the alert
  4. Utilization is about 133.9%, above the alert
Show answerHide answer
Answer: A
Divide 381 by 510 and multiply by 100 to obtain about 74.7%, just below 75%. There are 129 usable addresses not counted as in use. Using the unused share gives about 25.3%, which answers a different question and understates how full the subnet is.

Question 4 of 10

A domain publishes MX preference 8 for mail-a.example.com and preference 25 for mail-b.example.com. Both targets have direct A records. If both servers are reachable, which is tried first?
  1. mail-b.example.com because 25 is higher
  2. The server whose A record has a lower address
  3. The server with the longer DNS cache lifetime
  4. mail-a.example.com because 8 is lower
Show answerHide answer
Answer: D
Mail delivery tries mail-a.example.com first because lower MX preference numbers are preferred. The target’s numeric IP address does not rank the mail servers. Treating preference 25 as a higher priority reverses the meaning of the MX preference field.

Question 5 of 10

The name files.example.com exists with an A record but no AAAA record. A DNS server returns NOERROR and no answer to an AAAA query. What does this result mean?
  1. The server refused access to the client
  2. The whole domain does not exist
  3. There is no requested IPv6 address record
  4. The resolver’s TCP connection failed
Show answerHide answer
Answer: C
NOERROR without AAAA data means the query completed but that name has no record of the requested type. The existing A record can still serve IPv4 clients. NXDOMAIN would mean the name does not exist, which differs from the missing AAAA record described here.

Question 6 of 10

An SNMP agent must send event notifications to a manager. Which destination transport and port does the manager normally listen on?
  1. UDP 161
  2. UDP 162
  3. TCP 162
  4. TCP 161
Show answerHide answer
Answer: B
The manager listens on UDP 162 for traps and informs. UDP 161 is the agent’s request port, used when the manager polls it. Swapping the two ports confuses the direction of scheduled requests with the direction of device-generated notifications.

Question 7 of 10

A syslog message uses facility code 17 and severity 5. What priority number encodes that pair?
  1. 141
  2. 45
  3. 175
  4. 136
Show answerHide answer
Answer: A
Priority is eight times the facility plus severity: 17×8+5=141. Multiplication gives 136 before adding the severity. The value 175 merely joins the written digits and does not use the encoding, while 136 would leave out the severity altogether.

Question 8 of 10

A switch compares AF21 and AF23 packets within the same configured class. How should their drop precedence be interpreted?
  1. AF21 is more likely to be dropped within class 2
  2. AF23 is guaranteed more bandwidth than AF21
  3. AF23 has greater drop preference within class 2
  4. Both markings request different AF traffic classes
Show answerHide answer
Answer: C
Both markings belong to class 2, but drop precedence 3 makes AF23 more eligible for dropping than AF21 during congestion. The second digit concerns loss preference within the class. It does not grant more bandwidth or indicate a separate AF class.

Question 9 of 10

A site has a 1 Gbit/s handoff, a provider policer at 80 Mbit/s, and voice mixed with bursty backups. What outbound design best lets the site control voice priority before provider drops?
  1. Use FIFO on the 1 Gbit/s port without a rate limit
  2. Trust every client’s marking and keep the port at line rate
  3. Enlarge the queue without limiting its sending rate
  4. Shape to 80 Mbit/s and place voice LLQ inside the shaper
Show answerHide answer
Answer: D
Shape to the 80 Mbit/s contract rate so excess traffic waits locally, then use LLQ within that shaping policy to serve voice first. A fast physical port can otherwise send bursts that the provider discards. Enlarging a queue alone does not match the contracted output rate.

Question 10 of 10

A load-balanced website stores each cart only in the selected server’s memory. The team wants requests to move between healthy servers without losing carts. What change addresses that dependency?
  1. Increase the DNS TTL of every pool member
  2. Store session data in a shared database or cache
  3. Replace HTTP health checks with ping checks
  4. Choose source IP hash without changing cart storage
Show answerHide answer
Answer: B
Shared session storage lets another healthy back end retrieve the cart after traffic moves. Source IP hash can keep a user on one member, but that member’s failure still removes access to its local memory. A distribution algorithm alone does not make the session state available elsewhere.
Set 2: Addresses, names and service roles10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A newly connected workstation has sent DHCP Discover and received an Offer. What message does the workstation send next?
  1. Acknowledge to confirm the lease
  2. Release to return the address
  3. Request to select the offered lease
  4. Discover to confirm the gateway
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A tablet obtains a 12-hour DHCP lease at 06:00. With default timers and no earlier renewal, when does it first try to renew?
  1. 12:00
  2. 16:30
  3. 18:00
  4. 09:00
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A guest network uses a /24 with 254 usable addresses. It excludes .1–.40 and holds 25 other addresses for reserved clients. With no other allocations, how does the remaining dynamic space compare with 200 unreserved guests?
  1. It has 14 addresses to spare
  2. It is short by 10 addresses
  3. It is short by 11 addresses
  4. It has 39 addresses to spare
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An engineer wants to assign 10.42.8.90 to a new scanner. It does not answer ping. What should the engineer do before assigning it?
  1. Assign it and wait for a conflict warning
  2. Check IPAM, DHCP leases and DNS records
  3. Remove its DNS records and then assign it
  4. Treat the unanswered ping as a free lease
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A record has TTL 7200 seconds. At 09:00 on Monday, the team lowers it to 120 seconds. What is the earliest planned change time that waits out the old normal cache lifetime?
  1. Monday 09:02
  2. Tuesday 09:00
  3. Monday 10:00
  4. Monday 11:00
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A DNS tool labels a returned address “Non-authoritative answer.” What does that label mean?
  1. The domain has failed signature validation
  2. The resolver is supplying cached data
  3. The requested name has no address record
  4. The name has no authoritative server
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A distribution switch successfully synchronizes to a stratum 4 time server. What stratum does the switch report?
  1. Stratum 5
  2. Stratum 4
  3. Stratum 3
  4. Stratum 16
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A collector accepts syslog messages up to severity 4, Warning. A device generates a Critical event at level 2. How does the threshold treat that event?
  1. It excludes it because only level 4 is sent
  2. It sends it only when Debug is enabled
  3. It converts it from level 2 to level 4
  4. It sends it because level 2 is more severe
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A call sounds uneven because packets take different amounts of time to arrive. What network property describes that variation?
  1. Bandwidth
  2. Packet loss
  3. Jitter
  4. Average latency
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A company’s browsers send web requests through a server that applies user access rules before connecting to websites. What proxy role does that server perform?
  1. A forward proxy acting for the web clients
  2. A reverse proxy acting for the web clients
  3. A forward proxy acting for the public servers
  4. A reverse proxy acting for the public servers
Show answerHide answer

Save this lesson to see this answer.

Set 3: Trace failures across the service path10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A laptop has a 16-hour lease that began at 05:00. The original server has not answered renewal requests. With default timers, what does the laptop do at 19:00?
  1. Stop using the address immediately at T1
  2. Unicast its first renewal request at T2
  3. Broadcast a rebinding Request at T2
  4. Send DHCPRELEASE and keep using the address
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A relay forwards requests from clients physically on 10.73.0.0/24 with giaddr 10.74.0.1. The server has scopes for both /24s and allocates from 10.74.0.0/24. What should the engineer investigate first?
  1. The relay’s client-facing addressing and VLAN mapping
  2. The DHCP server’s lease duration for the client scope
  3. The default-router option in the selected server scope
  4. The client identifier used to select a reserved address
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

In the example.com zone, an MX target is entered as mail.example.com without a final dot. What target name does the zone-file syntax produce?
  1. mail.example.com.
  2. example.com.mail.
  3. mail.com.example.com.
  4. mail.example.com.example.com.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A network encrypts client-to-resolver queries with DoT but does not enable DNSSEC validation. What protection has it established?
  1. Signed proof that every returned record is authentic
  2. Transport privacy between client and resolver
  3. Encryption between every authoritative DNS server
  4. Automatic correction of forged zone records
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

After an address move, the primary authority returns the new address with an increased SOA serial. The secondary still has the old serial and address. The office resolver also returns the old address with TTL remaining, even after a client flush. What two locations need attention?
  1. The primary A record and the client’s cleared local cache
  2. The primary’s default gateway and the secondary’s hosts file
  3. The client’s IPv6 route and the primary’s record type
  4. The secondary’s zone updates and the recursive resolver’s cache
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An access switch reports synchronized NTP time but displays exactly one hour earlier than other synchronized devices at the same site. What should be checked first?
  1. The stratum of its selected upstream source
  2. The polling interval configured for its NTP source
  3. Its time-zone and daylight-saving settings
  4. The number of upstream NTP associations
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An interface’s byte counter increases by 360,000,000 over 120 seconds. Its capacity is 60 Mbit/s. What average inbound utilization does this show?
  1. 5%
  2. 40%
  3. 24%
  4. 60%
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

What decimal DSCP value encodes AF22?
  1. 20
  2. 22
  3. 18
  4. 24
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

During congestion, an application class has a CBWFQ minimum guarantee of 25 Mbit/s on a 100 Mbit/s link. All other classes become idle. What does that guarantee alone say about the application’s maximum rate?
  1. It cannot exceed 25 Mbit/s even when alone
  2. It must stop sending after 25 MB each second
  3. It must be re-marked after using 25% of capacity
  4. It may use spare capacity above its minimum share
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

An explicit proxy establishes a CONNECT tunnel for HTTPS without TLS interception. A security report claims this setup lets the proxy read downloaded page content. What correction is needed?
  1. CONNECT makes the proxy a DNS authority for the page
  2. The proxy sees the destination, but content stays encrypted
  3. The proxy reads content only when a client uses DHCP
  4. CONNECT decrypts requests but encrypts all responses
Show answerHide answer

Save this lesson to see this answer.

Set 4: Plan capacity, publication and failover10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A 120 Mbit/s shaper uses a 25 ms interval. What is its burst allowance in bytes for one interval?
  1. 3,000,000 bytes
  2. 15,000,000 bytes
  3. 375,000 bytes
  4. 600,000 bytes
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A voice packet contains 120 payload bytes and 40 header bytes, and 100 packets are sent each second in one direction. What IP-layer rate is required for 15 such streams?
  1. 1.92 Mbit/s
  2. 0.24 Mbit/s
  3. 1.44 Mbit/s
  4. 2.40 Mbit/s
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Two independent DHCP servers serve one /24 without sharing lease state. Server A leases .50–.170, and server B leases .150–.230. A fixed-device range is already excluded elsewhere. What change directly removes the duplicate-allocation risk between these servers?
  1. Give both pools the same DNS option
  2. Reduce both lease durations to one hour
  3. Make their dynamic ranges nonoverlapping
  4. Give the two pools different gateway options
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

New clients cannot get leases. An IOS pool reports 254 total addresses, 24 excluded and 230 leased, with no conflict entries. What is the immediate capacity problem?
  1. All 230 leasable addresses are occupied
  2. There are 24 more leases available
  3. The pool is short by 24 gateway records
  4. The relay must be selecting an unrelated scope
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A /24 has 254 usable addresses, 54 excluded and all 200 dynamic addresses leased. IPAM counts 220 used addresses, including 20 static devices. How should the team interpret the two measures?
  1. Both measures show the subnet is exactly 100% used
  2. The DHCP pool is about 86.6% used; IPAM is full
  3. The dynamic pool has 34 immediately available leases
  4. The pool is full while subnet utilization is about 86.6%
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A team proposes a standard CNAME at example.com, the zone apex, while retaining that name’s required SOA and NS records. Why does this design fail?
  1. The apex cannot have any IPv4 address records
  2. A CNAME cannot coexist with those ordinary records
  3. Every CNAME target must be a numeric IP address
  4. A zone’s SOA and NS must have different owner names
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A client receives small DNS answers, but large replies fail when they require TCP. A firewall log shows only UDP 53 permitted to the resolver. What rule change addresses this fault?
  1. Force every DNS reply onto UDP 53
  2. Raise TTLs and keep TCP blocked
  3. Allow TCP 53 along the DNS path
  4. Allow TCP 853 along the DNS path
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An organization replaces SNMPv2c with SNMPv3 and requires both message authentication and confidentiality. What security level should it choose?
  1. authNoPriv
  2. noAuthNoPriv
  3. Read-only community
  4. authPriv
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A device produces “%LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to down.” A remote Warning threshold is set. How should the event be read and handled?
  1. LINK is facility code 3, and the event is excluded
  2. It is severity 3 Error and passes the threshold
  3. It is severity 7 Debug and passes the threshold
  4. UPDOWN is severity 3, and only local logging receives it
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A pool has four equal servers; three survivors can handle the total demand if one fails. Ping checks stay successful when a web process crashes. The team wants automatic removal of that member and toleration of a balancer failure. What design addresses both faults?
  1. Keep ping-only checks and deploy a redundant balancer pair
  2. Use HTTP service checks but retain the single balancer
  3. Keep one balancer and change only the member weights
  4. Use HTTP service checks and a redundant balancer pair
Show answerHide answer

Save this lesson to see this answer.

Set 5: Combine evidence and choose a repair10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A client obtained a 24-hour lease at 02:00 Monday and no server has answered since. At 23:30 Monday it is rebinding. What must happen at 02:00 Tuesday if no reply arrives?
  1. Keep the address because it already sent a Request
  2. Stop using the address and restart DHCP discovery
  3. Keep it for a second full lease without confirmation
  4. Change only its DNS server and continue the lease
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A guest pool has 180 available addresses, 6-day leases and 45 new devices each day. Each device leaves the same day without releasing its lease, and none returns. Ignoring renewals, after how many days of these allocations will the pool be full?
  1. 2 days
  2. 3 days
  3. 6 days
  4. 4 days
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Clients on VLAN 83 get no leases. Their relayed requests reach the server with giaddr 10.83.0.1. That scope has 254 usable addresses, 20 excluded and 234 leased; a different VLAN’s scope has 80 free leases. Routes work and neither scope has conflicts. Why do VLAN 83 clients still fail?
  1. Their selected scope is full; another subnet’s free leases cannot serve them
  2. giaddr must contain the server’s address before any scope can be selected
  3. The server has spare capacity overall, so a client cache flush will fix it
  4. The server should offer another subnet’s free addresses when this scope fills
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An office resolver conditionally forwards partner.example.com to 10.9.0.53, which returns its private host records. Other uncached queries go to 192.0.2.53, which returns NXDOMAIN for those private names. The conditional rule is removed and all relevant caches are cleared. What happens to a new private partner-name query?
  1. 10.9.0.53 returns the private host address
  2. 192.0.2.53 returns the private host address
  3. 192.0.2.53 returns NXDOMAIN for the name
  4. 10.9.0.53 returns NXDOMAIN for the name
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

At 10:00, the authority for portal.example.com returns .140, but the office resolver caches the old .110 with 900 seconds remaining. The client also has a hosts entry for .90. The hosts entry is removed at 10:05. With the client cache cleared before each test, what addresses should normal lookups return at 10:05 and 10:16? Assume no other caches, overrides or edits; addresses are in 203.0.113.0/24.
  1. .90 at 10:05, then .140 at 10:16
  2. .140 at 10:05, then .140 at 10:16
  3. .110 at 10:05, then .110 at 10:16
  4. .110 at 10:05, then .140 at 10:16
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An isolated lab has no external time source. A router uses ntp master 6, and a switch successfully synchronizes to it. What stratum does the switch report?
  1. Stratum 7
  2. Stratum 5
  3. Stratum 6
  4. Stratum 16
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A 1 Gbit/s interface is monitored every 180 seconds using a 32-bit byte counter. Two readings alone give an unexpectedly small increase despite sustained heavy traffic. What collection change resolves the main measurement ambiguity?
  1. Use the same counter but label its units as bits
  2. Use 64-bit high-capacity interface counters
  3. Replace counter polling with UDP traps alone
  4. Divide the difference by 8 before calculating the rate
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A router’s physical link is idle, but a configured policer drops a backup burst above 30 Mbit/s. An engineer claims QoS should act only during congestion. What correction fits this behavior?
  1. Policing buffers the burst until congestion develops
  2. An idle physical link disables every QoS operation
  3. An EF marking exempts traffic from every rate limit
  4. Rate policing can limit traffic even without link congestion
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

After automatic proxy configuration changes, public websites work but names under apps.corp.example.com fail only through the proxy. Direct internal access works. What configuration change best matches that evidence?
  1. Give the internal names longer public DNS TTLs
  2. Send all internal requests to the public proxy in PAC
  3. Add an internal-domain bypass to the proxy rules
  4. Turn on TLS interception for all internal names
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A pool uses source IP hash and stores sessions locally. Most users share one NAT address, and one back end becomes overloaded. The team wants even distribution and sessions that survive a back-end failure. What paired change addresses both causes?
  1. Use least connections and shared session storage
  2. Use least connections and keep sessions only in local memory
  3. Keep source IP hash and add shared session storage
  4. Use round robin and keep sessions only in local memory
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

93 Key Terms, each with its definition

A

A record
An A record maps a DNS name to an IPv4 address, allowing clients to find an IPv4 destination for a named host or service.
An A record maps www.example.com to 203.0.113.10 so IPv4 clients can locate that web service.
AAAA record
An AAAA record maps a DNS name to an IPv6 address, providing an IPv6 destination independently of that name’s IPv4 A records.
An AAAA record supplies 2001:db8::10 to clients that connect to the web service using IPv6.
Address discovery
Address discovery gathers live evidence of IP assignments from sources such as DHCP, DNS, ARP tables and network scans.
Discovery finds a device with no owner in the plan, so the team investigates before changing its assignment.
Address utilization
Address utilization is the percentage of a subnet’s usable addresses currently in use, helping identify where more capacity will be needed.
A subnet at 85.1% utilization crosses the team’s 80% planning threshold before new users run out of addresses.
APIPA
APIPA is automatic IPv4 link-local addressing, commonly used by Windows when DHCP fails, with addresses in 169.254.0.0/16.
A workstation showing 169.254.83.6 prompts the engineer to check why it has not obtained a DHCP lease.
Authoritative server
An authoritative server answers from zone data it is responsible for, rather than simply supplying another resolver’s cached copy.
Querying the authority shows the new web address even while the office resolver still holds the old one.

B

Binding
A DHCP binding is the server’s record associating a leased address with a client and the time for which that assignment remains valid.
The engineer reads the binding table to identify the client holding an address and its lease expiry.

C

Cache flush
A cache flush removes stored lookup results from a particular cache so later requests can obtain fresh data from the next source.
Running ipconfig /flushdns clears the Windows client’s entries while the upstream resolver keeps its own cache.
CBWFQ
Class-based weighted fair queuing allocates minimum bandwidth shares to configured traffic classes when they compete on a congested link.
Business applications receive their configured minimum share while bulk transfers compete for the busy WAN.
CIR
A committed information rate is the traffic rate specified for a service contract or rate policy, often enforced by policing or shaping.
A 1 Gbit/s handoff may still have a 200 Mbit/s CIR, so physical port speed alone does not show the usable contract rate.
Classification
QoS classification identifies a traffic class from information such as addresses, ports, an incoming interface, markings or application type.
The router matches voice-media traffic before applying the action defined for its priority class.
CNAME record
A CNAME record makes its owner name an alias of another hostname, so DNS follows the canonical target to find the requested data.
The alias shop.example.com points to www.example.com, whose address record supplies the destination.
Community string
An SNMP community string is the shared plain-text credential used by versions 1 and 2c to permit read-only or read-write object access.
Replacing the default community and restricting source hosts reduces exposure on a device still using v2c.
Conditional forwarder
A conditional forwarder sends DNS queries for a specified domain to designated upstream servers, while other names use the usual route.
Queries for a partner’s internal domain go to that partner’s resolver instead of the public DNS search path.
Congestion
Congestion occurs when traffic arrives faster than an interface can transmit it, causing packets to wait and eventually be dropped.
Several fast access ports feed one slower uplink, so its output queue fills during simultaneous transfers.
CONNECT tunnel
A CONNECT tunnel lets an explicit HTTP proxy relay a connection to a requested destination while HTTPS content remains encrypted inside it.
The proxy sees the requested destination but cannot inspect the tunneled HTTP response without TLS interception.
CoS
Class of service is a 3-bit priority field in an 802.1Q VLAN tag, with values 0–7 that apply to the tagged Ethernet frame.
A frame sent without its VLAN tag no longer carries the CoS field that was present on the tagged link.

D

DDI
DDI names the combined management of DNS, DHCP and IP address management, connecting name records, address allocation and the address plan.
A DDI system lets a team see a device’s name, leased address and planned subnet in one management view.
DHCP
The Dynamic Host Configuration Protocol automatically supplies an IP address and network settings to a client for a limited lease period.
A new laptop uses DHCP to learn its address, mask, gateway and DNS servers when it joins the office network.
DHCP option
A DHCP option is a numbered setting carried in DHCP messages, such as the subnet mask, gateway, DNS servers or lease duration.
The administrator corrects option 6 after clients receive the right addresses but the wrong DNS servers.
DHCP relay
A DHCP relay forwards local client broadcasts to a remote DHCP server and delivers the server’s reply back to the client segment.
A relay on the VLAN gateway allows clients to use a central server located in another subnet.
DHCP scope
A DHCP scope combines a subnet’s leasable addresses with its client options and lease settings; Cisco IOS calls this a pool.
The office scope gives users a gateway in their own subnet and the organization’s chosen DNS servers.
DHCP snooping
DHCP snooping is a switch feature that restricts server replies to trusted ports, helping prevent unauthorized DHCP service on access ports.
A switch rejects DHCP replies from a user port after the network team enables snooping and sets trusted uplinks.
DHCPv6
DHCPv6 supplies IPv6 addresses or other configuration settings over UDP 546/547; it does not provide the client’s default gateway.
A host can use SLAAC for its address and stateless DHCPv6 to obtain additional settings such as DNS servers.
DNS cache
A DNS cache temporarily stores earlier records, referrals or negative answers so later lookups can reuse them within their lifetime.
A cached old address remains visible until expiry even after the authoritative zone has been updated.
DNS round robin
DNS round robin distributes access by returning several address records in varying order, without built-in application health checks.
A resolver’s cached failed address can keep attracting users even after an operator removes it from the zone.
DNS zone
A DNS zone is a managed portion of the DNS namespace whose records are held and served by its authoritative name servers.
The team edits the primary zone and raises its SOA serial so secondaries can obtain the new version.
DNSSEC
DNS Security Extensions add signed DNS data that validating resolvers can check for authenticity and integrity; they do not encrypt queries.
A DNSSEC validation failure can cause SERVFAIL even when ordinary transport to the DNS server is working.
Draining
Draining stops new connections to a server while existing work finishes, preparing that pool member for controlled maintenance or removal.
The operator drains a member before its restart instead of abruptly disconnecting its active users.
DSCP
A Differentiated Services Code Point is a 6-bit IP-header marking, with values 0–63, used to select per-hop traffic treatment.
Voice media marked EF carries DSCP 46 so devices with a matching policy can recognize its class.

E

Encrypted DNS
Encrypted DNS protects the transport carrying queries, such as DNS over TLS on TCP 853 or DNS over HTTPS through HTTPS on port 443.
An observer on the client’s network cannot read the query contents carried inside its protected DoT connection.
Exclusion
An exclusion is an address or range inside a DHCP-managed subnet that the server must not lease to dynamic clients.
Excluding .1 through .20 protects the gateway and devices whose addresses are configured manually.
Explicit proxy
An explicit proxy is selected through client configuration, which can be supplied manually, by management tools or by automatic configuration.
A managed browser receives a proxy address and port instead of sending its requests directly to each website.

F

Facility
A syslog facility is a source-category code used by collectors to sort messages, separate from severity and from IOS feature names.
A collector can place local7 device messages in a network log without treating local7 as an urgency level.
FIFO
First in, first out is a queue discipline that transmits waiting packets in arrival order without giving traffic classes distinct treatment.
A voice packet waits behind earlier file-transfer packets when the bottleneck uses a single FIFO queue.
Forward proxy
A forward proxy acts for clients making requests to other services, enabling controlled access, filtering, logging and permitted caching.
Employees’ web requests pass through a central forward proxy that applies their organization’s access policy.
FQDN
A fully qualified domain name gives a name’s complete path through the DNS tree to the root, formally represented by a final dot.
In a zone file, mail.example.com. is absolute, while a name without the last dot is relative to the zone.

G

giaddr
The DHCP giaddr field carries the relay’s client-facing gateway address, which helps the server choose the scope for those clients.
A request with giaddr 192.168.20.1 tells the central server to allocate from the VLAN 20 subnet.

H

Health check
A health check regularly tests whether a back-end member can provide the required service so failed members can be removed from selection.
The balancer requests /health because a web server can answer ping even when its application is unavailable.
High-capacity counter
A high-capacity counter is a 64-bit SNMP counter that accumulates values such as interface bytes without the short wrap cycle of 32-bit counters.
A fast uplink uses ifHCInOctets so the manager does not miss several counter wraps between polls.

I

Inform
An SNMP Inform is an event notification that requests acknowledgment and can be resent within the configured timeout and retry limits.
A missed acknowledgment causes a retry, but monitoring still cannot assume delivery after all retries are exhausted.
IPAM
IP address management is the planning, assignment, recording and monitoring of address space, including subnet purposes and device ownership.
Before assigning a printer address, an engineer checks the IPAM plan against DHCP leases and DNS records.

J

Jitter
Jitter is variation in packet delay, so equally spaced packets can arrive unevenly and disrupt the timing of real-time voice or video.
A call can sound uneven even when its average delay is acceptable if individual packets arrive at irregular times.

L

Lease
A lease is a time-limited assignment that lets a DHCP client use an address until it renews, releases it or reaches expiry.
A laptop with a renewed 8-hour lease can keep the same address while its user continues working.
Least connections
Least connections selects the eligible pool member with the fewest active connections at the moment a new connection is assigned.
A healthy server with 6 active connections is chosen before members currently handling 11 and 18.
LLQ
Low-latency queuing adds a limited strict priority queue to class-based queuing so delay-sensitive packets can be sent ahead of other classes.
The voice class is served first during congestion, within its configured limit so other traffic can still pass.

M

Marking
QoS marking writes a class value into a frame or packet header so other devices can recognize the intended treatment of that traffic.
A later router reads the DSCP value instead of repeating the original application-recognition work.
MIB
A management information base describes the tree of objects a device exposes through SNMP, including their identities and meanings.
The engineer consults the MIB to find which object reports the device’s uptime or interface traffic.
MX record
An MX record names a domain’s mail server and gives its preference number; lower numbers are tried before higher numbers.
A sender tries the server with preference 10 before the backup with preference 20 if both are published.

N

NS record
An NS record names an authoritative server for a DNS zone, identifying where resolvers can obtain the zone’s published answers.
The domain publishes multiple NS records so another authority can still answer if one server fails.
NTP
The Network Time Protocol synchronizes clocks using timestamp exchanges over UDP 123 to estimate time offset and network delay.
The core router learns time from an upstream source and serves synchronized time to the access switches.
NTS
Network Time Security authenticates NTP using keys established through TLS on TCP 4460, while the time packets continue over UDP 123.
A secured client exchanges keys before accepting authenticated time packets from its chosen NTS server.
NXDOMAIN
NXDOMAIN is a DNS response code stating that the queried name does not exist, unlike a name with no records of the requested type.
A typo in a hostname produces NXDOMAIN, so the engineer checks the spelling before changing network routes.

O

OID
An object identifier is a dotted numeric path that names an object in the SNMP management tree, such as a system name or counter.
The manager requests 1.3.6.1.2.1.1.5.0 to read the device’s sysName value.

P

PAC file
A proxy auto-configuration file supplies rules that clients use to choose a proxy or a direct route for particular web requests.
A browser cannot obtain its automatic proxy settings when the configured PAC file becomes unreachable.
Policing
Policing measures traffic against a configured rate and drops or re-marks excess packets without holding them in a rate-smoothing buffer.
The provider discards a burst above the contracted rate even though the physical handoff can carry it.
Pool exhaustion
Pool exhaustion occurs when a DHCP pool has no available address for a new lease, even if existing clients can still use their leases.
New guests fail to obtain addresses while devices that arrived earlier continue using their valid leases.
PTP
The Precision Time Protocol follows a grandmaster and can use hardware timestamps to achieve sub-microsecond precision on suitable local networks.
An industrial system uses PTP where its timing requirement is finer than ordinary NTP can reliably provide.
PTR record
A PTR record returns a name for an address in a reverse-DNS zone, supporting identification in logs and some mail checks.
A reverse lookup of 203.0.113.25 asks for the PTR at 25.113.0.203.in-addr.arpa..

Q

QoS
Quality of service applies different packet treatment to traffic classes to manage bandwidth, delay, jitter and loss across network devices.
A WAN policy gives voice a priority queue when downloads compete for the same limited outgoing capacity.

R

Rebinding
Rebinding is the DHCP state in which a client broadcasts for any server to extend an unanswered lease, normally starting at 87.5%.
After its original server remains unavailable, a client broadcasts a request when its T2 timer is reached.
Recursive resolver
A recursive resolver obtains a final DNS answer for a client by using cached data, following referrals or asking an upstream forwarder.
With empty caches, the resolver follows the root and top-level domain referrals to the domain authority.
Referral
A DNS referral directs a resolver toward servers responsible for a lower part of the namespace so it can continue its search.
A root server refers the resolver to the com servers instead of returning every website’s address.
REFUSED
REFUSED is a DNS response code meaning server policy rejected a query, such as a recursion request from an unauthorized client.
A public client reaches an internal-only resolver but receives REFUSED instead of a completed lookup.
Renewing
Renewing is the DHCP state in which a client asks its original server to extend the lease, normally starting at 50% of its lifetime.
Halfway through an 8-hour lease, the client sends a unicast request to its original DHCP server.
Reservation
A reservation links one DHCP address to a specific client identifier or MAC address so that client receives a stable assignment.
A reserved printer keeps the same address while still receiving centrally managed DNS options at renewal.
Reverse proxy
A reverse proxy acts for servers receiving requests, presenting a public entry point while forwarding work to internal back ends.
A public reverse proxy sends /api requests to application servers and /images requests to static-content servers.
Rogue DHCP server
A rogue DHCP server is an unauthorized server that answers clients and may give them incorrect addresses, gateways or DNS settings.
An employee’s connected home router supplies its own gateway, sending some users away from the business network.

S

SERVFAIL
SERVFAIL is a DNS response code meaning the server could not complete the lookup, for example because an authority or validation failed.
The resolver returns SERVFAIL when it cannot obtain a valid answer from the domain’s authoritative servers.
Session persistence
Session persistence keeps a user’s requests on one server, often through a cookie or source address, when session state is stored locally.
Sticky sessions retain a cart on one member, but a failure can lose that cart unless its state is available elsewhere.
Severity
Syslog severity ranks an event from 0 Emergency to 7 Debug; a threshold includes its own level and every lower, more urgent number.
A Warning threshold forwards an Error event but excludes an Informational event from that destination.
Shaping
Shaping buffers excess outbound traffic and sends it at a configured rate, smoothing bursts while adding time spent waiting in a queue.
The site shapes before the provider policer so its own voice policy controls which buffered packets go first.
SLAAC
Stateless address autoconfiguration lets an IPv6 host form an address using a prefix advertised by a router without a stateful DHCPv6 lease.
A host forms an address from an advertised /64 prefix and learns its gateway from the router advertisement.
Slewing
Slewing gradually changes the rate of a clock to remove a small time offset, avoiding a sudden jump in the displayed time.
An NTP client corrects a small difference while keeping its timeline moving forward smoothly.
SNMP agent
An SNMP agent runs on a managed device and exposes supported management objects for permitted read or write requests from a manager.
The switch agent returns interface counter values when an authorized monitoring host sends a Get request.
SNMP manager
An SNMP manager is a monitoring system that queries device agents, collects values and receives notifications about device events.
The manager polls interface counters every five minutes and graphs the resulting average traffic rates.
SOA record
An SOA record stores a zone’s authority and management details, including its primary server, contact, serial number and timers.
An unchanged SOA serial helps explain why a secondary has not fetched an edit made on the primary.
Split scope
A split scope divides a subnet’s DHCP range between independent servers without overlap so each allocates only its own addresses.
An 80/20 range split leaves the backup server some capacity without letting both servers lease the same space.
SRV record
An SRV record identifies a server location for a named service, helping clients discover the hosts that provide that service.
An Active Directory client can use service-location records to discover the domain controllers it needs.
Stratum
An NTP stratum identifies a clock’s distance from a reference source, with usable network levels 1–15 and 16 meaning unsynchronized.
A switch synchronized to a stratum 2 router reports stratum 3 once it has selected that source.
Stub resolver
A stub resolver is the client-side DNS component that sends name queries to a recursive resolver to obtain completed answers.
The workstation’s stub sends a web lookup to the DNS server it learned through DHCP option 6.
Syslog
Syslog sends event messages from devices to a collector, allowing centralized storage, searching and comparison of changes across systems.
After a switch restarts, the remote collector still holds the messages sent before its local buffer disappeared.
Syslog priority
A syslog priority encodes the facility and severity together as eight times the facility code plus the severity number.
A local7 Error message starts with priority 187, combining facility 23 with severity 3 in one number.

T

TLS interception
TLS interception decrypts and re-encrypts protected traffic through a proxy that presents certificates signed by a client-trusted authority.
An application using certificate pinning may reject the proxy’s replacement certificate even when the browser trusts it.
Transparent proxy
A transparent proxy receives traffic redirected by the network without client proxy settings, while still relaying requests for clients.
Users need no browser change when the network redirects their eligible web traffic through a forward proxy.
Trap
An SNMP Trap is an unsolicited event notification sent by an agent to a manager without requesting an acknowledgment of delivery.
The agent sends a link-down trap immediately, while scheduled polls continue to track interface state.
Trust boundary
A QoS trust boundary is the point where the network decides which incoming markings to honor and which to replace or ignore.
The access switch trusts an approved phone while re-marking a connected PC’s self-declared priority traffic.
TTL
A DNS time to live is the maximum normal lifetime, in seconds, for a cached record before a resolver needs refreshed data.
The team lowers a TTL from a day to five minutes, then waits a day before moving the server to a new address.
TXT record
A TXT record stores text under a DNS name, commonly used to publish information such as mail-sender rules or domain ownership proof.
A domain administrator publishes the requested verification text in a TXT record to confirm control of the domain.

U

UTC
Coordinated Universal Time is the shared time basis distributed by NTP, independent of the local time-zone offset used for display.
Devices in several regions log in UTC so an engineer can compare their event times without local conversions.

V

VIP
A virtual IP address is a client-facing address presented by a load balancer that distributes incoming traffic to members of a server pool.
Clients connect to the VIP on port 443 while the balancer sends requests to selected internal servers.

W

Weighted round robin
Weighted round robin distributes new connections in configured ratios, giving higher-weight pool members a larger share of assignments.
Weights of 3:2:1 allocate 600 new connections as 300, 200 and 100 when all three members are eligible.
WRED
Weighted random early detection drops selected packets before a queue fills, prompting TCP flows to reduce rates at different times.
The device gives AF13 a higher drop preference than AF11 within the same class as the queue grows.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started