These steps are (probably) only applicable for NON QEMU installation of Rocky Linux VM
After installation of Rocky Linux on our Proxmox as Virtual machine (not Linux container) the machine was not accessible from outside world with SSH or ICMP
The solution was to set ipv4.gateway properly.
nmcli con mod ens18 ipv4.method "manual" ipv4.addresses "10.30.0.87/24" ipv4.dns "10.30.0.2" ipv4.gateway "10.30.0.1"
Also, when /etc/hostname
is not empty and that domain name cannot be resolved, no packet is leaving the server. Not sure why.