SlideShare une entreprise Scribd logo
1  sur  38
ROUTING & OSPF CCNA 3.0
OSPF ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OSPF ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Link-State Advertisements ,[object Object],[object Object],[object Object],[object Object]
OSPF Terminology An interface on a router The status of a link between 2 routers A list of info about other routers in the network – shows the topology (also called Link-State database) A collection of network and routers that have the same area identification. Each router has same link-state info. A router in a area is called an internal router. OSPF Terminology Cost is the value assigned to the link, based on the bandwidth
OSPF Terminology
OSPF Terminology Cost is the value assigned to the link, based on the bandwidth
OSPF Terminology Routing Table is generated when an algorithm is run on the link-state database. Each router’s table is unique to that router.
OSPF Terminology Adjacencies database is a listing of all the neighbors to which a router has established bi-directional communication
OSPF Terminology Designated router & backup designated router are routers that are elected by all other routers to represent all the routers. Every network has a DR & a BDR.
OSPF Terminology ,[object Object],[object Object],[object Object],[object Object],[object Object]
OSPF Terminology ,[object Object],[object Object],[object Object],[object Object],Or  “OSPF Routing Domain” Single Area OSPF uses only one area, usually Area 0
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],OSPF’s Metric is Cost (Bandwidth)
OSPF’s Metric is Cost (Bandwidth) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Cost = 100,000,000/Bandwidth
OSPF’s Metric is Cost (Bandwidth) ,[object Object],[object Object],[object Object]
OSPF Packet Types Acknowledges receipt of a neighbor’s LSA Type 5 – Link-state acknowledgement (LSAck) Transports LSAs to neighbor routers Type 4 – Link-state update (LSU) Requests specific pieces of a router’s LSD Type 3 – Link-state request (LSR) Describes contents of an OSPF router’s link-state database Type 2 – Database description packet (DBD) Estab. & main. Adjacency info w/ neighbors Type 1 – Hello Description OSPF Packet Type
OSPF Hello Protocol ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OSPF States After loading, routers now fully adjacent. Full Adjacency Link state updates exchanged Loading Routers send each other their databases Exchange Type 2 packets exchanged; master & slave estab. ExStart When a router sees itself in its neighbor’s hello packet Two-Way Hello packets are sent Init Everything down, nothing exchanged Down Definition State
OSPF Network Types Ethernet, Token-ring, FDDI PPP, HDLC Frame-Relay, X.25 No DR or BDR needed DR and BDR needed DR and BDR needed
Steps for OSPF Operation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Steps to OSPF Operation with States -  DR and BDR ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Steps to OSPF Operation with States -  DR and BDR ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OSPF Configuration Process – ID – locally sig. – doesn’t have to be same on all routers Wildcard is necessary because OSPF supports VLSM & CIDR
Network Command and the Wildcard Mask S0 S0 fa0 fa0 RouterID: lo0 200.0.0.1/32 lo1 lo1 Merida Vargas 192.168.1.0/24 192.168.30.0/24 192.168.20.4.0/30 192.168.2.0/24 192.168.20.0/30 .1 .2 .5 Non-OSPF link .1 .1 .1 RouterID: lo0 201.0.0.1/32   Merida Merida(config)#router ospf 1 Merida(config-router)#network 192.168.1.0 0.0.0.255 area 0 Merida(config-router)#network 192.168.2.0 0.0.0.255 area 0 Merida(config-router)#network 192.168.20.0 0.0.0.3 area 0 Vargas Vargas(config)#router ospf 10 Vargas(config-router)#network 192.168.20.0 0.0.0.3 area 0 Vargas(config-router)#network 192.168.30.0 0.0.0.255 area 0 Only 192.168.20.0/30 NOT 192.168.20.4/30
Configuring a Loopback Address ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Configuring Simple Authentication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Note that this is a 2-step process (lab)
Encrypted Authentication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MD5 Authentication ,[object Object],[object Object],[object Object],[object Object]
Configuring and Propagating a Default Route ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Default Route Example Entrance(config)#  ip route 0.0.0.0 0.0.0.0 serial 0 Entrance(config)#  router ospf 1 Entrance(config-router)#  network 10.0.0.0 0.0.0.255 area 0 Entrance(config-router)#  network 11.0.0.0 0.0.0.255 area 0 Entrance(config-router)#  default-information originate ISP Entrance Engineering Marketing ip route 0.0.0.0/0 Static Route 0.0.0.0/0 0.0.0.0/0 Automatically Propagated s0 10.0.0.0/24 11.0.0.0/24 Engineering and Marketing will have 0.0.0.0/0 default routes forwarding packets to the Entrance router.
show ip route Router# show ip route 172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks O IA  172.16.51.1/32 [110/783] via 172.16.1.2, 00:11:44, FastEthernet0 O  172.16.20.0/24 [110/782] via 172.16.10.6, 00:12:29, Serial0 C  172.16.10.4/30 is directly connected, Serial0 C  172.16.1.0/24 is directly connected, FastEthernet0 O E2 11.0.0.0/8 [110/20] via 172.16.1.1, 00:11:44, FastEthernet0 O E1 12.0.0.0/8 [110/782] via 172.16.1.1, 00:11:44, FastEthernet0 ,[object Object],[object Object],[object Object],[object Object],[object Object]
show ip ospf  Router#show ip ospf Routing Process &quot;ospf 1&quot; with ID 192.168.3.1 Supports only single TOS(TOS0) routes It is an area border router SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 3. Checksum Sum 0x97E3  Number of DCbitless external LSA 0 Number of DoNotAge external LSA 0 Number of areas in this router is 2. 2 normal 0 stub 0 nssa External flood list length 0 Area BACKBONE(0)   Number of interfaces in this area is 1   Area has no authentication   SPF algorithm executed 8 times   <text omitted> Area 1   <text omitted>
show ip ospf interface Router#  show ip ospf interface Ethernet0  is up, line protocol is up Internet Address 206.202.2.1/24,  Area 1 Process ID 1, Router ID 1.2.202.206, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State BDR, Priority 1 Designated Router (ID) 2.2.202.206, Interface address 206.202.2.2 Backup Designated router (ID) 1.2.202.206, Interface address 206.202.2.1 Timer intervals   configured , Hello 10, Dead 40,  Wait 40, Retransmit 5 Hello due in 00:00:00 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 2.2.202.206  (Designated Router) Suppress hello for 0 neighbor(s) Serial0  is up, line protocol is up Internet Address 206.202.1.2/24, Area 1 Process ID 1, Router ID 1.2.202.206,  Network Type POINT_TO_POINT ,  Cost: 64 Transmit Delay is 1 sec, State POINT_TO_POINT, Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:04 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 2.0.202.206 Suppress hello for 0 neighbor(s) Timer intervals Router ID # Neighbor adjacencies
OSPF Neighbors Adjacencies Hello interval
show ip ospf neighbor RouterB#show ip ospf neighbor Neighbor ID  Pri  State  Dead Time  Address  Interface 1.5.202.206  1  FULL/DROTHER  00:00:33  206.202.0.3  Ethernet0 1.10.202.206  1  FULL/BDR  00:00:32  206.202.0.4  Ethernet0 1.0.202.206  1  2WAY/DROTHER  00:00:30  206.202.0.1  Ethernet0 1.2.202.206  1  FULL/  -  00:00:32  206.202.1.2  Serial0 ,[object Object],[object Object]
Clear & Debug ,[object Object],[object Object],[object Object],[object Object],[object Object]
OSPF Configuration Commands - Review Required Commands: Rtr(config)#  router ospf  process-id Rtr(config-router)# network  address   wildcard-mask  area  area-id Optional Commands: Rtr(config-router)#  default-information originate (Send default) Rtr(config-router)#  area  area  authentication  (Plain authen.) Rtr(config-router)#  area  area  authentication message-digest  (md5 authen.) Rtr(config)#  interface loopback  number  (Configure lo as RtrID) Rtr(config)#  interface type slot/port (int Fa0/0) Rtr(config-if)#  ip ospf priority <0-255>  (DR/BDR election) Rtr(config-if)#  bandwidth  kbps   (Modify default bandwdth) RTB(config-if)#  ip ospf cost  cost  (Modify inter. cost) Rtr(config-if)#  ip ospf hello-interval  seconds  (Modify Hello) Rtr(config-if)#  ip ospf dead-interval  seconds  (Modify Dead) Rtr(config-if)#  ip ospf authentication-key  passwd  (Plain/md5authen) Rtr(config-if)#  ip ospf message-digest-key  key-id  md5  password
ROUTING & OSPF CCNA 3.0

