Gestiona conexiones con NetworkManager. Este subcomando puede invocarse también con
nmcli c
. Más información: https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nmcli.html.
nmcli connection
nmcli connection up uuid {{uuid}}
nmcli connection down uuid {{uuid}}
nmcli connection add ifname {{nombre_de_la_interfaz}} type {{ethernet}} ipv4.method {{auto}} ipv6.method {{auto}}
nmcli connection add ifname {{nombre_de_la_interfaz}} type {{ethernet}} ip6 {{2001:db8::2/64}} gw6 {{2001:db8::1}} ipv6.dns {{2001:db8::1}} ipv4.method {{ignore}}
nmcli connection add ifname {{nombre_de_la_interfaz}} type {{ethernet}} ip4 {{10.0.0.7/8}} gw4 {{10.0.0.1}} ipv4.dns {{10.0.0.1}} ipv6.method {{ignore}}
nmcli connection import type {{openvpn}} file {{ruta/a/configuración_vpn.ovpn}}