Once upon a time, Frank Cox <theatre@xxxxxxxxxxx> said: > I have an occasional need to switch a few computers from one Internet provider to a different one. Both Internet providers feed into the same network, one at 192.168.0.1 and the other at 192.168.0.254. > > So to change from one provider to the other I run nmtui to change the gateway and dns server addresses, then deactivate and reactivate the connection and I'm done. You could just create multiple connection profiles, like "provA" and "provB". Then to switch A->B would be "nmcli con down provA; nmcli con up provB". You'd only want one to autoconnect though, so maybe: nmcli con down provA nmcli con mod provA autoconnect 0 nmcli con up provB nmcli con mod provB autoconnect 1 Or you could even get fancier with a script that would check the currently active and switch to the other one. -- Chris Adams <linux@xxxxxxxxxxx> _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos