Ike functions – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 383

Advertising
background image

369

2.

Phase 2—Using the ISAKMP SA established in phase 1, the two peers negotiate to establish IPsec

SAs.

Figure 149 IKE exchange process in main mode

As shown in

Figure 149

, the main mode of IKE negotiation in phase 1 involves three pairs of messages:

SA exchange, used for negotiating the security policy.

Key exchange, used for exchanging the Diffie-Hellman public value and other values like the
random number. Key data is generated in this stage.

ID and authentication data exchange, used for identity authentication and authentication of data
exchanged in phase 1.

The main difference between the main mode and the aggressive mode is that the aggressive mode does

not provide identity protection and exchanges only three messages, rather than three pairs. The main

mode provides identity protection but is slower.

IKE functions

IKE provides the following functions for IPsec:

Automatically negotiates IPsec parameters such as the keys.

Performs DH exchange when establishing an SA, making sure that each SA has a key independent
of other keys.

Automatically negotiates SAs when the sequence number in the AH or ESP header overflows,
making sure that IPsec provides the anti-replay service normally by using the sequence number.

Provides end-to-end dynamic authentication.

Identity authentication and management of peers influence IPsec deployment. A large-scale IPsec
deployment needs the support of certificate authorities (CAs) or other institutes which manage

identity data centrally.

Algorithm

negotiation

Send local

IKE policy

Search for

matched policy

Receive the

policy

Generate the key

Perform ID/exchange

authentication

Generate the key

Peer 1

Peer 2

Key generation

SA exchange

Key exchange

Identity

authentication

Initiator’s policy

Confirmed policy

Initiator’s key information

Receiver’s key

information

Initiator’s identity and

authentication data

Receiver’s identity and

authentication data

Perform ID/exchange

authentication

Advertising