SlideShare una empresa de Scribd logo
1 de 23
Descargar para leer sin conexión
Routing Protocol Basis
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved
www.huawei.com
Route technology is the key point that
internet is running continuously.
Route is a very interesting and complex
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 2
Route is a very interesting and complex
task, and eternal topic.
Upon completion of this course, you will be
able to :
Know the concept of route
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 3
Know the classification of routing
protocol
Understand the routing process of data
packet in the network
Understand the structure of routing table
What’s The Route?
A route is the path information to guide IP packets to be
transferred.
Destination
network N
E0/1
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 4
Other networks
E0/0 S0/0
E0/1
RTA
RTB
RTC
The Key Function of routing
Check the destination of the data packet
Confirm the information resource
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 5
Discover possible route
Select best route
Validate and maintain route information
Routing Table Establishment
E0/0
E1/0
10.1.1.0
192.168.2.0
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 6
protocol destination interface
DIRECT 10.1.1.0 E0/0
OSPF 192.168.2.0 E1/0
Routes—Discovered by Data Link Layer
[RTB]display ip routing-table
Routing Tables: Public
Destinations : 8 Routes : 8
Destination/Mask Proto Pre Cost NextHop Interface
10.1.1.0/30
RTA
10.1.2.0/24
.1
.1 .2
.2
RTB
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 7
Destination/Mask Proto Pre Cost NextHop Interface
10.1.1.0/30 Direct 0 0 10.1.1.1 Serial0/0/0
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0
……
10.1.2.1/32 Direct 0 0 127.0.0.1 InLoopBack0
10.1.2.2/32 Direct 0 0 10.1.2.2 Serial0/0/1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0
RTC
Routes—Static Route
[RTA] display ip routing-table
Routing Tables: Public
RTB
2.2.2.2/32
10.1.1.0/30
RTA
.1 .2
Configure static route towards
destination network 2.2.2.2/32
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 8
Routing Tables: Public
Destinations : 8 Routes : 8
Destination/Mask Proto Pre Cost NextHop Interface
2.2.2.2/32 Static 60 0 10.1.2.2 Ethernet0
10.1.1.0/30 Direct 0 0 10.1.1.1 Serial0
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0
10.1.1.2/32 Direct 0 0 10.1.1.2 Serial0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0
Routes—Discovered by Dynamic Routing
Protocol
[RTB]display ip routing-table
Routing Tables: Public
10.1.2.0/24
.1
OSPF
RIP
RTA
RTC
172.16.1.1/32
.2
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 9
Routing Tables: Public
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost NextHop Interface
10.1.1.0/30 Direct 0 0 10.1.1.2 Serial0/0/0
10.1.1.1/32 Direct 0 0 10.1.1.1 Serial0/0/0
……
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0
172.16.1.1/32 OSPF 10 1563 10.1.2.2 Serial0/0/1
192.168.1.0/24 RIP 100 1 10.1.1.1 Serial0/0/0
10.1.1.0/8
RTB
.1
192.168.2.1/24
.2
Static and Dynamic Route
Static route Dynamic route
The route configured
manually by network
The route that router gets
from other routers via
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 10
manually by network
administrator
When network topological
is changed, administrator
need to update static route
routing protocol
When network topological
is changed, routers will
update route information
automatically
Routing Protocol
Routing protocol is like language that used to exchange information between
routers, routers shares network status and network reachable information via
routing protocol.
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 11
routing protocol.
The communication peers must run same protocols that used to exchange
routing information.
Routing protocol define a set of rules about communication between the routers
Routing protocol maintains routing table and provide the best forwarding path.
Routing Protocols Classification——Working
Area
IGPs:
:
:
:RIP OSPF ISIS
EGPs:
:
:
:BGP
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 12
AS100 AS200
Routing Protocols Classification——Protocol
Algorithm
According to protocol algorithm
Distance-Vector routing protocol
− It includes RIP and BGP. Thereinto, BGP is also called
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 13
− It includes RIP and BGP. Thereinto, BGP is also called
Path-Vector routing protocol.
Link-State routing protocol
− It is also called the shortest path first routing protocol,
includes OSPF and IS-IS.
Routing Protocols Classification——Service
Application
According to service application, routing protocol can be divide
into the following types:
Unicast Routing Protocol: includes RIP、OSPF、BGP and IS-
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 14
Unicast Routing Protocol: includes RIP、OSPF、BGP and IS-
IS and so on.
Multicast Routing Protocol : includes DVMRP、PIM-SM、PIM-
DM and so on.
Routing Table
[Quidway] display ip routing-table
Routing Tables:
Destination/Mask proto pref Metric Nexthop Interface
0.0.0.0/0 Static 60 0 120.0.0.2 Serial0/0
8.0.0.0/8 RIP 100 3 120.0.0.2 Serial0/1
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 15
8.0.0.0/8 RIP 100 3 120.0.0.2 Serial0/1
9.0.0.0/8 OSPF 10 50 20.0.0.2 Ethernet0/0
9.1.0.0/16 RIP 100 4 120.0.0.2 Serial0/0
11.0.0.0/8 Static 60 0 120.0.0.2 Serial0/1
20.0.0.0/8 Direct 0 0 20.0.0.1 Ethernet0/2
20.0.0.1/32 Direct 0 0 127.0.0.1 LoopBack0
Preference of Routing Protocol
If there are multiple routes, the route with higher preference (the
smaller value, the higher preference) will be used to guide IP packet
to be transferred.
RIP OSPF
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 16
Routing table
10.0.0.0 R0
10.0.0.0 R1
10.0.0.0 R1
Preference of Routing Protocol
The default route preference on VRP platform is shown in the
following table
Routing protocol Preference
DIRECT 0
OSPF 10
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 17
OSPF 10
IS-IS 15
STATIC 60
RIP 100
OSPF ASE 150
IBGP 255
EBGP 255
Untrustworthy 255
Route Metric
There are two routes from router A to D :
Path1: A→B→C→D ,the total route metric is 9
Path2: A→E→F→C→D , the total route metric is 12
The router first selects the smaller metric route, and take it into the
routing table.
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 18
2
5 2
6
3
1
A
B D
F
C
E
routing table.
Equal Cost Multi-Path (ECMP)
Equal Cost Multi-Path
There are several routes towards the same destination with same route
metric, if the route preference is same, these routes are all added into the
routing table, IP packet will be transferred over these link by turns.
Two equal cost multi-path from A to D:
A→B→C→D,total metric 5+5+8=18
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 19
A→B→C→D,total metric 5+5+8=18
A→C→D, total metric 10+8=18
5
8
5
10
A
B
C D
Equal Cost Multi-Path
[RTB] display ip routing-table
Routing Tables: Public
Destinations : 13 Routes : 15
Destination/Mask Proto Pre Cost NextHop Interface
3.3.3.0/24 Direct 0 0 3.3.3.2 Serial2
3.3.3.1/32 Direct 0 0 3.3.3.1 Serial2
3.3.3.2/32 Direct 0 0 127.0.0.1 InLoopBack0
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 20
10.1.1.1/32 Static 60 0 1.1.1.1 Serial0
Static 60 0 2.2.2.1 Serial1
Static 60 0 3.3.3.1 Serial2
20.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0
Equal Cost Multi-Path
realizes load-balance
The Longest Match
Destination makes
logical AND operation
Lookup routing table
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 21
match
logical AND operation
with mask
Compare the destination
address in the routing table
Select the longest
matched route
The Example of Longest Match
[Quidway] display ip routing-table
Routing Tables:
Destination/Mask proto pref Metric Nexthop Interface
0.0.0.0/0 Static 60 0 120.0.0.2 Serial0/0
The data packet of destination 9.1.2.1 will match the route 9.1.0.0/16
HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 22
8.0.0.0/8 RIP 100 3 120.0.0.2 Serial0/1
9.0.0.0/8 OSPF 10 50 20.0.0.2 Ethernet0/0
9.1.0.0/16 RIP 100 4 120.0.0.2 Serial0/0
11.0.0.0/8 Static 60 0 120.0.0.2 Serial0/1
20.0.0.0/8 Direct 0 0 20.0.0.1 Ethernet0/2
20.0.0.1/32 Direct 0 0 127.0.0.1 LoopBack0
Thank You
www.huawei.com
T

Más contenido relacionado

Similar a 2) Routing Protocol Basis.pdf

Surviving The Stump The Chump Interview Questions
Surviving The Stump The Chump Interview QuestionsSurviving The Stump The Chump Interview Questions
Surviving The Stump The Chump Interview QuestionsDuane Bodle
 
Umts transmission features presentation v1[1].0
Umts transmission features presentation v1[1].0Umts transmission features presentation v1[1].0
Umts transmission features presentation v1[1].0Abi Putra Taufik
 
ETE405-lec9.ppt
ETE405-lec9.pptETE405-lec9.ppt
ETE405-lec9.pptmashiur
 
PLNOG 4: Emil Gągała - Deploying Next-Generation Multicast VPN
PLNOG 4: Emil Gągała - Deploying Next-Generation Multicast VPNPLNOG 4: Emil Gągała - Deploying Next-Generation Multicast VPN
PLNOG 4: Emil Gągała - Deploying Next-Generation Multicast VPNPROIDEA
 
Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol Support
Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol SupportCloud Foundry Summit 2015: Cloud Foundry and IoT Protocol Support
Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol SupportVMware Tanzu
 
RAO ABDUL KHALIQ-Probation Presentations-V1.0.pptx
RAO ABDUL KHALIQ-Probation Presentations-V1.0.pptxRAO ABDUL KHALIQ-Probation Presentations-V1.0.pptx
RAO ABDUL KHALIQ-Probation Presentations-V1.0.pptxMuhammadShahFaisal1
 
