[Networkmanager] IP address not restored upon carrier loss
Vincent
techburgher at gmail.com
Thu Oct 5 20:22:39 UTC 2023
> 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.
On Thu, Oct 5, 2023 at 3:27 PM Chris Adams <linux at cmadams.net> wrote:
> Once upon a time, Vincent <techburgher at gmail.com> said:
> > We have a customer running Red Hat 8.5.0-10,
> > kernel 4.18.0-372.26.1.el8_6.x86_64, NetworkManager version
> 1.36.0-7.el8_6.
> > When they disconnect their network cable, the static IP address, on the
> > corresponding interface, is lost. When the cable is reconnected, the IP
> > address is never restored, unless nmcli con down is issued. What would
> > account for this behavior? We would expect a statically configured IP
> > address to persist between carrier state changes. What seems a bit odd,
> is
> > that the logs indicate the state change, triggered from disconnection, as
> > reason "user-requested" instead of "carrier-changed".
>
> I'm not sure what the connection isn't automatically restored (unless
> "autoconnect" is set to false/0), but you can avoid the behavior of a
> static IP being removed in response to carrier changes by installing the
> NetworkManager-config-server package.
>
> --
> Chris Adams <linux at cmadams.net>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/networkmanager/attachments/20231005/f7341d05/attachment.htm>
More information about the Networkmanager
mailing list