Using pfsense as a switch
-
Hello. I need a little help with using two interfaces on pfsense as a kind of switch. I know it's not recommended and pfsense is not intended to be used that way but I've seen that it's possible.
the only thing that's gonna be on one of the interfaces is a nas-server so I don't really care much about peak latancy there. I just wish to know if it's actually possible and how I should configure for it to work.So, to describe my setup. I have a purpose-built pc for pfsense with a intel x540-t2 (Dual sfp+-10Gb), one 24-port ubiquity switch (Dual sfp+-10Gb) and a truenas server in my server room on the first floor of my house.
Then on the second floor I have a 10Gb ubiquity switch in my office. I want 10Gb access to my truenas from my upstairs office. So I need to use My second 10G interface on pfsense for my truenas (I don't want to spend an additional $300-400 on a swith with more sfp+ ports if it isn't absolutly nessecary)Oh, and it needs to work with VLAN since I have three of them in my network.
I've been googleing around a bunch but can't find anything that decribes my precise problem. Everyone who talks about bridges do so without mensioning vlans and laggs seem to mostly be for aggregation. But I have seen pfsense being used as a switch (Lawrence systems on youtube for example)
So If anyone have insight in how to accomplish this or have done it themself then please help me out.Thank you.
-
@soultwist Nevermind. I solved it myself. This is what happens when you don't take a break. I was making it overcomplicated. When I thought about after my break I realized I need to skip all the bullshit with bridges and laggs and just give the free 10G port on pfsense a separate interface and put the Truenas on it's own vlan there and just give all other subnets access to it thru the rules instead.
Just a smidge simpler and it works. :)Thanks anyway.