Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
A Default route is configured or learned, but is not being used - unable to reach certain subnets
The most common reason for this problem is that the ip classless command is turned off. Issuing the no ip classless command turns off the router's ability to look for the route with the longest bit match, as shown in this example:
ip route 10.1.1.0 255.255.255.0 22.214.171.124
ip route 0.0.0.0 0.0.0.0 126.96.36.199
no ip classless
With the no ip classless command, traffic destined to 10.2.1.1 is not sent to the default route because the class A network 10.0.0.0/8 is already in the route table.
To have the Cisco IOS Software forward packets destined for unrecognized subnets to the best supernet route possible, issue the ip classless command from global configuration mode, as shown in this example: