SlideShare une entreprise Scribd logo
1  sur  14
Redistribution into OSPF
www.netprotocolxpert.in
There are similarities and differences when compared to EIGRP redistribution.
OSPF does have default metrics but in EIGRP must set them. Both of them mark routes
as being External. When make redistribution into OSPF external routes can be of two
types: E1 and E2.
OSPF uses LSAs to represent external routes and apply a different logic to calculate
routes to external subnets..
we have two types of external routes: E1 and E2. Those marked E2 will be
redistributed with Default Metric unchanged an will ignore internal OSPF cost (except
when there is a need to break ties for best route). For those marked with E1, OSPF
will take Default Metric and will add to it internal cost to reach ASBR.
Default Metric for routes taken from BGP is 1, for routes taken from another OSPF
process will use the source route’s metric, and for all other sources will use default
metric equal to 20.
In the topology we have two EIGPR domains and one OSPF domain. we will make
redistribution of routes from EIGRP domain 1 as E1 routes and from EIGRP domain 2
as E2.
To each EIGRP domain we attached two loopback interfaces, so after we configure
redistribution on R2 we should have external routes to them.
R1
R1(config)#interface FastEthernet0/0
R1(config-if)#description to R3
R1(config-if)#ip address 172.16.0.1 255.255.255.0
R1(config-if)#no shutdown
R1(config)#interface FastEthernet0/1
R1(config-if)#description to R4
R1(config-if)#ip address 172.16.30.1 255.255.255.0
R1(config-if)#no shutdown
R1(config)#interface FastEthernet1/0
R1(config-if)#description to R2
R1(config-if)#ip address 10.0.0.1 255.255.255.0
R1(config-if)#no shutdown
R1(config)#router eigrp 1
R1(config-router)#network 172.16.0.0 0.0.0.255
R1(config-router)#no auto-summary
R1(config)#router eigrp 2
R1(config-router)#network 172.16.30.0 0.0.0.255
R1(config-router)#no auto-summary
R1(config)#router ospf 1
R1(config-router)#network 10.0.0.0 0.0.0.255 area 0
R2
R2(config)#interface FastEthernet0/0
R2(config-if)#description to R1
R2(config-if)#ip address 10.0.0.2 255.255.255.0
R2(config-if)#no shutdown
R2(config)#router ospf 1
R2(config-router)#network 10.0.0.0 0.0.0.255 area 0
R3 R3(config)#interface Loopback0
R3(config-if)#ip address 192.168.0.1 255.255.255.0
R3(config)#interface Loopback1
R3(config-if)#ip address 192.168.1.1 255.255.255.0
R3(config)#interface FastEthernet0/0
R3(config-if)#description to R1
R3(config-if)#ip address 172.16.0.2 255.255.255.0
R3(config-if)#no shutdown
R3(config)#router eigrp 1
R3(config-router)# network 172.16.0.0 0.0.0.255
R3(config-router)# network 192.168.0.0
R3(config-router)# network 192.168.1.0
R3(config-router)# no auto-summary
R4 R4(config)#interface Loopback0
R4(config-if)#ip address 192.168.2.1 255.255.255.0
R4(config)#interface Loopback1
R4(config-if)#ip address 192.168.3.1 255.255.255.0
R4(config)#interface FastEthernet0/0
R4(config-if)#ip address 172.16.30.2 255.255.255.0
R4(config-if)#no shutdown
R4(config)#router eigrp 2
R4(config-router)#network 172.16.0.0
R4(config-router)#network 192.168.2.0
R4(config-router)#network 192.168.3.0
R4(config-router)#no auto-summary
Now R1 should be EIGRP neighbor with R3 and R4, also R1 with R2 should be OSPF
neighbors.
Check them with show ip eigrp neighbors and show ip ospf neighbor commands.
Further we will add redistribution commands on R1 to import routes in OSPF domain.
Routes learned from EIGRP domain 1 will be marked with E1, from EIGRP domain 2
will be marked with E2.
R1
R1(config)#router ospf 1
R1(config-router)# redistribute eigrp 1 metric-type 1 subnets
R1(config-router)# redistribute eigrp 2 metric-type 2 subnets
R3
R3(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
R4
R4(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
Keyword subnet highlighted in bold
it’s important because without it
OSPF will make redistribution of only
classful subnets. If we do not type
metric type it will be E2, this is
default metric type. It’s time to
check what we got. I put on R3 and
R4 default routes to point all
unknown traffic to R1 (in our case it
will be traffic to R2).
Wecanseeoutput of“showiproute”onR2
As we can see in the previous slide picture redistribution has worked, Routes
redistributed from first EIGRP domain are marked as E1 and have cost of 30 which is
the sum of the default metric (20) and 10 Mb/s link cost (10) that connects R1 with
R2.
Routes learned from second EIGRP domain are marked with E2 and have cost of 20
(default metric).
ping from R2 to R3 loopback interface
Follow us
@https://www.facebook.com/Net
ProtocolXpert/
https://www.linkedin.com/com
pany/netprotocol-xpert
https://plus.google.com/u/0/+
NetProtocolXpert_NPX/posts
https://www.instagram.com/n
etprotocol_xpert/
https://twitter.com/NPX_cis
co
https://branded.me/netp
rotocolxpert

Contenu connexe

Tendances

Route Redistribution
Route RedistributionRoute Redistribution
Route RedistributionNetwax Lab
 
OSPF External Route Summarization
OSPF External Route Summarization OSPF External Route Summarization
OSPF External Route Summarization NetProtocol Xpert
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)NetProtocol Xpert
 
OSPF summary & Differences between OSPF and EIGRP
OSPF summary&Differences between OSPF and EIGRPOSPF summary&Differences between OSPF and EIGRP
OSPF summary & Differences between OSPF and EIGRP NetProtocol Xpert
 
Лекц 15
Лекц 15Лекц 15
Лекц 15Muuluu
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)anilinvns
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)anilinvns
 
