Why is in OSPF LSA sequence nuber in range 0x80000001 to 0x7FFFFFFF

2

Why is in OSPF LSA sequence number in range 0x80000001 to 0x7FFFFFFF. I suppose that it is for some historical reasons but cannot google it.

routing
lsa
ospf
asked on Stack Overflow Feb 18, 2013 by Jan Pluskal

2 Answers

2

LSA sequence number is a signed 32-bit integer.

So 0x80000001 to 0x7fffffff basically covers the whole possible range except one number: 0x80000000, and this special number is reserved.

You can read this page of RFC 2328 for more details.

answered on Stack Overflow Feb 23, 2013 by zzk
1

As a signed integer, the sequence number counts from -2 147 483 647 to 2 147 483 647.

If it would count from 0x00000001 to 0xffffffff, it would appear as a count from 1 to 2 147 483 647 and then from -2 147 483 648 to -1.

answered on Stack Overflow Jun 2, 2014 by Wasp

User contributions licensed under CC BY-SA 3.0