VM in same VLAN can't communicate each other

YouKyi

New Member
Feb 15, 2024
3
0
1
Hello everyone!
I have an issue with my proxmox, and i don't understand where is the error.
I have created VLAN on my proxmox and was filtered by a pfsense.
But, the machine after the pfsense on the "net0" network card can't communicate with my pfsense, and has no access to the Internet,
An error in my interface configuration?
Thanks by advance.

auto lo
iface lo inet loopback

iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.12/24
gateway 192.168.1.254
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
hwadress D8:9E:F3:35:29:02

auto vmbr1
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
#Administration LAN

auto vmbr2
iface vmbr2 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#LAN_VLANS

auto vlan10
iface vlan10 inet manual
vlan-raw-device vmbr2
#VLAN 10 - 192.168.10.0/24

auto vlan20
iface vlan20 inet manual
vlan-raw-device vmbr2
#VLAN 20 - 192.168.20.0/24

auto vlan30
iface vlan30 inet manual
vlan-raw-device vmbr2
#VLAN 30 - 192.168.30.0/24
 
Your pfsense runs in a VM on the same host and vmbr0 should act as the pfsenses WAN with vmbr1 and vmbr2 for LAN and other VLANs?
Because only vmbr0 is actually connected to a physical NIC and vmbr0 isn't vlan-aware so it can't handle VLANs.
 
Yes, sorry,
i have an error in py old config file,
This new is better.
But my problem is still here.
auto lo
iface lo inet loopback

auto enp2s0
iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.12/24
gateway 192.168.1.254
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
hwadress D8:9E:F3:35:29:02

auto vmbr1
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#Administration LAN

auto vmbr2
iface vmbr2 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#LAN_VLANS

auto vlan10
iface vlan10 inet manual
vlan-raw-device vmbr2
#VLAN 10 - 192.168.10.0/24

auto vlan20
iface vlan20 inet manual
vlan-raw-device vmbr2
#VLAN 20 - 192.168.20.0/24

auto vlan30
iface vlan30 inet manual
vlan-raw-device vmbr2
#VLAN 30 - 192.168.30.0/24

I have followed this tutorial for create internal Vlan in proxmox
Comment créer des VLANs avec Proxmox et pfSense ? | IT-Connect
 

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!