Establishing An Ipsec Tunnel Through Ike Negotiation Example - HP A6600 Configuration Manual

Hide thumbs Also See for A6600:
Table of Contents

Advertisement

# Specify the encapsulation mode as tunnel.
[RouterB-ipsec-proposal-tran1] encapsulation-mode tunnel
# Specify the security protocol as ESP.
[RouterB-ipsec-proposal-tran1] transform esp
# Specify the algorithms for the proposal.
[RouterB-ipsec-proposal-tran1] esp encryption-algorithm des
[RouterB-ipsec-proposal-tran1] esp authentication-algorithm sha1
[RouterB-ipsec-proposal-tran1] quit
# Create a manual IPsec policy.
[RouterB] ipsec policy use1 10 manual
# Apply the ACL.
[RouterB-ipsec-policy-manual-use1-10] security acl 3101
# Apply the IPsec proposal.
[RouterB-ipsec-policy-manual-use1-10] proposal tran1
# Configure the remote IP address of the tunnel.
[RouterB-ipsec-policy-manual-use1-10] tunnel remote 2.2.2.1
# Configure the local IP address of the tunnel.
[RouterB-ipsec-policy-manual-use1-10] tunnel local 2.2.3.1
# Configure the SPIs.
[RouterB-ipsec-policy-manual-use1-10] sa spi outbound esp 54321
[RouterB-ipsec-policy-manual-use1-10] sa spi inbound esp 12345
# Configure the keys.
[RouterB-ipsec-policy-manual-use1-10] sa string-key outbound esp gfedcba
[RouterB-ipsec-policy-manual-use1-10] sa string-key inbound esp abcdefg
[RouterB-ipsec-policy-manual-use1-10] quit
# Configure the IP address of the serial interface.
[RouterB] interface serial 2/1/2
[RouterB-Serial2/1/2] ip address 2.2.3.1 255.255.255.0
# Apply the IPsec policy group to the interface.
[RouterB-Serial2/1/2] ipsec policy use1
After the configuration, an IPsec tunnel between Router A and Router B should be established, and the
traffic between subnet 10.1.1.0/24 and subnet 10.1.2.0/24 should be IPsec protected.

Establishing an IPsec tunnel through IKE negotiation example

Network requirements
As shown in
between subnet 10.1.1.0/24 and subnet 10.1.2.0/24. Configure the tunnel to use the security protocol
ESP, the encryption algorithm DES, and the authentication algorithm SHA1-HMAC-96.
Figure
96, an IPsec tunnel is required between Router A and Router B to protect data flows
272

Advertisement

Table of Contents
loading

Table of Contents