VXLAN Overlay Network Configuration
How to Configure VXLAN Overlay Network
- Configure the ml2_conf.ini file to use VXLAN driver.
- Configure a network dclessons_VXLAN_VNI with segment ID 1010.
- Verify how Virtual interface information is used for VXLAN tunnel on compute node and Network node.
To use VXLAN driver, SSH to OpenStack CLI and open it in any favorite editor
[root@localhost ~(keystone_admin)]# sudo nano /etc/neutron/plugins/ml2/ml2_conf.ini
Modify the following section in ml2 section:
type_drivers = vxlan
tenant_network_types = vxlan
mechanism_drivers = openvswitch
In the [ovs] section, set local_ip to the VTEP IP address. OVS uses this IP to carry all the tunneled traffic. In our setup, the VTEP IP for the controller node is 10.0.0.1:
local_ip = 10.0.0.1
In the [agent] section, set tunnel_types to vxlan:
tunnel_types = vxlan
Restart the Neutron server and Open vSwitch Agent on the controller and network node of our setup using the following commands:
[root@localhost ~(keystone_admin)]# sudo service neutron-server restart.
When we configure the ML2 plugin to create the VXALN network , The Neutron OVSL2 agent on controller node is responsible to configure local OVS instance on compute and Network nodes because the Neutron L2 agent also run on compute and network nodes.
To create the VXALN Network , go to Admin| Networks
Click on + Create Network and provide the desired Name. Provider Network Type should be set to VXLAN and Segmentation ID should be set to the required VNI:
LEAVE A COMMENT
Please login here to comment.