Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

IKE Protocol have 2 modes, that modes have different structure. Does IKEv2 protocol have two modes like IKE.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

No, IKEv2 has nothing analogous to 'main mode' and 'aggressive mode', and they eliminated the initial 'quick mode',

When IKEv1 was originally written, they wanted a strong separation between IKE and IPSec; they had a vision where IKE might be used for things other than IPSec (other "Domains of Interpretation"). So, they completely isolated the "negotiate IKE SAs" and "negotiate IPSec SAs" into two separate series of exchanges.

In addition, they weren't sure if it would be better to minimize the number of round trip messages, or to provide identity protection; hence they designed two different modes (which would allow implementers to select the trade-off).

When they designed IKEv2, they rethought both these options. They realized that no one really used IKE for anything other than IPSec, and that forcing implementers to support different options was the Wrong Thing. Hence, they tried to combine the IKE SA and initial IPSec SA negotiation into a single set of exchanges (reducing the number of round trips, hence getting most of the benefit of "aggressive mode"), while retaining the identity protection (and DoS resistance) of main mode.

share|improve this answer
Thanks very much for informative answer. Can we say that in IKEv2 IKE SA and IPSec SA aren't separate? –  Gev_sedrakyan Apr 15 '14 at 13:37
@Gev_sedrakyan: actually, they are separate, for example, you can rekey one without the other, and one IKEv2 SA can parent multiple IPSec SAs simultaneously. However the IKEv2 mandates that they be initially generated at the same time, and that they are related in a closer way than what IKEv1 mandated. –  poncho Apr 15 '14 at 13:43
And the last question about IKEv2 phase 2. Does Phase 2 have different modes like IKEv1 (Quck Mode,...) –  Gev_sedrakyan Apr 15 '14 at 13:57
@Gev_sedrakyan: I tried to cover that in my answer; during initial SA bring up, IKEv2 does not have one set of exchanges to bring up the IKE SA, and then a second set to bring up the IPSec SA; it's done with one set. Now, afterwards, there is a "Child SA" exchange; that's used both as a "non-initial Quick Mode" (both to rekey IPSec SAs, and to create new ones), and as a way to rekey an IKE SA (which IKEv1 doesn't do; it does an independent Main Mode/Aggressive Mode to "rekey" an IKE SA). –  poncho Apr 15 '14 at 14:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.