Link A-R1
Length= (920Bdata+20Bheader)=940B
Link R1-R2(here the packet is being fragmented into 2 packets)
Packet1:Length=(504B data+ 8B header)=512B [It is correct bcz data's length i.e 504 is divisible by 8]
Packet 2:Length=(416B data + 8B header)=424B [It is correct bcz data's length i.e 416 is divisible by 8]
Link R2-B( here packet 1 from link R1-R2 is fragmented into to two packets say packet1,1 and packet 1,2)
Packet1.1 Length=(496 B data+ 12 bytes header)=508 B [It is correct bcz data's length i.e 496 is divisible by 8]
Packet 1.2 Length=(8 B data+ 12 bytes header)=20 B [It is correct bcz data's length i.e 8 is divisible by 8]
Packet 2 Length=(416 B data+ 12 bytes header)=428 B [It is correct bcz data's length i.e 416 is divisible by 8]
So Receiver receives three packets.
PACKET |
ID |
MF |
HL=Headersize/4 |
TL |
OFFSET |
PACKET 1,1 |
X |
1 |
3 |
508 |
0 |
PACKET 1,2 |
X |
1 |
3 |
20 |
496/8=62 |
PACKET 2 |
X |
0 |
3 |
428 |
(496+8)/8=63 |