I am trying to create a unicast IP address arp table using ip neigh add * lladdr * nud permanent dev br-lan.
But I found that it is very difficult for me to keep the flags of the arp table at 6 (this is usually the result of updating the arp cache after the terminal restarts. This will overwrite the flags of the arp table to 2)
I am using ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan
My wol is finally able to work under the WAN.
But I can't seem to find a suitable event to override the flags of the arp table to 6, which means that it is difficult to implement arp_bind using shell scripts on openwrt?
After a period of trying
I think it is too dangerous to allow the root user to log in to the terminal from the Internet.
It seems that using ip neigh add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan created arp table is not so easy to age.