Simple VLAN setup

dragmore88

New Member
Jun 28, 2024
2
0
1
hi, im trying to get a single NIC Nuc to work as a proxmox hypervizor running PFSENSE:
I have tagged the interface on the switch connected to proxmox with default =vlan1 and tagged=vlan999 for WAN (ISP)

Origional network config using a USB-nic that i wanna kill-off due to resets randomly:

Code:
auto lo
iface lo inet loopback


auto enp0s31f6
iface enp0s31f6 inet manual


iface wlp2s0 inet manual


auto enx7cc2c63b7f26
iface enx7cc2c63b7f26 inet manual


auto eth0
iface eth0 inet manual


auto vmbr0
iface vmbr0 inet static
        address 10.100.10.25/24
        gateway 10.100.10.1
        bridge-ports enp0s31f6
        bridge-stp off
        bridge-fd 0
#LAN


auto vmbr1
iface vmbr1 inet manual
        bridge-ports enx7cc2c63b7f26
        bridge-stp off
        bridge-fd 0
#WAN


source /etc/network/interfaces.d/*

Changeit it to :

Code:
auto lo
iface lo inet loopback


auto enp0s31f6
iface enp0s31f6 inet manual


iface wlp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 10.100.10.25/24
        gateway 10.100.10.1
        bridge-ports enp0s31f6
        bridge-stp off
        bridge-fd 0

#LAN


auto vmbr1
iface vmbr1 inet manual
        bridge-ports enp0s31f6.999
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 999
#WAN


source /etc/network/interfaces.d/*


When i restart network my config is cleaned and reverted back to scratch..
Anyone know whats wrong (im a newbie in proxmox ) ;)
 

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!