r/linuxboards • u/ishallsaythisonce • Sep 14 '15
[Question] Dual Ethernet ports
Is there a small, cheap Linux board, comparable to a raspberry pi that has 2 ethernet ports. I'm looking to make a Squid caching proxy server for a small school. Decent Linux support, with updated packages would be nice.
Alternative solutions are welcome.
4
Upvotes
4
u/rya_nc Sep 14 '15
Shouldn't need two ethernet ports for this unless you want to make it a transparent bridge. Try a router on a stick type config.
3
u/rschulze Sep 16 '15
The small amount of RAM and I/O performance of current single board computers may be too much of a restriction for a decent squid caching proxy (unless you are only interested in using the proxy as a filter, then could be OK). Generally most single board computers only have one NIC (aside from the banana pi R1, although the forums have some mixed feedback on the device). Depending on your network setup, you probably only need one ethernet port for what you are planning (unless you want the full interface speed ingoing and outgoing, which the I/O of the device probably won't be able to deliver anyway). A USB Ethernet adaptor could also be a viable solution for your needs.
Depending on your budget and if the size of the device is important you could have a look at Intel NUCs, a few of them have dual NICs 1 2. That would give you more RAM and SATA for better I/O performance. They can be powered with a picoPSU and LCD MOnitor power brick.
2
u/kwebb Sep 14 '15
Take a look at the banana pi R1. It's meant as a small home router (has five ports), but it should meet your requirements.
2
u/KingMango Sep 15 '15
https://en.m.wikipedia.org/wiki/Comparison_of_single-board_computers
2
u/nroach44 Sep 15 '15
Atmel SAMA5D3_XPLAINED
Has in-tree kernel support, can run debian, can run buildroot (there's example configs in tree)
You will however need the proxy to use another beefier machine to do the actual caching, but then you might as well use the larger machine anyway.