I'm trying to add a static arp entry and I've tried this with lede:
ip neigh add [myip] lladdr [mac address] nud permanent dev eth0
and it doesn't work...can someone help?
this is what I get when trying the above command
BusyBox v1.25.1 () multi-call binary.
Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}
ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }
also tried setting the ip and mac in the ethers file, but I can't get the arp -s command to work to load this file...arp only brings up the current arp table.
I've tried sudo arp -s with no luck.
I've tried install ip-full or ip-tiny and I cannot get ip neigh to work...I just get the above output and no confirmation that is worked and the arp table doesn't show the static entry.
All guides on the web have instructed the above, but they do not work.
There was even a bug report on this and
Yousong Zhou commented on 22.03.2017 08:43
This is expected result from busybox ip applet. ip-tiny or ip-full of iproute2 should provide what you need
I can 't get what I need...I'm lost and I don't know where else to look for writing a static arp table.
(Last edited by jfharper on 17 Jan 2018, 21:58)