How to bridge two subnets within the same router


I config Multiple bridged networks in same same router

I need help to connect two subnets within the same router

I want help with educational steps because I am a beginner and have no knowledge of how to prepare these steps
my regards

You can bridge 2 interfaces to be in the same broadcast domain.
Bridging 2 subnets, e.g and might create issues, especially with DHCP and RAs.

Do you want a guest and iot networks isolated from main one?

I guess, but it's just a guessing, that what you need is to enable forwarding between the networks, and that can be done with a couple of clicks, in the firewall configuration page. However, you should be posting lots of details, if you are expecting a more informative answer...

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like

This picture includes what I want to do by connecting two separate networks via cat6 network wires

The connection in the middle makes no sense and will cause a switching loop that results in your network failing to function.

As far as the two other subnets ( and, do you control the upstream routers?

And can you be more specific about what your goal is? Are you trying to make it possible for a device on to reach hosts in and vice versa? Or are you trying to make it possible for hosts on to reach devices on the two upstream networks?

The purpose of this is that I want to make a diagram like this one in the attached image
Screenshot 2022-12-02 194317

Are you expecting bidirectional/symmetric routing?

Do you control the upstream routers?

Based on this diagram, you don't need any interface bridging. You need to advertise the subnets of each router to the other.

Thank you for your response and help. Could you please explain to me the steps on how to do this, because I do not have sufficient knowledge of networks

On the left router Luci go to Network -> Static Routes.
Click on Add button.
Select the interface which has the address.
Target is Netmask I guess is, if you have a /24 there. Gateway is, Save and Apply.
Do the same on the right router, but target will be and gateway .

1 Like

@trendy is correct... but critically, you have not answered this question:

The diagrams shown in post 6 and post 8 are quite different, so it is really important for the OP to clarify which topology is actually in place and desired.

Obviously, the addresses are different between the two diagrams, but also the fact that the first diagram has a router inserted between the two other networks, whereas the second assumes that the upstream routers each have a second local interface by which they can cross-connect (without needing an additional router). The addresses of the networks are also different, but that's of little concern if we're talking conceptual configurations where the solution can be adapted to the real addresses.

That said, it is required that the routers are controlled by the OP (which is why I've asked this multiple times). If they're not, this will not be possible.

Thank you for your response. I am currently traveling within a day or two. I will make a plan with exactly what I want with the real IP numbers. I may get the solution from friends in the forum.