f22: how to change default gateway via line command

Dario Lesca d.lesca at solinos.it
Thu Jun 11 20:09:49 UTC 2015


Il giorno gio, 11/06/2015 alle 11.42 +0200, Dario Lesca ha scritto:
> 
> But now it appeared a new problem, the IP set with nmcli, remain set
> also when I have put the ipv4.method to auto, disconnect then 
> reconnect the cabled and restart NetworkManager.
> 
> it seems that the change is permanent, and now I do not know how to
> delete it.

For solve that, I have run this command:

$ sudo nmcli con modify p6p1 -ipv4.addresses "" -ipv4.gateway ""

Thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)


More information about the users mailing list