Product Documentation

Configuring Mapped IP Addresses (MIPs)

Sep 01, 2016

Mapped IP addresses (MIP) are used for server-side connections. A MIP can be considered a default Subnet IP (SNIP) address, because MIPs are used when a SNIP is not available or Use SNIP (USNIP) mode is disabled.

If the mapped IP address is the first in the subnet, the NetScaler appliance adds a route entry, with this IP address as the gateway to reach the subnet. You can create or delete a MIP during run time without rebooting the appliance.

As an alternative to creating MIPs one at a time, you can specify a consecutive range of MIPs.

The following diagram shows the use of the MIP and SNIP addresses in a NetScaler appliance that connects to the backend servers across the subnets.

Figure 1. MIP and SNIP addresses


In the setup, if the NetScaler appliance and the backend servers are in the 10.1.1.0/24 subnet, then the appliance uses the MIP address to communicate to the servers. However, if the setup has backend servers on additional subnets, such as 10.2.2.0/24, and there is no router between the NetScaler appliance and the subnet, then you can configure a SNIP address that has a range of 10.2.2.x/24, such as 10.2.2.9 in this case, to communicate to the additional subnet.

You can enable to NetScaler appliance to use MIP to communicate the additional subnet. However, if the setup has a Firewall application between the appliance and the server, then the Firewall might prevent the traffic other than 10.2.2.0/24. In such cases, you need a SNIP address to communicate to the servers.

To create a MIP address by using the command line interface

At the command prompt, type:

  • add ns ip <IPAddress> <netmask> -type <type>
  • show ns ip <IPAddress>

Example

 
> add ns ip 10.102.29.171 255.255.255.0 -type MIP 
 Done

To create a range of MIP addresses by using the command line interface

At the command prompt, type:

  • add ns ip <IPAddress> <netmask> -type <type>
  • show ns ip <IPAddress>

Example

 
> add ns ip 10.102.29.[173-175] 255.255.255.0 -type MIP 
ip "10.102.29.173" added 
ip "10.102.29.174" added 
ip "10.102.29.175" added 
Done

To configure a MIP address by using the configuration utility

Navigate to System > Network > IPs > IPV4s, and add a new MIP address or edit an existing address.

To create a range of MIP addresses by using the configuration utility

  1. Navigate to System > Network > IPs > IPV4s.
  2. In the Action list, select Add Range.