Raspberry Pi 4 Fails to Get New IP for ethernet, does so successfully for WiFi

I just recently had a router fail so I utilised an older router in its place. Failed router was giving out IP addresses from, and from that router I had reserved for the Pi4, to have a fixed IP for Pihole. Currently running router gives out IPs in the range of

For some reason, the eth0 interface keeps getting as its IP. The wlan0 interface has correctly gotten a new IP. I checked etc/network/interfaces, as well as /etc/dhcpd.conf, both are empty/nonexistent. I tried running sudo mii-tool -r eth0, that didn't help. I uninstalled pihole, rebooted the Pi multiple times, none helped.

I'm running it headless, and am able to SSH into it over the WiFi interface, which thankfully gets the correct IP. But I need it to work over ethernet, to prevent buffering since it's also a Plex server, serving high bitrate files for DirectPlay (4K Remuxes).

Other things I tried doing -

sudo dhcpcd -4 -S ip_address= \
-S routers= \
-S domain_name_servers= \

Above didn't work either.

I also tried giving it a static IP. That didn't work either, it still gets the old IP.

Any clue on how to force it to get a new IP, or why even setting a static IP is not working?

Edit - I ended up changing the router's LAN IP range to match the old one to get this to work.

Edit 2 - So the above made it possible to connect to the Pi using SSH via ethernet.. but the Pi has no internet connection.

Answers 1

  • You tried to use /etc/dhcpd.conf. It may be a typo, but have you checked /etc/dhcpcd.conf (different from the one you mentioned)?

    If you have a static ip configured there this might explain what's happening here.

Related Questions