IP Addressing Modes

When Ivanti Connect Secure gets deployed by using the sample templates provided by Ivanti , Ivanti Connect Secure comes up with multiple interfaces. If you take an example of a template “ics-3-nics.zip” provided by Ivanti , you notice the following things.

ICS external interface and ICS management interface are having both Public and Private IP addresses. In the below code snippet, observe the network interface getting created with two IP addresses - private IP address and public IP address. Highlighted section points to private IP allocation method and Public IP address getting assigned to NIC.

1.        "type": "Microsoft.Network/networkInterfaces", 

2.        "name": "[variables('icsExtNic')]", 

3.         ---------------

4.         ---------------

5.        "properties": { 

6.         "privateIPAllocationMethod": "Dynamic", 

7.        "privateIPAddressVersion": "IPv4", 

8.        "publicIPAddress": { 

9.        "id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddr1'))]"

    },               

If you want to have control on the IP assigned to Network Interface, then you need to change the attribute “privateIPAllocationMethod” from “Dynamic” to “Static”. Also, you need to add an attribute called “privateIPAddress” which holds the static IP address. When you are assigning static IP address, make sure that it is not in the reserved IP category.

1.    "ipConfigurations": [{ 

2.        "name": "ipconfig2", 

3.        "properties": { 

4.            "privateIPAllocationMethod": "Static", 

5.            "privateIPAddressVersion": "IPv4", 

6.            "privateIPAddress": "[variables('privateIPExternal')]",       

7.        } 

8.    }]