SlideShare a Scribd company logo
1 of 21
Download to read offline
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

More Related Content

What's hot

Лекц 8
Лекц 8Лекц 8
Лекц 8Muuluu
 
Network Attack Counter
Network Attack CounterNetwork Attack Counter
Network Attack CounterKHNOG
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data planeNetProtocol Xpert
 
Load balancing with Linux
Load balancing with LinuxLoad balancing with Linux
Load balancing with LinuxMarian Marinov
 
Multihomed Linux router
Multihomed Linux routerMultihomed Linux router
Multihomed Linux routerMarian Marinov
 
FEX -PPT By NETWORKERS HOME
FEX -PPT By NETWORKERS HOMEFEX -PPT By NETWORKERS HOME
FEX -PPT By NETWORKERS HOMEnetworkershome
 
CCNA ppt Day 9
CCNA ppt Day 9CCNA ppt Day 9
CCNA ppt Day 9VISHNU N
 
Switch configuration
Switch configurationSwitch configuration
Switch configurationMuuluu
 
Migrating from OSPF to IS-IS by Philip Smith
Migrating from OSPF to IS-IS by Philip SmithMigrating from OSPF to IS-IS by Philip Smith
Migrating from OSPF to IS-IS by Philip SmithMyNOG
 
Get vpn multicast for CCIE Security
Get vpn multicast for CCIE SecurityGet vpn multicast for CCIE Security
Get vpn multicast for CCIE SecurityDhruv Sharma
 
TCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and SwitchesTCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and SwitchesNetProtocol Xpert
 
Routed Provider Networks on OpenStack
Routed Provider Networks on OpenStack Routed Provider Networks on OpenStack
Routed Provider Networks on OpenStack Romana Project
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
Setting up VPN between F5 LTM & ASA
Setting up VPN between F5 LTM & ASASetting up VPN between F5 LTM & ASA
Setting up VPN between F5 LTM & ASADhruv Sharma
 
CCNA ppt Day 8
CCNA ppt Day 8CCNA ppt Day 8
CCNA ppt Day 8VISHNU N
 
OSPF point-to-Multipoint non-broadcast over Frame-Relay
OSPF point-to-Multipoint non-broadcast over Frame-RelayOSPF point-to-Multipoint non-broadcast over Frame-Relay
OSPF point-to-Multipoint non-broadcast over Frame-RelayNetProtocol Xpert
 
MTU (maximum transmission unit) & MRU (maximum receive unit)
MTU (maximum transmission unit) & MRU (maximum receive unit)MTU (maximum transmission unit) & MRU (maximum receive unit)
MTU (maximum transmission unit) & MRU (maximum receive unit)NetProtocol Xpert
 
Routers getting deeper into it
Routers getting deeper into itRouters getting deeper into it
Routers getting deeper into itMohak Kaushik
 

What's hot (20)

CCNA part 4 routers
CCNA part 4 routersCCNA part 4 routers
CCNA part 4 routers
 
5242 bgp-ospf-redis
5242 bgp-ospf-redis5242 bgp-ospf-redis
5242 bgp-ospf-redis
 
Лекц 8
Лекц 8Лекц 8
Лекц 8
 
Network Attack Counter
Network Attack CounterNetwork Attack Counter
Network Attack Counter
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data plane
 
Load balancing with Linux
Load balancing with LinuxLoad balancing with Linux
Load balancing with Linux
 
Multihomed Linux router
Multihomed Linux routerMultihomed Linux router
Multihomed Linux router
 
FEX -PPT By NETWORKERS HOME
FEX -PPT By NETWORKERS HOMEFEX -PPT By NETWORKERS HOME
FEX -PPT By NETWORKERS HOME
 
CCNA ppt Day 9
CCNA ppt Day 9CCNA ppt Day 9
CCNA ppt Day 9
 
Switch configuration
Switch configurationSwitch configuration
Switch configuration
 
Migrating from OSPF to IS-IS by Philip Smith
Migrating from OSPF to IS-IS by Philip SmithMigrating from OSPF to IS-IS by Philip Smith
Migrating from OSPF to IS-IS by Philip Smith
 
Get vpn multicast for CCIE Security
Get vpn multicast for CCIE SecurityGet vpn multicast for CCIE Security
Get vpn multicast for CCIE Security
 
TCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and SwitchesTCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and Switches
 
Routed Provider Networks on OpenStack
Routed Provider Networks on OpenStack Routed Provider Networks on OpenStack
Routed Provider Networks on OpenStack
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Setting up VPN between F5 LTM & ASA
Setting up VPN between F5 LTM & ASASetting up VPN between F5 LTM & ASA
Setting up VPN between F5 LTM & ASA
 
CCNA ppt Day 8
CCNA ppt Day 8CCNA ppt Day 8
CCNA ppt Day 8
 
OSPF point-to-Multipoint non-broadcast over Frame-Relay
OSPF point-to-Multipoint non-broadcast over Frame-RelayOSPF point-to-Multipoint non-broadcast over Frame-Relay
OSPF point-to-Multipoint non-broadcast over Frame-Relay
 
MTU (maximum transmission unit) & MRU (maximum receive unit)
MTU (maximum transmission unit) & MRU (maximum receive unit)MTU (maximum transmission unit) & MRU (maximum receive unit)
MTU (maximum transmission unit) & MRU (maximum receive unit)
 
Routers getting deeper into it
Routers getting deeper into itRouters getting deeper into it
Routers getting deeper into it
 

Similar to Tag your Routes Before Redistribution

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
 
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
 
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
 

Similar to Tag your Routes Before Redistribution (20)

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
 
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
 
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme NetworksRIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
 
corporate network
corporate networkcorporate network
corporate network
 

More from 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
 

More from 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
 

Recently uploaded

Cybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesCybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesLumiverse Solutions Pvt Ltd
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxMario
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119APNIC
 
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...vmzoxnx5
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxAndrieCagasanAkio
 
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)ICT Watch - Indonesia
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxmibuzondetrabajo
 
How to login to Router net ORBI LOGIN...
How to login to Router net ORBI LOGIN...How to login to Router net ORBI LOGIN...
How to login to Router net ORBI LOGIN...rrouter90
 
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...ICT Watch - Indonesia
 

Recently uploaded (9)

Cybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best PracticesCybersecurity Threats and Cybersecurity Best Practices
Cybersecurity Threats and Cybersecurity Best Practices
 
Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptx
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptx
 
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptx
 
How to login to Router net ORBI LOGIN...
How to login to Router net ORBI LOGIN...How to login to Router net ORBI LOGIN...
How to login to Router net ORBI LOGIN...
 
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
 

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