1 / 34

OSPF

OSPF. Routing Protocols and Concepts – Chapter 11. Objectives. OSPF Introductions EIGRP Vs OSPF OSPF Metric OSPF Packets DR and BDR election Configurations Troubleshooting. OSPF Introductions. OSPF - Introductions. Background of OSPF Began in 1987 1989 OSPFv1 released in RFC 1131

gibson
Télécharger la présentation

OSPF

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OSPF Routing Protocols and Concepts – Chapter 11

  2. Objectives • OSPF Introductions • EIGRP Vs OSPF • OSPF Metric • OSPF Packets • DR and BDR election • Configurations • Troubleshooting

  3. OSPF Introductions

  4. OSPF - Introductions • Background of OSPF • Began in 1987 • 1989 OSPFv1 released in RFC 1131 • This version was experimental & never deployed • 1991 OSPFv2 released in RFC 1247 • 1998 OSPFv2 updated in RFC 2328 • 1999 OSPFv3 published in RFC 2740

  5. OSPF Introduction • OSPF Algorithm • OSPF routers build & maintain link-state database containing LSA received from other routers • Information found in database is utilized upon execution of Dijkstra SPF algorithm • SPF algorithm used to create SPF tree • SPF tree used to populate routing table

  6. EIGRP and OSPF

  7. EIGRP and OSPF

  8. EIGRP and OSPF

  9. OSPF Metric

  10. OSPF Metric • COST of an OSPF route • Is the accumulated value from one router to the next

  11. OSPF - Packets

  12. OSPF - Packets • Purpose of Hello Packet • Discover neighbors • Advertise guidelines • DR/BDR

  13. OSPF - Packets

  14. DR/BDR • OSPF defines five network types: • Point-to-point • Broadcast Multiaccess • Nonbroadcast Multiaccess (NBMA) • Point-to-multipoint • Virtual links

  15. DR/BDR • Extensive flooding of LSAs • For every LSA sent out there must be an acknowledgement of receipt sent back to transmitting router • Consequence: lots of bandwidth consumed and chaotic traffic

  16. DR/BDR • 2 challenges presented by multiaccess networks • Multiple adjacencies • Extensive LSA flooding

  17. DR/BDR • DR vs. BDR vs. DROther • Sending & Receiving LSA • DR others send LSAs via multicast 224.0.0.6 to DR & BDR • DR forward LSA via multicast address 224.0.0.5 to all other routers

  18. DR/BDR • Router booted first = DR • Set Priority (higher = better, 0 = DROther) • Router ID (IP Addresses) • Set Router ID • Highest Loop Back Address • Highest Active Link Address

  19. DR/BDR • When a DR is elected it remains as the DR until one of the following occurs • The DR fails • The OSPF process on the DR fails • The multiaccess interface on the DR fails

  20. Which are DR’s and which are BDR for the Multiaccess links.

  21. OSPF Configuration - Basic • Enable OSPF • Process id -A locally significant number between 1 and 65535 • OSPF network command • network address • wildcard mask - the inverse of the subnet mask • area-id - area-id refers to the OSPF area – OSPF area is a group of routers that share link state information

  22. OSPF Configuration – Bandwidth & Cost

  23. OSPF Configuration - Bandwidth

  24. OSPF Configurations - DR/BDR • Example:Router(config-if)#ip ospf priority {0 - 255} • 0 means the router cannot become the DR or BDR • 1 is the default priority value

  25. OSPF Configuration - DR/BDR • The OSPF router-id command • Introduced in IOS 12.0 • Command syntax • Router(config)#router ospfprocess-id • Router(config-router)#router-id ip-address • Modifying the Router ID • Use the commandRouter#clear ipospf process

  26. OSPF Configuration - DR/BDR • Setting Loopback

  27. OSPF Configuration – Default Route • R1(config)#ip route 0.0.0.0 0.0.0.0 Serial 0/0/0 • R1(config-router)#default-information originate

  28. OSPF Configuration

  29. Troubleshooting

  30. Troubleshooting – Show IP Route

  31. Troubleshooting – Show IP Protocols

  32. Troubleshooting • Routers must have same… • Area ID • Hello Interval • Network Type (IP/Appletalk)

  33. External OSPF • The cost of this route will not increment

More Related