SlideShare a Scribd company logo
1 of 25
http://www.acit.in OSPF (Open Shortest Path First)
http://www.acit.in ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Open Shortest Path First
http://www.acit.in/ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],OSPF (contd..)
http://www.acit.in ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],OSPF Tables
http://www.acit.in/ OSPF - Network Diagram LAN - 192.168.1.0/24 LAN – 192.168.2.0/24 LAN - 192.168.3.0/24 AREA 0 E0  192.168.1.1/24 E0  192.168.2.1/24 E0  192.168.3.1/24 10.0.0.1/8 S0 S1 10.0.0.2/8 11.0.0.1/8 S0 S1 11.0.0.2/8 CHE HYD BAN
OSPF Packet Types ,[object Object],[object Object],[object Object],[object Object],[object Object],http://www.acit.in/
OSPF States ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://www.acit.in/
How OSPF Works http://www.acit.in HYD CHE 10.0.0.1/8 SO 10.0.0.2/8 S1 Ex-Start STATE Exchange State No, I will start exchange because I have a higher router ID I will start exchange because I have router ID 172.16.0.1 Here is a summary of my link-state database Here is a summary of my link-state database
http://www.acit.in/ ,[object Object],Disadvantages of OSPF
http://www.acit.in/
Naveen Patel exit Hyderabad(config-if)# Hyderabad(config)# telnet 192.168.1.1 ================================ Welcome to Hyderabad Router ================================ User Access Verification password : **** **** enable configure terminal interface serial 0 ip address 10.0.0.1 255.0.0.0 no shut clockrate 64000 encapsulation hdlc Hyderabad> password : Hyderabad# Enter configuration commands, one per line.  End with CNTL/Z. Hyderabad(config)# Hyderabad(config-if)# Hyderabad(config-if)# Hyderabad(config-if)# Hyderabad(config-if)# Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:gt; Connecting ..... Directly Connected Networks on HYDERABAD Router 192.168.1.0 10.0.0.0
Naveen Patel Hyderabad(config)# router ospf 1 Hyderabad(config-router)# Hyderabad(config-router)# network 192.168.1.0 0.0.0.255 area 0 Hyderabad(config-router)# network 10.0.0.0 0.255.255.255 area 0 no ip routing Hyderabad(config)# Hyderabad(config)# ip routing Configuring OSPF Router(config)#  router ospf <pid> Router(config-router)#  network <Network ID> <wildcard mask> area <area id>
Naveen Patel show ip route Hyderabad# Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set C  10.0.0.0/8 is directly connected, Serial0 O  11.0.0.0/8 [110/128] via 10.0.0.2, 00:00:36, Serial0 C  192.168.1.0/24 is directly connected, Ethernet0 O  192.168.2.0/24 [110/74] via 10.0.0.2, 00:00:36, Serial0 O  192.168.3.0/24 [110/138] via 10.0.0.2, 00:00:36, Serial0 Hyderabad# ^ Z O – for OSPF routes  110 is nothing but Administrative Distance Metric of OSPF  Cost Hyderabad(config)# router ospf 1 Hyderabad(config-router)# Hyderabad(config-router)# network 192.168.1.0 0.0.0.255 area 0 Hyderabad(config-router)# network 10.0.0.0 0.255.255.255 area 0 no ip routing Hyderabad(config)# Hyderabad(config)# ip routing
Naveen Patel show ip ospf database Hyderabad# OSPF Router with ID (192.168.1.1) (Process ID 1) Router Link States (Area 0) Link ID  ADV Router  Age  Seq#  Checksum Link 192.168.1.1  192.168.1.1  790  0x80000003 0x897B  3 192.168.2.1  192.168.2.1  234  0x80000005 0x542  5 192.168.3.1  192.168.3.1  232  0x80000003 0xD328  3 Hyderabad# show ip ospf neighbor Neighbor ID  Pri  State  Dead Time  Address 192.168.2.1  1  FULL/  -  00:00:36  10.0.0.2 Hyderabad#
Naveen Patel Chennai(config-if)# Chennai(config-if)# ================================ Welcome to Chennai Router ================================ User Access Verification password : **** **** enable configure terminal ip address 10.0.0.2 255.0.0.0 no shut encapsulation hdlc interface serial 0 Chennai> password : Chennai# Enter configuration commands, one per line.  End with CNTL/Z. Chennai(config)# Chennai(config-if)# Chennai(config-if)# Chennai(config-if)# Chennai(config-if)# Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:gt; Connecting ..... Chennai(config-if)# telnet 192.168.2.1 interface serial 1 ip address 11.0.0.1 255.0.0.0 no shut encapsulation hdlc Directly Connected Networks on CHENNAI Router 192.168.2.0 10.0.0.0 11.0.0.0
Naveen Patel Chennai(config)# router ospf 2 Chennai(config-router)# Chennai(config-router)# network 192.168.2.0 0.0.0.255 area 0 Chennai(config-router)# network 10.0.0.0 0.255.255.255 area 0 no ip routing Chennai(config)# Chennai(config)# ip routing network 11.0.0.0 0.255.255.255 area 0 Chennai(config-router)# Configuring OSPF Router(config)#  router ospf <pid> Router(config-router)#  network <Network ID> <wildcard mask> area <area id>
Naveen Patel show ip route Chennai# Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set C  10.0.0.0/8 is directly connected, Serial1 C  11.0.0.0/8 is directly connected, Serial0 O  192.168.1.0/24 [110/74] via 10.0.0.1, 00:01:33, Serial1 C  192.168.2.0/24 is directly connected, Ethernet0 O  192.168.3.0/24 [110/74] via 11.0.0.2, 00:01:33, Serial0 Chennai# ^ Z O – for OSPF routes  110 is nothing but Administrative Distance Metric of OSPF  Cost Chennai(config)# router ospf 2 Chennai(config-router)# Chennai(config-router)# network 192.168.2.0 0.0.0.255 area 0 Chennai(config-router)# network 10.0.0.0 0.255.255.255 area 0 no ip routing Chennai(config)# Chennai(config)# ip routing network 11.0.0.0 0.255.255.255 area 0 Chennai(config-router)#
Naveen Patel show ip ospf database Chennai# OSPF Router with ID (192.168.2.1) (Process ID 2) Router Link States (Area 0) Link ID  ADV Router  Age  Seq#  Checksum Link 192.168.1.1  192.168.1.1  1253  0x80000003  0x897B  3 192.168.2.1  192.168.2.1  695  0x80000005  0x542  5 192.168.3.1  192.168.3.1  693  0x80000003  0xD328  3 Chennai # show ip ospf neighbor Neighbor ID  Pri  State  Dead Time  Address 192.168.3.1  1  FULL/  -  00:00:35  11.0.0.2 192.168.1.1  1  FULL/  -  00:00:32  10.0.0.1 Chennai#
Naveen Patel exit Banglore(config-if)# Banglore(config)# ================================ Welcome to Banglore Router ================================ User Access Verification password : **** **** enable configure terminal ip address 11.0.0.2 255.0.0.0 no shut clockrate 64000 encapsulation hdlc Banglore> password : Banglore# Enter configuration commands, one per line.  End with CNTL/Z. Banglore(config)# Banglore(config-if)# Banglore(config-if)# Banglore(config-if)# Banglore(config-if)# Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:gt; Connecting ..... telnet 192.168.3.1 interface serial 1 Directly Connected Networks on Banglore Router 192.168.3.0 11.0.0.0
Naveen Patel Banglore(config)# router ospf 1 Banglore(config-router)# Banglore(config-router)# network 192.168.3.0 0.0.0.255 area 0 Banglore(config-router)# no ip routing Banglore(config)# Banglore(config)# ip routing network 11.0.0.0 0.255.255.255 area 0 Configuring OSPF Router(config)#  router ospf <pid> Router(config-router)#  network <Network ID> <wildcard mask> area <area id>
Naveen Patel show ip route Banglore# Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set O  10.0.0.0/8 [110/128] via 11.0.0.1, 00:02:09, Serial1 C  11.0.0.0/8 is directly connected, Serial1 O  192.168.1.0/24 [110/138] via 11.0.0.1, 00:02:09, Serial1 O  192.168.2.0/24 [110/74] via 11.0.0.1, 00:02:09, Serial1 C  192.168.3.0/24 is directly connected, Ethernet0 Banglore# ^ Z O – for OSPF routes  110 is nothing but Administrative Distance Metric of OSPF  Cost Banglore(config)# router ospf 1 Banglore(config-router)# Banglore(config-router)# network 192.168.3.0 0.0.0.255 area 0 Banglore(config-router)# no ip routing Banglore(config)# Banglore(config)# ip routing network 11.0.0.0 0.255.255.255 area 0
Naveen Patel show ip ospf database Banglore# OSPF Router with ID (192.168.3.1) (Process ID 1) Router Link States (Area 0) Link ID  ADV Router  Age  Seq#  Checksum Link 192.168.1.1  192.168.1.1  1506  0x80000003 0x897B  3 192.168.2.1  192.168.2.1  948  0x80000005 0x542  5 192.168.3.1  192.168.3.1  944  0x80000003 0xD328  3 Banglore# show ip ospf neighbor Neighbor ID  Pri  State  Dead Time  Address 192.168.2.1   1  FULL/  -  00:00:37  11.0.0.1 Banglore#
Naveen Patel ping 192.168.3.10 Hyderabad# Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Hyderabad# !!!!! ping 192.168.2.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Hyderabad# !!!!!
Naveen Patel ping 192.168.1.10 Chennai# Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Chennai# !!!!! ping 192.168.3.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Chennai# !!!!!
Naveen Patel ping 192.168.1.10 Banglore# Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Banglore# !!!!! ping 192.168.2.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Banglore# !!!!!

