Why IKEv2 tunnels stall after you add post-quantum key exchange
When a strongSwan or Libreswan gateway stalls or retransmits during IKEv2 negotiation after you enable a post-quantum key exchange, the most likely cause is an IKE message that is too large for the path. The usual suspect is the IKE_INTERMEDIATE exchange, which carries the post-quantum key material and can be much bigger than a classic IKE_SA_INIT. When the message exceeds the path MTU, it is fragmented, and if any single fragment is lost or dropped by a firewall, the whole message must be resent. Each retransmission repeats the problem, so the negotiation appears to hang. The default retransmission settings (five tries, a 4.0 second timeout and a 1.8 base) give up after 165 seconds, so a stalled tunnel typically fails with a timeout rather than an explicit error.
The tunnel is still encrypted during this exchange. The first IKE_SA_INIT is classic and protects the later IKE_INTERMEDIATE exchange, so a stall does not expose traffic. It is urgent anyway: a tunnel that cannot establish is an outage for every site and user it serves. Check the gateway logs first. In strongSwan, the ike, net and enc log groups show retransmissions and raw messages, and the FRAGMENTATION_SUPPORTED (FRAG_SUP) notify in the IKE_SA_INIT output tells you whether the peer accepts fragments. Confirm the peer's version and whether it supports post-quantum key exchange before changing anything, since older builds may not negotiate it at all.
The gateway administrator must act on the gateway and the firewall together. On the gateway, confirm that fragmentation is set to yes or accept in swanctl.conf (or fragmentation=yes in Libreswan's ipsec.conf), and consider lowering charon.fragment_size in strongswan.conf from its default of 1280 if the path drops larger fragments. On the firewall, allow IP fragments through, since many stateful devices drop them by default. Then reload connections with swanctl --load-all and run swanctl --list-sas to confirm the SA establishes. Repeat the test from the remote peer and watch the logs for the fragment reassembly message, to verify the fix holds for the full exchange.
Who has to act: gateway administrator, firewall team, and remote-client users
Fragmentation failures after adding post-quantum key exchange usually need changes in more than one place, and each place belongs to a different team. Knowing which team controls which setting tells you who to contact, what to request, and what evidence to bring when you ask.
Gateway administrator controls the IKE settings
The administrator of each IKEv2 gateway owns the connection definition and the daemon settings. In strongSwan that means the fragmentation setting in swanctl.conf under connections.<conn>, and the fragment size and packet limits in strongswan.conf. In Libreswan the equivalent controls are the fragmentation= and mtu= keys in ipsec.conf. This is the team that decides whether the gateway advertises fragmentation support and what size its own IKE fragments may reach. Ask them to confirm the current values, and to check the IKE_SA_INIT logs for the FRAGMENTATION_SUPPORTED notify before anyone changes anything.
Firewall team controls IP fragment acceptance
The firewall team decides whether IP fragments reach the gateway at all. IKE messages that are split at the IP layer will be dropped if a rule discards fragmented packets, even when the gateway is configured correctly. The strongSwan FAQ suggests configuring the firewall to accept IP fragments as one remedy when retransmits appear during IKE_AUTH. Give this team the exact peer addresses, the UDP ports used by IKE, and a packet capture that shows the fragments being dropped, so they can scope a rule change instead of opening fragments broadly.
strongSwan FAQRemote-client users report version only
Remote users control only the VPN client software they run, and they cannot change gateway or firewall behavior. Their useful contribution is the exact client name and version, the operating system, and the full error or log line shown when the connection fails. Note whether the failure happens during the first exchange or during the larger post-quantum exchange, since that distinction points to fragmentation rather than a key mismatch. Send this report to the gateway administrator, who can decide whether the client needs an update or the gateway needs a change.
Vendor appliances need administrator input
If the gateway is a vendor appliance that your team does not administer, you cannot change its fragmentation or MTU settings yourself. Do not attempt workarounds on the client side to compensate. Instead, ask the administrator who manages that device for the current fragmentation setting and whether the appliance advertises support for it. Also ask whether a firmware update adds post-quantum IKE support, because the settings available depend on the vendor's release. Record the device model and firmware version in your request so the answer applies to the right system.
Log evidence speeds the handoff
Each team acts faster when the request includes evidence from the place it controls. Gateway logs in the ike, net and enc groups show whether fragments arrived, were re-assembled, or were retransmitted. Firewall logs show whether fragmented UDP was discarded. Client logs show the version and the point of failure. Attach these together with the timestamps of one failed attempt, so the teams can match the same event across systems. Without matching timestamps, each team tends to report that its own side looks healthy.
How to check which side is fragmenting and where the message is lost
This sequence confirms whether the IKEv2 exchange is failing because large post-quantum messages are being fragmented or dropped, and shows which peer and which network segment is losing them. The output is a clear picture of the failing message and the evidence you need before changing any settings.
Record the Libreswan version on both peers
Run
swanctl --versionon each gateway to read the strongSwan version, or runipsec versionon a Libreswan peer to read the Libreswan version. Record the result for both peers, because fragmentation and post-quantum support depend on the release. Libreswan 5.4 added ML_KEM_768 in IKE_SA_INIT and IKE_INTERMEDIATE, and it logs clearly when a message is re-assembled, so a version older than 5.4 will not show that log line. The step is done when you have a version string for each side in your notes.Check whether the IKE_SA is established
Run
swanctl --list-sason a strongSwan peer to list active IKE_SAs. If the tunnel is not listed, or it shows a state other than established, the IKE_SA never completed. Note which connection name appears, and whether the SA appears at all after a connection attempt. The step is done when you know whether the IKE_SA exists, because a missing SA with retransmits in the logs points to a lost message rather than a rejected proposal.Raise the ike, net and enc log levels
In the
charon.filelogsection ofstrongswan.conf, set the groupsike,netandencto level 2 or 3, for example by addingike = 2,net = 2andenc = 2under the file's log levels. Level 3 adds raw hex dumps, which helps with message sizes but produces large logs, so use level 2 first unless you need the dumps. Reload the daemon, reproduce the failure, and confirm the log file is growing. This step is done when the log shows IKE_SA_INIT and the messages that follow.Look for the FRAG_SUP notify in IKE_SA_INIT
Search the logs for the FRAGMENTATION_SUPPORTED (FRAG_SUP) notify in the IKE_SA_INIT messages from each peer. Its presence shows that the peer advertises IKE fragmentation under RFC 7383. If one side does not show the notify, confirm that its
fragmentationsetting is notnobefore you assume it cannot fragment. The step is done when you can state, for each peer, whether it advertised FRAG_SUP.Find retransmits during IKE_INTERMEDIATE or IKE_AUTH
Search the logs for repeated sends of the same IKE message during the IKE_INTERMEDIATE or IKE_AUTH exchange. strongSwan retransmits by default with five tries and a timeout that starts at 4.0 seconds, and gives up after roughly 165 seconds in total, so repeated lines for one message ID indicate that the message or one of its fragments did not arrive. Note which exchange repeats and which side is sending the retransmit. The step is done when you know which message is being lost and which direction the loss is in.
Confirm the firewall accepts IP fragments
On each network path between the peers, confirm that the firewall and any intermediate device accepts IP fragments for UDP ports 500 and 4500. A firewall that drops fragments will lose a large IKE message even when both gateways are configured correctly. Check the device's fragment and reassembly rules in its documentation, and compare the result with a test from the peer side. The step is done when you can say whether fragments reach the far gateway, or you have identified the device that drops them.
Compare the logs to find the fragmenting side
Put the two peers' logs side by side and match message IDs across both. The side that sends the large IKE_INTERMEDIATE or IKE_AUTH message is the one producing fragments, and the side that logs retransmits without a matching receive is where the message was lost. If Libreswan 5.4 is in use, look for its re-assembly log line on the receiving side, which shows that the fragments arrived. The step is done when you have named the sending peer, the receiving peer, and the network segment where the loss happens.
Causes of fragmentation failure and the fix for each
This table pairs each likely cause of a failed or stalled post-quantum IKE exchange with the setting or check that fixes it. Start with the row that matches your symptoms, confirm the change in both peers' logs, and recheck the path after each change. Fragmentation problems usually show up as repeated retransmits rather than a clear error.
| Cause | How to confirm | Fix |
|---|---|---|
| Fragmentation set to no or not advertised on one side | Look for FRAG_SUP in IKE_SA_INIT logs from each peer and check connections.<conn>.fragmentation in swanctl.conf | Keep fragmentation enabled on both peers, using yes or accept, and reload with swanctl --load-all |
| Firewall dropping IP fragments | Retransmits appear during IKE_AUTH or IKE_INTERMEDIATE while small messages get through | Configure the firewall to accept IP fragments for UDP 500 and 4500 between the peers |
| Fragment size too large for the path MTU | Retransmits continue even when fragmentation is enabled on both sides, and the path MTU is below the fragment size | Lower charon.fragment_size in strongswan.conf (default 1280) or set Libreswan mtu= for the connection |
| IKE message larger than the peer accepts | Logs show the packet exceeding the accepted size, or the exchange stops at a large post-quantum message | Review charon.max_packet in strongswan.conf (default 10000) and align the limit on both peers |
| Older strongSwan version without post-quantum or fragmentation options | swanctl --version shows a release earlier than 6.0.0, or the keX_ proposal keywords are rejected | Upgrade to strongSwan 6.0.0 or later and confirm the ML-KEM plugin is loaded |
| Libreswan build with NSS older than 3.118.1 | The Libreswan build reports an NSS version below 3.118.1 and ML_KEM_768 is not offered | Rebuild or update Libreswan against NSS 3.118.1 or later, then confirm ML_KEM_768 appears in the logs |
| Certificate-driven retransmits during IKE_AUTH | Retransmits occur only when RSA certificates are sent during IKE_AUTH | Preload certificates with send_cert=never, set send_certreq=no, or use ECDSA keys and certificates, which are smaller |
What to change on strongSwan and Libreswan, in order
This sequence confirms that fragmentation is enabled and agreed by both peers, sets fragment and MTU sizes only where the path requires it, and brings the software to a release that supports post-quantum key exchange. Each step gives a check you can run before moving to the next one.
Confirm fragmentation is enabled on both peers
On strongSwan, check that connections.<conn>.fragmentation in swanctl.conf is set to yes or accept. On Libreswan, check that fragmentation=yes is set in ipsec.conf for the connection. Yes is the default on strongSwan since 5.5.1 and on Libreswan, so a value of no or force on the wrong side is the first thing to look for. Do not change this setting on the peer you do not administer, but ask its administrator to confirm it. Done means both configuration files show the expected value and a reload has not yet been run.
Verify the peer advertises fragmentation support
Enable IKE logging with the ike and enc groups at a level that shows IKE_SA_INIT messages, then look for the FRAGMENTATION_SUPPORTED (FRAG_SUP) notify in the messages exchanged. The strongSwan FAQ names this notify as the thing to check. If the notify is missing from the peer's messages, fragmentation cannot be negotiated, and you should confirm the peer's software version and fragmentation setting before changing anything on your side. Done means you have seen the notify in the log for each direction, or you have a documented reason it is absent.
Adjust fragment size only if the path MTU requires it
The strongSwan default for charon.fragment_size is 1280 bytes, and a value of 0 uses the RFC 7383 per-family defaults. Lower the value only when a test shows that fragments are being dropped on the path, which the retransmits in the logs and the path MTU test will tell you. Since 6.0.0, charon.fragment_size_v4 and charon.fragment_size_v6 can be set separately for IPv4 and IPv6, and both inherit charon.fragment_size when unset. Set these in strongswan.conf, not swanctl.conf. Done means you have a recorded MTU result that justifies the value you chose.
Set the MTU on Libreswan where the path is known
In Libreswan, the mtu= key in the connection definition in ipsec.conf sets the maximum transmission unit for the path, and the man page states it has no default. Set it only when you know the path MTU between the two gateways, for example from a measurement across the link or from the network team's records. If the path is unknown, leave mtu= unset and rely on the fragmentation setting. Done means the connection entry either contains a justified mtu= value or deliberately omits it.
Upgrade to a release that supports post-quantum exchange
Move strongSwan to 6.0.0 or later, which added RFC 9370 additional key exchanges with the keX_ prefix and the ML-KEM keywords. Move Libreswan to 5.4 or later together with NSS 3.118.1 or later, which provides ML_KEM_768 and the addke1= style keywords. Check the installed versions with swanctl --version or the Libreswan version command before and after. Done means both gateways report a version that meets these minimums, and the NSS library on the Libreswan side is confirmed at 3.118.1 or later.
Reload the strongSwan configuration
On strongSwan, run swanctl --load-all to reload the connection and daemon settings from the configuration files. Then run swanctl --list-sas to confirm that the expected IKE_SAs are present, or that no unexpected sessions have been dropped. If strongSwan was installed from a package or a container image, the settings may be managed by that package or chart, so check that the change has reached the running daemon before relying on it. Done means the daemon reports the connections as loaded and the SA list matches what you expected.
Restart the Libreswan service and check packaging
On Libreswan, restart the IPsec service so that the new ipsec.conf settings take effect, using the service manager on your platform. Then confirm the connection comes up and check the log for a re-assembled message entry, which Libreswan 5.4 logs when it reassembles a fragmented message. If the gateway runs from a container or a vendor package, the configuration may be taken from the package or chart, and the image may need a rebuild before the change is active. Done means the tunnel establishes and the log shows the expected reassembly entries.
How the fix differs by installation method and environment
Packages installed from an operating system repository give you direct control of the configuration files, but the version may lag behind the release that added the settings you need. The strongSwan 6.0.0 options, including the post-quantum key exchange keywords and the per-family fragment size keys, may be absent from an older package. Check the installed version before you edit anything, because a setting your version does not recognize will either be ignored or stop the daemon from loading.
- Check the version first: Run
swanctl --version(or-Von 6.0.5 and later) to see which release is installed. - Fragmentation in swanctl.conf: Set
connections.<conn>.fragmentationtoyesoraccept, which exist in the released versions noted in the strongSwan documentation. - Fragment size in strongswan.conf: The
charon.fragment_sizekey is available in the classic configuration, whilecharon.fragment_size_v4andcharon.fragment_size_v6exist only from 6.0.0. - Post-quantum keywords: The
keX_and ML-KEM keywords require strongSwan 6.0.0 or later, along with a crypto plugin that supports ML-KEM. - Libreswan packages: Set
fragmentation=yesinipsec.confand usemtu=only if you have measured a need for it, since it has no default.
Confirm the version and the plugin list on the host before you change the proposal, because an upgrade may be needed before the fragmentation options take effect.
In containers and Helm deployments, the IKE configuration is usually generated from a values file and mounted into the container at start. You change the setting in the chart or manifest and redeploy, not by editing files inside a running container. Any change made inside a running pod is lost when the pod restarts, so the source of truth is the values file kept under version control.
- Values file is the control point: Put the
fragmentationsetting, thecharon.fragment_sizevalue and the proposal list in the chart values, then render the templates and confirm the output before you deploy. - Image version pins the features: The container image tag determines whether the 6.0.0 options and ML-KEM plugins are present, so pin a tag that includes them and confirm it with
swanctl --versioninside the image. - Mounted configuration: Confirm the ConfigMap or volume mount path matches the path the daemon reads, or the new settings will not load.
- Pod networking and MTU: The MTU of the pod network and any node or overlay interface can limit the usable packet size, so check it alongside the fragment size.
- Reload behavior: After redeploying, use
swanctl --load-alland check the logs, since a rollout that keeps the old pod running can leave the old settings active.
Check that the rendered configuration inside the running pod matches the values file you intended to deploy, and that the IKE_SA log shows the expected behavior after the rollout.
Hardware appliances and vendor gateways often hide the IKE daemon behind a management interface, and some do not expose fragmentation or fragment size as a setting at all. In that case you cannot edit a configuration file on the device, and the fix depends on the vendor's firmware and its supported options. Ask the vendor what it supports before you assume a setting exists in the menu.
- Look for a fragmentation control: Check the VPN settings for a fragmentation or IKE fragment option, and note whether it is on, off or accept-only.
- Firmware determines the options: Post-quantum key exchange and the matching fragmentation behavior depend on the firmware release, so confirm the version and its release notes.
- Vendor logs and diagnostics: Use the device's IKE logs to look for the fragmentation support notify and for retransmissions, if the vendor exposes them.
- Request what is missing: If the gateway has no fragment size control, ask the vendor in writing whether one is planned and which firmware carries it.
- Lower-risk alternatives: Where the vendor allows it, a classic proposal with a single key exchange can separate the fragmentation question from the post-quantum one.
Before you rely on any vendor setting, confirm in writing which options the firmware exposes and which release introduced them.
With a hosted or managed VPN service, you have no access to the gateway's configuration files or logs, so your only controls are the parameters you can request and the tests you can run from your side. The provider decides the proposal list, the fragment size and the firmware. Your work is to establish which of these the provider supports and to record the answers.
- What you can ask for: Request the supported IKE proposals, whether fragmentation is enabled on the service, and whether post-quantum key exchange is offered.
- What you cannot change: You cannot set the fragment size, the MTU of the provider side or the retransmission behavior yourself.
- Test from your side: Test with the client MTU and the path to the service, since these are the parts you control.
- Record the answers: Keep the provider's written responses with the date and the service version they describe.
- Escalate with evidence: Send the provider your client logs showing retransmissions or a lost fragment, which gives them what they need to investigate.
For a hosted service, confirm with the provider which features are live on your account before you plan the change.
How to confirm the tunnel establishes after the fragmentation change
The fix is working when the IKE_SA comes up with the post-quantum key exchange in place. On a strongSwan gateway, run swanctl --list-sas and look for the IKE_SA in the ESTABLISHED state, then confirm that the key exchange listed for it is the post-quantum method you configured, such as an ML-KEM group in the keX_ form. The child SA should also show as installed. Checking the output on both gateways matters, because a tunnel can look established on one side while the other side is still retransmitting. On Libreswan, the equivalent check is the connection status output for the same connection name, and you should confirm the ML-KEM key exchange and the re-assembled message log lines on both peers.
In the daemon log, the retransmit lines should stop. Before the change, a lost IKE message or fragment shows up as repeated retransmits, and with strongSwan's default retransmission settings the attempt gives up after 165 seconds in total. Raise the log level for the ike, net and enc groups while you test, then start the connection with swanctl --initiate and watch the IKE_AUTH exchange. It should complete without retransmit entries. Libreswan logs clearly when a message is re-assembled, so look for those entries as evidence that fragmentation is happening and completing. Lower the log levels again once you have the result, because the debug output is verbose.
Over the following days, watch for retransmits that come back. A change in the network path, or a firewall update that drops or handles IP fragments differently, can bring them back even though the tunnel came up cleanly once. Check the log after any routing change, MTU change or firewall rule update on the path between the gateways, and re-run the connection test when one occurs. Record a retest from both sides with the command output, the log excerpt showing the completed IKE_AUTH, the software versions reported by swanctl --version, and the date and time. Keeping that record gives you a baseline to compare against the next time the tunnel is changed.
What can break after you change fragmentation and MTU settings
Changing fragmentation or MTU settings to get post-quantum IKE messages through a path can fix one failure and create another. The four items below are the risks to check before and after a change, and each one needs a decision by the people who own the gateway, firewall or client fleet.
Smaller fragments can multiply on clean paths
Lowering charon.fragment_size splits each IKE message into more pieces, even on paths that never dropped a packet. The strongSwan default is 1280 bytes, and a smaller value raises the fragment count for the same post-quantum exchange. Check the count in the net log group on a path that already worked before the change, and confirm the peer handles the extra fragments. Because a lost fragment forces the whole message to be resent, more fragments also mean more exposure to loss.
Enabling fragmentation can break older clients
If you set fragmentation = force or move a peer to a setting it does not understand, a client that never negotiated RFC 7383 support may reject the exchange. Setting fragmentation to yes is the default in strongSwan and only advertises support, so check the FRAGMENTATION_SUPPORTED notify in IKE_SA_INIT logs for each client type before you roll the change out. Note that force applies only to IKEv1, so it is not the setting to use for IKEv2 peers.
Accepting fragments widens firewall exposure
The strongSwan FAQ suggests configuring the firewall to accept IP fragments so IKE messages can pass. Accepting fragments also lets through fragmented traffic that other rules would not otherwise see, so the rule set can reach more of the network than before. Review which source addresses and ports the fragment rule covers, limit it to the IKE peers, and record the rule in the change ticket so the security team can re-check it later.
strongSwan FAQPinned compliance settings need approval
Some gateways run fragmentation, MTU or certificate settings that a compliance baseline or a security policy fixes in place. Changing them without sign-off can put the tunnel out of compliance even when it connects. Before you edit swanctl.conf, strongswan.conf, or the Libreswan fragmentation= and mtu= options, find out which baseline applies, get written approval from the owner of that baseline, and keep the approval with the change record.
When to get help with IKEv2 fragmentation on your gateways
Some IKEv2 fragmentation problems are worth handing to outside help early, rather than working through them alone. The first case is when you cannot upgrade or do not control the gateway. If the gateway runs a version that lacks the settings described in this guide, such as the strongSwan charon.fragment_size_v4 and charon.fragment_size_v6 keys that exist since 6.0.0, or if a provider manages the box and will not change its fragmentation or MTU settings, you need a plan for the upgrade or the change, and someone who can carry it out. The second case is when many tunnels across sites fail together. A single failing tunnel usually points to one peer or one path. Failures across several sites at once suggest a shared cause, such as a firewall or path MTU problem on a common link, and that needs a wider view than one engineer can reasonably pull together.
The third case is a regulated environment that needs evidence of the change and the test results. Auditors and customer security reviewers will ask what changed, when, why, how it was tested, and how you rolled back if it failed. Keeping that record in step with the work is much easier than rebuilding it afterward. The fourth case is when the cause sits in a vendor device whose logs, defaults or fragmentation behavior you cannot inspect or change directly. In that situation, confirm the supported settings with the vendor in writing before you rely on them. DeployOpen can help with this work: it plans, upgrades, configures and documents the gateway components involved, tests changes before rollout, and prepares evidence for auditors and customer reviews. A scoping call defines the exact work, the deliverables and the timeline in writing before anything begins.
Questions administrators ask about IKEv2 fragmentation after a post-quantum change
Is the IKEv2 tunnel still encrypted when fragmentation occurs?
Yes. The first IKE_SA_INIT exchange is classic and is not fragmented, and it sets up the keys that protect the later post-quantum IKE_INTERMEDIATE exchange. According to the strongSwan 6.0.0 announcement, IKEv2 fragmentation only works with encrypted messages, so the small classic exchange carries the keys and the large post-quantum exchange rides inside the encrypted channel. Fragmentation changes how messages are split on the wire, not whether they are protected. Confirm the exact negotiation order for your product in its documentation.
Is the fragmentation log message urgent?
It can be. A tunnel that never completes its negotiation is an outage for the traffic that depends on it. Retransmits are a sign that a message or fragment is being lost, and the default strongSwan retransmission settings give up after 165 seconds in total. If the tunnel comes up after retransmits, you have a path problem to fix soon. If it never comes up, treat it as an incident. Check whether the affected tunnel is currently established with the swanctl --list-sas command before deciding how urgent the change is.
Can I ignore or silence the fragmentation log message?
No. Silencing the log hides the retransmits but does not remove the lost or oversized messages behind them, so the tunnel stays slow or fails to connect. Lowering log levels in strongSwan's logging configuration only changes what you see. The fix is to address the path size or fragmentation settings, which means checking whether fragmentation is enabled in swanctl.conf, confirming the peer supports it, and reviewing the fragment size in strongswan.conf. Keep logging at a level that shows the IKE and network groups while you troubleshoot.
Why does fragmentation appear now that we enabled post-quantum key exchange?
The post-quantum key exchange produces a larger IKE message than the classic exchange did. If that message is larger than the path can carry without fragmentation, it must be split, and any lost fragment forces the whole message to be resent. The strongSwan FAQ ties IKE_AUTH retransmits to the Path MTU in the same way. The change is in message size, not in the tunnel's configuration logic. Compare the message sizes between a working classic tunnel and the failing hybrid one to confirm this is the cause.
What should we do if we cannot upgrade the VPN software?
Ask your vendor first whether a version with the required post-quantum support and fragmentation behavior is available for your platform, and get the answer in writing. Use the sources listed on this page to compare your product's documented behavior with what you see in the logs. Where an upgrade is not possible, the available options depend on your product and must be confirmed with its vendor or documentation. Avoid changing the key exchange on a production tunnel without a rollback plan.
How long does it take to fix IKEv2 fragmentation problems?
The time depends on how many gateways and clients are involved, whether you can change their configuration directly, and whether the fix needs a vendor upgrade. A single gateway with clear logs and a known fragmentation setting is usually faster to fix than a mixed estate with several vendors. Ask any provider for a written scope and timeline before work starts, and state which gateways, clients and versions it covers. No duration is given on this page because the sources listed here do not supply one.
Do we need outside help to fix fragmentation on our tunnels?
Not always. Teams with IPsec experience and access to both peers' logs can often work through the checks in this topic themselves. Outside help is worth considering when the tunnel connects to a third party you do not control, when several vendors are involved, when the failure affects a production link with no safe rollback, or when your team lacks time to test changes. DeployOpen plans, implements and tests self-hosted network platforms in client infrastructure and produces written scope before work starts, so a fixed-scope engagement can be quoted from your environment.
How DeployOpen helps fix IKEv2 fragmentation on your gateways
DeployOpen approaches IKEv2 fragmentation as a scoped change to your gateways, starting with evidence from the logs and configuration already in place. We confirm which messages are being lost or oversized, then change fragmentation and MTU settings in a controlled way and document each step so your network team can verify and repeat it.
How we scope
- We review your gateway software, versions and current fragmentation settings before agreeing on what the written scope covers.
- We identify which peers offer post-quantum key exchange and which sites or tunnels the fix will touch.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any change is made to your gateways.
- Ongoing support after the fix is available as a retainer, and we agree its terms in the same written scope.
How we build
- We collect IKE logs at the relevant levels to find retransmits and fragments that never arrive at the peer.
- We adjust fragmentation settings such as connections.<conn>.fragmentation and the fragment size on your strongSwan or Libreswan gateways, using the documented options.
- We test each change against a peer in a staging tunnel, confirming the IKE_INTERMEDIATE exchange completes before it moves to production.
How we hand over
- You receive a written record of the settings changed, the log evidence behind each change and the versions the fix applies to.
- We document the checks your team can run, such as listing active IKE_SAs with swanctl --list-sas, so the result can be verified independently.
- We walk your network engineers through the rollback steps so any change can be reversed on the same schedule as the original work.
How we support
- We confirm the fix after the change window and check the tunnels for retransmits over the period agreed in the scope.
- We retest after gateway upgrades or peer changes, since fragmentation behavior can shift with new software versions.
- Ask your vendor or our team to confirm the exact versions and defaults for your gateway before relying on any setting in production.

