cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
965
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
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

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