Configure a virtual IP (VIP) subnet for the Data Network. You can configure the VIP range to use when a virtual service is placed on the specific VIP network. You can configure DHCP for the Service Engines. Optionally, if DHCP is unavailable, you can configure a pool of IP addresses which will get assigned to the Service Engine interface on that network.

Procedure

  1. In the Avi Controller dashboard, click menu in the upper-left hand corner and select Infrastructure.
  2. Click Network, to display the list of networks on the vCenter Server.
  3. Locate the Data Network that provides the virtual IP addresses and click the edit icon to edit the network settings.
    For example, Data Nework.
  4. Keep DHCP Enabled selected if DHCP is available on the Data Network.
    Deselect this option if DHCP is not available.
  5. Deselect the Exclude Discovered Subnets for Virtual Service Placement. Deselecting this option enables you to use the configured subnet for virtual IP address placement.
    The Avi Controller discovers the network CIDR automatically if a VM is running on the network and it appears with type Discovered.
  6. If the Avi Controller discovers the IP subnet automatically, configure the IP range for the subnet.
    1. Click the edit icon of the discovered network.
    2. Select Add Static IP Address Pool.
    3. Enter one or more IP addresses or IP address ranges.
      For example, 10.202.35.1-10.202.35.254.
      Note: You can enter an IP address that ends with 0. For example, 192.168.0.0 and ignore any warning that appears.
    4. If DHCP is available for the Service Engine IP address, deselect Use Static IP Address for VIPs and SE and select Use for VIPs.
    5. Click Save.
  7. If the Controller does not discover an IP subnet and its type, perform the following steps:
    1. Click Add Subnet.
    2. In IP Subnet, enter the CIDR of the network that provides the virtual IP addresses.
      For example, 10.202.35.0/22
    3. Select Add Static IP Address Pool.
    4. Enter one or more IP addresses or IP address ranges.
      The range must be a subset of the network CIDR in IP Subnet. For example, 10.202.35.1-10.202.35.254.
      Note: You can enter an IP address that ends with 0. For example, 192.168.0.0 and ignore any warning that appears.
    5. If DHCP is available for the Service Engine IP address, deselect Use Static IP Address for VIPs and SE and select Use for VIPs.
    6. Click Save to save the subnet configuration.
    The Edit Network Settings page lists the IP Subnet with type Configured and an IP address pool.
  8. Click Save to save the network settings.

Results

The Network page lists the configured networks.

Example

The Primary Workload Network network displays the discovered network as 10.202.32.0/22 and configured subnets as 10.202.32.0/22 [254/254]. This indicates that 254 virtual IP addresses come from 10.202.32.0/22. Note that the summary view does not list the IP range 10.202.35.1-10.202.35.254.