Skip to main content

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

Project description

mtuprobe

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.

Installation

pip install mtuprobe

Usage

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

% mtuprobe wikipedia.org
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.

Source Distribution

mtuprobe-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

mtuprobe-0.1.0-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page