看起来的确像是ARP跪了,电子系馆经常如此,于是写了个文件,内容是 网关地址 网关mac 例如 166.111.64.1 00:22:xx:xx:xx:xx
然后sudo arp -f file 即可 -- Justin Wong Fingerprint: 15CC 6A61 738B 1599 0095 E256 CB67 DA7A 865B AC3A On Mon, Oct 5, 2015, at 15:14, Benda Xu wrote: > 吕铭 <[email protected]> writes: > > > 192.168.199.1 dev wlp3s0 lladdr d4:ee:07:21:b6:4a REACHABLE > > 59.66.15.1 dev enp2s0 INCOMPLETE > > fe80::d6ee:7ff:fe21:b64a dev wlp3s0 lladdr d4:ee:07:21:b6:4a router STALE > > fe80::3e8a:b0ff:fe86:5eea dev enp2s0 lladdr 3c:8a:b0:86:5e:ea router > > REACHABLE > > 按科学实验中控制变量的精神,请注意在测试的时候把无线关掉,去除无关的可能 > 影响实验结果的因素。 > > 59.66.15.1 dev enp2s0 INCOMPLETE 这一行的意思是无法找到网关的 mac 地址, > 很有可能是局域网内有 ARP spoofing [1]. 我曾经用的解决方法是把网关的 mac > 地址写在配置文件中,绕过 ARP 协议。方法详见 ethers(5) manpage[2]. > > 1. https://en.wikipedia.org/wiki/ARP_spoofing > 2. 终端输入 man ethers 或者 http://linux.die.net/man/5/ethers > > -- > > --- > You received this message because you are subscribed to the Google Groups > "TUNA 主邮件列表" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "TUNA 主邮件列表" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
