I think you actually need 3.
Otherwise there is no real “routing” just “in here, out there” and vice versa.
Comment on US bans any new consumer-grade routers not made in America
LodeMike@lemmy.today 3 days ago
I wonder how they define “router” as any device with two network interfaces can be made into a router.
Steve@communick.news 3 days ago
FrederikNJS@piefed.zip 3 days ago
The “routing” can still refer to routing to devices attached via a switch. So no need for a third port to qualify as a router.
Steve@communick.news 3 days ago
That’s true. I forgot about a down network switch.
MangoPenguin@lemmy.blahaj.zone 2 days ago
Technically you only need 1 interface when using VLANs. Basically any device with a CPU and NIC can be a router.
LodeMike@lemmy.today 3 days ago
It’s a router if it operates on layer 3. Most WiFi routers only use two interfaces (ISP side and WiFi) and yet they are routers. They also provide a later 3 firewall.
Steve@communick.news 3 days ago
But several devices can connect to the WiFi side.
Counts as multiple endpoint devices.LodeMike@lemmy.today 3 days ago
Same with Ethernet
compostgoblin@piefed.blahaj.zone 2 days ago
Noooo, FCC, this isn’t a router, it’s just a computer with 6 network interfaces
teawrecks@sopuli.xyz 2 days ago
Afaik, you’d want hardware acceleration for the actual packet routing, or it’ll be quite slow/inefficient. So any ASIC for routing packets would be considered a “router”.
I wonder if there exists an open router design based on an FPGA platform…
magic_smoke@lemmy.blahaj.zone 2 days ago
Tell that to the poweredge r210 ii in my closet running PFsense with its CPU barely getting touched despite four NICS, two of them 10gbps.
You’re thinking of switching hardware.
That being said I might go hit up mikrotik while I still can.
Worst case I just buy em like I do my FPV flight controllers: from Ali Express
teawrecks@sopuli.xyz 1 day ago
Interesting, yeah I’m not actually well versed, that’s why i began with “afaik” hah. My experience with EdgeRouter is that you basically have to enable hw offloading to get the full throughput, and my assumption was that probably all off-the-shelf routers are doing something similar for them to be usable in such a small/cheap/lower-power box.
When you say I might be thinking of “switching hardware”, I assume you’re referring to “managed switching”, and isn’t that just routing without any NAT? Like, if your pfsense router has 4 NICs, then it has to do the job of both a router and switch, no? First one, then the other for each packet?