Hello all -
Q1 of Ch 5's "Do I Know This Already" quiz in Odom's ICND Exam Cert Guide asks: Which of the following must be true before IOS lists a route as "S" in the output of a show ip route command?
a. The IP address must be configured on an interface.
b. the router must receive a routing update from a neighboring router
c. the 'ip route' command must be added to the configuration
d. the 'ip address' command must use the 'special' keyword
e. the interface must be up and up.
I thought a,c & e, that a route is useless without an interface to use. But the answer is C, and is not corrected in the book Errata.
To test, when using NetSim, I could indeed configure a static route specifying a next-hop-router without having any interfaces configured (command used was from book p 147 'ip route 10.1.2.0 255.255.255.0 10.1.128.252'). All interfaces were 'no ip address' in 'show running-config' but the route was present there and in 'show ip route' as well.
However, on a 2500 router running 11.2(4), the static route would only show up in 'show ip route' if an interface was configured. If the interface was shutdown, the route disappeared from 'show ip route'.
So can someone please clarify the following:
1) can a static route be added and show up in 'ip route' without having a configured interface?
2) if so, why would Cisco permit this? (a route with no outgoing interface makes no sense to me)
3) did this ability change after 11.2(4)? if so, with what version?
Thanks in advance!