Skip to main content

A tool to find out maximum MTU size on an IPv4 path

Project description


A tool to probe the current MTU on an IPv4 path.

So far it's compatible with Linux only however it can very easily be adapted to any other operating system.


pip install mtuprobe


The default options are sane and should give you good results. Suppose that you want to know the current effective MTU towards, in a shell you can try:

% mtuprobe
Max packet size:         1464
Expected ethernet MTU:   1492

You can check out mtuprobe -h to get the complete list of options.

Values are:

  • Max packet size — Max packet size specified to ping, meaning the size of the data segment of the ICMP packet
  • Expected ethernet MTU — That's what the MTU should be if you're transmitting over Ethernet and the header sizes are what is expected from such a setup. This should apply most of the time but surely some weird network setups could violate this.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mtuprobe, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size mtuprobe-0.1.0-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mtuprobe-0.1.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page