Contenu connexe

Tendances

ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocolAmeer Agel
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolArash Foroughi
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
Spanning tree protocol (stp)
Spanning tree protocol (stp)Spanning tree protocol (stp)
Spanning tree protocol (stp)RaghulR21
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocolasimnawaz54
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)NetProtocol Xpert
 
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
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)Ann Joseph
 
Hot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) usingHot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) usingShubhiGupta94
 
Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)Nutan Singh
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing ProtocolsDsunte Wilson
 
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
 

Tendances (20)

OSPF
OSPF OSPF
OSPF
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Spanning tree protocol (stp)
Spanning tree protocol (stp)Spanning tree protocol (stp)
Spanning tree protocol (stp)
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
 
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
 
Routing
RoutingRouting
Routing
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
 
Hot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) usingHot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) using
 
OSPF Configuration
OSPF ConfigurationOSPF Configuration
OSPF Configuration
 
Border Gatway Protocol
Border Gatway ProtocolBorder Gatway Protocol
Border Gatway Protocol
 
Rip presentation
Rip presentationRip presentation
Rip presentation
 
Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing Protocols
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
 

En vedette (20)

Protocole OSPF
Protocole OSPFProtocole OSPF
Protocole OSPF
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Link State Protocol
Link State ProtocolLink State Protocol
Link State Protocol
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
OSPF - Routing Protocol
OSPF - Routing ProtocolOSPF - Routing Protocol
OSPF - Routing Protocol
 
