SlideShare una empresa de Scribd logo
1 de 21
Descargar para leer sin conexión
Tag Your Routes Before Redistribution
Presented by
Md. Abdullah Al Naser
Sr. Systems Specialist
MetroNet Bangladesh Limited
Founder, mn-LAB
Presented by – Md. Abdullah Al Naser Page # 2
Before Starting…..
● Experts say that, don’t REDISTRIBUTE IGP routes to the
upstreams while you configure BGP – That’s True.
● But many engineers still prefer this REDISTRIBUTION for their
internal networks and also for their clients’ internal networks in
complex routing scenario – Design Requirements.
Presented by – Md. Abdullah Al Naser Page # 3
What is Redistribution?
● It’s possible that we have multiple routing protocols in our network
and we’ll need some method to exchange routing information between
the different protocols. This method is called redistribution.
● Redistribution between routing protocols (RIP, OSPF, EIGRP, BGP).
● Static routes can be redistributed into a routing protocol.
● Directly connected routes can also be redistributed into a routing
protocol.
Presented by – Md. Abdullah Al Naser Page # 4
What is Redistribution?
● Redistribution is not done automatically.
● Redistribution happens outbound.
● When we redistribute from one routing protocol into another we
have to use a seed metric.
OSPF: Cost
EIGRP: K-Values (bandwidth, delay, load and reliability)
RIP: Hop count
Presented by – Md. Abdullah Al Naser Page # 5
Configuring Redistribution – Just an example
R1(config)#router ospf 1
R1(config-router)#network 1.1.1.0 0.0.0.255 area 0
R1(config-router)#network 192.168.12.0 0.0.0.255 area 0
R2(config)#router ospf 1
R2(config-router)#network 192.168.12.0 0.0.0.255 area 0
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#no auto-summary
R2(config-router)#network 192.168.23.0
R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#network 3.3.3.0
R3(config-router)#network 192.168.23.0
Presented by – Md. Abdullah Al Naser Page # 6
Configuring Redistribution – Just an example
R2(config)#router rip
R2(config-router)#redistribute ospf 1 metric 5
R2(config)#router ospf 1
R2(config-router)#redistribute rip subnets
R3#show ip route rip
R 192.168.12.0/24 [120/5] via 192.168.23.2, 00:00:00, FastEthernet0/0
R 1.1.1.1 [120/5] via 192.168.23.2, 00:00:00, FastEthernet0/0
R1#show ip route ospf
O E2 3.3.3.0 [110/20] via 192.168.12.2, 00:00:21, FastEthernet0/0
O E2 192.168.23.0/24 [110/20] via 192.168.12.2, 00:00:21, FastEthernet0/0
Presented by – Md. Abdullah Al Naser Page # 7
Multipoint Redistribution
● So far so good.
● But the problem will arise during multipoint redistribution.
● It can mislead you to a sub optimal routing and a routing loop.
Presented by – Md. Abdullah Al Naser Page # 8
Multipoint Redistribution
Let’s go into
the deep
R2#show ip route rip
R 1.1.1.0 [120/6] via 192.168.12.1, 00:00:09, FastEthernet1/0
Presented by – Md. Abdullah Al Naser Page # 9
Multipoint Redistribution
Let’s redistribute RIP routes into OSPF
R3 & R4#
(config)#router ospf 1
(config-router)#redistribute rip subnets
Presented by – Md. Abdullah Al Naser Page # 10
Multipoint Redistribution
Let’s check R4’s routing table
R4#show ip route ospf
O E2 1.1.1.0 [110/20] via 192.168.34.3, 00:01:14, FastEthernet0/1
Presented by – Md. Abdullah Al Naser Page # 11
Sub Optimal Routing
Sub optimal routing refers to inefficient routing – not good
Presented by – Md. Abdullah Al Naser Page # 12
Multipoint Redistribution (cont..)
Let’s redistribute OSPF routes into RIP
R3 & R4#
(config)#router rip
(config-router)#redistribute ospf 1 metric 1
Let’s check R2’s routing table again
R2#show ip route rip
R 1.1.1.0 [120/1] via 192.168.24.4, 00:00:05, FastEthernet0/1
R2#traceroute 1.1.1.1
1 192.168.24.4 1388 msec 620 msec 744 msec
2 192.168.34.3 2552 msec 2308 msec 1904 msec
3 192.168.23.2 56 msec 48 msec 48 msec
4 192.168.24.4 76 msec 76 msec 72 msec
5 192.168.34.3 112 msec 124 msec 100 msec
6 192.168.23.2 96 msec 100 msec 92 msec
7 192.168.24.4 124 msec 140 msec 124 msec
8 192.168.34.3 156 msec 168 msec 176 msec
9 192.168.23.2 152 msec 136 msec 156 msec
10 192.168.24.4 176 msec 184 msec 172 msec
Presented by – Md. Abdullah Al Naser Page # 13
Routing Loop
Let’s check R2’s routing table again
R2#show ip route rip
R 1.1.1.0 [120/1] via 192.168.24.4, 00:00:05, FastEthernet0/1
Presented by – Md. Abdullah Al Naser Page # 14
Routing Loop
Be careful
You should never redistribute routes like this:
Routing Protocol X ----> Y ----> X
Presented by – Md. Abdullah Al Naser Page # 15
Important Redistribution Rules
● Redistribution Filtering – not scalable
● Route Filtering – not scalable at all
● Route Tagging – the best solution
Presented by – Md. Abdullah Al Naser Page # 16
Looking for Solution
R3 & R4#
(config)#route-map TAGGING deny 10
(config-route-map)#match tag 1234
(config-route-map)#exit
(config)#route-map TAGGING permit 20
(config-route-map)#set tag 1234
(config)#router rip
(config-router)#redistribute ospf 1 metric 1 route-map TAGGING
(config-router)#exit
(config)#router ospf 1
(config-router)#redistribute rip subnets route-map TAGGING
Presented by – Md. Abdullah Al Naser Page # 17
Configuring Route Tagging
Let’s check R2’s routing table again
R2#show ip route rip
R 1.1.1.0 [120/6] via 192.168.12.1, 00:00:01, FastEthernet1/0
It looks good now…..
But sub optimal routing is still there….
Presented by – Md. Abdullah Al Naser Page # 18
Routing Loop is now Removed
Be careful again
Always prefer your “internal”
routes over “external” routes.
Whenever your internal route
has a higher AD than the
external route, you have to
be careful!
Presented by – Md. Abdullah Al Naser Page # 19
Another Important Redistribution Rules
● Decrease the AD
of the internal route(s)
or
● Increase the AD
of the external route(s)
Presented by – Md. Abdullah Al Naser Page # 20
Possible Solution
Thank you very much

