Pfsense virtualized on proxmox vlan setup help

pebbles

New Member
Jan 18, 2023
3
0
1
Hello everyone,
I do have proxmox version 7.4.3 and pfsense latest version, virtualized.

The hardware on which promox is installed has a lot of nics, but I can actually use only 2 nics, mainly for how my house and cabling is set up.
So, I intend to use vlans on my pfsense lan to segment the network.

This is my proxmox network config:


Code:
auto lo
iface lo inet loopback


iface enp1s0 inet manual


iface enp2s0 inet manual


iface enp3s0 inet manual


iface enp4s0 inet manual


iface enp5s0 inet manual


iface enp6s0 inet manual


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


auto vmbr2
iface vmbr2 inet static
        address 192.168.1.200/24
        gateway 192.168.1.254
        bridge-ports enp5s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094


auto vmbr0
iface vmbr0 inet static
        address 192.168.1.205/24
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0


auto vmbr2.100
iface vmbr2.100 inet static
        address 192.168.100.200/24


vmbr0 is just setup for precaution, I dont want to lock myself out.

vmbr1 is the wan interface on Pfsense VM

vmbr2 is the lan interface on Pfsense VM

I have setup vlan 100 on pfsense ( with dhcp )
I have setup vmbr2.100 to give pfsense an ip on vlan 100.

I did nothing on the pfsense network interfaces.

If i create a new vm and on its network interface specify vlan 100, it doesn't work



I am sorry if this is long and boring to read, what am i doing wrong ?
Can somebody point me in the right direction?

Thank you
Pebbles
 

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!