Editing MTU
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
Change configuration on Linux: | Change configuration on Linux: | ||
+ | * <code>[[ip link]] set dev eth0 [[mtu]] 9000</code> ([[Jumbo frames]]) | ||
− | + | *<code>ifconfig -a | grep mtu</code> | |
− | |||
− | <code>ifconfig -a | grep mtu</code> | ||
ifconfig -a | grep mtu | ifconfig -a | grep mtu | ||
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001 | eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001 | ||
− | <code>[[ping -M]] do -s 9000 <some_ip_address></code> | + | * <code>[[ping -M]] do -s 9000 <some_ip_address></code> |
− | |||
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). | 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). | ||
− | <code>[[netsh]] interface ipv4 show interfaces</code> | + | * <code>[[netsh]] interface ipv4 show interfaces</code> |
== Related terms == | == Related terms == | ||
Line 27: | Line 25: | ||
* [[WireGuard]]: https://wiki.archlinux.org/index.php/WireGuard#Low_MTU | * [[WireGuard]]: https://wiki.archlinux.org/index.php/WireGuard#Low_MTU | ||
* <code>[[iperf]]: -M, --mss</code> | * <code>[[iperf]]: -M, --mss</code> | ||
− | |||
− | |||
== See also == | == See also == |
Advertising: