ip neighbour

Neighbour/ARP tables management IP subcommand. More information: https://manned.org/ip-neighbour.8.

ip neighbour

sudo ip neighbour flush dev eth0

ip neighbour get lookup_ip dev eth0

sudo ip neighbour add|del ip_address lladdr mac_address dev eth0 nud reachable

sudo ip neighbour change|replace ip_address lladdr new_mac_address dev eth0