docs/doc/source/datanet/openstack/adding-a-static-ip-address-to-a-data-interface.rst
Ron Stone f125a8b892 Remove spurious escapes (r8,dsR8)
This change addresses a long-standing issue in rST documentation imported from XML.
That import process added backslash escapes in front of various characters. The three
most common being '(', ')', and '_'.
These instances are removed.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Id43a9337ffcd505ccbdf072d7b29afdb5d2c997e
2023-03-01 11:19:04 +00:00

2.4 KiB

Add a Static IP Address to a Data Interface

You can add static IP addresses to a data interface using the web administration interface or the CLI.

For VXLAN connectivity between VMs, you must add appropriate endpoint IP addresses to the compute node interfaces. You can add individual static addresses, or you can assign addresses from a pool associated with the data interface. For more about using address pools, see Using IP Address Pools for Data Interfaces <using-ip-address-pools-for-data-interfaces>.

To add a static IP address using the , refer to the following steps. To use the CLI, see Managing Data Interface Static IP Addresses Using the CLI <managing-data-interface-static-ip-addresses-using-the-cli>.

To make interface changes, you must lock the compute host first.

  1. Lock the compute host.

  2. Set the interface to support an IPv4 or IPv6 address, or both.

    1. Select Admin > Platform > Host Inventory to open the Host Inventory page.

    2. Select the Host tab, and then double-click the compute host to open the Host Detail page.

    3. Select the Interfaces tab and click Edit Interface for the data interface you want to edit.

    4. In the Edit Interface dialog box, set the IPv4 Addressing Mode or the IPv6 Addressing Mode to Static.

      image

  3. Add an IPv4 or IPv6 address to the interface.

    1. On the Host Detail page, click the Name of the interface to open the Interface Detail page.

      image

    2. Click Create Address to open the Create Address dialog box.

      image

    3. Enter the IPv4 or IPv6 address and netmask (for example, 192.168.1.3/24), and then click Create Address.

    The new address is added to the Address List.

  4. Unlock the compute node and wait for it to become available.

For more information, see Managing Data Interface Static IP Addresses Using the CLI <managing-data-interface-static-ip-addresses-using-the-cli>