Desktop? Can use the Networks GUI in the tray.
Ubuntu uses NetworkManager in 2025.
Refresh IP using NetworkManager:
nmcli connection show
- Copy UUID.
nmcli connection down <UUID>
nmcli connection up <UUID>
Refresh IP using ip
:
ip link
ip link set dev <DEVICE> down
ip link set dev <DEVICE> up
Info
ip a
nmcli
Find devices on LAN
ip neighbor
arp -a
Using ip
is the standard cross-distro way, but nmcli
might be a smoother experience on Ubuntu current year.