Which of the following commands will configure a default route to any destination network not
found in the routing table?
A.
Router(config)# ip route 0.0.0.0 255.255.255.255 s0
B.
Router(config)# ip route 0.0.0.0 0.0.0.0 s0
C.
Router(config)# ip route any any e0
D.
Router(config)# ip default-route 0.0.0.0 255.255.255.255 s0
E.
Router(config)# ip default-route 0.0.0.0 s0
Explanation:
Choice D is the correct syntax for configuring a gateway of last resort. Note that an alternative
way is to specify the IP address of the next hop router, for example, “ip route 0.0.0.0 0.0.0.0
10.1.1.1.”