Live data from Hacker News

Linux Bridge – How it works

goyalankit.com

1–10 of 21 posts

Re: Linux Bridge – How it works

#7
post #5

This only works with dedicated hardware, right? I can't just take an arbitrary board like the raspberry pi and do this?

It's a linux software bridge, and should work on raspberry pi.

Yep. Just finished teaching a networking course using the pi as the basis for labs and projects. Had a scenario that required students to set up a bridge. Just plug in a couple of usb network adapters.

Re: Linux Bridge – How it works

#8
post #5

This only works with dedicated hardware, right? I can't just take an arbitrary board like the raspberry pi and do this?

It's a linux software bridge, and should work on raspberry pi.

Bridge works very well on a RaspberryPi within the physical hardware limits.

An example using bridge to packet capture. https://github.com/williamknows/PiTap

Re: Linux Bridge – How it works

#9
You would probably prefer the netlink interface these days over the old ioctl interface to configure bridges. But for an introduction the older one is probably easier to explain.

Re: Linux Bridge – How it works

#10
post #5

This only works with dedicated hardware, right? I can't just take an arbitrary board like the raspberry pi and do this?

No dedicated hardware required. Bridges can be placed on virtual interfaces. You often see this happen with things like VMs and containers but you don't even need that specifically.
Post reply on HN