[SOLVED] [ASK] VM and Host Cannot Ping Each Other

silvananggia

New Member
Feb 26, 2021
3
0
1
31
hello,
I am using Proxmox VE 6.3-4 and using 2 NIC and 2 IP Public,
First IP for access Proxmox (eno1) and second IP for access VM (eno2), i would like to assign / dedicate iP to VM.

The configuration I have is that the PVE has the following /etc/network/interfaces:

Configuration on Proxmox

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

auto vmbr0
iface vmbr0 inet static
        address 103.51.131.197
        netmask 255.255.255.240
        gateway 103.51.131.193
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        dns-nameservers 8.8.8.8

auto vmbr1
iface vmbr1 inet manual
        bridge-ports eno2
        bridge-stp off
        bridge-fd 0

Configuration on VM

Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 103.51.131.201
        netmask 255.255.255.240
        gateway 103.51.131.193
        dns-nameservers 8.8.8.8


but when i ping from VM to Host, reply "Destination Host Unreachable"
Screenshot at Mar 02 13-21-42.png

Same when i'm ping from host to VM,
Screenshot at Mar 02 13-25-08.png


whats wrong with my configuration?


Thanks.
 
Last edited:
Why the different NICs and vmbr interfaces if they are in the same subnet? Just to test it, what happens if you set the VMs NIC to use vmbr0?
 
i just thought to have dedicated network access for proxmox and VM, can you give me some advice?

i try to set network to vmbr0
Screenshot at Mar 02 16-24-50.png

and result still "Destination Host Unreachable"
 
Wait, the VM has a VLAN tag configured? That cannot work then. The vmbr0 is in no VLAN AFAICT.
Was the VLAN tag needed for the VM on the other interface (vmbr1)? If you use vmbr0 as bridge, try to remove the VLAN tag. It should work then.
 

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!