A network administrator needs to direct traffic destined specifically for a single log server at through next-hop IPv4 address , while allowing all other traffic intended for the subnet to follow the existing default path. Which Cisco IOS command must be configured on the router to accomplish this requirement?
- ip route 192.168.10.45 255.255.255.255 10.1.1.2Answer
- Bip route 192.168.10.45 255.255.255.0 10.1.1.2
- Cip route 192.168.10.45 0.0.0.0 10.1.1.2
- Dip route 192.168.10.0 255.255.255.255 10.1.1.2
Answer
The command 'ip route 192.168.10.45 255.255.255.255 10.1.1.2' creates a host static route targeting the specific destination IP address.
The correct command uses a subnet mask of 255.255.255.255 (/32) combined with the exact host IP address 192.168.10.45. When the router performs forwarding lookup, the longest prefix match rule ensures that packets addressed to 192.168.10.45 match this 32-bit route rather than broader subnet routes.
Step-by-Step Solution
Key Concept
IPv4 Host Static Routing and Longest Prefix Match
Estimated Time:1m 0s