MTUテーブルを削除する方法は?

MTUテーブルを削除する方法は?

Linux環境でmtuテーブルをリセットしようとしています。私は以下を試しています:

ip route flush cache

しかし、うまくいかないようです。

どんな提案がありますか?ありがとうございます。

ベストアンサー1

MTUは最大転送単位です。テーブルではなく、インターフェイスで送信される最大パケットサイズがどれくらいかを示すパラメータ。洗い流せません。

何をしたいですか?ルーティングテーブルを更新するには、ip route flushマニュアルページ(man 8 ip-route)に記載されている各ルーティングルールを呼び出す必要があります。

        ip route flush
          flush routing tables
          this command flushes routes selected by some criteria.

          The arguments have the same syntax and semantics as the arguments of ip route show, but routing tables are not listed but purged. The only difference is the default action:
          show dumps all the IP main routing table but flush prints the helper page.

          With the -statistics option, the command becomes verbose. It prints out the number of deleted routes and the number of rounds made to flush the routing table. If the option
          is given twice, ip route flush also dumps all the deleted routes in the format described in the previous subsection.

おすすめ記事