cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
790
Views
4
Helpful
2
Replies

OSPF hello & Dead Interval

bvsnarayana03
Level 5
Level 5

OSPF HELLO pkt contains hello interval as well as router dead interval.

Why Hello interval is 16 bits, & Dead interval is 32 bits?

2 Replies 2

Harold Ritter
Cisco Employee
Cisco Employee

These are the values defined in RFC2328 Appendix A.3.2.

http://www.ietf.org/rfc/rfc2328.txt?number=2328

It is normal for the dead interval to be longer than the hello interval but I don't know precisely why 32 and 16 were used.

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

I also do not know for sure why 16 and 32 were used. But given the nature of binary arithmetic my history as a programmer says that double word binary boundaries scales better than single word binary boundaries. And the choice of 16 is a logical choice for the lower value (giving 65535 as the maximum hello interval). And since the dead interval must be larger, in double word values 32 is the next logical choice (any other choice probably wastes bits in storage of values).

And I note that if you look at many of the early RFCs designing IP operations there are many values that are stored in binary as double words.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card