10.07.2015 Views

The Routing Table - Cisco Academy

The Routing Table - Cisco Academy

The Routing Table - Cisco Academy

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.4 Classless <strong>Routing</strong> Behavior and the ip classless CommandWith IOS 11.3 and later, <strong>Cisco</strong> changed the default behavior of the routing table to classless. By lookingat the running-config in Figure 14, we can see the ip classless command.Figure 14RouterB#show running-configBuilding configuration...Current configuration:!version 11.3!!ip classless!This means that routing process no longer assumes that all subnets for a major network can only bereached within the child routes of the parent. Classless routing behavior works well for discontiguousnetworks and CIDR.Let’s use our previous example, but this time using classless routing behavior. Figure 15 shows thesame routing table as before.Figure 15RouterB#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPGateway of last resort is 0.0.0.0 to network 0.0.0.0172.16.0.0/24 is subnetted, 3 subnetsR 172.16.1.0 [120/1] via 172.16.2.1, 00:00:13, Serial0C 172.16.2.0 is directly connected, Serial0C 172.16.3.0 is directly connected, FastEthernet0C 192.168.1.0/24 is directly connected, Serial1S* 0.0.0.0/0 is directly connected, Serial1RouterB#Example 4: Non-existent Child Route and ip classlessFigure 14 shows that the default is now, ip classless. Again, RouterB receives a packet with thedestination IP address of 172.16.4.10. Just like the previous example, the routing process searches therouting table and finds a match with the parent route 172.16.0.0/24.parent 172.16.0.0/24 is subnetted, 3 subnetsAgain, there has been a match with the parent route, so the child routes are searched next.child R 172.16.1.0 [120/1] via 172.16.2.1, 00:00:13, Serial0child C 172.16.2.0 is directly connected, Serial0child C 172.16.3.0 is directly connected, FastEthernet013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!