Hi,
Is there an utility to diagnose/control neighbour discovery, list all
neighbors, routers etc. for Linux?
I haven't been able to find one. Please provide pointers if you have.
For example, KAME ndp(8) (see:
http://www.FreeBSD.org/cgi/man.cgi?query=ndp&sektion=8) is very nice.
(ndp is like arp(8) transformed into IPv6)
A few examples:
# ndp -a [ndp entries]
Neighbor Linklayer Address Netif Expire St Flgs Prbs
3ffe:2620:1:ff88::1 (incomplete) gif1 expired S R
3ffe:2620:10:1::1 0:90:27:bd:62:c6 fxp0 permanent R
3ffe:2620:10:1::82e9:1311 0:50:4:3c:98:a9 fxp0 expired S
3ffe:2620:10:1:250:daff:fed3:5a 0:50:da:d3:5:a6 fxp0 expired S
3ffe:2620:10:1:290:27ff:fe4f:fd 0:90:27:4f:fd:3a fxp0 expired S
fe80::250:4ff:fe3c:98a9%fxp0 0:50:4:3c:98:a9 fxp0 expired S
fe80::290:27ff:fe4f:fd3a%fxp0 0:90:27:4f:fd:3a fxp0 10s D
fe80::290:27ff:febd:62c6%fxp0 0:90:27:bd:62:c6 fxp0 permanent R
# ndp -p [prefixes]
3ffe:2620:1:ff88::/126 if=gif1
advertise: flags=LA vltime=infinity, pltime=infinity, expire=Never, origin=RR
3ffe:2620:10:1::/64 if=fxp0
advertise: flags=LA vltime=infinity, pltime=infinity, expire=Never, origin=RR
This kind of tool could prove really useful sometimes, especially when
debugging different kinds of IPv6 setups.
--
Pekka Savola "Tell me of difficulties surmounted,
Netcore Oy not those you stumble over and fall"
Systems. Networks. Security. -- Robert Jordan: A Crown of Swords
|