OSPF- Multi area
OSPF- Multi area OSPF- Multi area
OSPF- Multi area
 
Ch 20 UNICAST ROUTING SECTION 2
Ch 20   UNICAST ROUTING  SECTION  2Ch 20   UNICAST ROUTING  SECTION  2
Ch 20 UNICAST ROUTING SECTION 2
 
BGP
BGPBGP
BGP
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocol
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
Troubleshooting ospf
Troubleshooting ospfTroubleshooting ospf
Troubleshooting ospf
 
Eigrp and ospf comparison
Eigrp and ospf comparisonEigrp and ospf comparison
Eigrp and ospf comparison
 
Ip addressing...
Ip addressing... Ip addressing...
Ip addressing...
 
Ospf new
Ospf newOspf new
Ospf new
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
OLSR setup
OLSR setup OLSR setup
OLSR setup
 
Ospf
OspfOspf
Ospf
 
Ipv6^ new
Ipv6^ newIpv6^ new
Ipv6^ new
 
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...
 

Similaire à Routing and OSPF

Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccnarobertoxe
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Sachin Morya
 
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.ppt
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.pptMenggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.ppt
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.pptRochmadGSaputra
 
CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6VISHNU N
 
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
 

Similaire à Routing and OSPF (20)

Ospf
OspfOspf
Ospf
 
C C N A Day3
C C N A  Day3C C N A  Day3
C C N A Day3
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.ppt
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.pptMenggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.ppt
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.ppt
 
ospf.ppt
ospf.pptospf.ppt
ospf.ppt
 
CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6
 
Allwyn ospf ppt
Allwyn ospf pptAllwyn ospf ppt
Allwyn ospf ppt
 
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)
 
Ospf
OspfOspf
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)
 
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
 
Osp fv3 cs
Osp fv3 csOsp fv3 cs
Osp fv3 cs
 
Day 12.2 enablingospf
Day 12.2 enablingospfDay 12.2 enablingospf
Day 12.2 enablingospf
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 

