Show IPv6 addresses on the 'Network' tab

#1

So far the “Network” tab (Pihole 4.3) only shows devices by their IPv4 address. I’d like to see IPv6 addresses there as well. If a device has both IPv6 and IPv4, it would show up as a single record - this should be doable by MAC address.

#2

There is no MAC address for an IPv6 - this uses DHCP Unique Identifier (DUID).

#3

Well, I’m sure there is a way to link IPv4 and IPv6 addresses… I hope?
At least in case Pihole is DHCP server?

#4

This is rather tricky from a technical point of view.

As you might now, we generate the table from the ARP (Address Resolution Protocol) table of your Pi-hole. As you might know as well, ARP was replaced by the NDP (Neighbor Discovery Protocol) in IPv6. We’re working in the background on adding IPv6, however, there are some implementation nuances that remain unclear.

Just to give you an example for the complexity of the IPv6 integration into the network table:
The IPv4 world is (fairly) simple: there is (usually) only one IPv4 address to a given hardware (MAC) address. However, with IPv6, you have multiple addresses for the same interface. You typically have a link-local (LL) and a Global Unicast address (GUA). Maybe you have even multiple GUA addresses and also an Unique Local Address (ULA). In the IPv6 world, multiple addresses per interface are the rule rather than the exception. They are equally valid at the same time.
Arranging them in a database is tricky and will likely require us to add yet another table.

#5

I have recently installed the printer on the same network but my canon printer offline windows 10 started popping up everytime so please help me to fix this problem.

#6

Yes, and on top of that IPv6 addresses keep changing. It is a challenge - I understand that.

On the other hand - there must be some way to link an IPv6 address - even a temporary one, with a hostname. Otherwise IPv6 internet would not work - me thinks… Although I really know next to nothing about it.

I’m thinking about the simplest case: Pihole is a DHCP server, and user sets hostnames for local machines. In such scenario - perhaps - Pihole could give away IPv6 addresses to machines and it would know which IPv6 corresponds to which hostname. Right?

#7

No, this isnot how IPv6 works. You have to forget (almost) everything you know about IPv4 when approaching IPv6 as IPv6 has been designed to work largely on its own, i.e., it is totally uncommon to have something central management instance such as a DHCP server in an IPv6 network. Explaining this in all colorful details would require much more time than I have right now. Of course hostname resolution works with IPv6, however, you’ll have to enter them manually into /etc/hosts. And if they change … well … there is a reason for why they don’t really change for real servers so they stay reachable.