Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


nmcli disable default gateway

13 Oct 2022 »

https://unix.stackexchange.com/questions/353836/how-to-tell-networkgateway-to-not-use-an-ethernet-profile-as-default-gateway

nmcli con show

NAME       UUID                                  TYPE            DEVICE 
eth0     c0ab4c5a-0edb-a1b4-2a33-dba7a31033e  802-3-ethernet     eth0 
You can access the nmcli editor via

nmcli con modify "Ligação com fios 2" ipv4.never-default yes

nmcli con edit eth0


nmcli> describe ipv4.never-default

=== [never-default] ===
[NM property description]
If TRUE, this connection will never be the default connection for this IP type, meaning it