编辑:Windows 10 有同样的问题,但当我关闭 Ipv6 时,速度恢复正常。然而,在 Ubuntu 上关闭它并不能解决同样的问题。
我的 Windows 笔记本电脑速度最高可达 300 mbps,但当我将 LAN 电缆连接到 Ubuntu 20.04 时,速度最多只能达到 80 mpbs。
我尝试在有线连接设置中禁用 IPv6,但不起作用。似乎速度受到了限制。电缆是新的,在 Windows 上工作正常。路由器也一样。
这是 ifconfig 输出:
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.100.6 netmask 255.255.255.0 broadcast 192.168.100.255
inet6 fe80::e6b9:7aff:fef1:ab prefixlen 64 scopeid 0x20<link>
ether e4:b9:7a:f1:00:ab txqueuelen 1000 (Ethernet)
RX packets 86497 bytes 120876882 (120.8 MB)
RX errors 0 dropped 15133 overruns 0 frame 0
TX packets 22471 bytes 3146127 (3.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 984 bytes 113734 (113.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 984 bytes 113734 (113.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
和
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether e4:b9:7a:f1:00:ab brd ff:ff:ff:ff:ff:ff
inet 192.168.100.6/24 brd 192.168.100.255 scope global dynamic noprefixroute enp2s0
valid_lft 86159sec preferred_lft 86159sec
inet6 fe80::e6b9:7aff:fef1:ab/64 scope link
valid_lft forever preferred_lft forever
3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 98:2c:bc:76:2d:7f brd ff:ff:ff:ff:ff:ff
altname wlp0s20f3
这是戴尔 Inspiron AiO。