config.MTU.in.Windows

Windows下设置MTU

  1. 打开PowerShell

  2. 输入

    netsh interface ipv4 show subinterfaces
    

    img

    获取接口名称,"以太网"

  3. ping百度获取MTU值,1396(修改1500)

    ping www.baidu.com -f -l 1500
    

    img

  4. 得到MTU值后,使用

    netsh interface ipv4 set subinterface "以太网" mtu=1396 store=persistent
    

    设置新的MTU值
    img

  5. 然后就完成了,可以进游戏以后看一下延迟是不是有减小

posted @ 2024-04-04 16:25  曲涛  阅读(2)  评论(0编辑  收藏  举报