Configure an IPv4 address for an ASA subinterface

Set IPv4 parameters for a subinterface so the interface can obtain connectivity using static or DHCP addressing and, if applicable, support high availability with a standby address.

Perform this task when creating or editing an ASA subinterface that requires IPv4 configuration.

Choose static addressing to assign fixed values or DHCP to obtain settings dynamically. Optionally derive the default route from DHCP and configure a standby IP address if high availability monitoring is enabled.

Before you begin

Follow these steps to configure an IPv4 address for an ASA subinterface:

Procedure


Step 1

In the Creating Subinterface dialog box, configure the settings in the IPv4 Address tab:

  • Type: You can use either static IP addressing or DHCP for the interface.

    Static - Choose this option if you want to assign an address that should not change.

    • IP Address and Subnet Mask: ​Enter the interface's IP address and the subnet mask for the network attached to the interface.

    • Standby IP Address: If you configured high availability and are monitoring this interface for HA, also configure a standby IP address on the same subnet. This interface on the standby device uses the standby address.

      For each interface, set a standby IP address. Although recommended, the standby address is not required. Without a standby IP address, the active unit cannot perform network tests to check the standby interface health; it can only track the link state.

    DHCP: Choose this option if the address should be obtained from the DHCP server on the network.

    You can check the Obtain Default Route check box to get the default route from the DHCP server. You would normally check this option.

Step 2

Click Save if you are done or continue with one of these procedures.


The subinterface has IPv4 configuration saved. The interface uses either the specified static address or an address learned by DHCP. If selected, the default route is obtained from DHCP, and an optional standby IP address supports high availability monitoring.