Hello
I got a banana pi r3, and I want to connect some devices to it and have them accessible to my home network as well. The devices will be connected to the ethernet ports the system identifies as lan0 to lan3. Th e wan port is connected t my router.
I want to be able to connect to the banana pi from my network using a static ip, and I also want that any device connected to it in the lan ports gets an ip from my router’s dhcp and be accessible to the network as well. Is it possible? What would be the simplest way to do it?
The system image I’m running in the banana pi is a debian image that used systemd-networkd. So far, I’ve been a coupe of days trying everyhting in that /etc/systemd/network directory, trying to bridge the lan0 and the wan networks (I don’t even know if that’s what I really need, but it’s the closest I found), but I only manage to lock me out from ssh access messing it up. The information on the internet seems to be growing scarce, and I found nothing helpful.


Seconding the other user’s recommendation of an unmanaged switch.
If your goal is to add more ethernet devices to your network, adding an unmanaged switch to your router is the simplest way to do it. Anything plugged into the switch will operate on the same network as your router and, as a pure hardware solution, it will never need software maintenance.
If your goal is to learn how to build a router-oriented linux install from scratch, then go ahead with your original plan.
Thanks for the answer
Routers aren’t cheap around here, and I got this board for free as a prize from a contest, and I plan on running some things on it, so I find it t be the best option. Also, it will end up with fewer devices and less energy consumption. Having to learn a few things isn’t really a problem.
You want a switch, not a router though. Any old one will do. You just need extra ports to plug things into, not route traffic. Even if you’re somewhere where they might be more expensive than average, they are thrown away regularly. Check eBay or the equivalent in your area and see if anything pops up dirt cheap.