Bridge wan and lan ports

Sorry if this isn’t the right place for this question, but I’ve been struggling for a few days with trying to connect to the devices at the lan ports of a bpi-r3 from devices connected to another router that is connected to the bpi via wan port.

Is it possible to have the wan port in the same bridge as the lan ports? What would be the easiest/simplest way to do so? I’m using the bpi-r3 trixie image from this link: automatic-images - Google Drive

To give more details, I want to have the bpi connected to a router and be accessible via ssh, while at a static ip, while each device connected to lan ports receiving an ip at the same network as the wan, being accessible from the router as well. Is it possible?

1 Like

Yes you can use wan as lan too. I guess you use my debian/ubuntu image in R3?

Take a look in /etc/systemd/network. You will find a bunch of files like these

Delete the 15-wan.network and add wan to 21-lanbr-bind.network. should be enough after reboot…maybe restarting systemd-networkd works too,but such changes mostly need reboot