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?
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.