How to Update MTU Speed on CentOS VPS


Follow this guide to update MTU speed on CentOS VPS servers.

Prerequisites

To update the MTU speed of your CentOS VPS server, the following requirements must be met:

  • Must have access to VPS server with CentOS as the operating system.
  • Requires 'root-level' or SUDO-user capable of processing root-level commands.
  • CentOS 6/CentOS 7/CentOS 8 supported

Let's get started, by following the guides below, keeping an eye on the CentOS versions mentioned.

What is MTU Speed?

Maximum transmission unit (MTU) is the largest unit of data that can be sent or received in a single network layer transaction. MTU should be updated according to the underlying network capabilities, not to exceed the network speed assigned to the server's port(s).

Check MTU Speed of CentOS Server

Follow the instructions below to check your server's existing MTU settings.

  • For CentOS 6:
    • Login to your server via SSH, as root or root-capable SUDO user.
    • Run the following command to check MTU speed for your existing network interfaces:
      sudo ifconfig -a
      check MTU speed on CentOS 6 VPS
  • For CentOS 7/CentOS 8:
    • Login to your server via SSH, as root or root-capable SUDO user.
    • Run the following command to check MTU speed for your existing network interfaces:
      sudo ip link list
      check MTU speed on CentOS 7 VPS

Update MTU Speed on CentOS VPS

Follow the instructions below to update your server's MTU speed.

  • For CentOS 6:
    • Login to your server via SSH, as root or root-capable SUDO user.
    • Run the following command to update MTU speed (to 1400 MTU) for the server's network interfaces (as determined by previous step):
       sudo ifconfig eth0 mtu 1400
    • Verify your MTU speed on CentOS VPS using the same command from previous step (of CentOS 6 guide) update MTU speed on CentOS 6 VPS
  • For CentOS 7/CentOS 8:
    • Login to your server via SSH, as root or root-capable SUDO user.
    • Run the following command to update MTU speed (to 1400 MTU) for the server's network interfaces (as determined by previous step):
      ip link set dev eth0 mtu 1400
    • Verify your MTU speed on CentOS VPS using the same command from previous step (of CentOS 7/CentOS 8 guide): update MTU speed on CentOS 7 VPS

You have now updated network MTU speed for your CentOS VPS.

  • centos, centos 6, centos 7, centos 8, mtu speed, network interface, network configuration
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to Change Root Password Using SSH

This article explains the method of changing the root password on a Linux Server using SSH....

What Server Virtualization Are Your Hypervisors?

All VPS hypervisors use KVM virtualization technology. Order here: KVM VPS servers

Modify Directory and Subdirectory Permissions

This article demonstrates the process of chmod file and subfolder permissions per directory,...

Video: How to Check Whether the VPS Status is Online or Offline in Virtualizor

This video tutorial provides Step-by-Step instructions for how to check whether the VPS status is...

Video: How to Check VPS RAM, IP, Disk Capacity and the Virtualization Details in Virtualizor

This video tutorial provides Step-by-Step instructions for how to check VPS RAM, IP, disk...