SlideShare una empresa de Scribd logo
1 de 39
The Routing Table: A
Closer Look

Routing Protocols and
Concepts – Chapter 8

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

1
Objectives


Describe the various route types found in the routing
table structure



Describe the routing table lookup process.



Describe routing behavior in routed networks.

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

2
Introduction
 Chapter Focus
-Structure of the routing table
-Lookup process of the routing table
-Classless and classful routing behaviors

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

3
Routing Table Structure
 Lab Topology
 3 router setup
-R1 and R2 share a common 172.16.0.0/16 network with
172.16.0.0/24 subnets.
-R2 and R3 are connected by the 192.168.1.0/24 network.
-R3 also has a 172.16.4.0/24 subnet, which is disconnected, or
discontiguous, from the 172.16.0.0 network that R1 and R2
share.

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

4
Routing Table Structure
 Routing table entries come from the following sources
-Directly connected networks
-Static routes
-Dynamic routing protocols

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

5
Routing Table Structure
 Level 1 Routes
 As soon as the no shutdown command is issued the
route is added to routing table

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

6
Routing Table Structure
 Cisco IP routing table
is a hierarchical
structure
-The reason for this is
to speed up lookup
process

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

7
Routing Table Structure
 Level 1 Routes
-Have a subnet mask equal to or less than the
classful mask of the network address.

 Level 1 route can function as
-Default route
-Supernet route
-Network route

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

8
Routing Table Structure
 Level 1 Routes
-Ultimate Route
Includes either:
-A next-hop address
OR
-An exit interface

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

9
Routing Table Structure
 Parent and Child
Routes
-A parent route is a
level 1 route
-A parent route does
not contain any nexthop IP address or exit
interface information

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

10
Routing Table Structure
 Automatic creation of
parent routes
-Occurs any time a
subnet is added to the
routing table
 Child routes
-Child routes are level
2 routes
-Child routes are a
subnet of a classful
network address

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

11
Routing Table Structure
 Level 2 child routes contain route source & the network
address of the route
 Level 2 child routes are also considered ultimate
routes
Reason: they contain the next hop address
&/or exit interface

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

12
Routing Table Structure
 Both child routes have the same subnet mask
-This means the parent route maintains the /24 mask

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

13
Routing Table Structure
 Diagram illustrates 2 child networks belonging to the
parent route 172.16.0.0 / 24

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

14
Routing Table Structure
 In classless networks, child routes do not have to share
the same subnet mask

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

15
Routing Table Structure
 Parent & Child Routes: Classless Networks

Network
Type

Parent route’s
Classful mask is
Displayed

Term
variably
subnetted
is seen in parent
route in routing
table

Classful

No

No

No

No

Classless

Yes

Yes

Yes

Yes

ITE PC v4.0
Chapter 1

Includes the Subnet mask
# of different
included
masks of
with each
child routes
child route
entry

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

16
Routing Table Structure
 Parent & Child Routes: Classless Networks

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

17
Routing Table Lookup Process


The Route Lookup Process






ITE PC v4.0
Chapter 1

Examine level 1 routes
-If best match a level 1 ultimate route and is not a parent
route this route is used to forward packet
Router examines level 2 (child) routes
-If there is a match with level 2 child route then
that subnet is used to forward packet
-If no match then
determine routing behavior type
Router determines classful or classless routing behavior
-If classful then
packet is dropped
-If classless then router searches level one supernet and
default routes
-If there exists a level 1 supernet or default route match
then Packet is forwarded. If not packet is dropped
© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

18
Routing Table Lookup Process
 Longest Match: Level 1 Network Routes
–Best match is also known as the longest match
–The best match is the one that has the most number of left
most bits matching between the destination IP address and the
route in the routing table.

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

19
Routing Table Lookup Process
 Finding the subnet mask
used to determine the
longest match
Scenario:
–PC1 pings 192.168.1.2
–Router examines level 1
route for best match
–There exist a match
between192.168.1.2 &
192.168.1.0 / 24
–Router forwards packets out
s0/0/0

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

20
Routing Table Lookup Process
 The process of matching
-1st there must be a match made between the
parent route & destination IP
-If a match is made then an attempt at finding a
match between the destination IP and the child route
is made.

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

21
Routing Table Lookup Process
 Finding a match between packet’s destination IP address
and the next route in the routing table
-The figure shows a match between the destination IP of
192.168.1.0 and the level one IP of 192.168.1.0 / 24
then packet forwarded out s0/0/0

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

