My Raspberry Pi runs ArchLinux and since I enabled IPv6 in our local router config, the pi only fires up an IPv6 connection in LAN. But I have trouble to find out the address.
Once I connected a display and found out the address is fe80::ba27:ebff:fe4a:6a12
. I was able to connect to the pi with the following command:
ssh -6 user@fe80::ba27:ebff:fe4a:6a12%wlp3s0
Where wlp3s0
is the wifi device of my local client.
For IPv4 I use nmap, but I have trouble to translate that command to work with a local IPv6 network. I understand nmap
also offers an --ipv6
or -6
flag, but what is the correct subnet string? And, does that even work? Is that even possible?
Here is my client's ip a
output:
user@computer ~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether d4:3d:7e:**:**:** brd ff:ff:ff:ff:ff:ff
inet 192.168.178.28/24 brd 192.168.178.255 scope global eno1
valid_lft forever preferred_lft forever
inet6 2002:5dc4:6c0e:*:****:****:****:****/64 scope global mngtmpaddr noprefixroute dynamic
valid_lft 7191sec preferred_lft 3591sec
inet6 fe80::1543:f119:fbae:743b/64 scope link
valid_lft forever preferred_lft forever
Is it even possible to scan an IPv6 network?