Prevent NetworkManager Conflicts

Prevent NetworkManager Conflicts

April 29, 2025

Different methods to exclude interfaces from NetworkManager’s control:

  1. Create the file: /etc/NetworkManager/conf.d/99-unmanaged-devices.conf
  2. Add the required text based on the list below.
  3. Reload the NetworkManager service: systemctl reload NetworkManager

Exclude by Interface

[keyfile]
unmanaged-devices=interface-name:enp1s0

Exclude by MAC address

[keyfile]
unmanaged-devices=mac:52:54:00:74:79:56

Exclude by Device Type (wifi, ethernet, etc.)

[keyfile]
Unmanaged-devices=type:wifi

Exclude multiple devices

[keyfile]
unmanaged-devices=interface-name:enp1s0;interface-name:enp7s0

Ref: Red Hat Documentation