I've installed one proxmox node on virtualbox with only one network interface (bridged device) with ip 192.168.178.X. After, I've installed a VM with almaLinux as OS. When launching the ping command, if ping 192.168.178.X it works, but when i try to ping the gateway or google.com it says "Host destination unreachable".
This is the content of /etc/sysconfig/network-scripts/ifcfg-ens18 file:
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
NAME=ens18
UUID=a53d1520-eff2-4909-a48c-3557ef0a1453
DEVICE=ens18
ONBOOT=yes
This is the content of /etc/network/interfaces file:
auto lo
iface lo inet loopback
iface enp0s3 inet manual
iface enp0s8 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.178.170/24
gateway 192.168.178.1
bridge-ports enp0s3
bridge-stp off
bridge-fd 0
This is the content of /etc/sysconfig/network-scripts/ifcfg-ens18 file:
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
NAME=ens18
UUID=a53d1520-eff2-4909-a48c-3557ef0a1453
DEVICE=ens18
ONBOOT=yes
This is the content of /etc/network/interfaces file:
auto lo
iface lo inet loopback
iface enp0s3 inet manual
iface enp0s8 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.178.170/24
gateway 192.168.178.1
bridge-ports enp0s3
bridge-stp off
bridge-fd 0