No Route To Host, Suggestions?

Henry Escobar

New Member
Feb 23, 2019
1
0
1
25
Hello,

I am having a bit of trouble getting a guest vm to be able to connect to the internet...

I have the following for my NIC....

iface eno1 inet manual

I also have a bridge which is what the guest vm is connected to

auto vmbr0
address 135.32.45.23
gateway 135.32.45.21
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

My guest network config looks like

auto eth0
iface eth0 inet static
address 10.0.2.3
netmask 255.255.255.0
gateway 135.32.45.21

I can ping 8.8.8.8 from the host no problem, but when I try on the guest, I get "No Route To Host"

any ideas, or suggestions on how I should set this up?

For instance, is there another way to setup connectivity to the guest besides the bridge? or maybe somehow have proxmox issue an ip to the guest and use the host as the gateway? any ideas at all are greatly appreciated.

Thank you
 
Last edited:
Hrmm i've not played with bridge-vids but from the brief reading, I just did you are essentially creating a trunked bridge. Meaning you need to tag the vlans within your vm by using eth0:2 for example or tag them within the VM network configuration section to be tagged.
 

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!