Difference between revisions of "MTU"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
* <code>[[ip link]] set dev eth0 [[mtu]] 9000</code> ([[Jumbo frames]]) | * <code>[[ip link]] set dev eth0 [[mtu]] 9000</code> ([[Jumbo frames]]) | ||
− | + | *<code>ifconfig -a | grep mtu</code> | |
ifconfig -a | grep mtu | ifconfig -a | grep mtu |
Revision as of 10:35, 17 September 2021
wikipedia:Maximum transmission unit (MTU)
- Cisco IOS:
show system mtu
Change configuration on Linux:
ip link set dev eth0 mtu 9000
(Jumbo frames)
ifconfig -a | grep mtu
ifconfig -a | grep mtu eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001
ping -M do -s 9000 <some_ip_address>
Select Path MTU Discovery strategy. hint may be either do (prohibit fragmentation, even local one), want (do PMTU discovery, fragment locally when packet size is large), or don't (do not set DF flag).
netsh interface ipv4 show interfaces
Related terms
- Jumbo frames
- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
- Path MTU Discovery (PMTUD)
- sysctl:
net.ipv4.tcp_mtu_probing
- WireGuard: https://wiki.archlinux.org/index.php/WireGuard#Low_MTU
iperf: -M, --mss
See also
Advertising: