VM on proxmox node installed on Virtualbox does not reach internet

carmine_99

New Member
May 17, 2023
1
0
1
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
 
If ens18 (virtualbox nic name) = enp0s8 (proxmox nic name), then change bridge-ports enp0s3 to enp0s8

And from Proxmox host, what is the output of # cat /etc/resolv.conf
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!