This only works with dedicated hardware, right? I can't just take an arbitrary board like the raspberry pi and do this?
If you want to experiment at a low cost, though, there's the Banana PI BPI-R1. A ~$70 linux ARM dev board with 5 GB ethernet interfaces.
An example using bridge to packet capture. https://github.com/williamknows/PiTap