On 2012-06-04 13:43, Tobias Brunner wrote:
Hi all,
Danke für die Antworten!!
- ndisc6 macht irgendwie nicht das, was ich erwarte
ndisc6 <adresse> eth0 Soliciting <adresse> (<adresse>) on eth0... Timed out. Timed out. Timed out. No response.
$ ndisc6 2001:4f8:3:2e::1 eth0 Soliciting 2001:4f8:3:2e::1 (2001:4f8:3:2e::1) on eth0... Target link-layer address: 00:11:BC:A5:48:00 from 2001:4f8:3:2e::1
Do note that if the address does not exist you get what you showed:
$ ndisc6 2001:4f8:3:2e::2 eth0 Soliciting 2001:4f8:3:2e::2 (2001:4f8:3:2e::2) on eth0... Timed out. Timed out. Timed out. No response.
- ndping lässt sich nicht kompilieren (siehe unten)
- ip neighbor werde ich morgen testen, das klingt vielversprechend!
'ip nei' can be used to look at the current entries, it does not allow for sending a ND solication, but effectively one can also do:
in one shell: tcpdump -i eth0 icmp6 in another: ping6 -i eth0 <address>
should give you the packets too unless it is cached, but then you can remove it with 'ip nei flush ...' to force it to be cached again.
Note that 'ip -4 nei' is effectively showing the ARP tables, while 'ip -6 nei' is for the ND based information.
PS: Sorry für das Durcheinander mit den Threads in der Mailinglist =)
Or the mixing of English and German ;)
gcc -o ndping ndping.c -Wall -lnet -lpcap ndping.c: In function ‘callback’: ndping.c:65: error: ‘LIBNET_ICMPV6_NS_H’ undeclared (first use in this function)
You need to install the libnet headers for that to work.
Greets, Jeroen