VLAN is not being passed from pfSense to Switch

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

VLAN is not being passed from pfSense to Switch

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
VLAN is not being passed from pfSense to Switch
VLAN is not being passed from pfSense to Switch
2019-09-09 13:58:48 - last edited 2019-09-09 14:01:47
Model: TL-SG108PE  
Hardware Version: V2
Firmware Version: 1.0.0 Build 20181120 Rel.40990

I have pfSense virtualized on ESXi inside of a Intel Nuc.  Everything works with pfSense as a standalone router on one LAN. 

 

I decided to get a TP-Link TL-SG108PE because I wanted a relatively inexpensive smart POE switch that could do VLANs for my home lab.  In pfSense I have my main network set to 192.168.30.1/24 and a VLAN (VLAN50) that I call "Guest" set to 192.168.50.1/24.  I obviously have DHCP running on the VLAN so that devices on the guest network can get an IP.  

 

I have a TP-Link EAP 225 connected to port 1, my PC connected to port 2, and my pfSense connected to port 7.  

 

My VLAN config is below, but I have ports 1 and 7 tagged for VLAN 50 and port 8 untagged for VLAN 50.  I also have the PVID on port 8 set to 50.  

 

 

My probelm is that when I connect my PC to port 8, which should get an IP in the 192.168.50.1/24 range, I simply don't get any IP address, and when I create a wireless network that runs off of said VLAN on my EAP225 I don't get an IP either.  I did some testing on the pfSense side (I went to diagnostics and was able to ping the VLAN gateway). 

 

Am I missing something here? Any help would be greatly appreciated!

  0      
  0      
#1
Options
3 Reply
Re:VLAN is not being passed from pfSense to Switch
2019-09-10 01:14:00
Cannot see your picture. Maybe you can check if pfSense also set tagged port for VLAN 50.
  0  
  0  
#2
Options
Re:VLAN is not being passed from pfSense to Switch
2019-09-10 13:14:29

I spent some time last night on this. I forgot to mention that I'm virtualizing pfSense with ESXi. For some reason I had to pass VLAN(4095) (all VLANs) to the vSwitch that pfSense is connected to. Even though everything works, I'm still not sure why I had to to do that if pfSense is handling all the VLANs. 

  0  
  0  
#3
Options
Re:VLAN is not being passed from pfSense to Switch
2019-09-11 07:39:48
The data sent from your Client connected to port 8 belong to VLAN50, but if the data sent from pfsense is untagged, it will belong to VLAN1 because port1 of PVID is 1. I am not familiar with pfsense, but if it reply the DHCP request through VLAN50 with tagged data, it work normally. If you know how to use wireshark and port mirror, you also can capture the packets to confirm.
  0  
  0  
#4
Options