Lower MTU for migration from a VXLAN OVS deployment
If your pre-migration OVS deployment uses the VXLAN tunneling protocol, you might need to reduce the network maximum transmission unit (MTU) by 8 bytes before migrating to OVN, which uses the Geneve tunneling protocol.
Before you begin
- You have completed the steps in Prepare your environment for OVN migration.
- You have completed the steps in Prepare container images for OVN migration.
- Your pre-migration deployment is Red Hat OpenStack Platform (RHOSP) 17.1 or later with VXLAN.
About this task
VXLAN packets reserve 50 bytes of data for header content. This includes 42 bytes of standard outer headers plus an 8-byte VXLAN header. If the physical network uses the standard ethernet MTU of 1500 bytes, you can set the MTU on your VXLAN networks to 1450 and traffic can pass without fragmentation.
Geneve packets reserve 58 bytes of data for header content. This includes the 42 bytes of standard outer headers plus a 16-byte Geneve header. Thus, if the physical network has an MTU less than 1508, you must reduce the MTU on your pre-migration OpenStack VXLAN networks by 8 bytes to avoid the need for fragmentation.
The RHOSP OVN migration tool automatically lowers the MTU by 8 bytes on VXLAN and GRE overcloud networks. In the following procedure, you use the tool to:
- Increase the frequency of DHCP renewals by reducing the DHCP T1 timer to 30 seconds.
- Reduce the MTU size on existing VXLAN networks by 8 bytes.
If your deployment does not use DHCP to configure all VM instances, you must manually reduce MTU on the excluded instances.
Procedure
What to do next
Proceed to Migrate from OVS to OVN.