Vm dont have internet with vlan

fulico

New Member
Jun 27, 2022
3
0
1
hello i have a proxmox with a vlan and my vm have no network

Proxmox config:

auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto eno4.101
iface eno4.101 inet static
address 37.59.143.248/32
gateway 172.31.0.1
post-up ip route add 172.31.0.1/32 dev eno4.101

auto vmbr0
iface vmbr0 inet static
bridge-ports eno4
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094


Proxmox vm:
auto lo
iface lo inet loopback
dns-nameservers 1.1.1.1

auto eth0
iface eth0 inet static
address 37.59.143.250/32
# --- BEGIN PVE ---
post-up ip route add 172.31.0.1 dev eth0
post-up ip route add default via 172.31.0.1 dev eth0
pre-down ip route del default via 172.31.0.1 dev eth0
pre-down ip route del 172.31.0.1 dev eth0
# --- END PVE ---

iface eth0 inet6 auto

can you help me to network

Best regards
Thanks
 
Last edited:

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!