How to make interface not managed by NetworkManager permanently?

Solution Verified - Updated -

Issue

We have multiple interfaces on the server, some of those are not used. We want to make sure that NetworkManager does not handle those unused interfaces after reboot.

We are able to make those interfaces unmanaged using nmcli, with command:

nmcli dev set <interface> managed no

but after reboot, the interfaces are managed by NM again.

Environment

Red Hat Enterprise Server
NetworkManager

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In