Need help setting up new fresh install of pfsense with lagg and 5 vlans
-
Been trying for weeks to go from a flat network to vlans but cannot seem to get it working. I cant tell if its my switch or firewall.
Firewall- protectli 4 port
ManagedSwitch- tplink tl sg1016 deFirewall:
I have lagg0 setup on igb2,3
5 vlans 10-50 setup with lagg0 as parent interface
Dhcp setup for vlans individual subnetsSwitch:
Have default vlan1 on ports 1,2 with pvid 1(undeletable default vlan)
Ports 3,4 LAGG connected to firewall lagg ports pvid1
Ports 5,6 untagged pvid10
Ports7,8 untagged pvid20
Ports9,10 untagged pvid30
Ports11,12 untagged pvid40
Ports 13-16 untagged pvid50On all of the ports I have tried tagging 1 (the port that goes to lan) or the lag ports and cant seem to be able to ping from my pc plugged into switch port 2 on lan to a pc plugged into port 9 on the switch.
I am sure I am missing something on pfsense in the firewall or something else.
So far with all the tinkering and referencing several half decade old posts and videos I am thoroughly confused. And everyone seems to do firewall rules in same but different ways.Any direction is welcome as its been weeks and I cant seem to get any traction and might just be chasing my tail
-
@hermanmunster said in Need help setting up new fresh install of pfsense with lagg and 5 vlans:
Ports 3,4 LAGG connected to firewall lagg ports pvid1
For the VLAN tagged traffic to be allowed on LAGG Ports 3 & 4 all the VLAN IDs have to be add as tagged. E.g.
VID 10: untagged ports 5 & 6, tagged 3 & 4
... and similar for the other VLAN. Have you done that? LAN (vid 1) should work on ports 1 & 2 AFAIK see. Can you post screenshots of the switch configuration for one VLAN (all tabs, like PVID and 802.1q). Having said that: what VLAN mode have you set, port based or 802.1q? -
@hermanmunster said in Need help setting up new fresh install of pfsense with lagg and 5 vlans:
(undeletable default vlan)
If you can not delete default vlan your going to have a bad day.. How can you put say port 5 into vlan X if you can not remove vlan 1? You can't have a port with more than 1 untagged vlan.
there were many a thread a few years back where these tplink switches had this issue where you could not remove vlan 1. I thought they fixed that with firmware?
What I would suggest is you make sure you can delete vlan 1 if you put a port in vlan X.. If you can not - throw the switch away its useless.
As to working with lag ports.. I would suggest you get your vlans working with only 1 physical port before you attempt to add connections into the lagg/lacp/portchannel/etherchannel setup etc..
-
@hermanmunster said in Need help setting up new fresh install of pfsense with lagg and 5 vlans:
ManagedSwitch- tplink tl sg1016 de
That's from TP-Link's range of 'do-not-want' swicthes!

But in all seriousness those switches have known firmware bugs that can trip you up. Including not being able to remove the default vlan.
You can still use it though as long as you either don't use anything untagged or don't care about broadcasts to the default vlan leaving all ports. I have that switch. Oh also it doesn't pass packet fragments which is... interesting. Mine is the 1.0 hw.
-
@stephenw10 yes haha I posted and then figured that out finally but didnt delete my post. The fix is I ordered a linksys managed switch hopefully those arent bad?
-
I have no experience with them but they're probably fine.
You can use the tp-link switch with vlans and it will work fine with the known caveats. You certainly should be able to ping between VLANs fine.
Did you have all the VLANs tagged on the ports in the LAGG?
-
@johnpoz said in Need help setting up new fresh install of pfsense with lagg and 5 vlans:
As to working with lag ports.. I would suggest you get your vlans working with only 1 physical port before you attempt to add connections into the lagg/lacp/portchannel/etherchannel setup etc..
This is very wise advice…
Privacy Policy · Cookie Policy