Contents

Introduction

Load balancing is the ability to have Cisco VPN Clients shared across multiple Adaptive Security Appliance (ASA) units without user intervention. Load-balancing ensures that the public IP address is highly available to users. For example, if the Cisco ASA that services the public IP address fails, another ASA in the cluster assumes the public IP address.

Prerequisites

Requirements

Ensure that you meet these requirements before you attempt this configuration:

Eligible Clients

Load balancing is effective only on remote sessions initiated with these clients:

All other clients, including LAN-to-LAN connections, can connect to a security appliance on which load balancing is enabled, but they cannot participate in load balancing.

Components Used

The information in this document is based on these software and hardware versions:

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Network Diagram

This document uses this network setup:

remotevpn-loadbal-asa-1.gif

Conventions

Refer to the Cisco Technical Tips Conventions for more information on document conventions.

Restrictions

Configuration

IP Address Assignment

Ensure that the IP addresses are configured on the outside and inside interfaces and you are able to get to the Internet from your ASA.

Note: Ensure that ISAKMP is enabled on both the inside and outside interface. Select Configuration > Features > VPN > IKE > Global Parameters in order to verify this.

Cluster Configuration

This procedure shows how to use the Cisco Adaptive Security Device Manager (ASDM) to configure load balancing.

Note: Many of the parameters in this example have default values.

  1. Select Configuration > Features > VPN > Load Balancing, and check Participate in Load Balancing Cluster to enable VPN load balancing.

    remotevpn-loadbal-asa-2.gif

  2. Complete these steps to configure the parameters for all ASAs participating in the cluster in the VPN Cluster Configuration group box:

    1. Type the IP address of the cluster in the Cluster IP Address text box.

    2. Click Enable IPSec Encryption.

    3. Type the encryption key in the IPSec Shared Secret text box and type it again in the Verify Secret text box.

  3. Configure the options in the VPN Server Configuration group box:

    1. Select an interface that accepts the incoming VPN connections in the Public list.

    2. Select an interface that is the private interface in the Private list.

    3. (Optional) Change the priority that the ASA has in the cluster in the Priority text box.

    4. Type an IP address for the Network Address Translation (NAT) Assigned IP Address if this device is behind a firewall that uses NAT.

  4. Repeat the steps on all the participating ASAs in the group.

The example in this section uses these CLI commands to configure load balancing:

VPN-ASA2(config)#vpn load-balancing
VPN-ASA2(config-load-balancing)#priority 10
VPN-ASA2(config-load-balancing)#cluster key cisco123
VPN-ASA2(config-load-balancing)#cluster ip address 172.16.172.54
VPN-ASA2(config-load-balancing)#cluster encryption
VPN-ASA2(config-load-balancing)#participate

Monitoring

Select Monitoring > Features > VPN > VPN Statistics > Cluster Loads to monitor the load balancing feature on the ASA.

remotevpn-loadbal-asa-3.gif

Verify

Use this section to confirm that your configuration works properly.

The Output Interpreter Tool (registered customers only) (OIT) supports certain show commands. Use the OIT to view an analysis of show command output.

Troubleshoot

Use this section to troubleshoot your configuration.

Troubleshooting Commands

The Output Interpreter Tool (registered customers only) (OIT) supports certain show commands. Use the OIT to view an analysis of show command output.

Note: Refer to Important Information on Debug Commands before you use debug commands.

Related Information