More Related Content

What's hot

Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
arpit
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
Kashif Latif
 

What's hot (19)

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)
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
 
OSPF Configuration
OSPF ConfigurationOSPF Configuration
OSPF Configuration
 
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
 
Dynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPFDynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPF
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
 
Ospf
OspfOspf
Ospf
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
OSPF Fundamental
OSPF FundamentalOSPF Fundamental
OSPF Fundamental
 
Ospf
OspfOspf
Ospf
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
OSPF Overview
OSPF OverviewOSPF Overview
OSPF Overview
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
CCIE Lab - IGP Routing
CCIE Lab -  IGP Routing  CCIE Lab -  IGP Routing
CCIE Lab - IGP Routing
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Ospf
OspfOspf
Ospf
 
Routing Protocols
Routing Protocols Routing Protocols
Routing Protocols
 
CCNA Based routing protocols
CCNA Based routing protocolsCCNA Based routing protocols
CCNA Based routing protocols
 
13. eigrp and ospf
13. eigrp and ospf13. eigrp and ospf
13. eigrp and ospf
 

Viewers also liked

CCNA Introducing Networks
CCNA Introducing NetworksCCNA Introducing Networks
CCNA Introducing Networks
Dsunte Wilson
 
CCNA Network Devices
CCNA Network DevicesCCNA Network Devices
CCNA Network Devices
Dsunte Wilson
 
Introduction to oracle primavera
Introduction to oracle primaveraIntroduction to oracle primavera
Introduction to oracle primavera
Dsunte Wilson
 
CCNA Advanced Switching
CCNA Advanced SwitchingCCNA Advanced Switching
CCNA Advanced Switching
Dsunte Wilson
 

Viewers also liked (20)

CCNA Quality of Services (QoS)
CCNA Quality of Services (QoS)CCNA Quality of Services (QoS)
CCNA Quality of Services (QoS)
 
CCNA point to point
CCNA  point to pointCCNA  point to point
CCNA point to point
 
Cisco CCNA Certification Exams
Cisco CCNA Certification ExamsCisco CCNA Certification Exams
Cisco CCNA Certification Exams
 
CCNA Wireless Lan (WLAN)
CCNA Wireless Lan (WLAN)CCNA Wireless Lan (WLAN)
CCNA Wireless Lan (WLAN)
 
CCNA Broadband
CCNA BroadbandCCNA Broadband
CCNA Broadband
 
ACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACIT
 
CCNA Network Monitoring
CCNA Network MonitoringCCNA Network Monitoring
CCNA Network Monitoring
 
CCNA eBGP Protocol
CCNA eBGP ProtocolCCNA eBGP Protocol
CCNA eBGP Protocol
 
CCNA site-to-site connectivity security
CCNA  site-to-site connectivity securityCCNA  site-to-site connectivity security
CCNA site-to-site connectivity security
 
