软路由+ap, 内网设备间 iperf3 测速低于任何一台设备单独访问互联网?

讨论 未结 5 62
sky96111
sky96111 会员 2022年8月25日 12:01 发表
<p>拓扑大概是这个样子,两个设备都通过 AP 连接,有线部分都是超六类线<br> <img alt="" class="embedded_image" loading="lazy" referrerpolicy="no-referrer" rel="noreferrer" src="https://s3.bmp.ovh/imgs/2022/08/25/dd0d65458bbeee03.jpg"> </p> <p>使用测速网测得<br> PC:319/62Mbps<br> 手机:351/38Mbps<br> 宽带 300/30Mbps ,每个设备访问互联网速度都是正常的,</p> <p>然而设备间访问速度就很慢,无论是 smb 、ftp 、qrcp 传文件,只有 10-20MBps 左右。起初以为是软件优化问题没在意,后怀疑是设备的问题,使用 iperf3 测速,结果让我大吃一惊,内网传输速度竟然比访问互联网还慢?</p> <p>PC:</p> <pre><code><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8ffce4f6b6b9bebebecfdcfafde9eeeceadcdadcca">[email&nbsp;protected]</a> ~&gt; iperf3 -s ----------------------------------------------------------- Server listening on 5201 (test #1) ----------------------------------------------------------- Accepted connection from [phoneip], port 44408 [ 5] local [laptopip] port 5201 connected to [phoneip] port 44420 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 7.67 MBytes 64.3 Mbits/sec [ 5] 1.00-2.00 sec 11.1 MBytes 92.8 Mbits/sec [ 5] 2.00-3.00 sec 15.3 MBytes 128 Mbits/sec [ 5] 3.00-4.00 sec 10.5 MBytes 88.2 Mbits/sec [ 5] 4.00-5.00 sec 15.1 MBytes 127 Mbits/sec [ 5] 5.00-6.00 sec 14.3 MBytes 120 Mbits/sec [ 5] 6.00-7.00 sec 16.6 MBytes 139 Mbits/sec [ 5] 7.00-8.00 sec 13.9 MBytes 116 Mbits/sec [ 5] 8.00-9.00 sec 16.7 MBytes 140 Mbits/sec [ 5] 9.00-10.00 sec 14.6 MBytes 122 Mbits/sec [ 5] 10.00-10.05 sec 539 KBytes 84.3 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.05 sec 136 MBytes 114 Mbits/sec receiver </code></pre> <p>Phone:</p> <pre><code><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="84f1b4dbe5b5b3b7c4e8ebe7e5e8ecebf7f0">[email&nbsp;protected]</a> ~&gt; iperf3 -c surfacesuse.lan Connecting to host surfacesuse.lan, port 5201 [ 5] local [phoneip] port 44420 connected to [laptopip] port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 8.25 MBytes 69.2 Mbits/sec 91 143 KBytes [ 5] 1.00-2.00 sec 11.2 MBytes 94.1 Mbits/sec 0 229 KBytes [ 5] 2.00-3.00 sec 15.1 MBytes 127 Mbits/sec 0 308 KBytes [ 5] 3.00-4.00 sec 10.9 MBytes 91.5 Mbits/sec 0 354 KBytes [ 5] 4.00-5.00 sec 14.6 MBytes 122 Mbits/sec 0 409 KBytes [ 5] 5.00-6.00 sec 14.8 MBytes 124 Mbits/sec 0 456 KBytes [ 5] 6.00-7.00 sec 16.1 MBytes 135 Mbits/sec 0 505 KBytes [ 5] 7.00-8.00 sec 14.1 MBytes 118 Mbits/sec 0 542 KBytes [ 5] 8.00-9.00 sec 16.8 MBytes 141 Mbits/sec 0 584 KBytes [ 5] 9.00-10.00 sec 14.5 MBytes 122 Mbits/sec 0 618 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 136 MBytes 114 Mbits/sec 91 sender [ 5] 0.00-10.05 sec 136 MBytes 114 Mbits/sec receiver iperf Done. </code></pre> <p>尝试过:</p> <ul> <li>增大 iperf3 线程数,丢包重发更多,速度更慢了</li> <li>重启路由器 /AP</li> <li>AP 位接入交换机,PC 使用有线连接<br> 均无成效。还有什么排查的方法吗?</li> </ul>
收藏(0)  分享
相关标签: 灌水交流
注意:本文归作者所有,未经作者允许,不得转载
5个回复
  • me221
    2022年8月25日 13:30
    我内网速度也达不到 只是够用 蹲一个解决办法
    0 0
  • yinheli
    2022年8月25日 13:30
    看着是 100M 的, 应该是哪里不达标吧,高度怀疑软路由 AP 的有线连接。 PC 和手机访问外网却能跑满?难道跑外网不需要用到软路由吗?你的软路由是不是只是个旁路由的作用
    0 0
  • sky96111
    2022年8月25日 14:03
    只有一个软路由是主路由,没有旁路由。外网能跑满内网跑不满,这点就很奇怪
    0 0
  • Xbluer
    2022年8月25日 15:00
    pc 和手机都 wifi 连到 ap 上? 如果是这样,那大概率就是 wifi 的问题了。ap 、pc 、手机都可能任何一方拉胯,都能拖累其他设备。
    0 0
  • sxiaojian
    2022年8月25日 16:01
    很明显是软路由问题了,用硬路由不会有这些问题。 用了不少 arm openwrt 软路由,完美稳定的太少了,各种残缺,不能当主路由用。
    0 0