Add IP Address Dialog Box (SQL Server Management Studio)

Applies to: SQL Server

This F1 help topic describes the options of the Add IP Address dialog box. This dialog box accessed from the New Availability Group Listener dialog box and the Listener tab of the Specify Replicas page of the New Availability Group Wizard or the Add Replica to Availability Group Wizard of SQL Server.

Prerequisites

Before you begin to add subnets to an availability group listener, ensure that know the IP address for each subnet and, for an IPv4 address, the subnet mask.

Add IP Address Options

Subnet
Use the drop list to select an address for the subnet that you are adding to the availability group listener. By default a subnet possesses both an IPv4 address and an IPv6 address. The first time you use the Add IP Address dialog, the Subnet drop list displays both subnet addresses for each subnet that hosts a replica for the availability group. To add a given subnet to the listener, select one of its subnet addresses.

After you complete the Add IP Address dialog box and click OK to add a selected subnet address to the listener, the Subnet drop list filters out that subnet address. All unselected subnet addresses remain on the drop list. Be sure that you add one and only one subnet address per subnet to the listener, or listener creation will fail.

Addresses
Use this field to enter a static IP address for the selected subnet address. Contact your network administrator for this IP address. Ensure that you enter a valid address for the selected subnet address, or listener creation will fail.

IPv4 Address
If you selected the IPv4 subnet address of a subnet, enter a valid IPv4 static address here.

Subnet Mask
For an IPv4 address, this read-only field displays the subnet mask of the selected subnet.

IPv6 Address
If you selected the IPv6 subnet address of a subnet, enter a valid IPv6 static address here.

OK
Click to create add the subnet whose address you selected, along with the static IP address that you specified. A row containing these values will be added to the subnet grid of the New Availability Group Listener or Specify Replicas dialog box.

Important

The Add IP Address dialog doesn't verify the IP address. Also, the dialog doesn't prevent you from adding the second subnet address for a subnet that you already added to the availability group listener.

You must restart the listener resource for this change to take effect.

Cancel
Click to cancel your selections, and return to the New Availability Group Listener dialog box or Listener tab without adding a static IP address for any subnet.

Related Tasks

See Also

Overview of Always On Availability Groups (SQL Server)
Availability Group Listeners, Client Connectivity, and Application Failover (SQL Server)
Always On Client Connectivity (SQL Server)