Question

Difficulty: HardIPv4 Static Routing

A network engineer is configuring router R1 to reach destination network 172.16.10.0/24172.16.10.0/24. The primary path must use next-hop IP address 192.168.12.2192.168.12.2 with standard default static priority. A backup path must use next-hop IP address 10.0.0.210.0.0.2 and function as a floating static route that only enters the routing table if the primary path is unavailable. Which TWO commands must be configured on R1 to meet these requirements? (Select two.)

  1. ip route 172.16.10.0 255.255.255.0 192.168.12.2Answer
  2. ip route 172.16.10.0 255.255.255.0 10.0.0.2 10Answer
  3. C
    ip route 172.16.10.0 255.255.255.0 10.0.0.2
  4. D
    ip route 172.16.10.0 0.0.0.255 192.168.12.2

Answer

The correct commands are 'ip route 172.16.10.0 255.255.255.0 192.168.12.2' for the primary path and 'ip route 172.16.10.0 255.255.255.0 10.0.0.2 10' for the backup floating path.
The command specifying next-hop 192.168.12.2 without an explicit administrative distance correctly creates the primary static route with the default Administrative Distance of 1. The command specifying next-hop 10.0.0.2 with an explicit administrative distance of 10 correctly creates a floating static route, because its higher administrative distance keeps it out of the routing table until the primary route disappears.

Step-by-Step Solution

1
Identify the proper Cisco IOS IPv4 static route command structure.
The correct command format is 'ip route <destination-prefix> <subnet-mask> <next-hop-ip> [administrative-distance]'.
Cisco IOS requires a subnet mask (not a wildcard mask) and optional administrative distance parameter.
2
Configure the primary static route.
'ip route 172.16.10.0 255.255.255.0 192.168.12.2' is generated.
When no administrative distance is specified at the end of the command, Cisco IOS assigns a default Administrative Distance of 1.
3
Configure the backup floating static route.
'ip route 172.16.10.0 255.255.255.0 10.0.0.2 10' is generated.
A floating static route must have an Administrative Distance higher than the primary route (in this case, 10 > 1) so it remains inactive in the RIB until the primary route fails.

Key Concept

IPv4 Static Route Syntax and Administrative Distance for Floating Static Routes
Rate this question