ARP 条目 OPENWRT 不是永久的

ARP 条目 OPENWRT 不是永久的

我现在是一个网络菜鸟。我目前正在尝试使用 ARP 条目让 WOL(WOW) 工作。局域网唤醒将始终适用于我现在使用的配置,向我的电脑发送魔术包将始终将其唤醒,无论它已关闭多久。

然而,当我尝试使用 WAN 唤醒时,问题就出现了。仅当我使用 ip neigh add/replace xxxx lladdr xx:xx:xx:xx:xx:xx nud dev eth0 permanent 时才有效。然后通过 WAN 唤醒即可工作,仅供 1 使用。因为在机器和网卡唤醒的某个地方,路由器正在用临时可达地址替换永久邻居地址的条目,该地址在被处理后又返回到失败的条目。

有问题的本地 IP 地址是 192.168.1.10

这是我手动配置 ip 邻居、发出 WAN 唤醒信号并且机器开始启动后 ip -ts Monitor 的输出。

[2022-04-08T12:02:22.000050] dev lan4 lladdr 10:7b:44:f0:dd:0a REACHABLE
[2022-04-08T12:02:24.000052] 192.168.1.10 dev br-lan lladdr 10:7b:44:f0:dd:0a STALE
[2022-04-08T12:02:24.000052] 192.168.1.10 dev br-lan lladdr 10:7b:44:f0:dd:0a STALE
[2022-04-08T12:02:24.000052] Deleted fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:24.000052] fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:24.000052] 192.168.1.231 dev br-lan lladdr 86:1d:76:87:e4:b4 PROBE
[2022-04-08T12:02:24.000052] 192.168.1.231 dev br-lan lladdr 86:1d:76:87:e4:b4 REACHABLE
[2022-04-08T12:02:24.000052] fe80::39e8:75c0:20bf:de55 dev br-lan lladdr 8c:1d:96:8e:60:bb STALE
[2022-04-08T12:02:25.000053] Deleted fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:25.000053] fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:25.000053] 81.104.168.1 dev wan lladdr 00:01:5c:9b:32:47 PROBE
[2022-04-08T12:02:25.000053] 81.104.168.1 dev wan lladdr 00:01:5c:9b:32:47 REACHABLE
[2022-04-08T12:02:27.000055] 192.168.1.10 dev br-lan lladdr 10:7b:44:f0:dd:0a STALE
[2022-04-08T12:02:27.000055] 192.168.1.10 dev br-lan lladdr 10:7b:44:f0:dd:0a STALE
[2022-04-08T12:02:27.000055] Deleted fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:27.000055] fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:29.000057] fe80::f5b8:b5ef:2ebd:73c dev br-lan lladdr 10:7b:44:f0:dd:0a PROBE
[2022-04-08T12:02:29.000057] fe80::f5b8:b5ef:2ebd:73c dev br-lan lladdr 10:7b:44:f0:dd:0a REACHABLE
[2022-04-08T12:02:31.000049] 7: lan4@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br-lan state UP
    link/ether e8:9f:80:72:cf:03
[2022-04-08T12:02:31.000049] Deleted fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:31.000049] fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:32.000050] 192.168.1.10 dev br-lan lladdr 10:7b:44:f0:dd:0a PROBE
[2022-04-08T12:02:32.000050] 192.168.1.10 dev br-lan lladdr 10:7b:44:f0:dd:0a REACHABLE
[2022-04-08T12:02:39.000057] Deleted fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:39.000057] fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:54.000052] Deleted fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium
[2022-04-08T12:02:54.000052] fd8e:80a0:3a6f:4::/62 via fe80::f5b8:b5ef:2ebd:73c dev br-lan proto static metric 1024 pref medium

Screenshot of updating the interface, and it resetting
Left side is target machine, 192.168.1.10
Right side is router.

Putty 终端会话

相关内容