A quick question about VLANs
-
I had a quick question about VLANs and interfaces. I am not a technical guy so excuse my stupidity. So, I have multiple ethernet ports on my PC that I am using as Pfsense. Now if I create multiple VLANs and pass those thought to a managed switch using one port. Can I tag other ports with only a certain VLAN.
For example if I have VLANS 10, 20, 30, and 40. They all pass on port 2. Now Can I use port 3 just for VLAN 20, then port 4 just for VLAN 30, port 5 again for VLAN 20, etc.?
Thanks!
-
@netguy yes you can.
-
@netguy A little clarification: I assume the ports 3,4,5 and so on you are reffering to are located on your switch :-)
If they are other enternet interfaces on pfSense, then you cannot really assign them to a VLAN you also have tagged on port 2 (not unless you start creating bridgegroups which I would STRONGLY advise against).
-
@keyser said in A quick question about VLANs:
If they are other enternet interfaces on pfSense
I was actually talking about the other enternet interfaces on pfSense.
So, there is no way to go without a managed switch then, right?
-
@netguy Ahh, good I did the followup. I noted that your original question could mean you were talking about pfsense Interfaces rather than switch interfaces.
No, adding the same VLAN on more than one Interface on pfSense is a really bad idea. You can theoretically create a bridge containing several interfaces, but it causes a lot of issues and strange/unpredictable behaviour, so definitely something I would recommend you stay away from. Get yourself a managed switch - they are dirt cheap, especially used. You’ll end up doing it anyways even if you choose not to follow my advise now.