Bob Goodwin <bobgoodwin(a)fastmail.us> writes:
It seems too often I struggle with the problem of dealing with a
device that, when "reset" or new, is on a different subnet and my
computer address needs to change temporarily for the device to be
accessedwith the Firefox browser long enough to change the device
address too something in my 192.168.1.xxx range.
What is the simplest way to do that with Fedora 27 or
28,NetworkManager?
I can modify the ip4 addresses of my F28 with nmcli; first adds, second
removes:
nmcli connection modify --temporary <connection-name> +ipv4.address 192.168.1.1/24
nmcli connection modify --temporary <connection-name> -ipv4.address 192.168.1.1/24
It seems possible to have multiple addresses, but I don't know what that
means.
To see the effect, run
nmcli connection show <connection-name>
Jarmo