22
Routing Table Lookup Process
 Level 1 Parent & Level 2 Child Routes
 Before level 2 child routes are examined
-There must be a match between classful level one
parent route and destination IP address.

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

23
Routing Table Lookup Process
 After the match with parent route has been made Level 2 child
routes will be examined for a match
-Route lookup process searches for child
routes with a match with destination IP

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

24
Routing Table Lookup Process
 How a router finds a match with one of the level 2 child
routes
-First router examines parent routes for a match
-If a match exists then:
Child routes are examined
Child route chosen is the one with the
longest match

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

25
Routing Table Lookup Process
 Example: Route Lookup
Process with VLSM
-The use of VLSM does not
change the lookup process
-If there is a match between
destination IP address and the
level 1 parent route then
-Level 2 child routes will be
searched

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

26
Routing Behavior
 Classful & classless routing protocols
Influence how routing table is populated
 Classful & classless routing behaviors
filled

ITE PC v4.0
Chapter 1

Determines how routing table is searched after it is

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

27
Routing Behavior
 Classful Routing
Behavior: no ip
classless
 What happens if there is
not a match with any
level 2 child routes of the
parent?
-Router must determine if
the routing behavior is
classless or classful
-If router is utilizing classful
routing behavior then
-Lookup process is
terminated and
packet is dropped
ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

28
Routing Behavior
 Classful Routing Behavior – Search Process
 An example of when classful routing behavior is in effect and
why the router drops the Packet
-The destination’s subnet mask is a /24 and none of the child
routes left most bits match the first 24 bits. This means packet
is dropped

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

29
Routing Behavior
 Classful Routing Behavior – Search Process
 The reason why the router will not search beyond the
child routes
Originally networks were all classful
This meant an organization could subnet a
major network address and “enlighten” all the
organization’s routers about the subnetting
Therefore, if the subnet was not in the
routing table, the subnet did not exist and
packet was dropped
ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

30
Routing Behavior
 ip Classless
 Beginning with IOS 11.3, ip classless was configured by
default
 Classless routing behavior works for
-Discontiguous networks
And
-CIDR supernets

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

31
Routing Behavior
 Classless Routing Behavior: ip classless
 Route lookup process when ip classless is in use
-If classless routing behavior in effect then
Search level 1 routes
Supernet routes Checked first

-If a match exists then forward packet
Default routes Checked second

If there is no match or no default
route then the
Packet is dropped
ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

32
Routing Behavior
 Classless Routing Behavior – Search Process
 Router begins search process by finding a match between
destination IP and parent route
After finding the above mentioned match, then
there is a search of the child route

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

33
Routing Behavior
 Classless Routing Behavior – Search Process
 If no match is found in child routes of previous slide then
Router continues to search the routing table for a
match that may have fewer bits in the match

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

34
Routing Behavior
 Classful vs. Classless Routing Behavior
-It is recommended to use classless routing
behavior
Reason: so supernet and default routes can
be used whenever needed

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

35
Summary
Content/structure of a routing table
 Routing table entries
-Directly connected networks
-Static route
-Dynamic routing protocols
 Routing tables are hierarchical
-Level 1 route
Have a subnet mask that is less than or equal to
classful subnet mask for the network address
-Level 2 route
These are subnets of a network address

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

36
Summary

Routing table lookup process
 Begins with examining level 1 routes for best match with packet’s destination IP
 If the best match = an ultimate route then
-Packet is forwarded -Else-Parent route is examined
If parent route & destination IP match then Level 2 (child)
routes are examined
Level 2 route examination
 If a match between destination IP and child route found then
Packet forwarded -Else
 If Router is using classful routing behavior then
Packet is dropped -Else
 If router is using classless routing behavior then
Router searches Level 1 supernet & default routes for a
match
 If a match is found then Packet if forwarded -Else
 Packet is dropped
ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

37
Summary
 Routing behaviors
-This refers to how a routing table is searched
 Classful routing behavior
-Indicated by the use of the no ip classless command
-Router will not look beyond child routes for a lesser
match
 Classless routing behavior
-Indicated by the use of the ip classless command
-Router will look beyond child routes for a lesser match

ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

38
ITE PC v4.0
Chapter 1

© 2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

39

Más contenido relacionado

La actualidad más candente

Exploration routing chapter_5
Exploration routing chapter_5Exploration routing chapter_5
Exploration routing chapter_5Joshua Torres
 
CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11Irsandi Hasan
 
