F5F Stay Refreshed Power Users Networks How do I set up VLANs

How do I set up VLANs

How do I set up VLANs

O
OBHP
Junior Member
4
05-15-2016, 08:56 PM
#1
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!
O
OBHP
05-15-2016, 08:56 PM #1

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!

L
Land8
Member
67
05-19-2016, 12:34 PM
#2
Ensure your VLAN is configured properly in PFSSL. Tom from Lawrence Systems offers excellent PFSSL YouTube guides.
L
Land8
05-19-2016, 12:34 PM #2

Ensure your VLAN is configured properly in PFSSL. Tom from Lawrence Systems offers excellent PFSSL YouTube guides.

S
Sr_Pipo
Member
129
05-26-2016, 07:21 AM
#3
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.
S
Sr_Pipo
05-26-2016, 07:21 AM #3

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.