[SOLVED] Define untagged VLAN on bridged Interface

Gamienator

Member
Mar 16, 2021
46
6
13
34
Hey everyone,
atm I'm using one of the cheap Ali Express 6 NIC Interface Servers. My plan is to seperate my network now with VLANs. A lot of this NICs are just used as switch Ports for my clients. Only enp2s0 is passed through to my pfSense:

Code:
auto vmbr0
iface vmbr0 inet static
        address 10.0.6.4/21
        gateway 10.0.7.1
        bridge-ports enp3s0 enp4s0 enp5s0 enp6s0 enp7s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

Now I have two questions:

  • How would it be able for me to make enp7s0 as a trunkport for my AP?
  • How is it possible for me to setup enp5s0 with untagged VID 22?
Thanks in advance for your help!
 
So on my proxmox host is a pfsense VM with one bridge vmbr0, in pfsense it is called vtnet0.

First step was to add VLANID 7 on vtnet 0 because this is the VID needed to use PPPoE on our VDSL. After that I created two VLANs, the test VLAN 22 and VLAN 100, which should be my internal System. Then I connected my Windows client directly on enp5s0 to the proxmox host, but there is no connection available. The client won't receive an IP from my DHCP server and setting a static IP won't help either. With this current Config:

Code:
auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet manual

iface enp2s0 inet manual

iface enp4s0 inet
        bridge-vid 100

iface enp5s0 inet manual

iface enp6s0 inet manual

iface enp7s0 inet manual

auto enp4s0
iface enp4s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 10.0.6.4/21
        gateway 10.0.7.1
        bridge-ports enp3s0 enp4s0 enp5s0 enp6s0 enp7s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr0.5
iface vmbr0.5 inet manual
#TestVLAN

auto vmbr0.120
iface vmbr0.120 inet static
        address 10.10.120.3/23

auto vmbr0.100
iface vmbr0.100 inet manual


1680636122854.png
 
it overrides bridge config

where is enp5s0 untagged?

There was a typo from myside. My client is connected on enp4s0, not enp5s0.

Beside that, after some digging I found a different term. My Goal was it to set a different "native" VLAN. ... Seeing this with some typos was the issue.

Now my Windows Client is in the desiered VLAN and receiving the correct IP.

Thanks for the help @floh8 and sorry for the complete mess!

EDIT: I noticed it that I made a horrible typo
 
Last edited: