Default Routes – Complete Guide

1. What Is a Default Route?

A default route is a special routing table entry that matches every possible destination address — it is the route of last resort. When a router receives a packet destined for an address that does not match any more specific entry in its routing table, it forwards the packet according to the default route rather than dropping it.

In IPv4, the default route is written as 0.0.0.0/0 — a network address of all zeros and a subnet mask of all zeros (prefix length /0). Because the mask has no bits, it matches every possible IP address with zero bits required to match. In IPv6, the equivalent is ::/0.

Longest-prefix-match rule: The default route always loses to any more specific route. If the routing table has a /24 route and a /0 (default) route for a given destination, the /24 wins — it has more bits matching. The default route only applies when truly nothing else matches. This is why it is called the "route of last resort."

Related pages: Static Route Configuration | Administrative Distance | show ip route | OSPF Overview | EIGRP Overview | RIP Concepts | BGP Overview | IPv6 | Static Routing (Step-by-Step) | Default Route in OSPF (Step-by-Step) | OSPF Single-Area Lab | EIGRP Configuration Lab | Troubleshooting Layer 3 Routing

2. Why Default Routes Are Essential

No router can maintain routing table entries for every possible IP address on the internet (over 900,000 BGP prefixes as of 2025). Default routes solve this practical limitation:

  • Edge and branch routers do not need to know every internet route — they just need to know that anything they don't recognise should go toward the internet gateway or upstream provider.
  • Internal routers can forward traffic to an aggregation or border router without maintaining a full routing table.
  • Stub networks — networks with only one exit point — are perfect candidates for a single default route that covers all outbound traffic.
  • Simplicity: A single default route replaces potentially thousands of more specific routes that a router would otherwise need to maintain.
  Branch Office Router (Stub Network)
  ┌─────────────────────────────────────────────┐
  │  Routing Table:                             │
  │                                             │
  │  C  192.168.10.0/24  GigabitEthernet0/0    │ ← Local LAN (connected)
  │  C  192.168.20.0/24  GigabitEthernet0/1    │ ← Server VLAN (connected)
  │  S* 0.0.0.0/0  via 203.0.113.1             │ ← Default route — everything else
  │                                             │
  │  Gateway of last resort is 203.0.113.1     │
  └─────────────────────────────────────────────┘

  Traffic to 10.100.50.5 (corporate HQ):
    → No match for 10.100.50.5 in routing table
    → Falls to default route 0.0.0.0/0
    → Forwarded to 203.0.113.1 (ISP/corporate WAN gateway)
            

3. Default Route Syntax — All Forms

IPv4 — Three Configuration Options

Method Command How It Works When to Use
Next-hop IP only ip route 0.0.0.0 0.0.0.0 192.168.1.1 Router performs a recursive lookup: first matches 0.0.0.0/0, then looks up 192.168.1.1 in the routing table to find the outgoing interface Multi-access networks (Ethernet); when the next-hop IP is on a directly connected subnet
Exit interface only ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/1 Router sends all default traffic out the specified interface — no recursive lookup. On Ethernet, router will ARP for every destination (proxy ARP required) Point-to-point serial links; avoid on Ethernet unless Proxy ARP is enabled
Both next-hop + interface (recommended) ip route 0.0.0.0 0.0.0.0 192.168.1.1 GigabitEthernet0/1 No recursive lookup needed — router already knows both the next-hop and the interface. Most efficient forwarding. Best practice for all environments — prevents recursive lookup overhead and resolves ARP correctly on Ethernet

IPv6 Default Route

! IPv6 default route — equivalent to 0.0.0.0/0 in IPv4
Router(config)# ipv6 route ::/0 2001:db8::1         ! Via next-hop IPv6 address
Router(config)# ipv6 route ::/0 GigabitEthernet0/1   ! Via exit interface
Router(config)# ipv6 route ::/0 Gi0/1 2001:db8::1   ! Both (recommended for Ethernet)

Recursive Lookup — Why It Matters

Problem with next-hop only on a busy router: When using only a next-hop IP, the router must perform two lookups for every default-routed packet:
Step 1: Packet destination doesn't match anything → use default route 0.0.0.0/0
Step 2: Default route points to 192.168.1.1 → look up 192.168.1.1 in routing table
Step 3: 192.168.1.1 is on connected interface Gi0/1 → forward out Gi0/1
With both next-hop and interface specified, Step 2 is skipped — the router already knows the interface at the time the route is installed.

4. Static Default Route — Configuration and Verification

Basic Static Default Route

! Most common — branch router pointing to ISP gateway
Router(config)# ip route 0.0.0.0 0.0.0.0 203.0.113.1

! Verify it appears in the routing table
Router# show ip route
!
! Look for the S* entry:
Gateway of last resort is 203.0.113.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 203.0.113.1

Annotated show ip route Output

Router# show ip route

Codes: C - connected, S - static, R - RIP, O - OSPF, D - EIGRP

Gateway of last resort is 203.0.113.1 to network 0.0.0.0
                ↑                              ↑
        Next-hop of default route      Always 0.0.0.0 for default route

S*   0.0.0.0/0 [1/0] via 203.0.113.1
│    │         │   │      └── Next-hop IP address
│    │         │   └── Metric (0 for static routes)
│    │         └── Administrative Distance (1 = static)
│    └── Destination and prefix length (0.0.0.0 /0 = all addresses)
└── S* = Static route that is also the Gateway of Last Resort
        (S without * = static but NOT the gateway of last resort)
S* vs S: The asterisk (*) marks the route that is currently the Gateway of Last Resort — the default route actually being used. If multiple default routes are configured, only the one with the lowest administrative distance is installed as S* (or O*E2, D*EX for dynamically learned defaults). A plain S in the routing table is a static route to a specific destination, not the default route.

5. Dynamic Default Routes — Advertisement via Routing Protocols

In larger networks, manually configuring a default route on every router is impractical. A border or edge router can learn or be given a default route and then advertise it dynamically to all other routers in the domain — they automatically receive a default route without any static configuration.

OSPF — default-information originate

OSPF uses the default-information originate command on the ASBR (AS Boundary Router) to inject a default route as an External Type 2 LSA (Type 7 in NSSA) into the OSPF domain. All other OSPF routers receive it as an O*E2 route.

! On the OSPF border router that has internet connectivity:

! Method 1: Only advertise if a default route already exists in the routing table
Router(config)# router ospf 1
Router(config-router)# default-information originate

! Method 2: Always advertise default route regardless of local routing table
Router(config-router)# default-information originate always

! When to use "always":
! - The border router connects to the ISP via BGP/static and may not have
!   a 0.0.0.0/0 in its own routing table (if using a more specific default)
! - Without "always", if the local default route is missing, OSPF stops
!   advertising it to other routers — causing them to lose internet access

What Other OSPF Routers See

! On any other router in the OSPF domain:
Router# show ip route

Gateway of last resort is 10.1.1.1 to network 0.0.0.0

O*E2  0.0.0.0/0 [110/1] via 10.1.1.1, 00:03:15, GigabitEthernet0/0
│  │           │    │        └── OSPF border router IP
│  │           │    └── External metric (cost 1 is default for E2)
│  │           └── AD 110 / metric 1
│  └── E2 = External Type 2 (metric doesn't increase as it traverses the domain)
└── O* = OSPF route that is the Gateway of Last Resort

EIGRP — redistribute static

EIGRP does not have a single command to originate a default route. Instead, you configure a static default route on the border router and redistribute it into EIGRP. Other EIGRP routers receive it as an external EIGRP route (AD 170).

! Step 1: Configure the static default route on the border router
Router(config)# ip route 0.0.0.0 0.0.0.0 203.0.113.1

! Step 2: Redistribute static routes into EIGRP
Router(config)# router eigrp 100
Router(config-router)# redistribute static metric 10000 100 255 1 1500
!                                              └─────────────────────────
!                       bandwidth delay reliability load MTU (required for EIGRP)

! Alternative — summary address method (cleaner for default only):
Router(config)# interface GigabitEthernet0/0
Router(config-if)# ip summary-address eigrp 100 0.0.0.0 0.0.0.0

RIP — default-information originate

! RIP also supports default route advertisement
Router(config)# router rip
Router(config-router)# default-information originate

BGP — default route to eBGP neighbours

! Advertise a default route to a specific BGP neighbour
Router(config)# router bgp 65001
Router(config-router)# neighbor 198.51.100.1 default-originate

6. Default Route in the Routing Decision Process

The default route participates in the normal routing decision process — it simply has the lowest possible specificity, so it is always used last. Understanding how the router selects between multiple routes to the same general destination is essential.

  Routing Decision for a Packet to 172.20.15.50:

  Router has:
  ┌─────────────────────────────────────────────────────┐
  │  O    172.20.0.0/16    via 10.1.1.1  (AD 110)      │
  │  O    172.20.15.0/24   via 10.2.2.2  (AD 110)      │
  │  S*   0.0.0.0/0        via 203.0.113.1 (AD 1)      │
  └─────────────────────────────────────────────────────┘

  Step 1: Find all routes that match 172.20.15.50
    → 172.20.0.0/16 matches (/16 prefix — 16 bits match)
    → 172.20.15.0/24 matches (/24 prefix — 24 bits match)
    → 0.0.0.0/0 matches (/0 — 0 bits match, matches everything)

  Step 2: Apply Longest-Prefix Match — most specific wins
    → /24 beats /16 beats /0
    → Winner: 172.20.15.0/24 via 10.2.2.2

  Result: Packet forwarded to 10.2.2.2 (NOT to the default route)
  Even though the static default (AD 1) has lower AD than OSPF (AD 110),
  the more specific /24 wins because of longest-prefix match.
            
Critical exam point: Longest-prefix match is evaluated before administrative distance. A more specific route always wins regardless of its AD. AD is only compared between routes with identical prefix lengths from different sources.

7. Floating Static Default Route (Backup)

A floating static default route is configured with a deliberately high administrative distance — higher than the primary route source — so it only enters the routing table when the primary default route is lost. It "floats" above the primary until needed.

Dual-ISP Scenario

  Router connected to two ISPs:

  ISP1 (Primary):  Connected via OSPF (AD 110) — primary default
  ISP2 (Backup):   Floating static with AD 115 — activates only if OSPF default lost

  ┌──────────────────────────────────────────────────────────┐
  │ Normal operation:                                        │
  │ Routing Table: O*E2 0.0.0.0/0 via ISP1 [110/1]         │ ← Active
  │               (Floating static suppressed — AD 115 > 110)│ ← Hidden
  └──────────────────────────────────────────────────────────┘

  ┌──────────────────────────────────────────────────────────┐
  │ ISP1 link fails → OSPF default withdrawn:               │
  │ Routing Table: S* 0.0.0.0/0 via ISP2 [115/0]           │ ← Now active!
  └──────────────────────────────────────────────────────────┘
            

Floating Static Default Route Configuration

! Primary default: OSPF learns it (AD 110) from the border router

! Backup: Static default with AD 115 (higher than OSPF's 110)
Router(config)# ip route 0.0.0.0 0.0.0.0 198.51.100.1 115
!                                         ↑            ↑
!                               ISP2 next-hop   AD 115 (floating)

! Verify — during normal operation, only OSPF default appears:
Router# show ip route
Gateway of last resort is 10.1.1.1 to network 0.0.0.0
O*E2  0.0.0.0/0 [110/1] via 10.1.1.1
! The floating static is in running-config but NOT in routing table

! After ISP1 fails:
Router# show ip route
Gateway of last resort is 198.51.100.1 to network 0.0.0.0
S*    0.0.0.0/0 [115/0] via 198.51.100.1
AD selection guide for floating static: Set the AD one higher than the primary protocol's AD. For a floating backup behind OSPF (AD 110), use AD 111 or higher. For a floating backup behind EIGRP internal (AD 90), use AD 91 or higher. For a floating backup behind eBGP (AD 20), use AD 21 or higher.

See: Administrative Distance | OSPF Overview | Default Route in OSPF Lab

8. Default Route vs. Gateway of Last Resort

These two terms are closely related and frequently confused on the CCNA exam.

Term Definition Where Seen
Default Route The routing table entry with destination 0.0.0.0/0 (IPv4) or ::/0 (IPv6) — the actual route configuration Appears as S* 0.0.0.0/0 or O*E2 0.0.0.0/0 etc. in show ip route
Gateway of Last Resort The next-hop IP address to which the router forwards packets when no more specific route exists — derived from the default route's next-hop Displayed at the top of show ip route output: "Gateway of last resort is X.X.X.X to network 0.0.0.0"
Router# show ip route

Gateway of last resort is 203.0.113.1 to network 0.0.0.0
↑                         ↑
This line IS the          This is the Gateway of Last Resort — the next-hop
Gateway of Last           IP from the default route entry below
Resort display

S*   0.0.0.0/0 [1/0] via 203.0.113.1
↑
This is the default route — the 0.0.0.0/0 entry.
The GLoR and the default route next-hop are the same address.
If no default route exists, the routing table says:
"Gateway of last resort is not set"
Key distinction: The default route is the routing table entry. The Gateway of Last Resort is the next-hop address derived from that entry. When Cisco IOS displays "Gateway of last resort is not set," it means there is no 0.0.0.0/0 route in the table — the router will drop all packets to unknown destinations with an ICMP Destination Unreachable message.

9. IPv6 Default Route — ::/0

IPv6 uses the same conceptual default route as IPv4, but the representation is ::/0 — a 128-bit all-zeros prefix with a /0 mask that matches every IPv6 address.

! Static IPv6 default route via next-hop global unicast address
Router(config)# ipv6 route ::/0 2001:db8:acad::1

! Static IPv6 default route via link-local next-hop (requires interface)
Router(config)# ipv6 route ::/0 GigabitEthernet0/1 fe80::1

! Verify IPv6 default route
Router# show ipv6 route

IPv6 Routing Table - default - 4 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       O - OSPF Intra, OE2 - OSPF ext 2

Gateway of last resort is 2001:db8:acad::1

S   ::/0 [1/0]
     via 2001:db8:acad::1
IPv6 link-local next-hops: When the IPv6 next-hop is a link-local address (starts with FE80::), you must also specify the exit interface — the router cannot determine which interface to reach a link-local address without it. For example: ipv6 route ::/0 Gi0/1 fe80::1.

10. Verifying and Testing Default Routes

Key Verification Commands

Command What It Shows What to Look For
show ip route Full routing table S* 0.0.0.0/0 entry and "Gateway of last resort is X"
show ip route 0.0.0.0 Detail on the default route entry specifically Next-hop, AD, metric, age, and which interface it exits
show running-config | include ip route All statically configured routes Confirms default route exists in config (not just routing table)
ping 8.8.8.8 Tests reachability via default route Success confirms default route is working end-to-end
traceroute 8.8.8.8 Shows hop-by-hop path used by default route Confirms correct next-hop is being used; reveals where traffic stops
show ip cef 0.0.0.0/0 CEF entry for the default route Confirms the FIB (hardware forwarding table) has the default route
show ip ospf database external OSPF external LSAs including default route LSA Confirms OSPF border router is advertising 0.0.0.0/0 as E2 LSA

Annotated show ip route 0.0.0.0 Detail

Router# show ip route 0.0.0.0

Routing entry for 0.0.0.0/0, supernet
  Known via "ospf 1", distance 110, metric 1, candidate default path
  Tag 0, type extern 2, forward metric 20
  Last update from 10.1.1.1 on GigabitEthernet0/0, 00:14:22 ago
  Routing Descriptor Blocks:
  * 10.1.1.1, from 10.1.1.1, 00:14:22 ago, via GigabitEthernet0/0
      Route metric is 1, traffic share count is 1

! Breaking it down:
! "Known via ospf 1" → source is OSPF process 1
! "distance 110"     → AD is 110 (OSPF)
! "type extern 2"    → OSPF External Type 2 (metric doesn't increase across domain)
! "candidate default path" → this IS the default route / Gateway of Last Resort
! "10.1.1.1 via Gi0/0" → next-hop and egress interface

11. Troubleshooting Default Route Issues

Symptom Likely Cause Diagnostic Command & Fix
No internet access from all hosts Default route missing from routing table show ip route — check for S* or O*E2 0.0.0.0/0 entry; if absent, check routing config and OSPF adjacency
"Gateway of last resort is not set" in routing table No default route configured or the default route's source failed Configure static default: ip route 0.0.0.0 0.0.0.0 <next-hop>, or troubleshoot the OSPF/EIGRP session advertising it
Default route present but packets still dropped Next-hop is unreachable (interface down or ARP fails) ping <next-hop-IP> — verify next-hop reachable; show ip interface brief to check interface status; show arp for next-hop ARP entry
Default route not being advertised by OSPF to other routers default-information originate not configured, or border router has no default route and "always" keyword was omitted show ip ospf database external — check for 0.0.0.0 LSA; add default-information originate always if needed
Traffic uses wrong default route (primary should be OSPF but static is winning) Static default (AD 1) overriding the OSPF default (AD 110) show ip route 0.0.0.0 — check AD; the static (AD 1) always beats OSPF (AD 110); either remove the static or set its AD higher than 110
Floating static not activating after primary fails Floating static AD not higher than primary protocol's AD; primary route still present from another source Verify floating static AD > primary protocol AD; confirm primary route is truly gone with show ip route 0.0.0.0
Routing loop with default route Two routers each have a default route pointing to each other traceroute 8.8.8.8 — shows packets bouncing between two hops until TTL expires; check default route next-hops on both routers

12. Default Route in Different Network Environments

Environment Default Route Approach Typical Configuration
SOHO / Small Branch Single static default route to the ISP or HQ gateway ip route 0.0.0.0 0.0.0.0 <ISP-gateway>
Multi-site Enterprise OSPF advertises default from border router; all internal routers learn it dynamically Border: default-information originate; branches: receive O*E2 0.0.0.0/0 automatically
Dual-ISP redundancy Primary dynamic (or static AD 1) + floating static backup with higher AD Primary: ip route 0.0.0.0 0.0.0.0 ISP1; Backup: ip route 0.0.0.0 0.0.0.0 ISP2 5
Internet edge (BGP) BGP peers exchange full routing table or default-only; default-originate to customers neighbor <IP> default-originate
Stub EIGRP network Default route redistributed into EIGRP from border router redistribute static metric ... + local static default

13. Common Misconceptions About Default Routes

  • "The default route always wins because everything matches it."
    Completely wrong. The default route has the least specificity (/0) and always loses to any more specific route due to longest-prefix match. It is the absolute last resort — only used when no other route matches.
  • "S* means the static route is the best possible route."
    The asterisk (*) means it is the Gateway of Last Resort — the route used for packets with no other match. It does not mean this route is preferred over more specific routes; any /1 through /32 prefix will beat it for its respective destinations.
  • "default-information originate advertises all routes to neighbours."
    It only advertises the 0.0.0.0/0 default route as an OSPF External Type 2 LSA. It does not redistribute any other routes — for that, you need the redistribute command.
  • "If the interface goes down, the static default route is automatically removed."
    Not always. A static route configured with a next-hop IP (not an interface) remains in the routing table even if the path to that next-hop fails — the route stays but traffic blackholes. A route configured via exit interface is removed when the interface goes down. This is why monitoring next-hop reachability (via IP SLA) is important for static default routes.
  • "Every router needs a default route."
    Core routers in a full-mesh, fully-learned BGP environment do not need default routes — they have specific routes for every destination. Default routes are appropriate for stub routers and edge devices that don't need a full routing table.

14. Key Points & Exam Tips

  • Default route = 0.0.0.0/0 (IPv4) or ::/0 (IPv6) — matches everything with zero bits; always loses to more specific routes (longest-prefix match).
  • Command: ip route 0.0.0.0 0.0.0.0 <next-hop> — default AD is 1 (static).
  • Specify both next-hop and exit interface to prevent recursive lookups on Ethernet — e.g., ip route 0.0.0.0 0.0.0.0 192.168.1.1 Gi0/1.
  • S* in the routing table = static default route that is the Gateway of Last Resort. O*E2 = OSPF-learned default.
  • OSPF: default-information originate injects default as E2 LSA. Add always to advertise even without a local default route.
  • EIGRP: redistribute static (requires a static default route configured locally first).
  • Floating static backup: Set AD one higher than primary protocol. Behind OSPF (110) use AD 111+; behind EIGRP internal (90) use 91+.
  • Gateway of Last Resort = the next-hop shown at the top of show ip route output — derived from the default route entry.
  • If show ip route says "Gateway of last resort is not set," no default route is installed — packets to unknown destinations are dropped.
  • A static default configured with only a next-hop IP stays in the routing table even if the next-hop is unreachable — traffic may blackhole silently.

Related pages: Static Route Configuration | Administrative Distance | show ip route | OSPF Overview | EIGRP Overview | RIP Concepts | BGP Overview | IPv6 | Static Routing Configuration | Default Route in OSPF | OSPF Single-Area Lab | EIGRP Configuration Lab | Troubleshooting Layer 3 Routing

15. Default Routes Quiz

1. A router has the following routing table entries:
O 10.20.0.0/16 via 10.1.1.1
O 10.20.30.0/24 via 10.2.2.2
S* 0.0.0.0/0 via 203.0.113.1
A packet arrives destined for 10.20.30.50. Which route is used?

Correct answer is D. The longest-prefix match rule means the most specific route always wins, regardless of administrative distance. For 10.20.30.50: the /24 (10.20.30.0/24) matches with 24 bits, the /16 matches with 16 bits, and the default /0 matches with 0 bits. The /24 is the most specific — it wins. The static default route (AD 1) does not override OSPF routes because AD is only compared between routes with the same prefix length, not across different prefix lengths.

2. An engineer runs show ip route and sees:
Gateway of last resort is not set
What is the consequence for traffic destined to 203.0.113.50 (an internet IP)?

Correct answer is B. "Gateway of last resort is not set" means there is no 0.0.0.0/0 entry in the routing table. When a packet arrives for a destination that matches no route (like an internet IP on a router with only local routes), the router has no fallback — it drops the packet and returns an ICMP Destination Unreachable (type 3) message to the source. This is why default routes are essential on any router that needs to forward traffic beyond its directly known networks.

3. A branch router is connected to the corporate WAN. It runs OSPF and should learn a default route from the headquarters router. The HQ router has internet access and runs OSPF process 1. What command on the HQ router advertises the default route to all OSPF neighbours, even if HQ's own routing table has no 0.0.0.0/0 entry?

Correct answer is C. Without the always keyword, default-information originate only advertises the default route if the HQ router has a 0.0.0.0/0 entry in its own routing table. If HQ reaches the internet through BGP with a more specific default or via a static route that's not 0.0.0.0/0, OSPF stops advertising the default to branches — causing them to lose internet access. The always keyword forces OSPF to continuously advertise 0.0.0.0/0 regardless of the local routing table state.

4. A router uses OSPF (AD 110) to learn a default route from a border router. The engineer also configures ip route 0.0.0.0 0.0.0.0 10.99.99.1 (default AD 1) as a backup. What actually happens?

Correct answer is A. This is a common misconfiguration trap. A static route with default AD 1 always beats an OSPF route with AD 110 — they have the same prefix (0.0.0.0/0) so AD comparison applies, and AD 1 < 110. The OSPF-learned default will never be installed in the routing table as long as the static exists. To make the static a true backup (floating static), it must be configured with an AD higher than 110 — e.g., ip route 0.0.0.0 0.0.0.0 10.99.99.1 111.

5. Which command correctly configures a floating static default route as backup to a primary OSPF-learned default (AD 110), pointing to backup ISP gateway 198.51.100.1 via interface GigabitEthernet0/2?

Correct answer is C. A floating static route needs an AD strictly greater than the primary route's AD. The primary is OSPF with AD 110, so the floating static must have AD ≥ 111. Option A has no AD (defaults to 1 — would permanently override OSPF). Option B has AD 90 (less than 110 — still overrides OSPF). Option D has AD 1 (default static — always overrides OSPF). Only AD 111 ensures the static is suppressed while OSPF is working and only activates when the OSPF default disappears from the routing table.

6. An EIGRP network engineer needs all branch routers to automatically receive a default route from the headquarters border router. The border router already has ip route 0.0.0.0 0.0.0.0 203.0.113.1 configured. Which command on the border router causes EIGRP to advertise the default route to branches?

Correct answer is B. EIGRP does not support default-information originate (that is an OSPF and RIP command). To advertise a default route via EIGRP, you must redistribute static which redistributes the locally configured static default route (0.0.0.0/0) into EIGRP as an external route (AD 170 on receiving routers). The metric values (bandwidth, delay, reliability, load, MTU) are required for EIGRP redistribution — they set the composite metric for the redistributed route. Branches will see it as D*EX 0.0.0.0/0 [170/...].

7. A router's show ip route shows S* 0.0.0.0/0 [1/0] via 192.168.1.1. Users report intermittent internet outages but the router shows the default route is present. Pinging 8.8.8.8 from the router succeeds sometimes and fails other times. What is the most likely cause?

Correct answer is D. Static routes configured with only a next-hop IP address stay in the routing table permanently — even when the next-hop becomes unreachable. The route appears healthy in show ip route but traffic is blackholed because 192.168.1.1 doesn't respond. The fix is to use Cisco IP SLA with a tracked object to monitor the next-hop and automatically remove the static route when the next-hop fails: ip route 0.0.0.0 0.0.0.0 192.168.1.1 track 1. This removes the route from the table when the SLA probe fails, allowing a floating static backup to activate.

8. Which IPv6 command correctly configures a default route via a link-local next-hop address fe80::1 on interface GigabitEthernet0/0?

Correct answer is A. IPv6 link-local addresses (FE80::/10) are not globally routable — they are significant only on their local link. When specifying a link-local as the IPv6 next-hop, the router cannot determine which interface to send traffic out without additional information. The interface must therefore always be specified alongside a link-local next-hop. The correct syntax is: ipv6 route ::/0 <exit-interface> <link-local-next-hop>. Option B (no interface) is rejected by IOS. Option C uses the wrong command (ip route instead of ipv6 route). Option D uses the wrong IPv6 default notation (0.0.0.0/0 is IPv4).

9. A router shows the following in show ip route:
O*E2 0.0.0.0/0 [110/1] via 10.1.1.1
What does the "E2" mean, and which router originated this route?

Correct answer is C. OSPF External Type 2 (E2) is the default type for redistributed routes including defaults injected by default-information originate. E2 routes preserve the external metric (cost 1 in this case) across the entire OSPF domain — the metric does not increase as the route propagates through OSPF routers. The route was originated by an OSPF ASBR (AS Boundary Router) — the router running default-information originate. The receiving router's next-hop (10.1.1.1) is either the ASBR itself or the next-hop OSPF router on the path toward the ASBR.

10. A network has three routers: R1 (internet edge), R2 (distribution), R3 (access). R1 has a static default route to the ISP. R2 and R3 run OSPF with R1. After a maintenance window, users on R3's subnet cannot reach the internet even though R3's OSPF adjacency to R2 is up. show ip route on R3 shows no 0.0.0.0/0 entry. What is the most likely cause?

Correct answer is B. The OSPF adjacency being up means the routing protocol is working — the problem is that R1 has stopped advertising the default route as an OSPF External LSA. Two likely causes after a maintenance window: (1) default-information originate was removed from R1's OSPF config, or (2) R1's own static default route (0.0.0.0/0) was removed during maintenance and the always keyword was not used — without "always", OSPF stops advertising the default when R1 has no local 0.0.0.0/0 in its routing table. Verify on R1 with show ip ospf database external — if no 0.0.0.0/0 LSA is present, R1 is not advertising it.

← Back to Home