Guest can ping Host, but not Gateway

tmarks1984

New Member
Jan 19, 2021
6
0
1
40
I just finished setting up Proxmox for the first time, but I'm having difficulty with networking the VMs.

I've created a VM and use the default network bridge, vmbr0. My router will assign it an IP via DHCP, and when I run ipconfig from the guest the address shows up. However, I cant get get to the outside world using the guest, cant ping anything with the guest (other than the host), and nothing else on my network can ping the VM.

here is my cat /etc/network/interfaces:

auto lo
iface lo inet loopback

iface enp7s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.10/24
gateway 192.168.1.1
bridge_ports enp7s0
bridge_stp off
bridge_fd 0


192.168.1.10 is my proxmox server and 192.168.1.1 is my router.

Am I missing something obvious?
 
I also tried this on a second router, set to factory defaults. This yielded the same results. This makes me think there is an issue with something within Proxmox...
 
I have tried it both ways, enabled/disabled at the Datacenter level, Node level, and in the VM hardware configuration. I have also tried disabling the firewall in my router.
 
OK, next step: let's dig deeper. Try these commands:

ping 192.168.1.1
arping -I vmbr0 192.168.1.1
tracepath 192.168.1.1
arp -a

And let's see what those come back with
 
Run these from Shell in the host, or the command line in the guest? I tried both:


ping 192.168.1.1
- receives responses in the host, but not the guest (Destination Host Unreachable).
arping -I vmbr0 192.168.1.1
- bash: arping: command not found (both host and guest)
tracepath 192.168.1.1
- bash: tracepath: command not found (both host and guest)
arp -a
- bash: arp: command not found (both host and guest)
 
I was able to work around this issue. I added a USB ethernet adapter to the host machine, then created a new network interface bridged to the USB ethernet adapter.

I'm not sure how to mark this as 'Solved', is that something the moderators do?
 

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!