Más contenido relacionado

La actualidad más candente

Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2AIRTEL
 
Routing Information Protocol (RIP)
Routing Information Protocol (RIP)Routing Information Protocol (RIP)
Routing Information Protocol (RIP)Tharindu Sankalpa
 
BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)NetProtocol Xpert
 
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfCCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfpoojaswami31
 
3G Drive Test Procedure_ By Md Joynal Abaden
3G Drive Test Procedure_ By Md Joynal Abaden3G Drive Test Procedure_ By Md Joynal Abaden
3G Drive Test Procedure_ By Md Joynal AbadenMd Joynal Abaden
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bullsSwapnil Kapate
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGPAPNIC
 
Отказоустойчивость с использованием Cisco ASA Clustering
Отказоустойчивость с использованием Cisco ASA ClusteringОтказоустойчивость с использованием Cisco ASA Clustering
Отказоустойчивость с использованием Cisco ASA ClusteringCisco Russia
 
Juniper mpls best practice part 2
Juniper mpls best practice   part 2Juniper mpls best practice   part 2
Juniper mpls best practice part 2Febrian ‎
 
Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0Saurav Pandey
 
Etherchannel
EtherchannelEtherchannel
EtherchannelRaj sekar
 
Mikrotik Hotspot With Queue Tree BW Management
Mikrotik Hotspot With Queue Tree BW ManagementMikrotik Hotspot With Queue Tree BW Management
Mikrotik Hotspot With Queue Tree BW Managementgopartheredbuff
 
An intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocolAn intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocolIftach Ian Amit
 

La actualidad más candente (20)

Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2
 
Vpc notes
Vpc notesVpc notes
Vpc notes
 
HSRP ccna
HSRP ccna HSRP ccna
HSRP ccna
 
Fhrp notes
Fhrp notesFhrp notes
Fhrp notes
 
Routing Information Protocol (RIP)
Routing Information Protocol (RIP)Routing Information Protocol (RIP)
Routing Information Protocol (RIP)
 
BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)
 
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfCCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
 
3G Drive Test Procedure_ By Md Joynal Abaden
3G Drive Test Procedure_ By Md Joynal Abaden3G Drive Test Procedure_ By Md Joynal Abaden
3G Drive Test Procedure_ By Md Joynal Abaden
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bulls
 
Useful cli commands v1
Useful cli commands v1Useful cli commands v1
Useful cli commands v1
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGP
 
Bgp (1)
Bgp (1)Bgp (1)
Bgp (1)
 
Отказоустойчивость с использованием Cisco ASA Clustering
Отказоустойчивость с использованием Cisco ASA ClusteringОтказоустойчивость с использованием Cisco ASA Clustering
Отказоустойчивость с использованием Cisco ASA Clustering
 
EMEA Airheads- ArubaOS - Rogue AP troubleshooting
EMEA Airheads- ArubaOS - Rogue AP troubleshootingEMEA Airheads- ArubaOS - Rogue AP troubleshooting
EMEA Airheads- ArubaOS - Rogue AP troubleshooting
 
Juniper mpls best practice part 2
Juniper mpls best practice   part 2Juniper mpls best practice   part 2
Juniper mpls best practice part 2
 
Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0
 
Etherchannel
EtherchannelEtherchannel
Etherchannel
 
Mikrotik Hotspot With Queue Tree BW Management
Mikrotik Hotspot With Queue Tree BW ManagementMikrotik Hotspot With Queue Tree BW Management
Mikrotik Hotspot With Queue Tree BW Management
 
An intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocolAn intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocol
 
First hop redundancy
First hop redundancyFirst hop redundancy
First hop redundancy
 

Similar a Tag your Routes Before Redistribution

Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified EngAlp isik
 
IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?Olivier Bonaventure
 
ccna project on topic company infrastructure
ccna project on topic company infrastructureccna project on topic company infrastructure
ccna project on topic company infrastructurePrince Gautam
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]
Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]
Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]APNIC
 
Networking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP ConfigurationNetworking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP Configuration3Anetwork com
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)IT Tech
 
Mikrotik link redundancy solution
Mikrotik link redundancy solution Mikrotik link redundancy solution
Mikrotik link redundancy solution S M Tipu
 
BGP vs OSPF on Mikrotik
BGP vs OSPF on MikrotikBGP vs OSPF on Mikrotik
BGP vs OSPF on MikrotikGLC Networks
 
Ccn pv7 route_lab2-1_eigrp-load-balancing_student
Ccn pv7 route_lab2-1_eigrp-load-balancing_studentCcn pv7 route_lab2-1_eigrp-load-balancing_student
Ccn pv7 route_lab2-1_eigrp-load-balancing_studentAngel Clavel
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2Kris Mofu
 
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sampleVoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sampleFaisal Khan
 
Policy Based Routing with Indirect BGP - Part 1
Policy Based Routing with Indirect BGP - Part 1Policy Based Routing with Indirect BGP - Part 1
Policy Based Routing with Indirect BGP - Part 1GLC Networks
 
Introduction 140318015826-phpapp01
Introduction 140318015826-phpapp01Introduction 140318015826-phpapp01
Introduction 140318015826-phpapp01amit singh
 

Similar a Tag your Routes Before Redistribution (20)

Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
 
IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?
 
ccna project on topic company infrastructure
ccna project on topic company infrastructureccna project on topic company infrastructure
ccna project on topic company infrastructure
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]
Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]
Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]
 
Networking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP ConfigurationNetworking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP Configuration
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
 
