> > [CUT]
> >
> >> If the IKE tunnel times out/tears down, it will not be rebuilt
> >> until the IPSEC tunnel needs to rekey. For example, if you have a
> >> fuctioning tunnel up, you can clear the isakmp tunnel and traffic
> >> will still pass.
> >>
> >> Rik
> > Thanks Rik. Have you any link/document that talk about this? I
> > thought the IPsec tunnel was needed a ISAKMP tunnel to work
> > properly.It means I have not deeply understood VPN building process
> > at all.
> > Alex.
>
> Sorry, I dont have any docs that explicitly specify this behavior; it
> is just just something I have observed in practice.
>
> Rik Bain
IPsec and ISAKMP are not fully correlated, IPSEC can run without
ISAKMP, for example with pre-defined keys or home made key exchange
protocol.
Depending on implementation, the ISAKMP daemon monitors SPD database
for needed entries (non existing or dying) and negociate new key and
parameters for SPD. If the SA is not establish to negociate keys, a
new one is started with an authentication phase. The Lifetime
negociated will determine the duration of what you called ISAKMP
tunnel which is not linked to the lifetime of the SPD (IPsec tunnel).
Since SA creation can be complex (ie certification validation),
lifetime needs to be adapted to IPSEC tunnel lifetime. For example, if
tunnel keys are changed every 5 minutes, ISAKMP association needs
probably to stay up, for a change every 6/12 hours, the SA can be
renegociated without generating to much load.
For reference:
- IPSEC charter:
http://www.ietf.org/html.charters/ipsec-charter.html
- ISAKMP:
http://www.ietf.org/rfc/rfc2407.txt
Regards, Alex.