0

I have doubt regarding length of "version" field in IP datagram. I have read the possible values are either 4 or 6 but they can represented in binary as 100 and 110, which are 3 bits in length. Then why the field has 4 bit length?

1

Simply, that's the way it's been defined. It also leaves some space for future versions. IPv15 - hmm...

1
  • Well, some of the values are reserved, so one of the reserved values can, in the future, mean that the version number is now longer than four bits. This is another one of the IANA number lists: Version Numbers.
    – Ron Maupin
    May 5 '20 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.