5G Transport Network Technology.pptx
5G Transport Network Technology.pptx5G Transport Network Technology.pptx
5G Transport Network Technology.pptxssuseraab93e
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksDani Royman Simanjuntak
 
IRJET- Design of Virtual Channel Less Five Port Network
IRJET- Design of Virtual Channel Less Five Port NetworkIRJET- Design of Virtual Channel Less Five Port Network
IRJET- Design of Virtual Channel Less Five Port NetworkIRJET Journal
 
Lte network planning_huawei_pdf
Lte network planning_huawei_pdfLte network planning_huawei_pdf
Lte network planning_huawei_pdfNumanKapsal
 
289271089-Training-for-LTE-Parameter-Planning-V3.pdf
289271089-Training-for-LTE-Parameter-Planning-V3.pdf289271089-Training-for-LTE-Parameter-Planning-V3.pdf
289271089-Training-for-LTE-Parameter-Planning-V3.pdfFrancescovanBeek1
 
Enabling Key Applications for Transport SDN - Optinet China 2020
Enabling Key Applications for Transport SDN - Optinet China 2020Enabling Key Applications for Transport SDN - Optinet China 2020
Enabling Key Applications for Transport SDN - Optinet China 2020Leah Wilkinson
 

Similar a 2) Routing Protocol Basis.pdf (20)

Chapter 08
Chapter 08Chapter 08
Chapter 08
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
 
Surviving The Stump The Chump Interview Questions
Surviving The Stump The Chump Interview QuestionsSurviving The Stump The Chump Interview Questions
Surviving The Stump The Chump Interview Questions
 
Umts transmission features presentation v1[1].0
Umts transmission features presentation v1[1].0Umts transmission features presentation v1[1].0
Umts transmission features presentation v1[1].0
 
ETE405-lec9.ppt
ETE405-lec9.pptETE405-lec9.ppt
ETE405-lec9.ppt
 
CCNA CHAPTER 6 BY jetarvind kumar madhukar
CCNA CHAPTER 6 BY jetarvind kumar madhukarCCNA CHAPTER 6 BY jetarvind kumar madhukar
CCNA CHAPTER 6 BY jetarvind kumar madhukar
 
PLNOG 4: Emil Gągała - Deploying Next-Generation Multicast VPN
PLNOG 4: Emil Gągała - Deploying Next-Generation Multicast VPNPLNOG 4: Emil Gągała - Deploying Next-Generation Multicast VPN
PLNOG 4: Emil Gągała - Deploying Next-Generation Multicast VPN
 
Wiki2010 Unit 4
Wiki2010 Unit 4Wiki2010 Unit 4
Wiki2010 Unit 4
 
Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol Support
Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol SupportCloud Foundry Summit 2015: Cloud Foundry and IoT Protocol Support
Cloud Foundry Summit 2015: Cloud Foundry and IoT Protocol Support
 
RAO ABDUL KHALIQ-Probation Presentations-V1.0.pptx
RAO ABDUL KHALIQ-Probation Presentations-V1.0.pptxRAO ABDUL KHALIQ-Probation Presentations-V1.0.pptx
RAO ABDUL KHALIQ-Probation Presentations-V1.0.pptx
 
5G Transport Network Technology.pptx
5G Transport Network Technology.pptx5G Transport Network Technology.pptx
5G Transport Network Technology.pptx
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
 
IRJET- Design of Virtual Channel Less Five Port Network
IRJET- Design of Virtual Channel Less Five Port NetworkIRJET- Design of Virtual Channel Less Five Port Network
IRJET- Design of Virtual Channel Less Five Port Network
 
Lte network planning_huawei_pdf
Lte network planning_huawei_pdfLte network planning_huawei_pdf
Lte network planning_huawei_pdf
 
289271089-Training-for-LTE-Parameter-Planning-V3.pdf
289271089-Training-for-LTE-Parameter-Planning-V3.pdf289271089-Training-for-LTE-Parameter-Planning-V3.pdf
289271089-Training-for-LTE-Parameter-Planning-V3.pdf
 
