What is IKE Diffie-Hellman groups?

IKE Diffie-Hellman groups are numbered key exchange identifiers negotiated in IKEv2 and listed under Transform Type 4 in the IANA registry. This page explains what they are, where they appear and what they mean for a VPN migration.

On this page

What is an IKE Diffie-Hellman group and who meets it?

If a VPN vendor answer, tender or audit question names a group number such as 14, 19, 20 or 31, you are looking at an IKE Diffie-Hellman group. An IKE Diffie-Hellman group is a numbered key exchange group identifier that two IPsec peers negotiate during IKE setup. In the IANA IKEv2 parameters registry these numbers sit under Transform Type 4, and they are defined by RFC 7296 together with the RFCs that add groups, such as RFC 3526 for the MODP groups, RFC 5903 for the elliptic curve groups and RFC 8031 for Curve25519 and Curve448. The number is the label; the group definition behind it is what sets the key exchange method and its strength.

Network, security and procurement teams meet these identifiers when they read IPsec gateway configurations, firewall and VPN concentrator settings, and vendor documents that list the proposals a product accepts. Procurement and audit reviewers often see a bare list of numbers and need to know which ones are classical and which are not. Note that RFC 9370 renamed Transform Type 4 from the Diffie-Hellman group type to "Key Exchange Method (KE)", so the same registry now carries non-Diffie-Hellman methods under the same numbers. When a document says "group" in the older sense, confirm whether it means a classical group or a newer key exchange method before drawing conclusions.

Before you accept a vendor's list, ask which group numbers the gateway offers by default, which it can be restricted to, and which versions of its IKE software support each one. Check the group numbers against the current IANA registry and the RFCs that define them, not against memory or a marketing sheet. The ML-KEM identifiers now appearing in the registry are a separate matter covered elsewhere on this page, so confirm each vendor's support for them directly with the vendor's documentation.

Which group numbers and names appear in IKEv2 configurations?

This table lists the group numbers and names you will see in IKEv2 configurations and registry entries, grouped by family. Treat the numbers as Transform Type 4 values under the Key Exchange Method (KE) registry, and note that the ML-KEM identifiers 35 to 37 are post-quantum methods, not classical groups. Confirm which numbers your vendor's software and version actually accepts before relying on them.

Group or identifierName and referenceFamilyWhat to check
Transform Type 4Key Exchange Method (KE), renamed by RFC 9370Registry typeExpect non-DH methods listed under the same numbers
Group 142048-bit MODP group, RFC 3526Classical finite fieldListed as MUST in RFC 8247
Groups 19 to 21NIST P-256, P-384 and P-521 (ECP), RFC 5903Classical elliptic curveGroup 19 is SHOULD in RFC 8247, 20 and 21 are not mentioned
Groups 31 and 32Curve25519 and Curve448, RFC 8031Classical elliptic curveConfirm support in your IKEv2 implementation
Identifiers 35 to 37ML-KEM-512 (35, requested), ML-KEM-768 (36), ML-KEM-1024 (37), ML-KEM draft referencePost-quantum key exchangeNot classical groups; the draft is not yet an RFC
Groups 1, 2, 5, 22 to 24Older MODP and related groups, RFC 8247Classical, legacyRFC 8247 marks groups 1 and 22 MUST NOT, and 2, 5, 23 and 24 SHOULD NOT

Where do practitioners meet IKE DH group numbers?

IKE group numbers show up in gateway settings, vendor answers, standards profiles, scanner output and migration inventories. Each place uses the same numbers for a different purpose, so knowing where you are reading tells you what the number is supposed to mean.

IKEv2 gateway and client proposals

Gateway and VPN client configuration pages list the key exchange groups they will propose or accept, often as a numbered list in the phase 1 or IKE proposal policy. A group number in this setting controls what the two ends can agree on, so an entry you remove can break tunnels with peers that only offer that group. Check both ends of each tunnel, because the initiator and responder may be configured by different teams or vendors. Confirm the exact field name and product version in the vendor's own documentation.

RFC 7296 text

IANA IKEv2 parameters registry

