[Networkmanager] IP address not restored upon carrier loss

Vincent techburgher at gmail.com
Fri Oct 6 14:03:50 UTC 2023


Yes, NetworkManager was restarted.

I think the behavior may differ, depending on the disconnection reason. I
am not sure how pulling a network cable would yield a reason of
"user-requested" and not "carrier-changed". When I pull the cable on a test
system, the reason is "carrier-changed".

On Thu, Oct 5, 2023 at 4:46 PM Chris Adams <linux at cmadams.net> wrote:

> Once upon a time, Vincent <techburgher at gmail.com> said:
> > >  but you can avoid the behavior of a
> > static IP being removed in response to carrier changes by installing the
> > NetworkManager-config-server package.
> >
> > This package is installed.
> >
> > It did not immediately seem to make any difference, as to whether
> > ignore_carrier, in this package's configuration, was set to no or yes.
>
> Did you restart NetworkManager.service after installing/changing?
>
> If you are still seeing an interface de-configured for carrier loss, I
> think something else is happening.  I don't see NM do that with that
> packge installed.
> --
> Chris Adams <linux at cmadams.net>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/networkmanager/attachments/20231006/cd60890b/attachment.htm>


More information about the Networkmanager mailing list