IPv6 : packet fragmentation

IPv6, described in the IPv6 chapter of Computer Networking: Principles, Protocols and Practice can fragment packets that are larger than the MTU.


Reorder IPv6 packet fragments

Can you reorder the IPv6 fragments below ?

Note that for technical reasons, the packet dissector shows the Offset field as two different bytes :
  • the low order byte (Offset LB)
  • the high order byte (Offset UB)

This implies that the Offset is \(LB+256*UB\).

# Length Resumé Status
0 48 bytes <Fragment Header: >
1 48 bytes <Fragment Header: >
2 48 bytes <Fragment Header: >
3 48 bytes <Fragment Header: >
4 48 bytes <Fragment Header: >

0000  6005149604d82c40  2a0227880484059e  
0010  2c1c849ef74fe233  200141d0000affcf  
0020  0000000000000001  3a000001bc89d016  

0000  `....Ø,@*.'.....
0010  ,...÷Oâ3 .AÐ..ÿÏ
0020  ........:...¼.Ð.
  • IPv6:
    • Version: 6
    • Traffic Class UB: 0
    • Traffic Class LB: 0
    • Flow Label UB: 5
    • Flow Label LB: 5270
    • Payload Length: 1240
    • Next Header: 44
    • Hop Limit: 64
    • Source Address: 2a02:2788:484:59e:2c1c:849e:f74f:e233
    • Destination Address: 2001:41d0:a:ffcf::1
    • Payload: Fragment Header
      • Next Header: 58
      • Reserved: 0
      • Fragment Offset LB: 0
      • Fragment Offset UB: 0
      • Res: 0
      • M flag: 1
      • Identification: 3163148310
0000  6005149604d82c40  2a0227880484059e  
0010  2c1c849ef74fe233  200141d0000affcf  
0020  0000000000000001  3a0009a1bc89d016  

0000  `....Ø,@*.'.....
0010  ,...÷Oâ3 .AÐ..ÿÏ
0020  ........:..¡¼.Ð.
  • IPv6:
    • Version: 6
    • Traffic Class UB: 0
    • Traffic Class LB: 0
    • Flow Label UB: 5
    • Flow Label LB: 5270
    • Payload Length: 1240
    • Next Header: 44
    • Hop Limit: 64
    • Source Address: 2a02:2788:484:59e:2c1c:849e:f74f:e233
    • Destination Address: 2001:41d0:a:ffcf::1
    • Payload: Fragment Header
      • Next Header: 58
      • Reserved: 0
      • Fragment Offset LB: 9
      • Fragment Offset UB: 20
      • Res: 0
      • M flag: 1
      • Identification: 3163148310
0000  6005149604d82c40  2a0227880484059e  
0010  2c1c849ef74fe233  200141d0000affcf  
0020  0000000000000001  3a0004d1bc89d016  

0000  `....Ø,@*.'.....
0010  ,...÷Oâ3 .AÐ..ÿÏ
0020  ........:..Ѽ.Ð.
  • IPv6:
    • Version: 6
    • Traffic Class UB: 0
    • Traffic Class LB: 0
    • Flow Label UB: 5
    • Flow Label LB: 5270
    • Payload Length: 1240
    • Next Header: 44
    • Hop Limit: 64
    • Source Address: 2a02:2788:484:59e:2c1c:849e:f74f:e233
    • Destination Address: 2001:41d0:a:ffcf::1
    • Payload: Fragment Header
      • Next Header: 58
      • Reserved: 0
      • Fragment Offset LB: 4
      • Fragment Offset UB: 26
      • Res: 0
      • M flag: 1
      • Identification: 3163148310
0000  6005149604d82c40  2a0227880484059e  
0010  2c1c849ef74fe233  200141d0000affcf  
0020  0000000000000001  3a000e71bc89d016  

0000  `....Ø,@*.'.....
0010  ,...÷Oâ3 .AÐ..ÿÏ
0020  ........:..q¼.Ð.
  • IPv6:
    • Version: 6
    • Traffic Class UB: 0
    • Traffic Class LB: 0
    • Flow Label UB: 5
    • Flow Label LB: 5270
    • Payload Length: 1240
    • Next Header: 44
    • Hop Limit: 64
    • Source Address: 2a02:2788:484:59e:2c1c:849e:f74f:e233
    • Destination Address: 2001:41d0:a:ffcf::1
    • Payload: Fragment Header
      • Next Header: 58
      • Reserved: 0
      • Fragment Offset LB: 14
      • Fragment Offset UB: 14
      • Res: 0
      • M flag: 1
      • Identification: 3163148310
0000  6005149600582c40  2a0227880484059e  
0010  2c1c849ef74fe233  200141d0000affcf  
0020  0000000000000001  3a001340bc89d016  

0000  `....X,@*.'.....
0010  ,...÷Oâ3 .AÐ..ÿÏ
0020  ........:..@¼.Ð.
  • IPv6:
    • Version: 6
    • Traffic Class UB: 0
    • Traffic Class LB: 0
    • Flow Label UB: 5
    • Flow Label LB: 5270
    • Payload Length: 88
    • Next Header: 44
    • Hop Limit: 64
    • Source Address: 2a02:2788:484:59e:2c1c:849e:f74f:e233
    • Destination Address: 2001:41d0:a:ffcf::1
    • Payload: Fragment Header
      • Next Header: 58
      • Reserved: 0
      • Fragment Offset LB: 19
      • Fragment Offset UB: 8
      • Res: 0
      • M flag: 0
      • Identification: 3163148310

Information

Author(s) Olivier Bonaventure
Deadline No deadline
Submission limit No limitation
Category Tags IPv6

Sign in