The IANA IKEv2 parameters registry is the authoritative list of what each Transform Type 4 number means. Under RFC 9370 this field is now called Key Exchange Method, so the registry lists non-DH methods alongside classical groups under the same numbers. Use it to confirm that a number in a configuration file or capture refers to the method you think it does. Note that the registry reflects a reading taken on 4 December 2026, so check it again before you rely on it in a document.

IANA registry

Vendor documentation and tender answers

Vendor product guides and tender questionnaires often state which groups a product accepts, for example "group 14 and group 19 supported". Read these answers as claims about one product and one version, not about the protocol in general. Ask the vendor to name the exact version, the default proposal set and whether the listed groups are enabled or merely available. Written answers should be compared against the configuration you actually run before they go into a compliance file.

RFC 8247 algorithm profiles

RFC 8247 sets requirement levels for IKEv2 algorithms, including group 14 as MUST and group 19 as SHOULD, while marking groups 1 and 22 as MUST NOT. It does not mention groups 20, 21 and 31, so the RFC leaves those to the implementer. When a policy or tender cites this profile, check which requirement level it applies to each group. Treat it as the baseline for the classical groups, not as a statement about post-quantum readiness.

RFC 8247 text

Audit and scanner output

Scanners and audit tools report the group a tunnel actually negotiated, which can differ from the groups a configuration lists. Negotiated results are the evidence reviewers need, so record the group number, the IKE version and the peer for each tunnel tested. A scan run against one peer does not show what another peer will negotiate. Ask the tool vendor which fields it reports and whether it lists the group number or only a name.

Migration inventories of IPsec tunnels

A migration inventory records each IPsec tunnel, its endpoints, the proposed and negotiated groups and the owner responsible for it. These records show which tunnels still rely on classical groups and which peers would need changes before a new group can be added. Build the inventory from the gateway configurations and the negotiated results together, since either source alone can be incomplete. Keep the inventory current as peers are retired or reconfigured.

What does the group do in an IKEv2 exchange?

In IKEv2, the Diffie-Hellman group identifier tells the two peers which key exchange method to use. The number is carried in a Transform Type 4 field of the IKE_SA_INIT exchange, and both sides must agree on it before any shared secret can be derived. Under the current registry naming, Transform Type 4 is titled "Key Exchange Method (KE)" after RFC 9370, so the same field now also carries identifiers for non-Diffie-Hellman methods. For a reviewer, the practical question is which identifiers a given gateway offers in its proposal list and which ones it will accept from a peer.

The group choice in IKE_SA_INIT has a specific constraint. RFC 7296 requires the initiator to guess the responder's group in the first message, because the responder cannot change the exchange midway without an extra round trip. If the guess is wrong, the responder rejects the proposal and indicates an acceptable group, and the initiator must retry. Configurations that offer several groups in one proposal reduce this round trip cost, and a deployment that offers only one group forces every peer to match it exactly.

The same identifiers carry through the rest of the SA lifecycle. Rekeying an IKE SA requires a new Diffie-Hellman exchange, and CREATE_CHILD_SA can optionally include one when creating or rekeying a child SA. Teams planning a change to the offered groups should check how each gateway handles rekeying and child SA creation, not only the initial setup. Confirm the supported group list for the specific product version and edition in the vendor's documentation before you treat any proposal as settled.

Which groups are standardized and which are still in progress?

Whether an IKE Diffie-Hellman group is standardized depends on which RFC defines it and what that RFC says about it. Group 14, the 2048-bit MODP group, is the one most reviewers will look for first. It is defined in RFC 3526 (May 2003, Standards Track), which also defines groups 15 to 18 with moduli of 3072, 4096, 6144 and 8192 bits. The elliptic curve groups 19, 20 and 21 (NIST P-256, P-384 and P-521) are defined in RFC 5903 (June 2010), which is Informational rather than Standards Track. Groups 31 and 32, Curve25519 and Curve448, were added by RFC 8031 (December 2016, Standards Track). RFC 8247 (September 2017) then sets the implementation requirements: group 14 is MUST, group 19 is SHOULD, groups 1 and 22 are MUST NOT, and groups 2, 5, 23 and 24 are SHOULD NOT. Groups 20, 21 and 31 are not mentioned in RFC 8247, which means the document assigns them no requirement level. Confirm the current status of each group against the RFCs and the IANA IKEv2 parameters registry before writing it into a configuration baseline.

