Install network-scripts package to utilize the legacy ifup command.
Origin of the Problem
From Rocky Linux 8, ifup command is provided by NetworkManager package. Network scripts are deprecated in Rocky Linux 8 and they are no longer provided by default.