OpenWrt Forum Archive

Topic: how to add static arp

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I want to add a static arp on my router, but the 'arp' command doesn't work and it just prints the arp table. It seems that the command is not a general command but only a shell script.
    Any ideas? Thank you!

Hello,

Try with:
ip neighbor replace <host> lladdr <MAC> nud permanent dev <iface>

The discussion might have continued from here.