Step 1-2 Determine the IKE (IKE Phase 1) Policies
IKE is a hybrid protocol that
implements the Oakley key exchange and the Skeme key exchange inside the
Internet Security Association and Key Management Protocol (ISAKMP) framework.
(ISAKMP, Oakley, and Skeme are security protocols implemented by IKE.)
The purpose of IKE Phase 1 is to authenticate the peers and
negotiate a secure session between those peers. This creates a stable platform
for IKE Phase 2 to negotiate the IPSec tunnel. The word “negotiate” makes this
sound like a complex process, which might involve contentious arguments late
into the night. In reality, at each phase, the session instigator submits one or
more security policies, which will then be compared by the destination peer
against its preconfigured security policies. If a match is found, a session is
then established. If no match is found, the session is terminated. From a
practical standpoint, if a VPN session can’t be established between the two
peers, then one of the devices must be configured to include a set of policies
acceptable to the other.
The objective here is to develop one or more IKE security policies
based on the overall company security policy. Each policy will require decisions
about five security options: authentication method, encryption algorithm,
hashing algorithm, Diffie-Hellman group, and SA lifetime. This can make IKE seem
more complicated than it is. To get some perspective, we aren’t configuring a
connection to an unknown or an untrusted entity. Instead, we’re connecting a
branch of the company to the main office system. Chances are both are governed
by the same security policy so, while some choices must be made, the list of
possibilities shouldn’t be infinite.
In many cases, the decision could be that 3DES will be the
encryption, MD5 will perform hashing functions, preshared keys will be used for
authentication, and so forth, and that would be configured on each router. So,
why have multiple policies with different option combinations? The answer
depends on the router and the number of VPN connections that it needs to
support. In our example, if each branch only connects to the main office, then
they only need the policy that matches the main office router.
The main office router could need a couple of IKE policy choices
because all branch offices might be unable to support the same policy. This
might not be a vendor or a product platform issue, but a legal issue. While all
the North American branches can be configured with 3DES encryption, export
controls could prevent the foreign branches from using anything but DES. So, a
second policy needs to be available for those connections.
Research the
Parameter Options
The following table shows the five security features that
must be decided, including the current options, defaults, and which choice
provides the greatest security. A good idea is always to confirm these options
and defaults as IOS versions change. It only makes sense that the IOS will
assimilate new IPSec standards as they’re established.
*Some VPN devices support D-H group 5 (1,568 bit), but it
might be a while before IOS devices support this level of key
exchange.