On Thu, 18 Dec 2025, Kevin Neely via PLUG wrote:
I have some devices on my network (raspberry pis, running raspberry pi OS)
that started with DHCP and then I assigned the network parameters using
nmcli. To my surprise, they seem to keep the DHCP configuration /and/ the
one I assigned statically and I'm struggling to figure out how to remove the
offending entry. here is an example:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
link/ether b8:27:eb:8b:2d:bdbrd ff:ff:ff:ff:ff:ff
inet 192.168.0.11/23 brd 192.168.1.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet 192.168.0.156/23 brd 192.168.1.255 scope global secondary
dynamic noprefixroute eth0
valid_lft 83356sec preferred_lft 83356sec
Relevant info from "nmcli con show "Wired connection 1"
pv4.addresses: 192.168.0.11/23
ipv4.gateway: 192.168.0.1
I think you'll need to use nmcli to alter some other settings for that
connection:
ipv4.method: manual
ipv4.dns: (your dns servers)
ipv4.dns-search: (if you have a local domain with dns)
Then from a local or out-of-band console use nmcli to restart that
connection.
--
Paul Heinlein
[email protected]
45°22'48" N, 122°35'36" W