April 28, 2024, 14:28
sudo nmcli con mod <UUID> ipv4.addresses <Static IP>/<Subnet mask> sudo nmcli con mod <UUID> ipv4.gateway <IP to gateway> sudo nmcli con mod <UUID> ipv4.dns "<IP to DNS server>" sudo nmcli con mod <UUID> ipv4.method manual sudo nmcli con up <UUID>
sudo nmcli con mod <UUID> ipv4.addresses <Static IP>/<Subnet mask> sudo nmcli con mod <UUID> ipv4.gateway <IP to gateway> sudo nmcli con mod <UUID> ipv4.dns "<IP to DNS server>" sudo nmcli con mod <UUID> ipv4.method manual sudo nmcli con up <UUID>
sudo nmcli con mod c2117d8f-567a-3e95-8657-e392e1929766 ipv4.addresses 192.168.100.254/24 sudo nmcli con mod c2117d8f-567a-3e95-8657-e392e1929766 ipv4.gateway 192.168.100.1 sudo nmcli con mod c2117d8f-567a-3e95-8657-e392e1929766 ipv4.dns "192.1168.100.1" sudo nmcli con mod c2117d8f-567a-3e95-8657-e392e1929766 ipv4.method manual sudo nmcli con up c2117d8f-567a-3e95-8657-e392e1929766