Pihole shows 2 ip addresses in network overview

Expected Behaviour:

Only 1 IP address for Pihole shown in network overview. in my case, Pihole is at 192.168.1.58

Actual Behaviour:

I show 2 ip addresses for Pihole in the network overview 192.168.1.58 and 192.168.1.214.
214 was what was set on initial config. I've tried

  1. re-runing setup Pihole -r
  2. Also checked /etc/dhcpcd.conf and /etc/network/interfaces and neither shows the 214 address
  3. It has been restarted several times
  4. wlan is turned off


What is the output of the following:

ip addr

pi@pihole:~ $ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 46:61 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.58/24 brd 192.168.1.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::cb85:963:cc93:31ff/64 scope link 
       valid_lft forever preferred_lft forever

Those two IP addresses are related to two separate MAC addresses.

Most likely, one of those is asscoiated to your RPi's eth0 and the other one to its wlan0 interface (which has since been disabled).

Makes some sense, but why are both showing as interface eth0? Wouldn't it be interface wlan0? Why would the wlan that is down be acquiring an IP address?

Pi-hole does not and cannot have any knowledge about a client's fit of network interfaces.

Instead, Pi-hole's Network overview lists that of Pi-hole's interfaces on which Pi-hole has observed a certain MAC address at least once, and which IPs it has seen for that MAC address. It tells you when (roughly) and how often your clients have been using Pi-hole in the past.
It doesn't reflect current client connection status. Your router may have that kind of information.

So at first glance, your observation doesn't look unusual, irregular or faulty in any way.

Your router may also have information about your RPi's wlan interface's MAC and the associated IP, provided you've configured a fixed IP address/DHCP lease reservation for it in your router. If not, you should be able to verify my assumption by re-enabling your wifi interface and match its MAC address to the Network overview entry.

Thanks for the explanation!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.