I am assigning a static IP 4 address to ens33 interface on Ubuntu 24.04 using nmcli. But I'm getting the error.
Error. unknown connection 'ens33'
The commmand I am exceuting on terminal:
sudo nmcli connection modify 'ens33' ipv4.address 172.16.1.2/16
You can see from the attached image, ens33 interface exists.
Note: If assign this IP address to 'lo' interface, it works.
I am following this guide: https://greenwebpage.com/community/how-to-change-an-ip-address-on-debian-12/
What could be wrong? Your help is appreciated.
