Re: nm-applet DEFROUTE



On Fri, 2017-12-15 at 15:13 +0200, Cristian Crinteanu wrote:

is there a way to set DEFROUTE in nm-applet ?
i ask because i need DEFROUTE=no but nm-applet change the value to
yes (everytime)

NetworkManager.conf
[main]
plugins=ifcfg-rh,keyfile
ignore_carrier=*

thx!


Hi,


set ipv4.never-default=yes, like

$ nmcli connection modify "$PROFILE" ipv4.never-default yes


in nm-connection-editor, this is called 

  Use this connection only for resources on this network

under the IPv4 tab, "Routes".


best,
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]