PFSense + SG108E + SG105E with multiple VLANs

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

PFSense + SG108E + SG105E with multiple VLANs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
PFSense + SG108E + SG105E with multiple VLANs
PFSense + SG108E + SG105E with multiple VLANs
2023-01-05 23:15:01 - last edited 2023-01-06 19:36:45
Model: TL-SG108E  
Hardware Version: V6
Firmware Version: 1.0.0 Build 20201208 Rel.40304

Good evening everyone.


Last month I decided to build a network for my home with more features and security. I'm enabling one feature at a time, learning from each step and moving forward. I'm not from IT so I look for information on the Internet.


I went from the WDR4300 for the whole house to the schematic below (sorry for the non-technical drawing).

 

 

 

Today I'm in the step of enabling VLANs 2, 3 and 4. Today everything is on the same 192.168.1.x network.


I already created all the VLANs, Interfaces, DHCP Server and Firewall rules in PFSense and I'm trying to create the VLANs in SG108 and SG105.


I've tried a few ways, but I'm not getting the combinations of IDs, tagged, untagged to work on both switches. Can anyone point me to some way to learn how to make this work please?


Thank you very much and Happy 2023.

  0      
  0      
#1
Options
1 Accepted Solution
Re:PFSense + SG108E + SG105E with multiple VLANs-Solution
2023-01-06 04:47:57 - last edited 2023-01-06 19:36:45

  @CristianoP 

 

On TL-SG108E, the port 1 and port 4 should be tagged, on all VLANs.

 

On TL-SG105E, the port 1 should be tagged, on all VLANs.

 

Other ports just need to be their correct VLAN as untag port. Remember for untag port, you need to change the PVID. For example port 4 of TL-SG105E should be on VLAN2, the the PVID is 2

Recommended Solution
  0  
  0  
#3
Options
5 Reply
Re:PFSense + SG108E + SG105E with multiple VLANs
2023-01-06 03:49:37

  @CristianoP A great resource is to download the manual for the switches from the support page.  There are several examples of setting up 802.1q VLANs in there.

 

For yours, assuming VLAN 1 is the native network for the SG108E, set all ports to have a PVID of 1, and VLAN 1 as untagged.  For port 1 & 4, set VLANs 2, 3, 4 as tagged.  That will trunk those two ports to carry the VLANs through to the SG105E.

 

Assuming the SG105E is also natively on VLAN 1, set port 1 like port 1 of the SG108E.  Then each of the other ports will have a PVID and untagged VLAN for there respective connections, and no tagged VLANs on those ports.

 

That should work as you have shown in the diagram.

 

I just notice the two LAGged ports, you should be able to set those up before or after the VLAN settings.

 

And this assumes Pfsense is setup to trunk the VLANs out to the first switch.

  2  
  2  
#2
Options
Re:PFSense + SG108E + SG105E with multiple VLANs-Solution
2023-01-06 04:47:57 - last edited 2023-01-06 19:36:45

  @CristianoP 

 

On TL-SG108E, the port 1 and port 4 should be tagged, on all VLANs.

 

On TL-SG105E, the port 1 should be tagged, on all VLANs.

 

Other ports just need to be their correct VLAN as untag port. Remember for untag port, you need to change the PVID. For example port 4 of TL-SG105E should be on VLAN2, the the PVID is 2

Recommended Solution
  0  
  0  
#3
Options
Re:PFSense + SG108E + SG105E with multiple VLANs
2023-01-06 19:36:27

@JoeSea and @Somnus 

 

Many thanks for the information/instructions.
I did according to the screens below and it worked perfectly.

 

 

 

 

 

  0  
  0  
#4
Options
Re:PFSense + SG108E + SG105E with multiple VLANs
2023-01-06 23:06:55

  @CristianoP Oh carful, on the SG105E only ports 1 & 3 should be untagged on VLAN 1.  You really don't want two untagged VLANs on the same port, since the VLAN setting is ambiguous if the client does not have an established IP.

  0  
  0  
#5
Options
Re:PFSense + SG108E + SG105E with multiple VLANs
2023-01-07 18:16:01

  @JoeSea 

 

Hi JoeSea.
I adjusted according to the attached image; thanks for the alert.

 

  0  
  0  
#6
Options