Exploration routing chapter 4
Exploration routing chapter 4Exploration routing chapter 4
Exploration routing chapter 4Sachii Dosti
 
CCNA Exploration 2 - Chapter 4
CCNA Exploration 2 - Chapter 4CCNA Exploration 2 - Chapter 4
CCNA Exploration 2 - Chapter 4Irsandi Hasan
 
CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5Irsandi Hasan
 
CCNA Exploration 2 - Chapter 10
CCNA Exploration 2 - Chapter 10CCNA Exploration 2 - Chapter 10
CCNA Exploration 2 - Chapter 10Irsandi Hasan
 
Exploration Routing Chapter 7
Exploration Routing Chapter 7Exploration Routing Chapter 7
Exploration Routing Chapter 7jayhawkins
 
CCNA Exploration 2 - Chapter 6
CCNA Exploration 2 - Chapter 6CCNA Exploration 2 - Chapter 6
CCNA Exploration 2 - Chapter 6Irsandi Hasan
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1Joshua Torres
 
Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Sachii Dosti
 
CCNA Exploration 2 - Chapter 9
CCNA Exploration 2 - Chapter 9CCNA Exploration 2 - Chapter 9
CCNA Exploration 2 - Chapter 9Irsandi Hasan
 
Chapter 17 : static routing
Chapter 17 : static routingChapter 17 : static routing
Chapter 17 : static routingteknetir
 
CCNA Exploration 2 - Chapter 2
CCNA Exploration 2 - Chapter 2CCNA Exploration 2 - Chapter 2
CCNA Exploration 2 - Chapter 2Irsandi Hasan
 
CCNA3 Verson6 Chapter7
CCNA3 Verson6 Chapter7CCNA3 Verson6 Chapter7
CCNA3 Verson6 Chapter7Chaing Ravuth
 
CCNA2 Verson6 Chapter3
CCNA2 Verson6 Chapter3CCNA2 Verson6 Chapter3
CCNA2 Verson6 Chapter3Chaing Ravuth
 
Week3 part 2
Week3  part 2Week3  part 2
Week3 part 2trayyoo
 
CCNA3 Verson6 Chapter9
CCNA3 Verson6 Chapter9CCNA3 Verson6 Chapter9
CCNA3 Verson6 Chapter9Chaing Ravuth
 
Network technology Paper 2
Network technology Paper 2Network technology Paper 2
Network technology Paper 2Sachii Dosti
 

La actualidad más candente (19)

Exploration routing chapter_5
Exploration routing chapter_5Exploration routing chapter_5
Exploration routing chapter_5
 
CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11
 
Exploration routing chapter 4
Exploration routing chapter 4Exploration routing chapter 4
Exploration routing chapter 4
 
CCNA Exploration 2 - Chapter 4
CCNA Exploration 2 - Chapter 4CCNA Exploration 2 - Chapter 4
CCNA Exploration 2 - Chapter 4
 
CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5
 
CCNA Exploration 2 - Chapter 10
CCNA Exploration 2 - Chapter 10CCNA Exploration 2 - Chapter 10
CCNA Exploration 2 - Chapter 10
 
Exploration Routing Chapter 7
Exploration Routing Chapter 7Exploration Routing Chapter 7
Exploration Routing Chapter 7
 
CCNA Exploration 2 - Chapter 6
CCNA Exploration 2 - Chapter 6CCNA Exploration 2 - Chapter 6
CCNA Exploration 2 - Chapter 6
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1
 
Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11
 
CCNA Exploration 2 - Chapter 9
CCNA Exploration 2 - Chapter 9CCNA Exploration 2 - Chapter 9
CCNA Exploration 2 - Chapter 9
 
Chapter 17 : static routing
Chapter 17 : static routingChapter 17 : static routing
Chapter 17 : static routing
 
CCNA Exploration 2 - Chapter 2
CCNA Exploration 2 - Chapter 2CCNA Exploration 2 - Chapter 2
CCNA Exploration 2 - Chapter 2
 
CCNA3 Verson6 Chapter7
CCNA3 Verson6 Chapter7CCNA3 Verson6 Chapter7
CCNA3 Verson6 Chapter7
 
CCNA2 Verson6 Chapter3
CCNA2 Verson6 Chapter3CCNA2 Verson6 Chapter3
CCNA2 Verson6 Chapter3
 
Week3 part 2
Week3  part 2Week3  part 2
Week3 part 2
 
CCNA3 Verson6 Chapter9
CCNA3 Verson6 Chapter9CCNA3 Verson6 Chapter9
CCNA3 Verson6 Chapter9
 
