Con il seguente comando si può aggiungere manualmente una voce:
# ip -6 neigh add <IPv6 address> lladdr <link-layer address> dev <device> |
Esempio:
# ip -6 neigh add fec0::1 lladdr 02:01:02:03:04:05 dev eth0 |
Come si aggiunge, una voce si può anche cancellare:
# ip -6 neigh del <IPv6 address> lladdr <link-layer address> dev <device> |
Esempio:
# ip -6 neigh del fec0::1 lladdr 02:01:02:03:04:05 dev eth0 |
Lo strumento "ip" è poco documentato, ma molto potente. Si veda l'"help" on line per maggiori dettagli:
# ip -6 neigh help
Usage: ip neigh { add | del | change | replace } { ADDR [ lladdr LLADDR ]
[ nud { permanent | noarp | stale | reachable } ]
| proxy ADDR } [ dev DEV ]
ip neigh {show|flush} [ to PREFIX ] [ dev DEV ] [ nud STATE ]
|
Sembra che alcune opzioni siano solo per IPv4... se potete contribuire con informazioni sui flag e l'uso avanzato, siete pregati di inviarmele.