mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 21:50:17 +01:00
The previous ignore-carrier rules did not work well with dynamic IP (dhcp/slaac) connections. Change the rule so that only static IP connections can be activated when carrier is not present (but both static and dynamic connections will remain up when carrier is lost).
16 lines
530 B
Text
16 lines
530 B
Text
# This configuration file, when placed into into
|
|
# @sysconfdir@/NetworkManager/conf.d will change NetworkManager's
|
|
# behavior to what's expected on "traditional UNIX server" type
|
|
# deployments.
|
|
#
|
|
# See "man NetworkManager.conf" for more information about these
|
|
# individual keys.
|
|
|
|
[main]
|
|
# Do not do automatic (DHCP/SLAAC) configuration on ethernet devices
|
|
# with no other matching connections.
|
|
no-auto-default=*
|
|
|
|
# Ignore the carrier (cable plugged in) state when attempting to
|
|
# activate static-IP connections.
|
|
ignore-carrier=*
|