#ike #ikephases
The Internet Key Exchange or IKE is an IPsec or Internet Protocol Security standard protocol used to ensure security for virtual private network negotiation and remote host or network access. The IKE protocol ensures security for SA communication without the preconfiguration that would otherwise be required.
There are two phases to build an IPsec tunnel - IKE Phase 1 and IKE Phase 2.
The main purpose of Phase 1 is to set up a secure encrypted channel through which the two peers can negotiate Phase 2. The purpose of phase 2 negotiations is for the two peers to agree on a set of parameters that define what traffic can go through the VPN and how to encrypt and authenticate the traffic.