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
  • 5 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

What Server Virtualization Are Your Hypervisors?

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

Install Python Interpreter on Ubuntu VPS or Dedicated Server

This article provides a step-by-step guide to installing the Python interpreter on an Ubuntu VPS...

What are My root User Login Credentials?

The root (admin) user password is randomly generated. This password can be found in your welcome...

Modify Server Hostname Using SSH in CentOS

This article provides a guide to modify server Hostname using SSH in CentOS server. You can use...

Reboot Linux Server Using SSH

This article provides a guide for rebooting a Linux-based VPS or dedicated server using the SSH...