Change the MTU Size for an Existing Public Cloud Network Using OpenStack CLI/API
Learn how to change the MTU size for an existing network using OpenStack CLI/API.
Jumbo frames are Ethernet frames with more than 1,500 bytes of payload. They can carry up to 9,000 bytes of payload. Using them minimizes routing processing time. In the case of vRack, this will optimize traffic on it.
But if connectivity from a fully private instance to outside networks (Internet) is done in the network, the MTU has to be set to 1,500 bytes of payload.
The MTU size will be the same for all services using IPs in the same network.
Requirements
- A Public Cloud project in your OVHcloud account
- Using the OpenStack command line environment
- The OpenStack Command Line Interface tool installed on your working environment
Instructions
Step 1: Listing networks available in the Public Cloud project
List available networks in the region:
You can grab the ID of your private network (Ext-Net is a public network used for public IP addresses and is managed by OVHcloud).
Step 2: Displaying private network parameters
Use the following command to display the private network parameters:
Step 3: Setting the new MTU size
- Using the OpenStack CLI:
- Using the OpenStack API:
Step 4: Verifying the changes
Display the private network parameters to verify that the change is applied:
Step 5: Restarting the services
Updating the MTU value for an existing network with instances plugged into it requires a hard reboot of those instances that have a port in this network:
- Public cloud instances
- Managed Kubernetes Node(s) if you use a custom gateway deployed in vRack with a Managed Kubernetes cluster.
Go further
Browse all the Networking guides.
Browse the rest of the OVHcloud US documentation for guides on our other products and services.
Learn more about Public Cloud Network on the OVHcloud US website.