Ubuntu 20.04 getting wrong IP address

Yesterday (early August 2021) my Ubuntu 20.04 installation started configuring all network interfaces (wifi, ethernet) with IPv4 addresses from the wrong network segment block, namely 192.168.0.x. IPv6 still worked fine.

I didn’t figure out whether that’s due to a change in the router or the OS (I suspect the router, because the situation improved when increasing the DHCP lease time [2]), this solution however [1] works for me.

The file


must be reconfigured, in my case

    renderer: networkd
    version: 2
            dhcp4: true
            dhcp-identifier: mac
            dhcp4: true
            dhcp-identifier: mac

[1] networking – Wrong IP address from DHCP client on Ubuntu 18.04


[2] What is a good DHCP lease time?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.