this post was submitted on 16 Jan 2026
2 points (75.0% liked)

techsupport

3063 readers
4 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] morto@piefed.social 1 points 1 month ago (1 children)

I tried openwrt first, and indeed, the network configuration was much easier, but then everything else was much more difficult and time consuming. Even system updates seemed overly complicated. I plan on running a few things on it, like zoneminder and syncthing, that will be much easier to maintain on debian

As for the reason, I got no more free ports in my router, and If I added another regular router, I wouldn't be able to run software on it, and would need an additional device, so this one allows me to add just one more device to the network. Well, considering that I manage to properly configure it...

[–] just_another_person@lemmy.world 1 points 1 month ago* (last edited 1 month ago) (1 children)

The main issue here is that you essentially just want it to be a switch and not a router, which is going to be problematic if you intend to pass traffic amongst them in different ways.

The way you're describing this working would be routing traffic on the uplink port to your router from the other interfaces. You'll need this because a stock Debian install runs network interfaces as clients and not routed interfaces that pass traffic. You're basically building another router and making certain other ports switch interfaces.

This is a bit more complex than just getting a $10 cheap unmanaged switch and hanging that off your router for extra ports, but if you're determined to go this route, you basically just need to look up routing traffic in Debian and you'll find some guides.

[–] morto@piefed.social 1 points 1 month ago

Thank you, I will check about routing traffic