Section: Interfaces and Addresses

Set MTU

bash
bash
sudo ip link set dev eth0 mtu 9000
Explanation

Change interface MTU size.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Interfaces and Addresses
Show all interfaces
List network links and their state.
OpenIn sheetbashsame section
Show IP addresses
Display IPv4 and IPv6 addresses on all interfaces.
OpenIn sheetbashsame section
Show addresses for one interface
Inspect addresses for a specific device.
OpenIn sheetbashsame section
Bring interface up
Enable a network interface.
OpenIn sheetbashsame section
Bring interface down
Disable a network interface.
OpenIn sheetbashsame section
Add IP address
Assign an additional IP address to an interface.
OpenIn sheetbashsame section