How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)How to Configure Routing Information Protocol (RIP)
How to Configure Routing Information Protocol (RIP)
 
Mikrotik link redundancy solution
Mikrotik link redundancy solution Mikrotik link redundancy solution
Mikrotik link redundancy solution
 
CCNA part 5 routing
CCNA part 5 routingCCNA part 5 routing
CCNA part 5 routing
 
BGP vs OSPF on Mikrotik
BGP vs OSPF on MikrotikBGP vs OSPF on Mikrotik
BGP vs OSPF on Mikrotik
 
Fast Convergence Techniques
Fast Convergence TechniquesFast Convergence Techniques
Fast Convergence Techniques
 
Ccn pv7 route_lab2-1_eigrp-load-balancing_student
Ccn pv7 route_lab2-1_eigrp-load-balancing_studentCcn pv7 route_lab2-1_eigrp-load-balancing_student
Ccn pv7 route_lab2-1_eigrp-load-balancing_student
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
 
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sampleVoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
 
Ducat
DucatDucat
Ducat
 
Policy Based Routing with Indirect BGP - Part 1
Policy Based Routing with Indirect BGP - Part 1Policy Based Routing with Indirect BGP - Part 1
Policy Based Routing with Indirect BGP - Part 1
 
Introduction 140318015826-phpapp01
Introduction 140318015826-phpapp01Introduction 140318015826-phpapp01
Introduction 140318015826-phpapp01
 

Más de Bangladesh Network Operators Group

Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and CephAccelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and CephBangladesh Network Operators Group
 
Contents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceContents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceBangladesh Network Operators Group
 
Re-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaRe-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaBangladesh Network Operators Group
 

Más de Bangladesh Network Operators Group (20)

Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and CephAccelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
 
Recent IRR changes by Yoshinobu Matsuzaki, IIJ
Recent IRR changes by Yoshinobu Matsuzaki, IIJRecent IRR changes by Yoshinobu Matsuzaki, IIJ
Recent IRR changes by Yoshinobu Matsuzaki, IIJ
 
Fact Sheets : Network Status in Bangladesh
Fact Sheets : Network Status in BangladeshFact Sheets : Network Status in Bangladesh
Fact Sheets : Network Status in Bangladesh
 
AI Driven Wi-Fi for the Bottom of the Pyramid
AI Driven Wi-Fi for the Bottom of the PyramidAI Driven Wi-Fi for the Bottom of the Pyramid
AI Driven Wi-Fi for the Bottom of the Pyramid
 
IPv6 Security Overview by QS Tahmeed, APNIC RCT
IPv6 Security Overview by QS Tahmeed, APNIC RCTIPv6 Security Overview by QS Tahmeed, APNIC RCT
IPv6 Security Overview by QS Tahmeed, APNIC RCT
 
Network eWaste : Community role to manage end of life Product
Network eWaste : Community role to manage end of life ProductNetwork eWaste : Community role to manage end of life Product
Network eWaste : Community role to manage end of life Product
 
A plenarily integrated SIEM solution and it’s Deployment
A plenarily integrated SIEM solution and it’s DeploymentA plenarily integrated SIEM solution and it’s Deployment
A plenarily integrated SIEM solution and it’s Deployment
 
IPv6 Deployment in South Asia 2022
IPv6 Deployment in South Asia  2022IPv6 Deployment in South Asia  2022
IPv6 Deployment in South Asia 2022
 
Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)
 
RPKI Deployment Status in Bangladesh
RPKI Deployment Status in BangladeshRPKI Deployment Status in Bangladesh
RPKI Deployment Status in Bangladesh
 
An Overview about open UDP Services
An Overview about open UDP ServicesAn Overview about open UDP Services
An Overview about open UDP Services
 
12 Years in DNS Security As a Defender
12 Years in DNS Security As a Defender12 Years in DNS Security As a Defender
12 Years in DNS Security As a Defender
 
Contents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceContents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User Experience
 
BdNOG-20220625-MT-v6.0.pptx
BdNOG-20220625-MT-v6.0.pptxBdNOG-20220625-MT-v6.0.pptx
BdNOG-20220625-MT-v6.0.pptx
 
