docs/doc/source/datanet/static-vxlan.rst

2.2 KiB

Static VXLAN

The static unicast mode relies on the mapping of neutron ports to worker nodes to receive the packet in order to reach the VM.

In this mode there is no multicast addressing or multicast packets sent from the worker nodes, neither is there any learning. In contrast to the dynamic VXLAN mode, any packets destined to unknown MAC addresses are dropped. To ensure that there are no unknown endpoints the system examines the neutron port DB and gathers the list of mappings between port MAC/IP addresses and the hostname on which they reside. This information is then propagated throughout the system to pre-provision endpoint entries into all vSwitch instances. This ensures that each vSwitch knows how to reach all VM instances that are related to any local VM instances.

Static VXLAN is limited to use on one data network. If configured, it must be enabled on all OpenStack worker nodes.

Static Endpoint Distribution

Note

In the static mode there is no dynamic endpoint learning. This means that if a node does not have an entry for some destination MAC address it will not create an entry even if it receives a packet from that device.

Workflow to Configure Static VXLAN Data Networks

Use the following workflow to create static VXLAN data networks and add segmentation ranges using the CLI.

  1. Create a VXLAN data network, see Adding Data Networks Using the CLI <adding-data-networks-using-the-cli>.
  2. Add segmentation ranges to static VXLAN data networks, see Adding Segmentation Ranges Using the CLI <adding-segmentation-ranges-using-the-cli>.
  3. Establish routes between the hosts, see Adding and Maintaining Routes for a VXLAN Network <adding-and-maintaining-routes-for-a-vxlan-network>.

For more information on the differences between the dynamic and static VXLAN modes, see Differences Between Dynamic and Static VXLAN Modes <differences-between-dynamic-and-static-vxlan-modes>.