OSPF DR and BDR Elections

Similar documents
Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two)

TDC 363 Introduction to LANs

Chapter 6 Reading Organizer

Lab 4: Routing using OSPF

CIS 83 Midterm Spring 2004 Answer Sheet Name Score Grade Question Answer Question Answer

The following questions are designed to test your understanding of this chapter s

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs).

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full

CCNA 3 (v v6.0) Chapter 10 Exam Answers % Full

CCNA Exploration: Routing Protocols and Concepts Chapter 10 Case Study

Understanding the OSPF Forming neighbor adjacencies process.

4A Alcatel-Lucent. Alcatel-Lucent Interior Routing Protocols and High Availability

GoCertify Advanced Cisco CCIE Lab Scenario # 1

Configuring OSPF in a single area. OSPF overview. Overview. Objectives. To understand how the OSPF protocol works

The primary audience for this course includes Network Administrators, Network Engineers,

Symbols. Numerics I N D E X

FINAL INTERNSHIP REPORT

Unit 3: Dynamic Routing

9.1. Routing Protocols

EIGRP Features and Operation

OSPF DESIGN GUIDE. Cisco Systems. Network Supported Accounts. Rev: 1.1 April, Sam Halabi. Network Consulting Engineer

IP Routing Tecnologie e Protocolli per Internet II rev 1

Chapter 3 Lab 3-1, Single-Area OSPF Link Costs and Interface Priorities

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

Configuring OSPF. Cisco s OSPF Implementation

REDDIG II Computer Networking Training

Part II. Chapter 3. Determining IP Routes

Lab Configuring OSPF Timers

Chapter 3 Lab 3-4, OSPF over Frame Relay

Introduction to OSPF

Introduction to OSPF

Configuration and Management of Networks

8. Refer to the exhibit. The ORL router is unable to form a neighbor relationship with the JAX router. What is a possible cause of this problem?

OSPF with Multi Area Adjacency Configuration Example

Configuring Redundant Routing on the VPN 3000 Concentrator

Exam Name: CCNA - Cisco Certified Network Associate

CCNA 3 (v v6.0) Chapter 6 Exam Answers % Full

A study of WAN design, routing protocols and connectivity between Head office to Branch office

2016 Braindump2go Valid Cisco Exam Preparation Materials:

Cisco Interconnecting Cisco Networking Devices Part 2

IPv6 Routing: OSPFv3

Introduction to OSPF

ETSF05: Internet Protocol Routing Project Assignment

OSPF (Open Shortest Path First)

We have looked at how and why one router dials another using ISDN. Just as important is knowing what keeps the link up once it is dialed.

The Assignment is divided into preparation, practical part, and documentation.

Introduction to IS-IS

Scaling IGPs in ISP Networks. Philip Smith SANOG 8, Karachi 3rd August 2006

IP Routing Lab Assignment Configuring Basic Aspects of IP IGP Routing Protocols

Module 6 ibgp and Basic ebgp

Module 6 IPv6 ibgp and Basic ebgp

Examsheets Questions and Answers

Introduction to OSPF OSPF. Link State Routing. Link State. Fast Convergence. Low Bandwidth Utilisation

Lab Configuring OSPF Timers 2500 Series

OSPF (Open Shortest Path First)

CCNA 3 (v v6.0) Chapter 8 Exam Answers % Full

CCNA Questions/Answers Routing Protocols

COPYRIGHTED MATERIAL. Table of Contents. Assessment Test

Advanced Networking: Routing & Switching 2 Chapter 7

Chapter 1 Lab 1-1, Single-Area OSPF Link Costs and Interface Priorities

Table of Contents 1 OSPF Configuration 1-1

CCNA 4 - Final Exam (B)

Lab- Configuring Basic Single-Area OSPFv2

OSPFv2 Cryptographic Authentication

CCNP 1 Module 6 OSPF Paul Flynn 1

Claim desired outcome

CCNA 3 (v v6.0) Chapter 7 Exam Answers % Full

CCNA IP ROUTING. Revision no.: PPT/2K605/03

Novell TCP IP for Networking Professionals.

CCNA. Course Catalog

Chapter 8 Configuring OSPF

Alcatel-lucent EXAM - 4A Alcatel-Lucent Interior Routing Protocols and High Availability. Buy Full Product.

OSPF. Unless otherwise noted, OSPF refers to OSPFv2 throughout this document.

Exam Questions

Lab 9.6.2: Challenge EIGRP Configuration Lab

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

BSCI. Section 5. Intermediate System-to- Intermediate System (IS-IS)

Vendor: Cisco. Exam Code: Exam Name: Cisco Interconnecting Cisco Networking Devices Part 1 (ICND1 v3.0) Version: Demo

Cisco Exam Questions & Answers

Routing Protocol. RIPv1

GuideTorrent. The best excellent exam certification guide torrent and dumps torrent provider

CCNA Semester 2 labs. Part 2 of 2 Labs for chapters 8 11

SEMESTER 2 Chapter 1 Planning and Cabling a Network V 4.0

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

CCENT Study Guide. Chapter 9 IP Routing

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

Configuring EIGRP. 2001, Cisco Systems, Inc.

Module 6 More ibgp, and Basic ebgp Configuration

Lab : Challenge OSPF Configuration Lab. Topology Diagram. Addressing Table. Default Gateway. Device Interface IP Address Subnet Mask

The commands in this appendix are organized in the following sections:

Implementing Cisco IP Routing (ROUTE)

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of

Which of the following are primary functions of a router? (Choose two.) - packet switching - path selection

Juniper JN Enterprise Routing and Switching, Specialist (JNCIS-ENT)

Sybex CCENT Chapter 8: IP Routing. Instructor & Todd Lammle

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

Configuring a Management IP Address on Catalyst 4500/4000, 5500/5000, 6500/6000, and Catalyst Fixed Configuration Switches

Routing Configuration Commands

Routing Protocols. Technology Description BGP CHAPTER

Helsinki University of Technology Telecommunications Laboratory. OSPF Routing Protocol Licenciate course seminar paper

Transcription:

OSPF DR and BDR Elections

In Chapter 6, Enhanced IGRP (EIGRP) and Open Shortest Path First (OSPF), of the Sybex CCNA Study Guide Standard and CCNA Study Guide Deluxe Editions, I discussed EIGRP and OSPF in detail. But I d really like to expand the section on designated routers and backup designated routers. I d also like to delve deeper into verifying the election process and provide you with a hands-on lab to help you understand that process even better! To start with, I need to make sure you fully understand the terms neighbors and adjacencies because they re really crucial to the DR and BDR election process. The election process happens when a broadcast or nonbroadcast multi-access network is connected together. (Think Ethernet or Frame Relay.) Finally, I m going to end this OSPF update section with a hands-on lab that s critically important for you to understand the OSPF designated router (DR) and backup designated router (BDR) election process. Neighbors Routers that share a common segment become neighbors on that segment. These neighbors are elected via the Hello protocol. Hello packets are sent periodically out of each interface using IP multicast. Two routers won t become neighbors unless they agree on the following: Area-ID The idea here is that the two routers interfaces have to belong to the same area on a particular segment. And of course, those interfaces have to belong to the same subnet. Authentication OSPF allows for the configuration of a password for a specific area. Although authentication between routers isn t required, you have the option to set it if you need to do so. Also, keep in mind that in order for routers to become neighbors, they need to have the same password on a segment if you re using authentication. Hello and Dead Intervals OSPF exchanges Hello packets on each segment. This is a keepalive system used by routers to acknowledge their existence on a segment and for electing a designated router (DR) on both broadcast and nonbroadcast multi-access segments. The Hello interval specifies the amount of seconds between Hello packets. The Dead interval is the number of seconds that a router s Hello packets can go without being seen before its neighbors declare the OSPF router dead (down). OSPF requires these intervals to be exactly the same between two neighbors. If any of these intervals are different, the routers won t become neighbors on that segment. You can see these timers with the show ip ospf interface command.