Network technology Paper 2
Network technology Paper 2Network technology Paper 2
Network technology Paper 2
 
1
11
1
 

Destacado (16)

Tarea 7
Tarea 7Tarea 7
Tarea 7
 
M6.2
M6.2M6.2
M6.2
 
20140222_iodd_in_takizawa
20140222_iodd_in_takizawa20140222_iodd_in_takizawa
20140222_iodd_in_takizawa
 
Unidad 3
Unidad 3Unidad 3
Unidad 3
 
Methods of sharing
Methods of sharingMethods of sharing
Methods of sharing
 
Resume pritam
Resume  pritamResume  pritam
Resume pritam
 
Exploration routing chapter_7
Exploration routing chapter_7Exploration routing chapter_7
Exploration routing chapter_7
 
Next 11 countries
Next 11 countriesNext 11 countries
Next 11 countries
 
LI-FI
LI-FILI-FI
LI-FI
 
Ajil mergejil
Ajil mergejilAjil mergejil
Ajil mergejil
 
MX Fund 01 - Hackers/Founders Co-op Mexico Pitch Deck
MX Fund 01 - Hackers/Founders Co-op Mexico Pitch DeckMX Fund 01 - Hackers/Founders Co-op Mexico Pitch Deck
MX Fund 01 - Hackers/Founders Co-op Mexico Pitch Deck
 
drinking
 drinking  drinking
drinking
 
The Pyramid
The PyramidThe Pyramid
The Pyramid
 
MAB Deck
MAB DeckMAB Deck
MAB Deck
 
Project gt tire cutting rsa
Project gt tire cutting rsaProject gt tire cutting rsa
Project gt tire cutting rsa
 
S Wilson 2016 Resume
S Wilson 2016 ResumeS Wilson 2016 Resume
S Wilson 2016 Resume
 

Similar a Exploration routing chapter_8

CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1Irsandi Hasan
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3Waqas Ahmed Nawaz
 
Distance Vector Routing Protocols.ppt
Distance Vector Routing Protocols.pptDistance Vector Routing Protocols.ppt
Distance Vector Routing Protocols.pptSunny1710
 
CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3Irsandi Hasan
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic ConfigurationProf. Erwin Globio
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptxRobinRohit2
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptxNguyenNM
 
Exploration_Routing_Chapter_1 ppt for learning Networking
Exploration_Routing_Chapter_1 ppt for learning NetworkingExploration_Routing_Chapter_1 ppt for learning Networking
Exploration_Routing_Chapter_1 ppt for learning NetworkingbrainxMagic
 
SRWE_Module_16.pptx
SRWE_Module_16.pptxSRWE_Module_16.pptx
SRWE_Module_16.pptxRobinRohit2
 
SRWE_Module_16.pptx
SRWE_Module_16.pptxSRWE_Module_16.pptx
SRWE_Module_16.pptxRobinRohit2
 
Ccna 2 chapter 8 v4.0 answers 2011
Ccna 2 chapter 8 v4.0 answers 2011Ccna 2 chapter 8 v4.0 answers 2011
Ccna 2 chapter 8 v4.0 answers 2011Dân Chơi
 

Similar a Exploration routing chapter_8 (20)

Cisco chapter
Cisco chapter Cisco chapter
Cisco chapter
 
Networking
NetworkingNetworking
Networking
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Link state protocols.ppt
Link state protocols.pptLink state protocols.ppt
Link state protocols.ppt
 
CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
 
Distance Vector Routing Protocols.ppt
Distance Vector Routing Protocols.pptDistance Vector Routing Protocols.ppt
Distance Vector Routing Protocols.ppt
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
OSI Network Layer
OSI Network LayerOSI Network Layer
OSI Network Layer
 
Cisco CCNA module 10
Cisco CCNA module 10Cisco CCNA module 10
Cisco CCNA module 10
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptx
 
SRWE_Module_14.pptx
SRWE_Module_14.pptxSRWE_Module_14.pptx
SRWE_Module_14.pptx
 
Exploration_Routing_Chapter_1 ppt for learning Networking
Exploration_Routing_Chapter_1 ppt for learning NetworkingExploration_Routing_Chapter_1 ppt for learning Networking
Exploration_Routing_Chapter_1 ppt for learning Networking
 
SRWE_Module_16.pptx
SRWE_Module_16.pptxSRWE_Module_16.pptx
SRWE_Module_16.pptx
 
