我在 WSL2 中使用 Ubuntu 20.04,并且无法永久设置 MTU。不管我怎么做,重启后还是1500。我在本机运行 Ubuntu 时遇到了同样的问题,然后切换到 Windows,因为 Ubuntu 无法通过 VPN 工作,因为 MTU 错误。
难道真的没有办法永久设置MTU吗?
我尝试了/etc/dhcp/dhclient.conf
GNU nano 4.8 /etc/dhcp/dhclient.conf # Configuration file for /sbin/dhclient. # # This is a sample configuration file for dhclient. See dhclient.conf's # man page for more information about the syntax of this file # and a more comprehensive list of the parameters understood by # dhclient. # # Normally, if the DHCP server provides reasonable information and does # not leave anything out …Run Code Online (Sandbox Code Playgroud)