06-11-2007 01:50 PM - edited 03-03-2019 05:23 PM
OSPF HELLO pkt contains hello interval as well as router dead interval.
Why Hello interval is 16 bits, & Dead interval is 32 bits?
06-11-2007 03:07 PM
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,
06-11-2007 05:57 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide