Ospf Hello Packets
- Date: 2009-12-09 - Word Count: 476
Share This!
As a CCNA / CCNP candidate you are expected to understand the purpose and function of the OSPF protocol.
The CCNA / CCNP's exam will ask of you to determine the purpose of the OSPF hello packet, what it contains and the role it plays
Inside the OSPF Hello Packet
OSPF routers create neighbor relationships with directly connected routers by exchanging hello messages. OSPF Router exchange hellos addressed to the ALLSPFROUTERS multicast destination address of 224.0.0.5.
OSPF sends out hello packets every 10 seconds with a hold time of 40secs on a broadcast link or Point-to-point link
OSPF sends out hello packets every 30 seconds with a hold time of 120secs on a non-broadcast link
The Hello Packet contains the following data:
1. ROUTER ID = Router ID, this is a 32-bit number that is unique to this router
2. *HELLOS & DEAD INTERVALS = Hello and dead interval Period of time between hellos and the dead timer, these values must match between two routers becoming neighbors
3. NEIGHBOUR LIST = Is a List of neighbor Router Ids that this router sees as their neighbor
4. *AREA ID = Area ID Area number, this value must be identical between two routers becoming neighbors
5. ROUTER PRIORIY = Router Priority of this interface, the router advertising the highest priority is elected the designated router during the DR/DBR election process.
6. ROUTER ID = The Router ID of who this router believes is the DR and BDR IP address of designated routers
7. *AUTHENTICATION = If you have authentication set it is important that the Password matches between the two routers becoming neighbors.
8. *STUB AREA FLAG = If the routers becoming neighbors are in a Stub Area, then the Stub Area Flag must be set
Two routers will initially exchange hello and examine the contents of the Hello Packets to verify that the fields which need to match do indeed match.
If any of the fields do not match the routers cannot form any neighbor adjacency, to view the reasons for any possible issues run the following command:
R1#debug ip ospf adj
If you see your neighbour adjacency like below, where the state is FULL means the adjacency has formed:
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 FULL/DR 00:00:39 192.168.1.3 Ethernet0/0
If you see your neighbour adjacency like below, where the state is 2-way means the neighbour relationship has formed and that the neighbour is neither the DR nor the BDR:
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 2-WAY/DROTHER 00:00:39 192.168.1.3 Ethernet0/0
If you see your neighbour adjacency like below, where the state is Exstart the neighbors are past the 2-way state and are determining which device is going to start the exchange of the summary of the Link state database. If the state continues to display exstart can mean that the Interface MTU sizes are mismatched. Run the "debug ip ospf adj" command to show any neighbour formation issues.
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 Exstart/DR 00:00:39 192.168.1.3 Ethernet0/0
The CCNA / CCNP's exam will ask of you to determine the purpose of the OSPF hello packet, what it contains and the role it plays
Inside the OSPF Hello Packet
OSPF routers create neighbor relationships with directly connected routers by exchanging hello messages. OSPF Router exchange hellos addressed to the ALLSPFROUTERS multicast destination address of 224.0.0.5.
OSPF sends out hello packets every 10 seconds with a hold time of 40secs on a broadcast link or Point-to-point link
OSPF sends out hello packets every 30 seconds with a hold time of 120secs on a non-broadcast link
The Hello Packet contains the following data:
1. ROUTER ID = Router ID, this is a 32-bit number that is unique to this router
2. *HELLOS & DEAD INTERVALS = Hello and dead interval Period of time between hellos and the dead timer, these values must match between two routers becoming neighbors
3. NEIGHBOUR LIST = Is a List of neighbor Router Ids that this router sees as their neighbor
4. *AREA ID = Area ID Area number, this value must be identical between two routers becoming neighbors
5. ROUTER PRIORIY = Router Priority of this interface, the router advertising the highest priority is elected the designated router during the DR/DBR election process.
6. ROUTER ID = The Router ID of who this router believes is the DR and BDR IP address of designated routers
7. *AUTHENTICATION = If you have authentication set it is important that the Password matches between the two routers becoming neighbors.
8. *STUB AREA FLAG = If the routers becoming neighbors are in a Stub Area, then the Stub Area Flag must be set
Two routers will initially exchange hello and examine the contents of the Hello Packets to verify that the fields which need to match do indeed match.
If any of the fields do not match the routers cannot form any neighbor adjacency, to view the reasons for any possible issues run the following command:
R1#debug ip ospf adj
If you see your neighbour adjacency like below, where the state is FULL means the adjacency has formed:
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 FULL/DR 00:00:39 192.168.1.3 Ethernet0/0
If you see your neighbour adjacency like below, where the state is 2-way means the neighbour relationship has formed and that the neighbour is neither the DR nor the BDR:
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 2-WAY/DROTHER 00:00:39 192.168.1.3 Ethernet0/0
If you see your neighbour adjacency like below, where the state is Exstart the neighbors are past the 2-way state and are determining which device is going to start the exchange of the summary of the Link state database. If the state continues to display exstart can mean that the Interface MTU sizes are mismatched. Run the "debug ip ospf adj" command to show any neighbour formation issues.
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.3 1 Exstart/DR 00:00:39 192.168.1.3 Ethernet0/0
Related Tags: ccna, ccnp, ospf, commsupport
Your Article Search Directory : Find in Articles
Recent articles in this category:
- Understanding Cisco Sfp Optical Transceivers
The word SFP is an IT industry term which stands for Small Form Factor Pluggable. An SFP is a variet - Sharing The Internet Connection
If you are connecting two or more of your computers with each other over the network, then it is eas - Connecting The New Computer To My Server
The server is the computer that will handle the requests for applications, data and also other netwo - Networks
What is a network and its types ?The generic term " network "defines a set of entities (objects, peo - Ssl Certificates Are In Use Today Not All Valid
Qualys, a security research firm tries to paint a detailed portrait of SSL deployments and gaps with - A Mail Forwarding Usa - A Gift To Global Trade Links
Technologies have evolved very much over the past few decades. Globalization has enabled the world t - Benefits Of Wan Optimization Appliances/devices
In today's globally competitive market, corporate organizations both big and small adopt strategic m - Proper Network Cable Management And How It Can Save Your Business Time And Money
In many businesses now there are plenty of computers which will likely be attached to some sort of s - Dedicated Hosting In India For Web Servers
Dedicated web server hosting in India for complete control over your dedicated server is provided by - Outsourcing: The Future Of Network Management India
Computer Networking is a dynamic area and few strategies that were not thinkable yesterday can becom
Most viewed articles in this category:
- Image Sticking In Lcd Tv Sets
Image Retention - Isn't it just an issue with Plasma TVs?What is Image Sticking?Many are aware that - Used Foundry Networks: Used IT Gear Goes Mainstream
San Francisco, CA April 10, 2006Ask any IT manager what they think about used data networking gear a - CCNP Certification / BCMSN Exam Tutorial: Server Load Balancing (SLB)
When you're working on your BCMSN exam on your way to CCNP certification, you'll read at length abou - CCNP Certification / BSCI Exam Tutorial: The BGP Neighbor Process
Like TCP, BGP is connection-oriented. An underlying connection between two BGP speakers is est - CCNA / MCSE / CCNP Certification: Making Failure Work For You
Whether you're on the road to the CCNA, CCNP, MCSE, or you're on any other computer certification tr - Cisco CCNP / BSCI Exam Tutorial: OSPF Route Redistribution Review
OSPF route redistribution is an important topic on the BSCI exam, and it's a topic full of details a - Cisco CCNA / CCNP / BCMSN Exam Review: Trunking And Trunking Protocols
To earn your CCNA or CCNP certification, you've got to understand the basics of trunking. This - Cisco CCNP / BSCI Exam Tutorial: 10 ISIS Details You Must Know!
Earning your CCNP certification and passing the BSCI exam depends on knowing the details of many Cis - Cisco CCNA / CCNP Certification Exam Tutorial: ISDN And Multilink PPP
ISDN is a huge topic on both your Cisco CCNA and BCRAN CCNP exams. While many ISDN topics seem - Used foundry networks hardware remains in high demand
San Francisco, CA May 22, 2006: In recent years, the trend towards used networking hardware has cont