Sample Header Ad - 728x90

Eth0 Has two IP addresses

1 vote
1 answer
4277 views
I have a Pihole with a fixed IP, 192.168.0.3. It works, and I can get to the GUI interface with that IP. Recently I noticed my router displaying alternating IP addresses for the Pi in its UI (the router lists clients by Mac). I tried navigating to the second address on the same subnet and the Pihole GUI is served. ip a shows a bunch of stuff but here is eth0... eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether xx:xx:eb:de:54:87 brd ff:ff:ff:ff:ff:ff inet 192.168.0.64/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0 valid_lft 86015sec preferred_lft 86015sec inet 192.168.0.3/24 brd 192.168.0.255 scope global secondary noprefixroute eth0 valid_lft forever preferred_lft forever cat /etc/dhcpcd.conf shows... interface eth0 static ip_address=192.168.0.3/24 static routers=192.168.0.1 static domain_name_servers=127.0.0.1 Other notes... - WiFi is disabled on the Pi - I only have one DHCP server on the network - The Pi DHCP server is disabled - I have a docker container on the Pi serving HAAS - I have a backup Pihole on the network fixed to 192.168.0.2, which doesn't have this issue
Asked by square_eyes (167 rep)
Jul 10, 2021, 04:55 AM
Last activity: Jul 12, 2021, 09:54 PM