Dernier

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Dernier (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Routing and OSPF

  • 1. ROUTING & OSPF CCNA 3.0
  • 2.
  • 3.
  • 4.
  • 5. OSPF Terminology An interface on a router The status of a link between 2 routers A list of info about other routers in the network – shows the topology (also called Link-State database) A collection of network and routers that have the same area identification. Each router has same link-state info. A router in a area is called an internal router. OSPF Terminology Cost is the value assigned to the link, based on the bandwidth
  • 7. OSPF Terminology Cost is the value assigned to the link, based on the bandwidth
  • 8. OSPF Terminology Routing Table is generated when an algorithm is run on the link-state database. Each router’s table is unique to that router.
  • 9. OSPF Terminology Adjacencies database is a listing of all the neighbors to which a router has established bi-directional communication
  • 10. OSPF Terminology Designated router & backup designated router are routers that are elected by all other routers to represent all the routers. Every network has a DR & a BDR.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. OSPF Packet Types Acknowledges receipt of a neighbor’s LSA Type 5 – Link-state acknowledgement (LSAck) Transports LSAs to neighbor routers Type 4 – Link-state update (LSU) Requests specific pieces of a router’s LSD Type 3 – Link-state request (LSR) Describes contents of an OSPF router’s link-state database Type 2 – Database description packet (DBD) Estab. & main. Adjacency info w/ neighbors Type 1 – Hello Description OSPF Packet Type
  • 17.
  • 18. OSPF States After loading, routers now fully adjacent. Full Adjacency Link state updates exchanged Loading Routers send each other their databases Exchange Type 2 packets exchanged; master & slave estab. ExStart When a router sees itself in its neighbor’s hello packet Two-Way Hello packets are sent Init Everything down, nothing exchanged Down Definition State
  • 19. OSPF Network Types Ethernet, Token-ring, FDDI PPP, HDLC Frame-Relay, X.25 No DR or BDR needed DR and BDR needed DR and BDR needed
  • 20.
  • 21.
  • 22.
  • 23. OSPF Configuration Process – ID – locally sig. – doesn’t have to be same on all routers Wildcard is necessary because OSPF supports VLSM & CIDR
  • 24. Network Command and the Wildcard Mask S0 S0 fa0 fa0 RouterID: lo0 200.0.0.1/32 lo1 lo1 Merida Vargas 192.168.1.0/24 192.168.30.0/24 192.168.20.4.0/30 192.168.2.0/24 192.168.20.0/30 .1 .2 .5 Non-OSPF link .1 .1 .1 RouterID: lo0 201.0.0.1/32   Merida Merida(config)#router ospf 1 Merida(config-router)#network 192.168.1.0 0.0.0.255 area 0 Merida(config-router)#network 192.168.2.0 0.0.0.255 area 0 Merida(config-router)#network 192.168.20.0 0.0.0.3 area 0 Vargas Vargas(config)#router ospf 10 Vargas(config-router)#network 192.168.20.0 0.0.0.3 area 0 Vargas(config-router)#network 192.168.30.0 0.0.0.255 area 0 Only 192.168.20.0/30 NOT 192.168.20.4/30
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. Default Route Example Entrance(config)# ip route 0.0.0.0 0.0.0.0 serial 0 Entrance(config)# router ospf 1 Entrance(config-router)# network 10.0.0.0 0.0.0.255 area 0 Entrance(config-router)# network 11.0.0.0 0.0.0.255 area 0 Entrance(config-router)# default-information originate ISP Entrance Engineering Marketing ip route 0.0.0.0/0 Static Route 0.0.0.0/0 0.0.0.0/0 Automatically Propagated s0 10.0.0.0/24 11.0.0.0/24 Engineering and Marketing will have 0.0.0.0/0 default routes forwarding packets to the Entrance router.
  • 31.
  • 32. show ip ospf Router#show ip ospf Routing Process &quot;ospf 1&quot; with ID 192.168.3.1 Supports only single TOS(TOS0) routes It is an area border router SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 3. Checksum Sum 0x97E3 Number of DCbitless external LSA 0 Number of DoNotAge external LSA 0 Number of areas in this router is 2. 2 normal 0 stub 0 nssa External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 1 Area has no authentication SPF algorithm executed 8 times <text omitted> Area 1 <text omitted>
  • 33. show ip ospf interface Router# show ip ospf interface Ethernet0 is up, line protocol is up Internet Address 206.202.2.1/24, Area 1 Process ID 1, Router ID 1.2.202.206, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State BDR, Priority 1 Designated Router (ID) 2.2.202.206, Interface address 206.202.2.2 Backup Designated router (ID) 1.2.202.206, Interface address 206.202.2.1 Timer intervals configured , Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:00 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 2.2.202.206 (Designated Router) Suppress hello for 0 neighbor(s) Serial0 is up, line protocol is up Internet Address 206.202.1.2/24, Area 1 Process ID 1, Router ID 1.2.202.206, Network Type POINT_TO_POINT , Cost: 64 Transmit Delay is 1 sec, State POINT_TO_POINT, Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:04 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 2.0.202.206 Suppress hello for 0 neighbor(s) Timer intervals Router ID # Neighbor adjacencies
  • 34. OSPF Neighbors Adjacencies Hello interval
  • 35.
  • 36.
  • 37. OSPF Configuration Commands - Review Required Commands: Rtr(config)# router ospf process-id Rtr(config-router)# network address wildcard-mask area area-id Optional Commands: Rtr(config-router)# default-information originate (Send default) Rtr(config-router)# area area authentication (Plain authen.) Rtr(config-router)# area area authentication message-digest (md5 authen.) Rtr(config)# interface loopback number (Configure lo as RtrID) Rtr(config)# interface type slot/port (int Fa0/0) Rtr(config-if)# ip ospf priority <0-255> (DR/BDR election) Rtr(config-if)# bandwidth kbps (Modify default bandwdth) RTB(config-if)# ip ospf cost cost (Modify inter. cost) Rtr(config-if)# ip ospf hello-interval seconds (Modify Hello) Rtr(config-if)# ip ospf dead-interval seconds (Modify Dead) Rtr(config-if)# ip ospf authentication-key passwd (Plain/md5authen) Rtr(config-if)# ip ospf message-digest-key key-id md5 password
  • 38. ROUTING & OSPF CCNA 3.0