Oracle linux 9 network-script

Hello.

I installed oracle linux 9 to try it out. I don't like using NetworkManager and using ifcfg classic interface interface files for ip changes makes my job much easier.

In this version ifup - if down commands are not available and interfaces are not listed in /etc/sysconfig/network-script.

I can get around this by installing the relevant packages, but the enp0s3 listed in the ifconfig command is not listed under network-script. What should I do for this?

Should I generate a uuid and create enp0s3 with vi? It is a virtual server now but do you think I will have the same problem on the physical server?

image

image

Since version 9 of RHEL and derivatives such as OEL9, you should use network manager.
Configure your interface using nmcli or nmtui.

Regards
Peasant.

Hello,

I'd agree with what Peasant has said here. In RHEL 9, the legacy ifcfg network management mechanisms are finally entirely unsupported, and are not present by default. Whilst you still can hack the old-style ifcfg interface management back together for now, if you're moving to a RHEL 9 derivative (of which Oracle Linux 9 is), it's time to bite the bullet and get to grips with NetworkManager. Going forward this will be the only supported (and indeed only available) mechanism for managing your network interfaces on a RHEL-style system.

If I understand correctly, I will not be able to use the ifcfg system anymore even if I want to use it. I usually disable NetworkManager.

Let me examine the new system on my test server.