Route Leak Prevension with BGP Community
Route Leak Prevension with BGP CommunityRoute Leak Prevension with BGP Community
Route Leak Prevension with BGP Community
 
Tale of a New Bangladeshi NIX
Tale of a New Bangladeshi NIXTale of a New Bangladeshi NIX
Tale of a New Bangladeshi NIX
 
MANRS for Network Operators
MANRS for Network OperatorsMANRS for Network Operators
MANRS for Network Operators
 
Re-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaRe-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with Grafana
 
RPKI ROA updates
RPKI ROA updatesRPKI ROA updates
RPKI ROA updates
 
Blockchain Demystified
Blockchain DemystifiedBlockchain Demystified
Blockchain Demystified
 

Último

20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdfMatthew Sinclair
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样ayvbos
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptxAsmae Rabhi
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsMonica Sydney
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsMonica Sydney
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdfMatthew Sinclair
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...kajalverma014
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftAanSulistiyo
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.krishnachandrapal52
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样ayvbos
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"growthgrids
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoilmeghakumariji156
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdfMatthew Sinclair
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfJOHNBEBONYAP1
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查ydyuyu
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdfMatthew Sinclair
 

Último (20)

20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 

Tag your Routes Before Redistribution

  • 1. Tag Your Routes Before Redistribution Presented by Md. Abdullah Al Naser Sr. Systems Specialist MetroNet Bangladesh Limited Founder, mn-LAB
  • 2. Presented by – Md. Abdullah Al Naser Page # 2 Before Starting….. ● Experts say that, don’t REDISTRIBUTE IGP routes to the upstreams while you configure BGP – That’s True. ● But many engineers still prefer this REDISTRIBUTION for their internal networks and also for their clients’ internal networks in complex routing scenario – Design Requirements.
  • 3. Presented by – Md. Abdullah Al Naser Page # 3 What is Redistribution? ● It’s possible that we have multiple routing protocols in our network and we’ll need some method to exchange routing information between the different protocols. This method is called redistribution. ● Redistribution between routing protocols (RIP, OSPF, EIGRP, BGP). ● Static routes can be redistributed into a routing protocol. ● Directly connected routes can also be redistributed into a routing protocol.
  • 4. Presented by – Md. Abdullah Al Naser Page # 4 What is Redistribution? ● Redistribution is not done automatically. ● Redistribution happens outbound. ● When we redistribute from one routing protocol into another we have to use a seed metric. OSPF: Cost EIGRP: K-Values (bandwidth, delay, load and reliability) RIP: Hop count
  • 5. Presented by – Md. Abdullah Al Naser Page # 5 Configuring Redistribution – Just an example R1(config)#router ospf 1 R1(config-router)#network 1.1.1.0 0.0.0.255 area 0 R1(config-router)#network 192.168.12.0 0.0.0.255 area 0 R2(config)#router ospf 1 R2(config-router)#network 192.168.12.0 0.0.0.255 area 0 R2(config)#router rip R2(config-router)#version 2 R2(config-router)#no auto-summary R2(config-router)#network 192.168.23.0 R3(config)#router rip R3(config-router)#version 2 R3(config-router)#network 3.3.3.0 R3(config-router)#network 192.168.23.0
  • 6. Presented by – Md. Abdullah Al Naser Page # 6 Configuring Redistribution – Just an example R2(config)#router rip R2(config-router)#redistribute ospf 1 metric 5 R2(config)#router ospf 1 R2(config-router)#redistribute rip subnets R3#show ip route rip R 192.168.12.0/24 [120/5] via 192.168.23.2, 00:00:00, FastEthernet0/0 R 1.1.1.1 [120/5] via 192.168.23.2, 00:00:00, FastEthernet0/0 R1#show ip route ospf O E2 3.3.3.0 [110/20] via 192.168.12.2, 00:00:21, FastEthernet0/0 O E2 192.168.23.0/24 [110/20] via 192.168.12.2, 00:00:21, FastEthernet0/0
  • 7. Presented by – Md. Abdullah Al Naser Page # 7 Multipoint Redistribution ● So far so good. ● But the problem will arise during multipoint redistribution. ● It can mislead you to a sub optimal routing and a routing loop.
  • 8. Presented by – Md. Abdullah Al Naser Page # 8 Multipoint Redistribution Let’s go into the deep R2#show ip route rip R 1.1.1.0 [120/6] via 192.168.12.1, 00:00:09, FastEthernet1/0
  • 9. Presented by – Md. Abdullah Al Naser Page # 9 Multipoint Redistribution Let’s redistribute RIP routes into OSPF R3 & R4# (config)#router ospf 1 (config-router)#redistribute rip subnets
  • 10. Presented by – Md. Abdullah Al Naser Page # 10 Multipoint Redistribution Let’s check R4’s routing table R4#show ip route ospf O E2 1.1.1.0 [110/20] via 192.168.34.3, 00:01:14, FastEthernet0/1
  • 11. Presented by – Md. Abdullah Al Naser Page # 11 Sub Optimal Routing Sub optimal routing refers to inefficient routing – not good
  • 12. Presented by – Md. Abdullah Al Naser Page # 12 Multipoint Redistribution (cont..) Let’s redistribute OSPF routes into RIP R3 & R4# (config)#router rip (config-router)#redistribute ospf 1 metric 1
  • 13. Let’s check R2’s routing table again R2#show ip route rip R 1.1.1.0 [120/1] via 192.168.24.4, 00:00:05, FastEthernet0/1 R2#traceroute 1.1.1.1 1 192.168.24.4 1388 msec 620 msec 744 msec 2 192.168.34.3 2552 msec 2308 msec 1904 msec 3 192.168.23.2 56 msec 48 msec 48 msec 4 192.168.24.4 76 msec 76 msec 72 msec 5 192.168.34.3 112 msec 124 msec 100 msec 6 192.168.23.2 96 msec 100 msec 92 msec 7 192.168.24.4 124 msec 140 msec 124 msec 8 192.168.34.3 156 msec 168 msec 176 msec 9 192.168.23.2 152 msec 136 msec 156 msec 10 192.168.24.4 176 msec 184 msec 172 msec Presented by – Md. Abdullah Al Naser Page # 13 Routing Loop
  • 14. Let’s check R2’s routing table again R2#show ip route rip R 1.1.1.0 [120/1] via 192.168.24.4, 00:00:05, FastEthernet0/1 Presented by – Md. Abdullah Al Naser Page # 14 Routing Loop
  • 15. Be careful You should never redistribute routes like this: Routing Protocol X ----> Y ----> X Presented by – Md. Abdullah Al Naser Page # 15 Important Redistribution Rules
  • 16. ● Redistribution Filtering – not scalable ● Route Filtering – not scalable at all ● Route Tagging – the best solution Presented by – Md. Abdullah Al Naser Page # 16 Looking for Solution
  • 17. R3 & R4# (config)#route-map TAGGING deny 10 (config-route-map)#match tag 1234 (config-route-map)#exit (config)#route-map TAGGING permit 20 (config-route-map)#set tag 1234 (config)#router rip (config-router)#redistribute ospf 1 metric 1 route-map TAGGING (config-router)#exit (config)#router ospf 1 (config-router)#redistribute rip subnets route-map TAGGING Presented by – Md. Abdullah Al Naser Page # 17 Configuring Route Tagging
  • 18. Let’s check R2’s routing table again R2#show ip route rip R 1.1.1.0 [120/6] via 192.168.12.1, 00:00:01, FastEthernet1/0 It looks good now….. But sub optimal routing is still there…. Presented by – Md. Abdullah Al Naser Page # 18 Routing Loop is now Removed
  • 19. Be careful again Always prefer your “internal” routes over “external” routes. Whenever your internal route has a higher AD than the external route, you have to be careful! Presented by – Md. Abdullah Al Naser Page # 19 Another Important Redistribution Rules
  • 20. ● Decrease the AD of the internal route(s) or ● Increase the AD of the external route(s) Presented by – Md. Abdullah Al Naser Page # 20 Possible Solution