ACIT - CCNA Training - Wan Interface
ACIT - CCNA Training - Wan InterfaceACIT - CCNA Training - Wan Interface
ACIT - CCNA Training - Wan Interface
 
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENTACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
 
ACIT - CCNA Training India - VPN
ACIT - CCNA Training India - VPNACIT - CCNA Training India - VPN
ACIT - CCNA Training India - VPN
 
SYMANTEC ENDPOINT PROTECTION Interfacing the SEPM with Protection Center
SYMANTEC ENDPOINT PROTECTION Interfacing the SEPM with Protection CenterSYMANTEC ENDPOINT PROTECTION Interfacing the SEPM with Protection Center
SYMANTEC ENDPOINT PROTECTION Interfacing the SEPM with Protection Center
 
Acit Mumbai - understanding vpns
Acit Mumbai - understanding vpnsAcit Mumbai - understanding vpns
Acit Mumbai - understanding vpns
 
CCNA Introducing Networks
CCNA Introducing NetworksCCNA Introducing Networks
CCNA Introducing Networks
 
CCNA Network Devices
CCNA Network DevicesCCNA Network Devices
CCNA Network Devices
 
Introduction to oracle primavera
Introduction to oracle primaveraIntroduction to oracle primavera
Introduction to oracle primavera
 
CCNA Advanced Switching
CCNA Advanced SwitchingCCNA Advanced Switching
CCNA Advanced Switching
 
CCNA TCP/IP
CCNA TCP/IPCCNA TCP/IP
CCNA TCP/IP
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 

Similar to acit mumbai - ospf rouitng

Dynamic Routing IGRP
Dynamic Routing IGRPDynamic Routing IGRP
Dynamic Routing IGRP
Kishore Kumar
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
Kris Mofu
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
Muuluu
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
97148881557
 
Eigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configurationEigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configuration
3Anetwork com
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrp
zafar85
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
Alp isik
 

Similar to acit mumbai - ospf rouitng (20)

OSPF 3
OSPF 3OSPF 3
OSPF 3
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
Dynamic routing OSPF 1
Dynamic routing OSPF 1Dynamic routing OSPF 1
Dynamic routing OSPF 1
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Dynamic Routing IGRP
Dynamic Routing IGRPDynamic Routing IGRP
Dynamic Routing IGRP
 
Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default Routing
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
 
Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
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)
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
ENSA_Module_2.pptx
ENSA_Module_2.pptxENSA_Module_2.pptx
ENSA_Module_2.pptx
 
ENSA_Module_2.pptx
ENSA_Module_2.pptxENSA_Module_2.pptx
ENSA_Module_2.pptx
 
Labs ospf
Labs ospfLabs ospf
Labs ospf
 
Eigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configurationEigrp on a cisco asa firewall configuration
Eigrp on a cisco asa firewall configuration
 
06 tk 1073 network layer
06   tk 1073 network layer06   tk 1073 network layer
06 tk 1073 network layer
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrp
 
Ospf Last Modified Eng
Ospf  Last Modified EngOspf  Last Modified Eng
Ospf Last Modified Eng
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

