ARP 항목 OPENWRT가 영구적이지 않습니다.

ARP 항목 OPENWRT가 영구적이지 않습니다.

저는 이제 인터넷 초보입니다. 현재 ARP 항목을 사용하여 WOL(WOW)을 작동시키려고 합니다. Wake on LAN은 현재 사용 중인 구성과 항상 작동하며 내 컴퓨터에 매직 패킷을 보내면 컴퓨터가 꺼져 있던 시간에 관계없이 항상 컴퓨터를 깨울 것입니다.

그런데 Wake on WAN을 사용하려고 하면 문제가 발생합니다. IP neigh add/replace xxxx lladdr xx:xx:xx:xx:xx:xx nud dev eth0 영구를 사용하는 경우에만 작동합니다. 그런 다음 WAN을 통한 절전 모드 해제는 한 번만 사용할 수 있습니다. 시스템과 네트워크 카드가 깨어나는 시간쯤에 라우터는 영구 이웃 주소에 대한 항목을 임시 연결 가능한 주소로 대체하고 처리된 후 실패한 항목으로 대체됩니다.

문제의 로컬 IP 주소는 192.168.1.10입니다.

이것은 ip neighbor를 수동으로 구성하고 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.

퍼티 터미널 세션

관련 정보