How it works
Traffic crosses many networks between source and destination, and each step is a decision made with the information available at that point. A path-tracing tool reveals those steps one at a time.
Read a trace as a sequence. Where the responses stop, or where the delay jumps, usually indicates where to look next.
Common error
A delay at one intermediate step does not by itself indicate a problem there. Only a delay that persists through the remaining steps is meaningful.
Topic 4.4: Route selection, address translation, metrics, and path evidence
Follow a fictional fabrication branch from a local subnet to a public service and a private headquarters application. Work out the selected next hop, distinguish routing from address translation, compare route candidates under stated rules, and interpret path probes alongside real application results. All addresses and readings are teaching examples. The 192.0.2.x, 198.51.100.x, and 203.0.113.x ranges here are reserved documentation addresses, not real public services to probe.
Read topic 4.4 notes, examples, and quick checks
4.4.A: Decide whether the next hop is local or a gateway
A host uses its address/prefix and routing information to select a next hop. In this lab, 10.204.6.42/26 belongs to 10.204.6.0/26, so ordinary local peer .50 is on-link while the headquarters app 10.204.80.70 is outside that connected range. With only the stated connected and default host routes, remote traffic uses gateway 10.204.6.1. More-specific host routes or policy can change that choice. The host's local mask does not reveal the remote network's actual mask.
Keep the local link destination separate from the final IP destination
For Ethernet IPv4 delivery, the host uses an appropriate cached neighbor entry or ARP to reach its selected local next hop. A remote IP packet still names the remote destination while its first Ethernet frame names the gateway's MAC. A router removes the incoming link wrapper, processes the applicable IP forwarding information, and creates the outgoing link wrapper. Ordinary layer-2 switching inside one VLAN does not add a routed hop. The final routed device delivers toward the actual destination on its link; not every destination is a private-addressed host.
Follow independent routing decisions and the return path
Each router makes its own forwarding decision from the applicable destination and forwarding information. It need not know the entire end-to-end physical path. A routed IPv4 packet's TTL is reduced during forwarding; IPv6 uses a Hop Limit. Routing loops eventually exhaust that bound rather than allowing a packet to circulate forever. A usable task also needs a permitted return path and compatible state handling. The reply can travel through different routers, so an outbound trace is not a complete map of both directions.
Distinguish IPv4 address translation from routing
Routing chooses where traffic goes; NAT changes selected address fields under a configured translation policy. Traditional outbound IPv4 translation can replace a private source with a usable external address. Basic NAT maps addresses, while NAPT/PAT can also map transport ports so several clients share an external address. The branch public-service example uses the latter. Private headquarters traffic instead follows the intended private tunnel design and is not made public merely by changing a default route. NAT is not a necessary step in every routed exchange.
Read a translation from original flow through its expected reply
The example translation maps client .42:49170 to the WAN-A address 192.0.2.18:62014 for a TCP service at 203.0.113.180:443. A second client can use a different translated port. Applicable return traffic to the external mapping is translated back to the intended internal endpoint according to the device's state and policy. Source translation for outbound traffic is one case; destination translation can also publish a configured inbound service. It is incorrect to assume destination fields can change only on replies.
Keep translation, access policy, and encryption distinct
NAPT conserves external IPv4 addresses and changes how return traffic is associated with internal clients. It does not encrypt the application or replace a firewall and authorization policy. Deliberately published services, other reachable paths, and misconfigured rules can still expose internal resources. Appropriate encryption protects the relevant exchange, while filtering controls permitted paths and initiation. Native IPv6 designs can route globally addressed endpoints with explicit security policy without requiring the same many-to-one IPv4 translation arrangement.
Read destination prefix, next hop, interface, and selection information
A routing artifact normally records a destination network/prefix and an outgoing next hop or connected interface, with source/preference/metric information as applicable. A directly connected destination may be resolved on the outgoing link instead of sent to another router. Distinguish a list of candidate routes from the active routing/forwarding entries. The lab table intentionally shows both preferred and backup candidates for learning; it does not claim that every alternative is simultaneously used to forward one packet.
Use the longest matching eligible installed prefix for ordinary forwarding
A /24 matching the destination is more specific than a matching /16, and either is more specific than the /0 default. Once the appropriate route to each prefix has been selected and installed, ordinary destination-based forwarding uses the longest match among the applicable entries. A cheaper default does not override a retained matching /24. An unavailable or withdrawn route is not eligible; a stale route that remains installed can still attract traffic and send it toward a failed path.
Treat the default as a fallback, not permission or universal connectivity
The IPv4 default route 0.0.0.0/0 covers destinations without a more-specific applicable route. It is not an address to assign to a host, and it does not grant firewall access or create a valid private path. With no matching route and no usable default, the packet cannot be forwarded by ordinary lookup. Choosing a backup default may restore one public task while a private task remains captured by a stale specific prefix. Check the lookup for the actual failing destination.
4.4.B: Compare route-source preference before treating metrics as comparable
A router may learn the same prefix from several sources. It uses its platform's source preference or administrative-distance policy and the relevant protocol selection process to choose eligible active routes. A protocol metric is meaningful within its defined comparison rules, not a universal score shared by all protocols. The lab exercises explicitly assume equal source preference and comparable costs for candidates to the same prefix. Under that assumption, the lower cost is preferred. Do not apply that simplified rule to arbitrary values from unrelated sources.
Explain how routes are configured, learned, and withdrawn
An administrator can configure a static route, while a routing protocol can exchange reachability and choose paths dynamically. Static routes can also be tied to supported tracking or interface conditions; dynamic operation is not the only way to withdraw a failed path. A configured route can remain present when a remote service or tunnel is broken unless the design detects and handles that condition. Dynamic protocols also need suitable failure detection and time to converge. A physical link light alone does not verify the whole routed service path.
Compare RIP hop count with OSPF path cost
RIP uses hop count as its routing metric, so it does not directly distinguish two slow links from several fast ones by their bandwidth. OSPF uses link-state information and path costs; those costs can be configured and are often related to a reference-bandwidth design. The total cost, rather than the fewest router count, matters for its shortest-path calculation. Neither description is a promise that live application latency or current congestion is measured automatically in every deployment. State the given costs and compare paths within the intended protocol.
Distinguish internal link-state routing from interdomain policy
IS-IS is a link-state routing protocol that uses configured metrics and reachability information within an administrative domain, including many large networks. It does not inherently select a path because someone labels it most reliable. BGP uses path-vector reachability information to exchange routes among autonomous systems and can also distribute it within a system; its path choice is policy-driven and considers multiple attributes. An autonomous system is a routing domain under a common administrative policy, not necessarily one building or exactly one ISP. BGP is not simply a shortest-router-count or lowest-delay algorithm.
Interpret changes, equal-cost choices, and convergence in context
Failures, maintenance, routing updates, operator policy, or supported load sharing can change the path observed by probes and applications. Some devices can use equal-cost alternatives, often selecting consistently per flow; no single path is guaranteed to carry every packet. Metrics do not all react to instantaneous congestion. During a transition, connectivity can briefly degrade before the intended state settles. A changed trace is a reason to compare current evidence with the design, not proof of tampering or proof that the new path must be better.
4.4.C: Explain how increasing hop limits produces a trace
Windows tracert commonly uses ICMP echo probes with successively increasing TTL or Hop Limit values and observes applicable replies. Many Unix-like traceroute implementations use UDP by default and support other methods; the actual tool and flags matter. Intermediate TTL-expiry responses and destination responses reveal observations at successive probe positions. Hidden or nonresponding devices, tunnels, load sharing, and changing routes limit what is visible. The output is a probe-based view, not a guaranteed complete inventory of every physical device or the return path.
Record the command, destination, protocol behavior, and probe limit
A Windows example is tracert /d /h 8 203.0.113.180: /d avoids intermediate reverse-name lookups and /h sets the probe limit. With a numeric target this does not need to resolve the target name first. A common Unix-like example is traceroute -n -m 8 followed by the same numeric teaching target; availability and options depend on the installation. These addresses are illustrative only. Record the actual source, tool, target, time, and chosen method when interpreting an authorized real test.
Read each response time as a round trip, not a link delay
A traceroute time measures the observed probe/reply round trip to a responding point. It includes reply generation and a return path that can differ from the forward path. Three numbers on a row are separate probe observations, not three link segments to add. An intermediate router can answer slowly while forwarding later traffic normally. Do not subtract adjacent rows to claim an exact one-way delay for their connecting link, or assume every later round trip must be greater than the earlier one.
Interpret silence and the maximum-hop header carefully
An asterisk means the expected response was not received within the relevant wait interval. The device might filter or rate-limit probes while forwarding required traffic. Later responding hops or a working required app can demonstrate why silence is not an automatic failure location. Even a silent tail with a failing app does not identify the exact failed router without more evidence. A maximum of 8 or 30 is a probe limit, not the measured route length. A destination row is not necessarily another router to count as transit.
Use repeated end-to-end degradation to choose the next investigation
A delay that appears at a transition and persists toward the destination, together with a slower required task, is stronger evidence of a path problem than one isolated slow intermediate reply. It still does not prove that the router named on that row is faulty; queuing, reverse paths, load sharing, and service conditions can contribute. Compare repeated tests, packet loss and task results, alternate permitted destinations, route state, and appropriate device/provider records. State the supported scope and the next check rather than naming a culprit from one trace.
Verify each required route and service after an underlay failure
The branch uses WAN-A and WAN-B plus appropriate private tunnels toward headquarters. A working backup public path does not prove the HQ-specific tunnel route changed correctly. Verify that unusable specific routes withdraw or lose eligibility, that the intended backup is selected, and that the return path, translation, access policy, and capacity support the task. If the external address or state changes, existing sessions may need reconnection; do not promise seamless preservation of every connection. Test normal application work and receipt, not only a new trace.
Separate route lookup from access and application permission
An eligible next hop does not itself permit a firewall crossing, establish a tunnel, validate a remote identity, or authorize a file upload. Conversely, a correct security restriction is not repaired by sending traffic through an unapproved private/public path. Private reachability, external publication, and default-route changes need their own intended design. Keep relevant source/destination, protocol, state, translation, and application checks alongside routing evidence. Multiple functions in one gateway remain different decisions.
Audit an AI recommendation against the exact destination and evidence
Ask an authorized tool to identify matching prefixes, route eligibility, source preference, comparable metrics, and what the probe output actually establishes. Check the arithmetic and the current active state independently. A suggestion to lower a backup default cost cannot override a retained more-specific HQ route. A statement that the first star proves the next router broke also exceeds the evidence. Preserve valid security and route requirements, make the supported correction through the authorized process, and verify the original tasks and relevant limits.
Host lookup, route candidates, translation, traces, and failover evidence
Start with the host route and the next local neighbor
Fictional client configuration and selected host routes
Client: 10.204.6.42/26
Mask: 255.255.255.192
Connected network: 10.204.6.0/26
Ordinary hosts: 10.204.6.1 - 10.204.6.62
Default gateway: 10.204.6.1
10.204.6.0/26 -> on-link
0.0.0.0/0 -> 10.204.6.1
Local peer 10.204.6.50: on-link in this stated host view.
HQ app 10.204.80.70: outside the connected block -> gateway .1.
Public example 203.0.113.180: outside -> gateway .1.
For either remote task, the first IPv4 packet still names its
remote IP destination; the local Ethernet destination is the
selected gateway MAC, resolved/cached on this link.
The prefix, not the similarity of a few written octets, defines this connected block. These are the only stated host routes; a more-specific route or policy would need its own evaluation. Applying the local mask to a remote address helps decide whether it is local but does not disclose the remote network's actual configured mask.
Compare candidates without confusing a lower metric with a longer prefix
Candidate teaching view, not a claim all alternatives forward at once
Assume ordinary destination lookup and equal source preference
with comparable costs among candidates to each identical prefix.
All listed candidates initially eligible.
ID Prefix Next hop Interface Cost
LAN 10.204.6.0/26 connected lan0 0
HQ-A 10.204.80.0/24 10.255.0.2 tunnel-A 30
HQ-B 10.204.80.0/24 10.255.0.6 tunnel-B 70
ORG-B 10.204.0.0/16 10.255.0.6 tunnel-B 5
PUBLIC-A 0.0.0.0/0 192.0.2.17 wan-A 10
PUBLIC-B 0.0.0.0/0 198.51.100.17 wan-B 40
HQ 10.204.80.70 -> /24, then HQ-A cost 30 before HQ-B cost 70.
Organization 10.204.90.20 -> ORG-B /16.
Public 203.0.113.180 -> default, then PUBLIC-A cost 10.
Separate protocol-cost illustration to the same destination:
Path S: 2 links at configured OSPF cost 20 each -> total 40
Path F: 4 links at configured OSPF cost 3 each -> total 12
With corresponding RIP hop counts 2 and 4, RIP prefers S.
With these OSPF costs, OSPF prefers F.
Route-source preference and protocol selection determine what is eligible/installed; ordinary forwarding then uses the longest matching installed prefix. Under the exercise assumptions, comparing same-prefix candidate costs is meaningful. The /16 cost 5 does not defeat the HQ /24 merely because 5 is smaller. The separate S/F illustration compares each protocol by its own model and does not claim those configured costs are measured latency.
NAPT keeps two clients distinct while sharing an example WAN address
Fictional healthy WAN-A TCP mapping excerpt
Remote public example for both flows: 203.0.113.180:443
Client endpoint Translated WAN endpoint
10.204.6.42:49170 -> 192.0.2.18:62014
10.204.6.43:49170 -> 192.0.2.18:62015
First outbound flow:
Before source translation:
10.204.6.42:49170 -> 203.0.113.180:443
After source translation:
192.0.2.18:62014 -> 203.0.113.180:443
Applicable return flow:
Before return translation:
203.0.113.180:443 -> 192.0.2.18:62014
After return translation:
203.0.113.180:443 -> 10.204.6.42:49170
Mapping .18:62015 returns to the separate .43 client flow.
Ports and relevant connection state distinguish these two example clients. A real implementation can preserve a source port when appropriate or use other supported mapping behavior; these are selected illustrative values. The translation is not encryption, firewall authorization, or proof that the app completed. The private HQ task uses its documented private-path design, not this public flow mapping.
A complete Windows trace can include a silent intermediate row
C:\> tracert /d /h 8 203.0.113.180
Tracing route to 203.0.113.180 over a maximum of 8 hops:
1 1 ms 1 ms 2 ms 10.204.6.1
2 7 ms 8 ms 8 ms 192.0.2.17
3 * * * Request timed out.
4 14 ms 15 ms 14 ms 203.0.113.177
5 16 ms 16 ms 17 ms 203.0.113.180
Trace complete.
Required public HTTPS task: PASS with normal account/validation.
This fictional trace reaches the destination at probe position 5 despite the missing position-3 reply. The maximum 8 is the search limit, not the measured distance. The destination row is not automatically another transit router, and visible positions are not an inventory of every physical device. Each reported time is an observed round trip; the three values are separate probes. No actual documentation-range destination should be probed from this example.
Compare an isolated slow reply, sustained degradation, and a silent tail
Three independent illustrative observations
A. One slow intermediate response; later traffic remains quick:
TTL 2 probe RTTs: 160, 155, 162 ms
Destination RTTs: 16, 17, 16 ms
Required app: normal
Finding: the isolated response does not prove persistent path delay.
B. Medians from five comparable repeated traces and task tests:
Healthy reference: TTL 2 = 8 ms, TTL 4 = 15 ms, target = 17 ms
Current samples: TTL 2 = 8 ms, TTL 4 = 97 ms, target = 104 ms
App task median: 0.4 seconds before; 2.6 seconds now
Finding: investigate the changed path/return/service conditions.
C. Probes answer at TTL 1 and 2, then TTL 3-8 show stars.
The destination is not observed by that trace.
Required public HTTPS task on the tested path: PASS
Finding: no exact forwarding failure is established by the stars.
These are separate evidence summaries, not three outputs from one trace. In B, persistence to the destination and app degradation strengthens the investigation lead without proving the precise defective router or one-way link. In C, probe behavior and useful app behavior differ. If both a trace tail and the app fail, gather route/path and service evidence rather than declaring the first invisible hop to be the culprit.
A working backup default does not repair a retained stale HQ route
Fictional primary-path failure and selection record
Before the event:
Public example -> PUBLIC-A /0 cost 10
HQ .80.70 -> HQ-A /24 cost 30
After WAN-A failure detection:
PUBLIC-A default: withdrawn
PUBLIC-B default: eligible, selected for public use
Public app works through the WAN-B mapping 198.51.100.18.
HQ-A /24: incorrectly retained as eligible toward failed tunnel A
HQ-B /24 cost 70: eligible backup
HQ app fails; selected destination prefix remains HQ-A /24.
Approved correction:
Restore appropriate tunnel/route health tracking and withdraw
unusable HQ-A from the applicable selection state.
After correction:
HQ .80.70 -> HQ-B /24 cost 70, not the broader /16 cost 5
Normal HQ application task and receipt: PASS
Required public application task: PASS
Required access restrictions retained.
Existing-session reconnection behavior checked separately.
The candidate prefix and eligibility defect explain why public success did not imply private success. Lowering a public default cost cannot override the retained HQ /24. The repair uses the intended private backup path and verifies the actual task instead of routing private app traffic through an unapproved public path. These are fictional observations, not commands to change a real gateway.
Read a route, trace the relevant path, and verify failover
1Name the task and actual destination
Record the required public or private app, its current address/name, source interface and prefix, error, timing, and accepted access/path requirements.
2Resolve the host's next-hop choice
Compare connected and specific/default host routes. Verify the selected local neighbor or gateway and the relevant attachment before blaming an upstream route.
3Inspect the actual router selection state
Distinguish candidates from installed entries, note route source/preference, identify every matching prefix, and select the longest applicable match under the stated policy.
4Compare alternatives under the right rules
For candidates to the same prefix, apply source preference and protocol-specific selection. Use the exercise's lower-cost rule only where preference and metric comparability are explicitly equal.
5Keep translation and private-path requirements explicit
For public IPv4 traffic, record applicable NAPT mapping and return state. For HQ, verify the intended tunnel/routing and policy rather than assuming the public default is sufficient.
6Read repeatable probes alongside the app task
Record tool, target, source, method, limits, replies, silence, and round trips. Compare required-service outcomes and avoid attributing a fault solely to one missing or slow response.
7Correct the supported eligibility or path issue
Save relevant state and apply the approved route, health-tracking, tunnel, or provider correction. Retain required restrictions and check both directions and the intended backup capacity.
8Verify restoration and document the observation window
Complete normal public and HQ tasks, verify receipts and current route/translation state, check required restrictions and reconnection behavior, and record what remains unproven.
| Candidate / prefix | Next hop / interface | Comparable exercise cost | Role in the healthy state |
|---|---|---|---|
| LAN · 10.204.6.0/26 | Directly connected / lan0 | 0 | Connected local prefix; ordinary local client traffic uses its on-link delivery. |
| HQ-A · 10.204.80.0/24 | 10.255.0.2 / tunnel-A | 30 | Preferred eligible HQ /24 candidate. |
| HQ-B · 10.204.80.0/24 | 10.255.0.6 / tunnel-B | 70 | Backup candidate for the same HQ /24. |
| ORG-B · 10.204.0.0/16 | 10.255.0.6 / tunnel-B | 5 | Broader organizational reachability; does not override a matching /24 or /26. |
| PUBLIC-A · 0.0.0.0/0 | 192.0.2.17 / wan-A | 10 | Preferred eligible public default candidate. |
| PUBLIC-B · 0.0.0.0/0 | 198.51.100.17 / wan-B | 40 | Backup candidate for the same default prefix. |
| Observation | Supported reading | Next useful evidence |
|---|---|---|
| One intermediate trace row is silent; later hops and the destination reply. | The missing reply does not establish failed forwarding at that position. | Required app outcome, repeated probes, response/filtering behavior, and relevant policy. |
| One intermediate RTT is high; later destination RTT and app performance remain low/normal. | An isolated slow diagnostic response is insufficient for a persistent path-delay claim. | Repeat end-to-end results and examine reply processing or return-path differences where relevant. |
| Repeated delay persists to the destination and the app also slows. | A path-related degradation hypothesis is supported, with exact location/cause still unresolved. | Route/path comparisons, both directions where possible, load/loss evidence, and device/provider records. |
| A trace tail is silent but the required public HTTPS task succeeds. | Probe visibility differs from the working service path or response policy. | Exact tool/protocol, destination controls, and repeated required-service tests. |
| Public use works on backup while HQ .80.70 still selects a stale tunnel-A /24. | A specific-route eligibility problem can explain private failure independently of the backup default. | Current /24 candidates, tunnel health/withdrawal behavior, return path, and normal HQ app test. |
| A new external mapping works after WAN change, but an old session resets. | A path/state or address transition can interrupt existing sessions despite new-task success. | Current translation/state, app reconnection/receipt behavior, and failover requirements. |
| Protocol | Decision model or metric | Typical scope | Qualification |
|---|---|---|---|
| RIP | Distance-vector routing with hop count. | Internal routing in suitable smaller/simple environments. | Fewer hops does not inherently mean faster links or lower measured latency. |
| OSPF | Link-state routing with accumulated path costs. | Internal enterprise, campus, and other administrative domains. | Costs can be configured and often relate to bandwidth design; not an automatic live-latency guarantee. |
| IS-IS | Link-state reachability and configured path metrics. | Large internal domains, including provider and enterprise networks. | Does not select a path merely because it is described as most reliable. |
| BGP | Path-vector reachability, policy, and multiple path attributes. | Between autonomous systems and associated internal distribution. | Not a universal lowest-metric, fewest-router, or fastest-path algorithm. |
| Destination or changed condition | Selected candidate | Reason |
|---|---|---|
| Local peer 10.204.6.50 | LAN connected /26 | Most-specific matching local prefix; the client can deliver on-link in this lab. |
| HQ app 10.204.80.70, all listed candidates eligible | HQ-A /24, cost 30 | The /24 beats /16 and /0; comparable equal-preference cost 30 beats 70 for that same /24. |
| Organization service 10.204.90.20 | ORG-B /16, cost 5 | No listed /24 matches this destination; /16 is more specific than the defaults. |
| Public example 203.0.113.180, healthy state | PUBLIC-A /0, cost 10 | Only the default prefix matches; equal-preference comparable cost 10 beats 40. |
| Public example after PUBLIC-A withdraws | PUBLIC-B /0, cost 40 | The unusable primary candidate is excluded before selection. |
| HQ app after only the primary public default withdraws | HQ-A /24 still, if wrongly retained as eligible | Changing a default does not override the specific HQ route; this can be a black-hole condition. |
| HQ app after HQ-A is also correctly withdrawn | HQ-B /24, cost 70 | The remaining /24 still beats the broader ORG-B /16 even though 5 is numerically lower. |
Public and private tasks need the appropriate eligible path
The branch client reaches its local gateway, which selects among primary and backup underlays under the accepted design. The grouped destination box contains two different tasks: a public service and a private HQ app. Each branch represents the appropriate public forwarding or private tunnel relationship, not one physical cable or a complete sequence of trace hops. The table records the separate candidate prefixes and exercise costs.
Legend: solid lines show conceptual path choices, not permission, a full provider topology, or a claim of seamless failover. Public use and private HQ tunnel use have distinct forwarding/security requirements. All public-looking addresses are reserved documentation examples, and all readings are fictional.
| Item | Address or role | Interpretation |
|---|---|---|
| Branch LAN | 10.204.6.0/26; client .42, second client .43, local peer .50; gateway .1. | Ordinary host range .1-.62; the stated local/private and public destinations use different route matches. |
| WAN-A underlay | Gateway external 192.0.2.18/30; provider next hop 192.0.2.17. | Documentation subnet 192.0.2.16/30; eligible public default cost 10 in the healthy exercise state. |
| WAN-B underlay | Gateway external 198.51.100.18/30; provider next hop 198.51.100.17. | Documentation subnet 198.51.100.16/30; backup public default cost 40. |
| Private routing overlays | Tunnel-A next hop 10.255.0.2; tunnel-B next hop 10.255.0.6. | Supported, permitted private paths; eligibility must reflect the relevant health. Overlay next hops differ from provider next hops. |
| Required destinations | HQ app 10.204.80.70; public example app 203.0.113.180. | HQ uses the intended private path. The public address is a documentation example, not an actual service to contact. |
Routing decisions and path evidence vocabulary
- Connected network and next hop
- The directly reachable prefix and the selected local neighbor or gateway toward a destination.
- Default gateway / default route
- The local next-hop router for applicable remote traffic and a fallback prefix such as IPv4 0.0.0.0/0.
- Routing candidate and active forwarding entry
- An available route alternative and the eligible selected information actually used for forwarding; they are not necessarily the same list.
- Longest prefix match
- Choosing the most specific applicable installed destination prefix in ordinary destination-based forwarding.
- Source preference / administrative distance
- A platform policy for preferring route information sources when selecting routes to the same prefix.
- Metric
- A path value interpreted under a particular routing protocol or stated comparison rule, not a universal cross-protocol performance score.
- Static route and tracking
- An administratively configured path and supported conditions that can change its eligibility when the relevant path fails.
- Dynamic routing and convergence
- Exchange and selection of reachability through protocols and the transition toward a new valid state after change.
- RIP and OSPF
- An internal hop-count routing protocol and a link-state protocol using path costs, respectively.
- IS-IS and BGP
- An internal link-state protocol and a policy-driven reachability protocol associated with autonomous-system routing, respectively.
- Autonomous system
- A routing domain governed by a common administrative policy; not necessarily one site or exactly one provider.
- NAT / NAPT / PAT
- Address translation and its address-plus-port forms, used here for an outbound IPv4 sharing example.
- Translation mapping
- The recorded correspondence needed to associate an example translated flow with its original endpoint and applicable return traffic.
- Underlay and private tunnel
- The supporting network path and a configured logical path carrying the intended private reachability across it.
- TTL / Hop Limit
- The forwarding bound used by IPv4/IPv6 packets and by path probes to elicit observations at successive positions.
- RTT and probe silence
- Observed round-trip time and absence of the expected reply within its wait interval, both with interpretation limits.
- Black hole and withdrawal
- A condition attracting traffic toward an unusable path and removal of that path from applicable eligibility/active selection.
- Failover verification
- Checking every required destination, return path, state/translation behavior, application result, and relevant restriction after a path change.
Worked diagnosis: a stale private /24 survives public failover
A fabrication branch loses WAN-A. Public app use returns on WAN-B, but the private HQ job service at 10.204.80.70 still fails. The planning view contains HQ-A and HQ-B /24 candidates plus a broader organizational /16 and two public defaults under the stated comparison assumptions.
- The PUBLIC-A /0 candidate is withdrawn, so public tasks select PUBLIC-B. New public use through the WAN-B translation address succeeds.
- HQ-A /24 cost 30 remains incorrectly eligible toward the failed tunnel while HQ-B /24 cost 70 is available. The lookup for .80.70 still selects HQ-A.
- The broader ORG-B /16 cost 5 and public backup default cannot override the retained matching /24 merely because their numeric values look attractive.
- An AI suggestion reduces the backup public default cost to 1 and calls that a complete failover repair. It does not address the actual private destination's specific-route eligibility.
- After the approved health/withdrawal correction, HQ-B /24 is selected. The normal HQ task and its receipt succeed, public use still succeeds, restrictions remain correct, and session-reconnection behavior is assessed separately.
Reasoning: Forwarding and route installation must be read for the exact destination. Public backup success proves a useful public path under the tested conditions, not that every private route withdrew correctly. With the stale /24 retained, ordinary longest-prefix selection still attracts HQ traffic to the failed path. Correct eligibility and use the supported private backup rather than changing an unrelated default or assuming a trace alone proves the tunnel state.
- Record the failing HQ task, source configuration, intended private-path requirement, candidate/active route state, and relevant failure-detection evidence.
- Select the actual destination prefix and compare eligible same-prefix candidates under the stated source-preference and metric rules.
- Use the approved health/withdrawal or tunnel repair while preserving the current configuration record, recovery access, and intended security design.
- Verify the new HQ route, appropriate return/state behavior, normal app task and receipt, public task, and required restrictions.
- Observe the transition and reconnection behavior, retain relevant probe and service evidence, and document remaining limits and follow-up.
Quick checks
Choose a question, form your answer, then open it to compare your reasoning.
1. With only the stated connected/default host routes, how does .42/26 reach local peer .50?
Both are in 10.204.6.0/26, so ordinary delivery is on-link using the appropriate local neighbor entry. A router default is not needed for that stated local exchange.
2. How does the same host initially send to HQ 10.204.80.70?
The destination is outside the connected /26. With the stated host routes it selects local gateway 10.204.6.1, while the IP packet still names the HQ destination.
3. Does the host's /26 tell you that the HQ network must also be /26?
No. It defines the source's connected network and helps decide whether a destination is local. The remote network mask comes from its own design and routing information.
4. Does crossing a basic layer-2 switch add a routed hop?
No. Ordinary same-VLAN layer-2 forwarding differs from IP routing. Equipment can also provide routing functions, so identify the operation being performed.
5. Must the response use exactly the same routers as the outgoing packet?
No. Return routing can differ. Successful useful work still requires an appropriate permitted return path and compatible state handling.
6. What does NAPT add to basic address translation in the example?
It maps transport ports as well as an address, letting the two stated clients share an example WAN address while retaining distinct flow mappings.
7. Where does a return flow to 192.0.2.18:62014 map in this example?
To 10.204.6.42:49170 under the stated translation. The .18:62015 mapping belongs to the separate .43 client flow.
8. Does NAT encrypt data or replace firewall and account policy?
No. Translation, access/state policy, and application encryption/authorization are separate functions. Configured inbound publication or other paths can still expose resources.
9. Can destination translation exist for a new inbound service, not just a reply?
Yes, under a configured publication/translation design. The outbound source-translation example is only one NAT case.
10. Which candidate wins for HQ .80.70 when all listed candidates are eligible?
The matching /24 is most specific. Under equal source-preference/comparable-cost exercise rules, HQ-A cost 30 is preferred over HQ-B cost 70.
11. Why does ORG-B /16 cost 5 not defeat HQ-A /24 cost 30?
The /24 is the more specific matching prefix in ordinary forwarding. Metric values do not override prefix specificity across those applicable installed routes.
12. Which listed route serves organization address 10.204.90.20?
ORG-B 10.204.0.0/16. The HQ .80/24 does not match, and the /16 is more specific than either /0 default.
13. What is selected for public 203.0.113.180 while both defaults are eligible?
PUBLIC-A /0 cost 10 under the stated equal-preference/comparable-cost assumptions. No listed private or LAN prefix matches that documentation target.
14. Is the lowest number from any routing protocol always the best route?
No. Route-source preference and protocol-specific selection matter for the same prefix. Metrics from unrelated protocols are not generally a shared performance scale.
15. Can a static route react to failure without an administrator manually deleting it?
Yes, when the supported design ties its eligibility to appropriate tracking or interface/path conditions. A static route without relevant detection can also remain stale.
16. Path S has two configured OSPF link costs of 20; F has four of 3. What are the totals?
S totals 40 and F totals 12. Under those costs OSPF prefers F, while RIP given hop counts 2 and 4 prefers S. Those are different comparison models.
17. Do OSPF or IS-IS automatically promise the lowest measured application latency?
No. They use configured/link-state metric designs and selection rules. Those values are not a universal live delay or reliability measurement.
18. Is BGP simply a shortest-router-count protocol used only by one kind of ISP?
No. BGP uses policy and multiple path attributes for reachability among autonomous systems and associated internal distribution. An autonomous system is an administrative routing domain.
19. Does a changed trace alone establish tampering?
No. Maintenance, failures, routing updates, policy, supported load sharing, and observation differences can change the visible path. Compare current design and corroborating evidence.
20. What do TTL-limited path probes try to reveal?
They elicit applicable replies at successive forwarding positions, until a destination response or the probe limit. Visibility, method, tunnels, and load sharing limit the resulting view.
21. What do /d and /h 8 mean in the Windows example?
/d avoids reverse-name lookups for intermediate addresses, and /h 8 limits the search to eight positions. A numeric target also avoids needing an initial target-name lookup.
22. Does “maximum of 8 hops” prove that the destination is eight routers away?
No. It is the configured search limit. This trace observes the destination at position 5; that row is not automatically another transit router, and hidden devices may exist.
23. The trace is silent at position 3 but the destination and required app work. What can you infer?
The missing diagnostic reply does not prove failed forwarding there. Consider response filtering/rate limits, the chosen probe method, and repeated useful-service results.
24. One intermediate RTT is 160 ms while the destination is 16 ms. Must that router add 144 ms to forwarded traffic?
No. These are separate round trips with response-processing and return-path effects. The difference is not a measured one-way link delay.
25. A trace tail shows only stars but the required HTTPS task succeeds. Is the first silent device proven broken?
No. Probe visibility can differ from service forwarding and destination response policy. Record the actual tool/protocol and verify the permitted task before attributing failure.
26. Delay persists to the destination across repeated traces and the app slows. What is justified?
Investigate the changed path and relevant return/service conditions with repeated comparisons and device/provider evidence. It is a stronger lead, not proof of the exact defective router.
27. Public use switches to backup, but HQ-A /24 remains stale. Why can HQ still fail?
The retained matching /24 continues attracting HQ traffic despite the changed public default. Route eligibility must be correct for each required destination prefix.
28. Would lowering the backup public default cost to 1 fix that stale HQ /24?
No. The more-specific HQ /24 remains selected in ordinary lookup while eligible. Correct the supported specific-route/tunnel health and withdrawal behavior.
29. After HQ-A withdraws, does ORG-B /16 cost 5 win over HQ-B /24 cost 70?
No. The remaining HQ-B /24 is more specific. Under the exercise assumptions it serves the HQ app despite the smaller numeric cost on the broader prefix.
30. What should be verified beyond a new trace after failover?
Normal public and HQ app tasks and receipts, selected routes and private paths, appropriate return and translation/state behavior, capacity, required restrictions, and existing-session reconnection under the relevant observation conditions.
Worked example
Read end-to-end behavior in an example path trace.
Evidence
Hop 1: 2 ms
Hop 2: * * *
Hop 3: 8 ms
Destination: 11 ms
Required application: worksThe silent second hop is not proof that forwarding fails there: later hops and the destination answer. Some routers filter or deprioritize diagnostic replies. Look for persistent degradation at later hops and in the required application before attributing a fault.
Exercises
Exercise 1
A trace reports 90 ms at hop 3, 10 ms at hop 4, and 12 ms at the destination. Does the 90 ms response alone prove a persistent path delay?
Show solution
No. The later responses are faster, so hop 3 may simply prioritize diagnostic replies differently. Evaluate repeated end-to-end measurements and the application behavior.
Exercise 2
A trace becomes slow at hop 4 and remains slow to the destination, while the application also slows. What next action is justified?
Show solution
Investigate the path around and beyond that transition using repeated tests and provider or device evidence. Treat it as a lead rather than proof of the exact failing router.
