Scanning

Find your IPv6 and find other hosts

Identifying your own address over IPv6

ip -6 addr show dev eth0

OR

ifconfig eth0 | grep "inet6"

Discovering other hosts

Discover router advertisement

Use metasploit:

auxiliary/scanner/discovery/ipv6_neighbor_router_advertisement

Use linux utility:

sudo radvdump

Using atk6-dump_router6:

atk6-dump_router6 eth0

Wireshark Router Solicitation:

`icmpv6.type==133

Wireshark Router advertisement:

icmpv6.type==134

tcpdump router advertisement

sudo tcpdump -vvvv -ttt -i eth1 icmp6 and 'ip6[40] = 134'

Router with link-local address "fe80::212:34ff:fe12:3450" send an advertisement to the all-node-on-link multicast address "ff02::1" containing two prefixes "2002:0102:0304:1::/64" (lifetime 30 s) and "2001:0db8:0:1::/64" (lifetime 2592000 s) including its own layer 2 MAC address "0:12:34:12:34:50".

Using ping6:

Note: ip6-allnodes is a alias to ff02:01

Or you can use on of the following options:

Using ip:

using alive6:

Using IPv6finder:

Link: https://github.com/phillips321/phillips321/blob/master/ipv6finder.sh

Last updated

Was this helpful?