SRWE_Module_16.pptx
SRWE_Module_16.pptxSRWE_Module_16.pptx
SRWE_Module_16.pptx
 
Ccna 2 chapter 8 v4.0 answers 2011
Ccna 2 chapter 8 v4.0 answers 2011Ccna 2 chapter 8 v4.0 answers 2011
Ccna 2 chapter 8 v4.0 answers 2011
 
Ch5
Ch5Ch5
Ch5
 
35d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b8935d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b89
 

Último

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Último (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

Exploration routing chapter_8

  • 1. The Routing Table: A Closer Look Routing Protocols and Concepts – Chapter 8 ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1
  • 2. Objectives  Describe the various route types found in the routing table structure  Describe the routing table lookup process.  Describe routing behavior in routed networks. ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 2
  • 3. Introduction  Chapter Focus -Structure of the routing table -Lookup process of the routing table -Classless and classful routing behaviors ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 3
  • 4. Routing Table Structure  Lab Topology  3 router setup -R1 and R2 share a common 172.16.0.0/16 network with 172.16.0.0/24 subnets. -R2 and R3 are connected by the 192.168.1.0/24 network. -R3 also has a 172.16.4.0/24 subnet, which is disconnected, or discontiguous, from the 172.16.0.0 network that R1 and R2 share. ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 4
  • 5. Routing Table Structure  Routing table entries come from the following sources -Directly connected networks -Static routes -Dynamic routing protocols ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 5
  • 6. Routing Table Structure  Level 1 Routes  As soon as the no shutdown command is issued the route is added to routing table ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 6
  • 7. Routing Table Structure  Cisco IP routing table is a hierarchical structure -The reason for this is to speed up lookup process ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 7
  • 8. Routing Table Structure  Level 1 Routes -Have a subnet mask equal to or less than the classful mask of the network address.  Level 1 route can function as -Default route -Supernet route -Network route ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 8
  • 9. Routing Table Structure  Level 1 Routes -Ultimate Route Includes either: -A next-hop address OR -An exit interface ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 9
  • 10. Routing Table Structure  Parent and Child Routes -A parent route is a level 1 route -A parent route does not contain any nexthop IP address or exit interface information ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 10
  • 11. Routing Table Structure  Automatic creation of parent routes -Occurs any time a subnet is added to the routing table  Child routes -Child routes are level 2 routes -Child routes are a subnet of a classful network address ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 11
  • 12. Routing Table Structure  Level 2 child routes contain route source & the network address of the route  Level 2 child routes are also considered ultimate routes Reason: they contain the next hop address &/or exit interface ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 12
  • 13. Routing Table Structure  Both child routes have the same subnet mask -This means the parent route maintains the /24 mask ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 13
  • 14. Routing Table Structure  Diagram illustrates 2 child networks belonging to the parent route 172.16.0.0 / 24 ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 14
  • 15. Routing Table Structure  In classless networks, child routes do not have to share the same subnet mask ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 15
  • 16. Routing Table Structure  Parent & Child Routes: Classless Networks Network Type Parent route’s Classful mask is Displayed Term variably subnetted is seen in parent route in routing table Classful No No No No Classless Yes Yes Yes Yes ITE PC v4.0 Chapter 1 Includes the Subnet mask # of different included masks of with each child routes child route entry © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 16
  • 17. Routing Table Structure  Parent & Child Routes: Classless Networks ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 17
  • 18. Routing Table Lookup Process  The Route Lookup Process    ITE PC v4.0 Chapter 1 Examine level 1 routes -If best match a level 1 ultimate route and is not a parent route this route is used to forward packet Router examines level 2 (child) routes -If there is a match with level 2 child route then that subnet is used to forward packet -If no match then determine routing behavior type Router determines classful or classless routing behavior -If classful then packet is dropped -If classless then router searches level one supernet and default routes -If there exists a level 1 supernet or default route match then Packet is forwarded. If not packet is dropped © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 18
  • 19. Routing Table Lookup Process  Longest Match: Level 1 Network Routes –Best match is also known as the longest match –The best match is the one that has the most number of left most bits matching between the destination IP address and the route in the routing table. ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 19
  • 20. Routing Table Lookup Process  Finding the subnet mask used to determine the longest match Scenario: –PC1 pings 192.168.1.2 –Router examines level 1 route for best match –There exist a match between192.168.1.2 & 192.168.1.0 / 24 –Router forwards packets out s0/0/0 ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 20
  • 21. Routing Table Lookup Process  The process of matching -1st there must be a match made between the parent route & destination IP -If a match is made then an attempt at finding a match between the destination IP and the child route is made. ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 21
  • 22. Routing Table Lookup Process  Finding a match between packet’s destination IP address and the next route in the routing table -The figure shows a match between the destination IP of 192.168.1.0 and the level one IP of 192.168.1.0 / 24 then packet forwarded out s0/0/0 ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 22
  • 23. Routing Table Lookup Process  Level 1 Parent & Level 2 Child Routes  Before level 2 child routes are examined -There must be a match between classful level one parent route and destination IP address. ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 23
  • 24. Routing Table Lookup Process  After the match with parent route has been made Level 2 child routes will be examined for a match -Route lookup process searches for child routes with a match with destination IP ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 24
  • 25. Routing Table Lookup Process  How a router finds a match with one of the level 2 child routes -First router examines parent routes for a match -If a match exists then: Child routes are examined Child route chosen is the one with the longest match ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 25
  • 26. Routing Table Lookup Process  Example: Route Lookup Process with VLSM -The use of VLSM does not change the lookup process -If there is a match between destination IP address and the level 1 parent route then -Level 2 child routes will be searched ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 26
  • 27. Routing Behavior  Classful & classless routing protocols Influence how routing table is populated  Classful & classless routing behaviors filled ITE PC v4.0 Chapter 1 Determines how routing table is searched after it is © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 27
  • 28. Routing Behavior  Classful Routing Behavior: no ip classless  What happens if there is not a match with any level 2 child routes of the parent? -Router must determine if the routing behavior is classless or classful -If router is utilizing classful routing behavior then -Lookup process is terminated and packet is dropped ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 28
  • 29. Routing Behavior  Classful Routing Behavior – Search Process  An example of when classful routing behavior is in effect and why the router drops the Packet -The destination’s subnet mask is a /24 and none of the child routes left most bits match the first 24 bits. This means packet is dropped ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 29
  • 30. Routing Behavior  Classful Routing Behavior – Search Process  The reason why the router will not search beyond the child routes Originally networks were all classful This meant an organization could subnet a major network address and “enlighten” all the organization’s routers about the subnetting Therefore, if the subnet was not in the routing table, the subnet did not exist and packet was dropped ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 30
  • 31. Routing Behavior  ip Classless  Beginning with IOS 11.3, ip classless was configured by default  Classless routing behavior works for -Discontiguous networks And -CIDR supernets ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 31
  • 32. Routing Behavior  Classless Routing Behavior: ip classless  Route lookup process when ip classless is in use -If classless routing behavior in effect then Search level 1 routes Supernet routes Checked first -If a match exists then forward packet Default routes Checked second If there is no match or no default route then the Packet is dropped ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 32
  • 33. Routing Behavior  Classless Routing Behavior – Search Process  Router begins search process by finding a match between destination IP and parent route After finding the above mentioned match, then there is a search of the child route ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 33
  • 34. Routing Behavior  Classless Routing Behavior – Search Process  If no match is found in child routes of previous slide then Router continues to search the routing table for a match that may have fewer bits in the match ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 34
  • 35. Routing Behavior  Classful vs. Classless Routing Behavior -It is recommended to use classless routing behavior Reason: so supernet and default routes can be used whenever needed ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 35
  • 36. Summary Content/structure of a routing table  Routing table entries -Directly connected networks -Static route -Dynamic routing protocols  Routing tables are hierarchical -Level 1 route Have a subnet mask that is less than or equal to classful subnet mask for the network address -Level 2 route These are subnets of a network address ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 36
  • 37. Summary Routing table lookup process  Begins with examining level 1 routes for best match with packet’s destination IP  If the best match = an ultimate route then -Packet is forwarded -Else-Parent route is examined If parent route & destination IP match then Level 2 (child) routes are examined Level 2 route examination  If a match between destination IP and child route found then Packet forwarded -Else  If Router is using classful routing behavior then Packet is dropped -Else  If router is using classless routing behavior then Router searches Level 1 supernet & default routes for a match  If a match is found then Packet if forwarded -Else  Packet is dropped ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 37
  • 38. Summary  Routing behaviors -This refers to how a routing table is searched  Classful routing behavior -Indicated by the use of the no ip classless command -Router will not look beyond child routes for a lesser match  Classless routing behavior -Indicated by the use of the ip classless command -Router will look beyond child routes for a lesser match ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 38
  • 39. ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 39