EIGRP Automatic & Manual Summarization
EIGRP Automatic & Manual SummarizationEIGRP Automatic & Manual Summarization
EIGRP Automatic & Manual Summarization NetProtocol Xpert
 
Routing Protocol EIGRP
Routing Protocol EIGRPRouting Protocol EIGRP
Routing Protocol EIGRPDmitry Figol
 

Tendances (20)

EIGRP Configuration
EIGRP ConfigurationEIGRP Configuration
EIGRP Configuration
 
Route Redistribution
Route RedistributionRoute Redistribution
Route Redistribution
 
OSPF External Route Summarization
OSPF External Route Summarization OSPF External Route Summarization
OSPF External Route Summarization
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
 
OSPF summary & Differences between OSPF and EIGRP
OSPF summary&Differences between OSPF and EIGRPOSPF summary&Differences between OSPF and EIGRP
OSPF summary & Differences between OSPF and EIGRP
 
OSPF Configuration
OSPF ConfigurationOSPF Configuration
OSPF Configuration
 
OSPF Overview
OSPF OverviewOSPF Overview
OSPF Overview
 
Ospf
OspfOspf
Ospf
 
OSPF Summarization
OSPF SummarizationOSPF Summarization
OSPF Summarization
 
OSPF Authentication
OSPF AuthenticationOSPF Authentication
OSPF Authentication
 
Ospf
OspfOspf
Ospf
 
OSPF Router LSA (Type 1)
OSPF Router LSA (Type 1)OSPF Router LSA (Type 1)
OSPF Router LSA (Type 1)
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Eigrp
EigrpEigrp
Eigrp
 
EIGRP Overview
EIGRP OverviewEIGRP Overview
EIGRP Overview
 
Multi-area ospf adjacency on ios-xr
Multi-area ospf adjacency on ios-xrMulti-area ospf adjacency on ios-xr
Multi-area ospf adjacency on ios-xr
 
EIGRP Automatic & Manual Summarization
EIGRP Automatic & Manual SummarizationEIGRP Automatic & Manual Summarization
EIGRP Automatic & Manual Summarization
 
Routing Protocol EIGRP
Routing Protocol EIGRPRouting Protocol EIGRP
Routing Protocol EIGRP
 

En vedette

Heat transfer by evaporation
Heat transfer by evaporationHeat transfer by evaporation
Heat transfer by evaporationsherinshaju
 
communication design philosophy
communication design philosophycommunication design philosophy
communication design philosophyYoshinori Kawamura
 
Ipsos Global @dvisor 24: Employee Relocation
Ipsos Global @dvisor 24: Employee RelocationIpsos Global @dvisor 24: Employee Relocation
Ipsos Global @dvisor 24: Employee RelocationIpsos UK
 
Everything You Need To Know About Creating and Maintaining Donor Relationships
Everything You Need To Know About Creating and Maintaining Donor RelationshipsEverything You Need To Know About Creating and Maintaining Donor Relationships
Everything You Need To Know About Creating and Maintaining Donor RelationshipsBloomerang
 
Planificacion de riesgos._esquema
Planificacion de riesgos._esquemaPlanificacion de riesgos._esquema
Planificacion de riesgos._esquemaBryan Ryan
 
Cursuri open septembrie
Cursuri open septembrieCursuri open septembrie
Cursuri open septembrieCatalin Lazar
 
[SNU Computer Vision Course Project] Image Style Recognition
[SNU Computer Vision Course Project] Image Style Recognition[SNU Computer Vision Course Project] Image Style Recognition
[SNU Computer Vision Course Project] Image Style RecognitionHunjae Jung
 
7 c's of effective communication. Abid Hussain Sindhu, M14BBA036,HCBF, PU
7 c's of effective communication. Abid  Hussain Sindhu, M14BBA036,HCBF, PU7 c's of effective communication. Abid  Hussain Sindhu, M14BBA036,HCBF, PU
7 c's of effective communication. Abid Hussain Sindhu, M14BBA036,HCBF, PU564251
 
最近の事例におけるサイバー攻撃の傾向と対策
最近の事例におけるサイバー攻撃の傾向と対策最近の事例におけるサイバー攻撃の傾向と対策
最近の事例におけるサイバー攻撃の傾向と対策itforum-roundtable
 
Physiopathologie et perspectives thérapeutiques dans la polykystose rénale
Physiopathologie et perspectives thérapeutiques dans la polykystose rénalePhysiopathologie et perspectives thérapeutiques dans la polykystose rénale
Physiopathologie et perspectives thérapeutiques dans la polykystose rénalekyste
 
Reading and Writing Molecular File Formats for Data Exchange of Small Molecul...
Reading and Writing Molecular File Formats for Data Exchange of Small Molecul...Reading and Writing Molecular File Formats for Data Exchange of Small Molecul...
Reading and Writing Molecular File Formats for Data Exchange of Small Molecul...NextMove Software
 

En vedette (15)

Heat transfer by evaporation
Heat transfer by evaporationHeat transfer by evaporation
Heat transfer by evaporation
 
XP再解釈
XP再解釈XP再解釈
XP再解釈
 
Aggression in health_web
Aggression in health_webAggression in health_web
Aggression in health_web
 
communication design philosophy
communication design philosophycommunication design philosophy
communication design philosophy
 
Ipsos Global @dvisor 24: Employee Relocation
Ipsos Global @dvisor 24: Employee RelocationIpsos Global @dvisor 24: Employee Relocation
Ipsos Global @dvisor 24: Employee Relocation
 
Everything You Need To Know About Creating and Maintaining Donor Relationships
Everything You Need To Know About Creating and Maintaining Donor RelationshipsEverything You Need To Know About Creating and Maintaining Donor Relationships
Everything You Need To Know About Creating and Maintaining Donor Relationships
 
Planificacion de riesgos._esquema
Planificacion de riesgos._esquemaPlanificacion de riesgos._esquema
Planificacion de riesgos._esquema
 
Cursuri open septembrie
Cursuri open septembrieCursuri open septembrie
Cursuri open septembrie
 
Cursuri open august
Cursuri open augustCursuri open august
Cursuri open august
 
Fases Tecnológicas
Fases TecnológicasFases Tecnológicas
Fases Tecnológicas
 
[SNU Computer Vision Course Project] Image Style Recognition
[SNU Computer Vision Course Project] Image Style Recognition[SNU Computer Vision Course Project] Image Style Recognition
[SNU Computer Vision Course Project] Image Style Recognition
 
7 c's of effective communication. Abid Hussain Sindhu, M14BBA036,HCBF, PU
7 c's of effective communication. Abid  Hussain Sindhu, M14BBA036,HCBF, PU7 c's of effective communication. Abid  Hussain Sindhu, M14BBA036,HCBF, PU
7 c's of effective communication. Abid Hussain Sindhu, M14BBA036,HCBF, PU
 
最近の事例におけるサイバー攻撃の傾向と対策
最近の事例におけるサイバー攻撃の傾向と対策最近の事例におけるサイバー攻撃の傾向と対策
最近の事例におけるサイバー攻撃の傾向と対策
 
Physiopathologie et perspectives thérapeutiques dans la polykystose rénale
Physiopathologie et perspectives thérapeutiques dans la polykystose rénalePhysiopathologie et perspectives thérapeutiques dans la polykystose rénale
Physiopathologie et perspectives thérapeutiques dans la polykystose rénale
 
Reading and Writing Molecular File Formats for Data Exchange of Small Molecul...
Reading and Writing Molecular File Formats for Data Exchange of Small Molecul...Reading and Writing Molecular File Formats for Data Exchange of Small Molecul...
Reading and Writing Molecular File Formats for Data Exchange of Small Molecul...
 

Similaire à Redistribution into OSPF

OSPF (open shortest path first) part iii
OSPF (open shortest path first) part  iiiOSPF (open shortest path first) part  iii
OSPF (open shortest path first) part iiiNetwax Lab
 
OSPF Route Filtering
OSPF Route FilteringOSPF Route Filtering
OSPF Route FilteringNetwax Lab
 
Bgp 6 advanced transit as issues
Bgp 6   advanced transit as issuesBgp 6   advanced transit as issues
Bgp 6 advanced transit as issuesAuguste Behe
 
E routing final exam ccna 2 46
E routing final exam ccna 2 46E routing final exam ccna 2 46
E routing final exam ccna 2 46lslsc
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010irbas
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010irbas
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccnarobertoxe
 
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
 
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 2408 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24legasu zemene
 
EIGRP ZERO TO HERO
EIGRP ZERO TO HEROEIGRP ZERO TO HERO
EIGRP ZERO TO HEROBhanviSonkar
 
Service Provider Networks and Frame Relay
Service Provider Networks and Frame RelayService Provider Networks and Frame Relay
Service Provider Networks and Frame RelayTharindu Sankalpa
 

Similaire à Redistribution into OSPF (20)

Redistribution into EIGRP
Redistribution into EIGRPRedistribution into EIGRP
Redistribution into EIGRP
 
OSPF Virtual Link
OSPF Virtual LinkOSPF Virtual Link
OSPF Virtual Link
 
5242 bgp-ospf-redis
5242 bgp-ospf-redis5242 bgp-ospf-redis
5242 bgp-ospf-redis
 
OSPF (open shortest path first) part iii
OSPF (open shortest path first) part  iiiOSPF (open shortest path first) part  iii
OSPF (open shortest path first) part iii
 
OSPF Route Filtering
OSPF Route FilteringOSPF Route Filtering
OSPF Route Filtering
 
Bgp 6 advanced transit as issues
Bgp 6   advanced transit as issuesBgp 6   advanced transit as issues
Bgp 6 advanced transit as issues
 
EBGP MultiHop
EBGP MultiHopEBGP MultiHop
EBGP MultiHop
 
E routing final exam ccna 2 46
E routing final exam ccna 2 46E routing final exam ccna 2 46
E routing final exam ccna 2 46
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010
 
Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010Ccna 2 v 4.0 final-exam-19-06-2010
Ccna 2 v 4.0 final-exam-19-06-2010
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
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
 
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 2408 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
 
Ccna commands
Ccna commandsCcna commands
Ccna commands
 
Ccna commands
Ccna commandsCcna commands
Ccna commands
 
1 using default
1 using default1 using default
1 using default
 
1 using default
1 using default1 using default
1 using default
 
EIGRP ZERO TO HERO
EIGRP ZERO TO HEROEIGRP ZERO TO HERO
EIGRP ZERO TO HERO
 
Service Provider Networks and Frame Relay
Service Provider Networks and Frame RelayService Provider Networks and Frame Relay
Service Provider Networks and Frame Relay
 

Plus de NetProtocol Xpert

Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)NetProtocol Xpert
 
Common Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & MitigationCommon Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & MitigationNetProtocol Xpert
 
Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)NetProtocol Xpert
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data planeNetProtocol Xpert
 
Point to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAPPoint to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAPNetProtocol Xpert
 
Avoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a commandAvoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a commandNetProtocol Xpert
 
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
 
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
 
OTV(Overlay Transport Virtualization)
OTV(Overlay  Transport  Virtualization)OTV(Overlay  Transport  Virtualization)
OTV(Overlay Transport Virtualization)NetProtocol Xpert
 

Plus de NetProtocol Xpert (20)

Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
 
Common Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & MitigationCommon Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & Mitigation
 
Storm-Control
Storm-ControlStorm-Control
Storm-Control
 
Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)
 
IP Source Guard
IP Source Guard IP Source Guard
IP Source Guard
 
DHCP Snooping
DHCP SnoopingDHCP Snooping
DHCP Snooping
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
Application & Data Center
Application & Data CenterApplication & Data Center
Application & Data Center
 
Cisco ISR 4351 Router
Cisco ISR 4351 RouterCisco ISR 4351 Router
Cisco ISR 4351 Router
 
Cisco ASR 1001-X Router
Cisco ASR 1001-X RouterCisco ASR 1001-X Router
Cisco ASR 1001-X Router
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data plane
 
Point to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAPPoint to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAP
 
Avoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a commandAvoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a command
 
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
 
Private VLANs
Private VLANsPrivate VLANs
Private VLANs
 
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)
 
OTV Configuration
OTV ConfigurationOTV Configuration
OTV Configuration
 
Cisco OTV 
Cisco OTV Cisco OTV 
Cisco OTV 
 
OTV(Overlay Transport Virtualization)
OTV(Overlay  Transport  Virtualization)OTV(Overlay  Transport  Virtualization)
OTV(Overlay Transport Virtualization)
 

Dernier

Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
The SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsThe SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsDILIPKUMARMONDAL6
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 

Dernier (20)

Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
The SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsThe SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teams
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 

Redistribution into OSPF

  • 2. There are similarities and differences when compared to EIGRP redistribution. OSPF does have default metrics but in EIGRP must set them. Both of them mark routes as being External. When make redistribution into OSPF external routes can be of two types: E1 and E2. OSPF uses LSAs to represent external routes and apply a different logic to calculate routes to external subnets..
  • 3.
  • 4. we have two types of external routes: E1 and E2. Those marked E2 will be redistributed with Default Metric unchanged an will ignore internal OSPF cost (except when there is a need to break ties for best route). For those marked with E1, OSPF will take Default Metric and will add to it internal cost to reach ASBR. Default Metric for routes taken from BGP is 1, for routes taken from another OSPF process will use the source route’s metric, and for all other sources will use default metric equal to 20. In the topology we have two EIGPR domains and one OSPF domain. we will make redistribution of routes from EIGRP domain 1 as E1 routes and from EIGRP domain 2 as E2. To each EIGRP domain we attached two loopback interfaces, so after we configure redistribution on R2 we should have external routes to them.
  • 5. R1 R1(config)#interface FastEthernet0/0 R1(config-if)#description to R3 R1(config-if)#ip address 172.16.0.1 255.255.255.0 R1(config-if)#no shutdown R1(config)#interface FastEthernet0/1 R1(config-if)#description to R4 R1(config-if)#ip address 172.16.30.1 255.255.255.0 R1(config-if)#no shutdown R1(config)#interface FastEthernet1/0 R1(config-if)#description to R2 R1(config-if)#ip address 10.0.0.1 255.255.255.0 R1(config-if)#no shutdown R1(config)#router eigrp 1 R1(config-router)#network 172.16.0.0 0.0.0.255 R1(config-router)#no auto-summary R1(config)#router eigrp 2 R1(config-router)#network 172.16.30.0 0.0.0.255 R1(config-router)#no auto-summary R1(config)#router ospf 1 R1(config-router)#network 10.0.0.0 0.0.0.255 area 0
  • 6. R2 R2(config)#interface FastEthernet0/0 R2(config-if)#description to R1 R2(config-if)#ip address 10.0.0.2 255.255.255.0 R2(config-if)#no shutdown R2(config)#router ospf 1 R2(config-router)#network 10.0.0.0 0.0.0.255 area 0
  • 7. R3 R3(config)#interface Loopback0 R3(config-if)#ip address 192.168.0.1 255.255.255.0 R3(config)#interface Loopback1 R3(config-if)#ip address 192.168.1.1 255.255.255.0 R3(config)#interface FastEthernet0/0 R3(config-if)#description to R1 R3(config-if)#ip address 172.16.0.2 255.255.255.0 R3(config-if)#no shutdown R3(config)#router eigrp 1 R3(config-router)# network 172.16.0.0 0.0.0.255 R3(config-router)# network 192.168.0.0 R3(config-router)# network 192.168.1.0 R3(config-router)# no auto-summary
  • 8. R4 R4(config)#interface Loopback0 R4(config-if)#ip address 192.168.2.1 255.255.255.0 R4(config)#interface Loopback1 R4(config-if)#ip address 192.168.3.1 255.255.255.0 R4(config)#interface FastEthernet0/0 R4(config-if)#ip address 172.16.30.2 255.255.255.0 R4(config-if)#no shutdown R4(config)#router eigrp 2 R4(config-router)#network 172.16.0.0 R4(config-router)#network 192.168.2.0 R4(config-router)#network 192.168.3.0 R4(config-router)#no auto-summary
  • 9. Now R1 should be EIGRP neighbor with R3 and R4, also R1 with R2 should be OSPF neighbors. Check them with show ip eigrp neighbors and show ip ospf neighbor commands. Further we will add redistribution commands on R1 to import routes in OSPF domain. Routes learned from EIGRP domain 1 will be marked with E1, from EIGRP domain 2 will be marked with E2.
  • 10. R1 R1(config)#router ospf 1 R1(config-router)# redistribute eigrp 1 metric-type 1 subnets R1(config-router)# redistribute eigrp 2 metric-type 2 subnets R3 R3(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 R4 R4(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 Keyword subnet highlighted in bold it’s important because without it OSPF will make redistribution of only classful subnets. If we do not type metric type it will be E2, this is default metric type. It’s time to check what we got. I put on R3 and R4 default routes to point all unknown traffic to R1 (in our case it will be traffic to R2).
  • 12. As we can see in the previous slide picture redistribution has worked, Routes redistributed from first EIGRP domain are marked as E1 and have cost of 30 which is the sum of the default metric (20) and 10 Mb/s link cost (10) that connects R1 with R2. Routes learned from second EIGRP domain are marked with E2 and have cost of 20 (default metric).
  • 13. ping from R2 to R3 loopback interface