Hands-on Lab: OSPF DR and BDR Elections 3 Adjacencies In the election process, adjacency is the next step after the neighboring process. Adjacent routers are routers that go beyond the simple Hello exchange and proceed into the database exchange process. In order to minimize the amount of information exchanged on a particular segment, OSPF elects one router to be a designated router (DR) and one router to be a backup designated router (BDR) on each multi-access segment. The BDR is elected as a backup router in case the DR goes down. The idea behind this is that routers have a central point of contact for information exchange. Instead of each router exchanging updates with every other router on the segment, every router exchanges information with the DR and BDR. The DR and BDR then relay the information to everybody else. DR and BDR Elections DR and BDR election is accomplished via the Hello protocol. Hello packets are exchanged via IP multicast packets on each segment. However, only segments that are broadcast and nonbroadcast multi-access networks (examples are Ethernet and Frame Relay) will perform DR and BDR elections. Point-to-point links, like a serial WAN for example, will not have a DR election process. On a broadcast or nonbroadcast multi-access network, the router with the highest OSPF priority on a segment will become the DR for that segment. This priority is shown with the show ip ospf interface command. The default priority for a router interface is one. If all routers have the default priority set, the router with the highest Router ID (RID) will win. The RID is determined by the highest IP address on any interface at the moment of OSPF startup. This can be overridden with a loopback (logical) interface. If you set a router s interface to a priority value of zero, that router won t participate in the DR or BDR election on that interface. The state of the interface with priority zero will then be DROTHER. Hands-on Lab: OSPF DR and BDR Elections In this lab, you ll watch the DR and BDR elections on your test network by forcing and verifying the election process. You re going to start by using Figure 1.1 to build your network. The more routers you have the better, but you need at least three routers connected via a LAN segment to complete this lab. In this lab, I am using 2500 series routers, but you can use any type of router with any type of LAN interface. In addition, the RouterSim 4.1 program can also run this lab.

4 OSPF DR and BDR Elections FIGURE 1.1 OSPF Hands-on Lab network diagram Lab_A E0 Lab_B E0 Lab_C E0 1. First, connect the network together as shown in Figure 1.1. Create an IP scheme for the network something simple like 10.1.1.1/24, 10.1.1.2/24, and 10.1.1.3/24 will work great. 2. Now configure OSPF, and place all routers into area 0. Only the Ethernet LAN interface needs to be configured in this lab, because as you know, elections don t take place on serial connections. 3. Next, type show ip ospf interface e0 on each router to verify area ID, DR, BDR information and the Hello and Dead timers of the interface connected to the LAN network 4. By looking at the show ip ospf interface e0 output, determine which router is the DR and which router is the BDR. 5. Now verify the network type of your router. Because the connection is on an Ethernet LAN, the Network Type is BROADCAST. If you were viewing a serial connection, you d want a point-to-point network. 6. Here you have to set the priority for the router. The priority of all routers, by default, is 1. If you were to change the priority to 0, the router would never participate in the election process for the LAN (remember that elections do not occur on serial point-to-point links). 7. Now you need to decide which router will be the new DR. 8. Next, enable the debugging process that allows you to see the DR and BDR election take place. Type debug ip ospf adjacency on all your routers. Try and open more then one console connection by telnetting into the other routers. Remember to use the terminal monitor command on the telnet session or you won t see any debugging output! 9. Here, set the priority of the new DR Ethernet 0 interface to 3 by typing: ip ospf priority 3. 10. Next, shut down the Ethernet interface of the DR router and bring it back up with the no shutdown command. Obviously, if you re telnetted into that router, you ll lose your session at this point.

Hands-on Lab: OSPF DR and BDR Elections 5 11. Here s where the election should take place and the router you picked to be the DR should now actually be the DR. 12. Finally, type show ip ospf interface e0 to verify the DR and BDR information on each router. The priority of a router s interface can be set all the way up to 255, which means it will always be the DR of the area. You can then set a router in your test network with a higher priority and see that the priority takes precedence over a high RID on a router, even if you are using a loopback (logical) interface.