Restrictions for Pre-Fragmentation for IPsec VPNs
Take the following information into consideration before this feature is configured:
-
Pre-fragmentation for IPsec VPNs operates in IPsec tunnel mode and IPsec tunnel mode with GRE, but not with IPsec transport mode.
-
Pre-fragmentation for IPsec VPNs configured on the decrypting router in a unidirectional traffic scenario does not improve the performance or change the behavior of either of the peers.
-
Pre-fragmentation for IPsec VPNs occurs before the transform is applied if compression is turned on for outgoing packets.
-
Pre-fragmentation for IPsec VPNs functionality depends on the egress interface crypto ipsec df-bit configuration and the incoming packet “do not fragment” (DF) bit state. See the table below.
Pre-Fragmentation for IPsec VPNs Feature State (Enabled/Disabled) |
Egress Interface “crypto ipsec df-bit” Configuration |
Incoming Packet DF Bit State |
Result |
---|---|---|---|
Enabled |
crypto ipsec df-bit clear |
0 |
Fragmentation occurs before encryption. |
Enabled |
crypto ipsec df-bit clear |
1 |
Fragmentation occurs before encryption. |
Disabled |
crypto ipsec df-bit clear |
0 |
Fragmentation occurs after encryption and packets are reassembled before decryption. |
Disabled |
crypto ipsec df-bit clear |
1 |
Fragmentation occurs after encryption and packets are reassembled before decryption. |
Enabled |
crypto ipsec df-bit set |
0 |
Fragmentation occurs before encryption. |
Enabled |
crypto ipsec df-bit set |
1 |
Packets are dropped. |
Disabled |
crypto ipsec df-bit set |
0 |
Fragmentation occurs after encryption and packets are reassembled before decryption. |
Disabled |
crypto ipsec df-bit set |
1 |
Packets are dropped. |
Enabled |
crypto ipsec df-bit copy |
0 |
Fragmentation occurs before encryption. |
Enabled |
crypto ipsec df-bit copy |
1 |
Packets are dropped. |
Disabled |
crypto ipsec df-bit copy |
0 |
Fragmentation occurs after encryption, and packets are reassembled before decryption. |
Disabled |
crypto ipsec df-bit copy |
1 |
Packets are dropped. |