ENCOR_Chapter_6.pptx
ENCOR_Chapter_6.pptxENCOR_Chapter_6.pptx
ENCOR_Chapter_6.pptx
 
Lipa sipto overview
Lipa sipto overviewLipa sipto overview
Lipa sipto overview
 
Enabling Key Applications for Transport SDN - Optinet China 2020
Enabling Key Applications for Transport SDN - Optinet China 2020Enabling Key Applications for Transport SDN - Optinet China 2020
Enabling Key Applications for Transport SDN - Optinet China 2020
 
Networking
NetworkingNetworking
Networking
 
Bigbgp
BigbgpBigbgp
Bigbgp
 

Último

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

2) Routing Protocol Basis.pdf

  • 1. Routing Protocol Basis HUAWEI TECHNOLOGIES CO., LTD. All rights reserved www.huawei.com
  • 2. Route technology is the key point that internet is running continuously. Route is a very interesting and complex HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 2 Route is a very interesting and complex task, and eternal topic.
  • 3. Upon completion of this course, you will be able to : Know the concept of route HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 3 Know the classification of routing protocol Understand the routing process of data packet in the network Understand the structure of routing table
  • 4. What’s The Route? A route is the path information to guide IP packets to be transferred. Destination network N E0/1 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 4 Other networks E0/0 S0/0 E0/1 RTA RTB RTC
  • 5. The Key Function of routing Check the destination of the data packet Confirm the information resource HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 5 Discover possible route Select best route Validate and maintain route information
  • 6. Routing Table Establishment E0/0 E1/0 10.1.1.0 192.168.2.0 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 6 protocol destination interface DIRECT 10.1.1.0 E0/0 OSPF 192.168.2.0 E1/0
  • 7. Routes—Discovered by Data Link Layer [RTB]display ip routing-table Routing Tables: Public Destinations : 8 Routes : 8 Destination/Mask Proto Pre Cost NextHop Interface 10.1.1.0/30 RTA 10.1.2.0/24 .1 .1 .2 .2 RTB HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 7 Destination/Mask Proto Pre Cost NextHop Interface 10.1.1.0/30 Direct 0 0 10.1.1.1 Serial0/0/0 10.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0 …… 10.1.2.1/32 Direct 0 0 127.0.0.1 InLoopBack0 10.1.2.2/32 Direct 0 0 10.1.2.2 Serial0/0/1 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0 RTC
  • 8. Routes—Static Route [RTA] display ip routing-table Routing Tables: Public RTB 2.2.2.2/32 10.1.1.0/30 RTA .1 .2 Configure static route towards destination network 2.2.2.2/32 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 8 Routing Tables: Public Destinations : 8 Routes : 8 Destination/Mask Proto Pre Cost NextHop Interface 2.2.2.2/32 Static 60 0 10.1.2.2 Ethernet0 10.1.1.0/30 Direct 0 0 10.1.1.1 Serial0 10.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0 10.1.1.2/32 Direct 0 0 10.1.1.2 Serial0 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0
  • 9. Routes—Discovered by Dynamic Routing Protocol [RTB]display ip routing-table Routing Tables: Public 10.1.2.0/24 .1 OSPF RIP RTA RTC 172.16.1.1/32 .2 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 9 Routing Tables: Public Destinations : 10 Routes : 10 Destination/Mask Proto Pre Cost NextHop Interface 10.1.1.0/30 Direct 0 0 10.1.1.2 Serial0/0/0 10.1.1.1/32 Direct 0 0 10.1.1.1 Serial0/0/0 …… 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0 172.16.1.1/32 OSPF 10 1563 10.1.2.2 Serial0/0/1 192.168.1.0/24 RIP 100 1 10.1.1.1 Serial0/0/0 10.1.1.0/8 RTB .1 192.168.2.1/24 .2
  • 10. Static and Dynamic Route Static route Dynamic route The route configured manually by network The route that router gets from other routers via HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 10 manually by network administrator When network topological is changed, administrator need to update static route routing protocol When network topological is changed, routers will update route information automatically
  • 11. Routing Protocol Routing protocol is like language that used to exchange information between routers, routers shares network status and network reachable information via routing protocol. HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 11 routing protocol. The communication peers must run same protocols that used to exchange routing information. Routing protocol define a set of rules about communication between the routers Routing protocol maintains routing table and provide the best forwarding path.
  • 12. Routing Protocols Classification——Working Area IGPs: : : :RIP OSPF ISIS EGPs: : : :BGP HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 12 AS100 AS200
  • 13. Routing Protocols Classification——Protocol Algorithm According to protocol algorithm Distance-Vector routing protocol − It includes RIP and BGP. Thereinto, BGP is also called HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 13 − It includes RIP and BGP. Thereinto, BGP is also called Path-Vector routing protocol. Link-State routing protocol − It is also called the shortest path first routing protocol, includes OSPF and IS-IS.
  • 14. Routing Protocols Classification——Service Application According to service application, routing protocol can be divide into the following types: Unicast Routing Protocol: includes RIP、OSPF、BGP and IS- HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 14 Unicast Routing Protocol: includes RIP、OSPF、BGP and IS- IS and so on. Multicast Routing Protocol : includes DVMRP、PIM-SM、PIM- DM and so on.
  • 15. Routing Table [Quidway] display ip routing-table Routing Tables: Destination/Mask proto pref Metric Nexthop Interface 0.0.0.0/0 Static 60 0 120.0.0.2 Serial0/0 8.0.0.0/8 RIP 100 3 120.0.0.2 Serial0/1 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 15 8.0.0.0/8 RIP 100 3 120.0.0.2 Serial0/1 9.0.0.0/8 OSPF 10 50 20.0.0.2 Ethernet0/0 9.1.0.0/16 RIP 100 4 120.0.0.2 Serial0/0 11.0.0.0/8 Static 60 0 120.0.0.2 Serial0/1 20.0.0.0/8 Direct 0 0 20.0.0.1 Ethernet0/2 20.0.0.1/32 Direct 0 0 127.0.0.1 LoopBack0
  • 16. Preference of Routing Protocol If there are multiple routes, the route with higher preference (the smaller value, the higher preference) will be used to guide IP packet to be transferred. RIP OSPF HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 16 Routing table 10.0.0.0 R0 10.0.0.0 R1 10.0.0.0 R1
  • 17. Preference of Routing Protocol The default route preference on VRP platform is shown in the following table Routing protocol Preference DIRECT 0 OSPF 10 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 17 OSPF 10 IS-IS 15 STATIC 60 RIP 100 OSPF ASE 150 IBGP 255 EBGP 255 Untrustworthy 255
  • 18. Route Metric There are two routes from router A to D : Path1: A→B→C→D ,the total route metric is 9 Path2: A→E→F→C→D , the total route metric is 12 The router first selects the smaller metric route, and take it into the routing table. HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 18 2 5 2 6 3 1 A B D F C E routing table.
  • 19. Equal Cost Multi-Path (ECMP) Equal Cost Multi-Path There are several routes towards the same destination with same route metric, if the route preference is same, these routes are all added into the routing table, IP packet will be transferred over these link by turns. Two equal cost multi-path from A to D: A→B→C→D,total metric 5+5+8=18 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 19 A→B→C→D,total metric 5+5+8=18 A→C→D, total metric 10+8=18 5 8 5 10 A B C D
  • 20. Equal Cost Multi-Path [RTB] display ip routing-table Routing Tables: Public Destinations : 13 Routes : 15 Destination/Mask Proto Pre Cost NextHop Interface 3.3.3.0/24 Direct 0 0 3.3.3.2 Serial2 3.3.3.1/32 Direct 0 0 3.3.3.1 Serial2 3.3.3.2/32 Direct 0 0 127.0.0.1 InLoopBack0 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 20 10.1.1.1/32 Static 60 0 1.1.1.1 Serial0 Static 60 0 2.2.2.1 Serial1 Static 60 0 3.3.3.1 Serial2 20.1.1.1/32 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0 Equal Cost Multi-Path realizes load-balance
  • 21. The Longest Match Destination makes logical AND operation Lookup routing table HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 21 match logical AND operation with mask Compare the destination address in the routing table Select the longest matched route
  • 22. The Example of Longest Match [Quidway] display ip routing-table Routing Tables: Destination/Mask proto pref Metric Nexthop Interface 0.0.0.0/0 Static 60 0 120.0.0.2 Serial0/0 The data packet of destination 9.1.2.1 will match the route 9.1.0.0/16 HUAWEI TECHNOLOGIES CO., LTD.. All rights reserved Page 22 8.0.0.0/8 RIP 100 3 120.0.0.2 Serial0/1 9.0.0.0/8 OSPF 10 50 20.0.0.2 Ethernet0/0 9.1.0.0/16 RIP 100 4 120.0.0.2 Serial0/0 11.0.0.0/8 Static 60 0 120.0.0.2 Serial0/1 20.0.0.0/8 Direct 0 0 20.0.0.1 Ethernet0/2 20.0.0.1/32 Direct 0 0 127.0.0.1 LoopBack0