How do I set up VLANs
How do I set up VLANs
Hello everyone! I'm running pfSense inside a VM. My physical machine has five Ethernet ports: one on the motherboard (vmbr0) where I installed Proxmox with a virtual disk, and four others on an i350-t4. Two ports are idle and two serve as WAN and LAN for pfSense (vmbr1 for WAN, vmbr2 for LAN). Everything is functioning until now. Following the Raid Owl tutorial, I created a VLAN with ID 16. To test, I spun up an Ubuntu machine and connected its network interface to the same port pfSense uses (vmbr2). I set the VLAN tag in Proxmox to 16. The VM couldn't connect until the tag was removed, after which it worked perfectly. My network layout now shows: ISP Modem → pfSense WAN (vmbr1) → pfSense LAN (vmbr2) → managed switch port 8 → managed switch port 2 → proxmox (vmbr0) → managed switch port 1 → other devices No VLAN setup on the switch, just focusing on the Ubuntu VM via vmbr2 to avoid extra changes. I also tried connecting a VLAN-capable AP using VLAN 16, but my phone still couldn't connect. I think the issue lies with pfSense or Proxmox. I've been working on this for about three days and need help!
Initially, avoid linking other virtual machines to the NIC. Instead, grant Proxmox exclusive access to that network card by routing the PCIe device through Proxmox. For VMs created inside Proxmox, connect them using the default Ethernet interface (this will select vmbr0 for you) and assign a VLAN tag—make sure you’ve enabled the appropriate setting in Proxmox settings so it recognizes the connection as having VLANs attached. Based on your description, it seems you’re doing it incorrectly. I concur with @Bdavis; please watch Lawrence’s system videos and others for clarification.