Difference between revisions of "MTU"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
Change configuration on Linux:
 
Change configuration on Linux:
 +
 
<code>[[ip link]] set dev eth0 [[mtu]] 9000</code> ([[Jumbo frames]])
 
<code>[[ip link]] set dev eth0 [[mtu]] 9000</code> ([[Jumbo frames]])
  

Revision as of 10:27, 15 October 2021

wikipedia:Maximum transmission unit (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

See also

Advertising: