A network administrator is evaluating the IPv4 static routing configuration on router R1. Router R1 needs to reach the remote subnet . The primary routing path to this destination is currently provided by OSPF, which has an administrative distance of 110. The administrator must configure two static routes:
1. A static route using next-hop IPv4 address that immediately takes precedence over the OSPF route.
2. A floating static route using next-hop IPv4 address that serves as a backup only if the OSPF route becomes unavailable.
Which TWO static route commands must be configured on router R1 to achieve this objective? (Select TWO.)
- ip route 10.80.16.0 255.255.240.0 172.16.30.2Answer
- ip route 10.80.16.0 255.255.240.0 172.16.40.2 120Answer
- Cip route 10.80.16.0 255.255.240.0 172.16.40.2 90
- Dip route 10.80.16.0 255.255.240.0 172.16.30.2 110
Answer
The correct commands are 'ip route 10.80.16.0 255.255.240.0 172.16.30.2' for the primary route and 'ip route 10.80.16.0 255.255.240.0 172.16.40.2 120' for the floating static backup route.
To create a primary static route that overrides OSPF (AD 110), the standard command 'ip route 10.80.16.0 255.255.240.0 172.16.30.2' uses the default administrative distance of 1, which is lower than 110 and thus preferred. To configure a floating static backup route for the same subnet via next-hop 172.16.40.2, the command 'ip route 10.80.16.0 255.255.240.0 172.16.40.2 120' assigns an administrative distance of 120, which is higher than OSPF's 110, ensuring it only enters the routing table if the OSPF route drops.
Step-by-Step Solution
Key Concept
Cisco IOS IPv4 static route syntax and floating static route administrative distance selection.