News for hackers. Stuff that matters.
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by geerlingguy on Thursday May 20, 2021 @08:02PM (#27229005)
I thought I'd post this since other people might find it useful—especially for quick testing purposes, as you can get a little hardware router up and running pretty quickly, and so far in my testing the Pi 4 model B can put through at least 750-800 Mbps with no sweat, and the Compute Module 4 can do 940+ Mbps assuming you use a PCI Express NIC instead of using a USB 3.0-to-Gigabit NIC.

I had to do this as part of my testing of two new Compute Module 4-based router boards, both of which may make some decent low-cost and tiny Gigabit routers / firewalls / VPN appliances, depending on your needs.

Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by tssva on Thursday May 20, 2021 @09:10PM (#27229415)
For about 10 months my home router has been a Pi4 running Ubuntu 20.04. I use a realtek based USB 3.0 to gigabit Ethernet adapter. With the Pi4 overclocked to 2Ghz I get around 930Mbs. The router is located inside a distribution panel in an unconditioned garage. It has been rock solid with only a $10 generic case with fan ordered off eBay to protect it.
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by rocky1138 on Thursday May 20, 2021 @08:55PM (#27229333)
I use a similar method to share Internet with my Tandy 1000 via an old laptop I've used as a server for years. LAN via Ethernet coming in, network forwarding via iptables, and serial null modem cable to the Tandy. Unfortunately, I don't get anywhere near 750-800 Mbps but 6 Kbps :)
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by kQq9oHeAz6wLLS on Friday May 21, 2021 @01:03PM (#27236730)
You should take a look at serial-to-ethernet converters like the USR-TCP232-T2. I use one with my VIC-20 to telnet into BBSs. Uses a modified AT command set, so you can actually control it a bit like a modem. Picked it up for $10 off eBay a few years back.
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by rocky1138 on Saturday May 22, 2021 @03:12PM (#27249446)
Hey, thanks! I might actually use this for another project.
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by folkhack on Thursday May 20, 2021 @08:10PM (#27229047)
Super interested in what boards you are using and/or if they're custom! Would love to have a Pi 4 based home router with the 2nd NIC on the PCIe bus.
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by mjcarden on Thursday May 20, 2021 @08:27PM (#27229152)
Jeff has published much about his Pi adventures. Some examples: https://pipci.jeffgeerling.com/ https://github.com/geerlingguy
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by folkhack on Thursday May 20, 2021 @09:13PM (#27229438)
Oh holy cow. It's that guy ha. Will dig deeper - thanks for the links!
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by geerlingguy on Friday May 21, 2021 @12:18AM (#27230450)
The two I'm currently testing are Seeed Studio's router board and DFRobot's as well.
Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by folkhack on Thursday May 27, 2021 @05:54PM (#27309045)
Just got the order in for the Seeed Studio board. I'm sure I have a good wait time with shipping but looking forward to replacing some Ubiquiti gear after their drama.

Thanks for the reply as it totally inspired me to build my own router like it's 2003 =)

Re:Setting up a Raspberry Pi with 2 Network Interfaces as a ... by ponyfleisch on Friday May 21, 2021 @07:44AM (#27232800)
Hi Jeff

Did you get 750-800 out of the box with a Pi4 and USB ethernet? Asking because mine was around 300 and needed some manual tweaking (see also https://news.ycombinator.com/item?id=27231705)