Spread the love

List connections:

nmcli connection show

Add IP address:

nmcli con mod 'NameOfConnectionFromPreviousCommand' +ipv4.addresses "192.168.1.51/24"

Reload connection:

nmcli con up 'NameOfConnectionFromPreviousCommand'

Verify

ip a show 'InterfaceNameFromFirstCommand'

Done.

Cheers and Peace out!!!