Manual Chapter :
Optimizing OpenStack Traffic Flow
Applies To:
Show VersionsBIG-IQ Centralized Management
- 8.3.0, 8.2.0, 8.1.0, 8.0.0
Optimizing OpenStack Traffic Flow
Deciding whether you need to change the BIG-IQ VE MTU value
If your BIG-IQ VE needs to pass network traffic between an internal tenant (private) network and an external (public) network using an OpenStack virtual machine, the traffic must be directed through a router. The typical OpenStack configuration routes this through an Open-vSwitch Router. When data blocks pass through the router in this scenario, the traffic incurs a 50 byte overhead. For a BIG-IQ VE that sends and receives network traffic through interfaces that connect to internal tenant and external public networks, you must reduce the VE instance’s MTU value by 50 to account for that overhead.
This requirement applies to other virtual machine types (such as BIG-IP and Linux) not just BIG-IQ Virtual Edition.
A common indication that you need to adjust the MTU value is when you can make an SSH connection to the BIG-IQ, but you cannot make a web connection over HTTPS. If everything else is configured correctly, then check to see if the MTU setting is causing the issue. Correct configuration (in this case) means:
- Ports 22 and 443 are open to receiving traffic.
- All required system services appear to be running normally.
- There is no abnormal consumption of system resources (RAM and CPU).
To verify that the MTU setting is causing the issue, you can log in to the BIG-IQ using SSH and run the following command:
ifconfig eth0 mtu 1450
. Then try connecting to the BIG-IQ again using your browser. If you can connect successfully, then you know that the MTU setting is the issue, and you need to permanently modify the MTU setting to make sure the user interface performs properly.If you change the MTU value on the BIG-IQ using the command line, the value resets to 1500 whenever the VE reboots. So you need to edit the custom configuration file so that any time the VE restarts, the config file sets the correct value.
Set BIG-IQ VE MTU values to pass traffic between tenant and external networks
You edit the custom configuration file so that any time the VE restarts, it sets the MTU value correctly.
- Access the BIG-IQbashcommand shell.You can access this shell from the OpenStack console or you can use SSH to log in to the BIG-IQ VE.
- In the command shell, type the commandsudo vim /config/startup.
- Type the user password when prompted.Theconfig startupfile opens for editing.
- TypeIto enter insert (edit) mode and add either of these two commands to the end of the file:
- ifconfig eth0 mtu 1450
- ip link set eth0 mtu 1450
- Press the Esc key to exit insert mode.
- Type:w!and press Enter to commit changes.
- Type:qto exit the editor and return to the command prompt.
- To verify the change was saved, typecat /config/startup.
- To reboot the VE, typetmsh reboot.
- When the reboot completes, return to the command shell and typeifconfig eth0and verify that the new MTU value persists.
- Access the BIG-IQbashcommand shell run, and then type the following commands to change the MTU value for the default route in the device route table.
- tmsh modify sys management-route default {mtu 1450}
- tmsh save sys config
- To verify the change, typeip route.This change to the local route table is persistent, so you do not need to make a change to the/config/startupfile.