Search code examples
ippaddingpacket

Why is there a padding in IP packet?


I make some recap but I can't figure out what the padding is for in the IP packet?

enter image description here

figure taken from here


Solution

  • The 'options' field is variable length, and the padding field is used to bring packet header length to a multiple of 32 bits