acit mumbai - ospf rouitng

  • 1. http://www.acit.in OSPF (Open Shortest Path First)
  • 2.
  • 3.
  • 4.
  • 5. http://www.acit.in/ OSPF - Network Diagram LAN - 192.168.1.0/24 LAN – 192.168.2.0/24 LAN - 192.168.3.0/24 AREA 0 E0 192.168.1.1/24 E0 192.168.2.1/24 E0 192.168.3.1/24 10.0.0.1/8 S0 S1 10.0.0.2/8 11.0.0.1/8 S0 S1 11.0.0.2/8 CHE HYD BAN
  • 6.
  • 7.
  • 8. How OSPF Works http://www.acit.in HYD CHE 10.0.0.1/8 SO 10.0.0.2/8 S1 Ex-Start STATE Exchange State No, I will start exchange because I have a higher router ID I will start exchange because I have router ID 172.16.0.1 Here is a summary of my link-state database Here is a summary of my link-state database
  • 9.
  • 11. Naveen Patel exit Hyderabad(config-if)# Hyderabad(config)# telnet 192.168.1.1 ================================ Welcome to Hyderabad Router ================================ User Access Verification password : **** **** enable configure terminal interface serial 0 ip address 10.0.0.1 255.0.0.0 no shut clockrate 64000 encapsulation hdlc Hyderabad> password : Hyderabad# Enter configuration commands, one per line. End with CNTL/Z. Hyderabad(config)# Hyderabad(config-if)# Hyderabad(config-if)# Hyderabad(config-if)# Hyderabad(config-if)# Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:gt; Connecting ..... Directly Connected Networks on HYDERABAD Router 192.168.1.0 10.0.0.0
  • 12. Naveen Patel Hyderabad(config)# router ospf 1 Hyderabad(config-router)# Hyderabad(config-router)# network 192.168.1.0 0.0.0.255 area 0 Hyderabad(config-router)# network 10.0.0.0 0.255.255.255 area 0 no ip routing Hyderabad(config)# Hyderabad(config)# ip routing Configuring OSPF Router(config)# router ospf <pid> Router(config-router)# network <Network ID> <wildcard mask> area <area id>
  • 13. Naveen Patel show ip route Hyderabad# Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set C 10.0.0.0/8 is directly connected, Serial0 O 11.0.0.0/8 [110/128] via 10.0.0.2, 00:00:36, Serial0 C 192.168.1.0/24 is directly connected, Ethernet0 O 192.168.2.0/24 [110/74] via 10.0.0.2, 00:00:36, Serial0 O 192.168.3.0/24 [110/138] via 10.0.0.2, 00:00:36, Serial0 Hyderabad# ^ Z O – for OSPF routes 110 is nothing but Administrative Distance Metric of OSPF Cost Hyderabad(config)# router ospf 1 Hyderabad(config-router)# Hyderabad(config-router)# network 192.168.1.0 0.0.0.255 area 0 Hyderabad(config-router)# network 10.0.0.0 0.255.255.255 area 0 no ip routing Hyderabad(config)# Hyderabad(config)# ip routing
  • 14. Naveen Patel show ip ospf database Hyderabad# OSPF Router with ID (192.168.1.1) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link 192.168.1.1 192.168.1.1 790 0x80000003 0x897B 3 192.168.2.1 192.168.2.1 234 0x80000005 0x542 5 192.168.3.1 192.168.3.1 232 0x80000003 0xD328 3 Hyderabad# show ip ospf neighbor Neighbor ID Pri State Dead Time Address 192.168.2.1 1 FULL/ - 00:00:36 10.0.0.2 Hyderabad#
  • 15. Naveen Patel Chennai(config-if)# Chennai(config-if)# ================================ Welcome to Chennai Router ================================ User Access Verification password : **** **** enable configure terminal ip address 10.0.0.2 255.0.0.0 no shut encapsulation hdlc interface serial 0 Chennai> password : Chennai# Enter configuration commands, one per line. End with CNTL/Z. Chennai(config)# Chennai(config-if)# Chennai(config-if)# Chennai(config-if)# Chennai(config-if)# Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:gt; Connecting ..... Chennai(config-if)# telnet 192.168.2.1 interface serial 1 ip address 11.0.0.1 255.0.0.0 no shut encapsulation hdlc Directly Connected Networks on CHENNAI Router 192.168.2.0 10.0.0.0 11.0.0.0
  • 16. Naveen Patel Chennai(config)# router ospf 2 Chennai(config-router)# Chennai(config-router)# network 192.168.2.0 0.0.0.255 area 0 Chennai(config-router)# network 10.0.0.0 0.255.255.255 area 0 no ip routing Chennai(config)# Chennai(config)# ip routing network 11.0.0.0 0.255.255.255 area 0 Chennai(config-router)# Configuring OSPF Router(config)# router ospf <pid> Router(config-router)# network <Network ID> <wildcard mask> area <area id>
  • 17. Naveen Patel show ip route Chennai# Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set C 10.0.0.0/8 is directly connected, Serial1 C 11.0.0.0/8 is directly connected, Serial0 O 192.168.1.0/24 [110/74] via 10.0.0.1, 00:01:33, Serial1 C 192.168.2.0/24 is directly connected, Ethernet0 O 192.168.3.0/24 [110/74] via 11.0.0.2, 00:01:33, Serial0 Chennai# ^ Z O – for OSPF routes 110 is nothing but Administrative Distance Metric of OSPF Cost Chennai(config)# router ospf 2 Chennai(config-router)# Chennai(config-router)# network 192.168.2.0 0.0.0.255 area 0 Chennai(config-router)# network 10.0.0.0 0.255.255.255 area 0 no ip routing Chennai(config)# Chennai(config)# ip routing network 11.0.0.0 0.255.255.255 area 0 Chennai(config-router)#
  • 18. Naveen Patel show ip ospf database Chennai# OSPF Router with ID (192.168.2.1) (Process ID 2) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link 192.168.1.1 192.168.1.1 1253 0x80000003 0x897B 3 192.168.2.1 192.168.2.1 695 0x80000005 0x542 5 192.168.3.1 192.168.3.1 693 0x80000003 0xD328 3 Chennai # show ip ospf neighbor Neighbor ID Pri State Dead Time Address 192.168.3.1 1 FULL/ - 00:00:35 11.0.0.2 192.168.1.1 1 FULL/ - 00:00:32 10.0.0.1 Chennai#
  • 19. Naveen Patel exit Banglore(config-if)# Banglore(config)# ================================ Welcome to Banglore Router ================================ User Access Verification password : **** **** enable configure terminal ip address 11.0.0.2 255.0.0.0 no shut clockrate 64000 encapsulation hdlc Banglore> password : Banglore# Enter configuration commands, one per line. End with CNTL/Z. Banglore(config)# Banglore(config-if)# Banglore(config-if)# Banglore(config-if)# Banglore(config-if)# Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:gt; Connecting ..... telnet 192.168.3.1 interface serial 1 Directly Connected Networks on Banglore Router 192.168.3.0 11.0.0.0
  • 20. Naveen Patel Banglore(config)# router ospf 1 Banglore(config-router)# Banglore(config-router)# network 192.168.3.0 0.0.0.255 area 0 Banglore(config-router)# no ip routing Banglore(config)# Banglore(config)# ip routing network 11.0.0.0 0.255.255.255 area 0 Configuring OSPF Router(config)# router ospf <pid> Router(config-router)# network <Network ID> <wildcard mask> area <area id>
  • 21. Naveen Patel show ip route Banglore# Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i- IS-IS, L1-IS-IS level-1, L2-IS-IS level-2,*- candidate default U - per-user static route, o - ODR Gateway of last resort is not set O 10.0.0.0/8 [110/128] via 11.0.0.1, 00:02:09, Serial1 C 11.0.0.0/8 is directly connected, Serial1 O 192.168.1.0/24 [110/138] via 11.0.0.1, 00:02:09, Serial1 O 192.168.2.0/24 [110/74] via 11.0.0.1, 00:02:09, Serial1 C 192.168.3.0/24 is directly connected, Ethernet0 Banglore# ^ Z O – for OSPF routes 110 is nothing but Administrative Distance Metric of OSPF Cost Banglore(config)# router ospf 1 Banglore(config-router)# Banglore(config-router)# network 192.168.3.0 0.0.0.255 area 0 Banglore(config-router)# no ip routing Banglore(config)# Banglore(config)# ip routing network 11.0.0.0 0.255.255.255 area 0
  • 22. Naveen Patel show ip ospf database Banglore# OSPF Router with ID (192.168.3.1) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link 192.168.1.1 192.168.1.1 1506 0x80000003 0x897B 3 192.168.2.1 192.168.2.1 948 0x80000005 0x542 5 192.168.3.1 192.168.3.1 944 0x80000003 0xD328 3 Banglore# show ip ospf neighbor Neighbor ID Pri State Dead Time Address 192.168.2.1 1 FULL/ - 00:00:37 11.0.0.1 Banglore#
  • 23. Naveen Patel ping 192.168.3.10 Hyderabad# Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Hyderabad# !!!!! ping 192.168.2.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Hyderabad# !!!!!
  • 24. Naveen Patel ping 192.168.1.10 Chennai# Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Chennai# !!!!! ping 192.168.3.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Chennai# !!!!!
  • 25. Naveen Patel ping 192.168.1.10 Banglore# Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Banglore# !!!!! ping 192.168.2.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.10, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 40/43/44 ms Banglore# !!!!!