linux:jumboframe

Fedora での JumboFrame の設定

$ sudo nmcli connection modify enp8s0 802-3-ethernet.mtu 9000
$ sudo nmcli device modify enp8s0 802-3-ethernet.mtu 9000
接続がデバイス 'enp8s0' に正常に再適用されました。
$ sudo ip link set enp8s0 mtu 9000
$ ip link show | grep mtu
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq master br0 state UP mode DEFAULT group default qlen 1000
3: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
$ sudo ping -v -M do -s 8972 -c5 TheCircle
PING TheCircle.monsters-g.local (192.168.1.85) 8972(9000) bytes of data.
8980 bytes from TheCircle.monsters-g.local (192.168.1.85): icmp_seq=1 ttl=128 time=1.18 ms
8980 bytes from TheCircle.monsters-g.local (192.168.1.85): icmp_seq=2 ttl=128 time=1.12 ms
8980 bytes from TheCircle.monsters-g.local (192.168.1.85): icmp_seq=3 ttl=128 time=1.05 ms
8980 bytes from TheCircle.monsters-g.local (192.168.1.85): icmp_seq=4 ttl=128 time=1.15 ms
8980 bytes from TheCircle.monsters-g.local (192.168.1.85): icmp_seq=5 ttl=128 time=1.29 ms

--- TheCircle.monsters-g.local ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 10ms
rtt min/avg/max/mdev = 1.050/1.158/1.291/0.084 ms

-v 詳細な出力を行う。(verbose)
-M do フラグメンテーションを禁止する。
-s 送出するパケットのサイズを指定する。(デフォルト64バイト = 56バイト + ICMPヘッダ8バイト)
-c パケットを送る回数を指定する。(上記の場合は5回)
8972 = 9000(MTU)-28(IPヘッダサイズ20bytes + ICMPサイズ8bytes)

  • linux/jumboframe.txt
  • 最終更新: 2019/05/18 02:23
  • by 非ログインユーザー