The post-quantum identifiers are in an earlier state. The ML-KEM draft, draft-ietf-ipsecme-ikev2-mlkem-09 (5 July 2026), is in the RFC Editor queue with intended status Proposed Standard, and as read on 4 December 2026 it has not been published as an RFC. The IANA registry already lists ml-kem-768 as 36 and ml-kem-1024 as 37 with the Internet-Draft as reference, and the draft requests 35 for ML-KEM-512. Treat these numbers as provisional until the RFC is published and the registry is confirmed. When a vendor says a product supports ML-KEM in IKEv2, ask which draft revision it implements and whether its code paths match the current revision, since the draft has changed across its nine versions. Ask for the specific group number and draft version, not just a product claim.

For planning, separate the standards status of the classical groups from the status of the draft. A reviewer can cite RFC 8247 for the classical requirement levels, but cannot cite the ML-KEM draft as a published standard. Ask vendors to name the RFC or draft they implement, the group numbers they negotiate, and whether they support the classical groups alongside ML-KEM in a hybrid arrangement. RFC 9370 describes how several key exchanges can contribute to the shared secret, which is the mechanism a hybrid setup would use. Do not assume that a vendor listing a group number has implemented the current draft text. Check the release notes and the configuration output of the version you run.

What should a team check in its VPN inventory?

This sequence gives a team a dated, checkable record of which IKEv2 gateways and clients accept which Diffie-Hellman groups, which of those groups RFC 8247 says to avoid, and what each vendor says it implements. It ends with negotiated groups confirmed in a staging tunnel and a written record that auditors can review.

  1. List every IKEv2 gateway and client

    Build a list of every IKEv2 gateway, concentrator and client in use, including appliances, cloud-hosted gateways, and endpoint clients that connect over IKEv2. The network or platform team owns this step and should pull device names, software versions and owners from existing asset records and configuration exports. The step is done when every IKEv2 endpoint has a row in the inventory with a named owner and a software version. Endpoints missing from the list are the most common source of surprises later, so check the list against firewall and routing records as well.

  2. Record the DH groups each proposal accepts

    For each gateway and client, export the IKE proposals it is configured to offer or accept and record the Diffie-Hellman group numbers in each proposal. The network engineer responsible for the device should read these values from the running configuration rather than from memory or from a template, because a template may not match what is deployed. The step is complete when each inventory row lists its accepted group numbers, with the configuration source and date noted beside each entry. Groups are identified by numbers in the IANA IKEv2 registry under Transform Type 4, so record the numbers exactly as the device shows them.

  3. Flag groups that RFC 8247 says to avoid

    Compare each recorded group number against the recommendations in RFC 8247. The security engineer should mark any entry that includes groups 1 or 22, which RFC 8247 says MUST NOT be used, and any entry that includes groups 2, 5, 23 or 24, which it says SHOULD NOT be used. Flagged entries go into a remediation list with the device owner named. The step is done when every flagged proposal has a remediation owner and a status. Note that RFC 8247 does not mention groups 20, 21 and 31, and says algorithms it does not mention MAY be implemented, so those entries need a separate review rather than an automatic flag.

  4. Note which gateways support groups 35 to 37

    Check which gateways and clients list ML-KEM identifiers, meaning groups 35 to 37, in their proposals or release notes. The platform team should review vendor documentation and current configuration, since these numbers come from an Internet-Draft that has not been published as an RFC. The step is complete when each device is marked as supporting, not supporting, or not stated for these numbers, with the check date recorded. Confirm the status again once the draft is published, because the draft may change before it is finalized. Do not treat a listed number as proof that the device interoperates with other vendors.

  5. Ask vendors for their group numbers and RFCs

    Send each vendor a written request asking which IKE Diffie-Hellman group numbers their current release implements and which RFCs or drafts each implementation follows. The procurement or vendor-risk reviewer should keep the request and response on file. The step is complete when each vendor has answered in writing with the release version the answer applies to. Answers that name a release, cite an RFC number, and list group numbers are the most useful for audit evidence, while vague replies should be followed up with a specific question.

  6. Test negotiated groups in a staging tunnel

    Set up a staging IKEv2 tunnel between a gateway and a client running the versions recorded in the inventory, configure the proposals the team intends to use, and observe which group is actually negotiated. The network engineer should capture the IKE_SA_INIT exchange or read the device's SA status to confirm the negotiated group number. The step is done when the negotiated group for each pairing matches the configured intent, or when mismatches are documented and resolved. Testing one pairing does not prove behavior for all versions, so repeat the test for each combination that will go into production.

  7. Document results for auditors

    Assemble the inventory, flagged entries, vendor responses and staging test results into a single record with dates, owners and version numbers. The security or compliance lead should store it where auditors can request it and keep it updated when devices, versions or vendor answers change. The step is complete when the record has been reviewed by the owner of each device and is linked from the change log. The record shows what the team checked and when, but it is not a certification or audit result, and the team should not describe it as one.

What do people confuse IKE DH groups with?

IKE Diffie-Hellman group numbers are easy to mistake for other identifiers, for the whole key exchange, or for proof of compliance. The four points below separate those meanings so you can read IKEv2 specifications, vendor answers and tender language accurately.

Group numbers versus ML-KEM identifiers

Both sit in the same IANA IKEv2 registry field, Transform Type 4, but they are different kinds of thing. Groups 14, 19 to 21, 31 and 32 are classical Diffie-Hellman and elliptic curve groups, while 35 to 37 identify ML-KEM methods that come from a draft which, as read on 4 December 2026, has not been published as an RFC. A number in that field tells you which method is named, not whether it is post-quantum. Check the registry entry and the defining document for each number your configuration uses.

IANA IKEv2 parameters

DH group versus the key exchange method

RFC 9370 renamed Transform Type 4 from the Diffie-Hellman group type to Key Exchange Method (KE), so the same numbers now cover non-DH methods too. Calling every entry a DH group is therefore out of date, and a reference to a DH group in older configuration may describe a method that is not Diffie-Hellman at all. When reviewing a vendor document, ask whether the term means the group number, the KE method or the full exchange negotiated in the SA.

Read RFC 9370

Group availability versus group policy

A product supporting a group does not mean it is recommended for use. RFC 8247 sets requirement levels: group 14 is MUST, group 19 is SHOULD, groups 1 and 22 are MUST NOT, and groups 2, 5, 23 and 24 are SHOULD NOT. It does not mention groups 20, 21 and 31, and says that algorithms it does not mention MAY be implemented. Check the level for each group against your own policy and the vendor's defaults, rather than treating a presence in the list as an endorsement.

Read RFC 8247

Group number as proof of compliance

A vendor answer that lists a group number as evidence of compliance is not supported by the sources cited here. RFC 8247 describes implementation and policy levels for groups, and it does not certify any product or deployment. Ask for the product version, the groups enabled in the active configuration, the defining RFCs, and any independent assessment that covers those specific settings. The sources do not show that a group number alone establishes compliance with any regulation or contract.

What do security reviewers ask about IKE DH groups?

What does IKE Diffie-Hellman group actually stand for?

An IKE Diffie-Hellman group is a numbered identifier that two IPsec peers agree on during IKE negotiation to choose the key exchange they will use. Each number points to a specific group definition, such as a MODP group with a given modulus size or an elliptic curve group. The term is older than the current registry wording. In the IANA IKEv2 parameters registry, these numbers sit under Transform Type 4. RFC 9370 later renamed that transform type to "Key Exchange Method (KE)" because the registry now also holds non-Diffie-Hellman methods under the same numbers. When a reviewer sees the phrase, they are looking at a key exchange identifier, not a standalone security level.

Do Transform Type 4 and Key Exchange Method mean the same thing?

Yes, they refer to the same registry field. Transform Type 4 is the IKEv2 transform type that carries the key exchange choice. RFC 9370 renamed it from the Diffie-Hellman group type to "Key Exchange Method (KE)" so the name covers methods that are not classical Diffie-Hellman. Older vendor documents and configuration guides often still say "DH group" or "Transform Type 4", while newer specifications say "Key Exchange Method". The numbers themselves do not change with the rename. Confirm which name your vendor uses in its configuration before comparing its settings against a specification.

Is group 14 standardized, and which RFC defines it?

Yes. Group 14 is the 2048-bit MODP group defined in RFC 3526, published in May 2003 as a Standards Track document. RFC 8247 sets group 14 as MUST implement, which makes it the baseline most IKEv2 implementations are expected to support. The IANA IKEv2 parameters registry lists 14 as the 2048-bit MODP Group with RFC 3526 as its reference, as read on 4 December 2026. When a tender asks for group 14, check that the product supports it and that the peer's configuration uses it, since a MUST implement value does not guarantee that a given deployment enables it.

Is ML-KEM standardized for IKEv2 yet?

Not as an RFC. As read on 4 December 2026, the Internet-Draft draft-ietf-ipsecme-ikev2-mlkem-09, dated 5 July 2026, is in the RFC Editor queue with intended status Proposed Standard and has not been published as an RFC. The IANA registry already lists ml-kem-768 as 36 and ml-kem-1024 as 37 with the draft as the reference, and the draft requests 35 for ML-KEM-512. Those identifiers are draft-stage assignments until the document is published, so treat them as provisional. Ask any vendor claiming ML-KEM support for IKEv2 which draft revision it implements and whether it interoperates with the peers you run.

What changes if a VPN only runs group 19?

A VPN that negotiates only group 19 uses a 256-bit random elliptic curve group, NIST P-256, defined in RFC 5903. RFC 8247 sets group 19 as SHOULD implement, so it is widely supported but is not the mandatory baseline that group 14 is. Running group 19 alone means every peer and every IKE SA must agree on it, and any peer that offers only group 14 will fail to negotiate. Check whether the VPN is configured with group 19 as its only proposal, because that narrows interoperability. Also note that a group number describes only the key exchange, not the authentication, which the rest of the configuration controls.

What should I ask a vendor about groups 35 to 37?

Ask whether the product implements the ML-KEM identifiers 35, 36 and 37 and which revision of the ML-KEM IKEv2 draft those values follow. The sources describe 35 as the value requested for ML-KEM-512, 36 as ml-kem-768 and 37 as ml-kem-1024, but these are not finalized as an RFC, so ask for the exact draft revision and any known interoperability limits. Also ask how the product negotiates these groups alongside classical groups, since ML-KEM is designed to be combined with another key exchange through RFC 9370 mechanisms. Request the vendor's test results against the peers you need to interoperate with, rather than relying on a listed number.

Does a group number alone show post-quantum protection?

No. A group number only identifies a key exchange method, and a classical group such as 14 or 19 does not provide post-quantum protection on its own. RFC 9370 notes that authentication in its design remains classical, so active quantum attacks are not fully addressed by adding a post-quantum key exchange alone. A reviewer should look at the full negotiated configuration: the key exchange methods, the authentication method and the certificate or preshared key in use. Confirm each of these against the vendor's documentation and your own environment before accepting any claim of post-quantum protection.

How DeployOpen works on this

DeployOpen approaches IKE Diffie-Hellman groups by first confirming which group numbers your IKEv2 peers accept, then planning changes around the registry entries that apply to your setup. Work is scoped in writing before any configuration begins, and the results are documented so your security and compliance teams can review them.

How we scope

  • We list every IPsec and IKEv2 peer and record which Diffie-Hellman group numbers each one currently negotiates.
  • We identify which groups in your configuration are classical MODP or elliptic curve groups and which are key exchange methods, since the registry now uses one type for both.
  • Engagements are fixed-scope, so the written scope states which gateways, vendors and group policies are covered before work starts.

How we build

  • We configure gateway proposals so that group selection follows the RFCs your vendors support, without enabling groups those RFCs mark as MUST NOT.
  • We test negotiation with each peer, confirming which group is selected and that failed attempts are logged clearly for review.
  • Where a peer cannot negotiate a newer method, we document the constraint and the classical groups still in use, rather than assuming compatibility.

How we hand over

  • We deliver a record of the final group policy per gateway, with the RFC references behind each choice.
  • We provide a test log showing the negotiated group for each peer, so reviewers can check the result themselves.
  • We document open items, including any ML-KEM support your vendors have not yet confirmed, so you know what to verify next.

How we support

  • Ongoing support and continuous testing are available as a retainer, which covers changes to peer software and group policy.
  • We recheck the IANA IKEv2 parameters registry when draft-ietf-ipsecme-ikev2-mlkem is published, since its status may change.
  • Upgrades to gateway software are planned with you, and each change is retested against the peers it affects.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.