Hi
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
Hi
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 192.168.0.0/24
and 10.0.0.0/24
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
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 (192.168.2.0/24 and 192.168.85.0/24), 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 192.168.2.0/24 to reach hosts in 192.168.85.0/24 and vice versa? Or are you trying to make it possible for hosts on 10.32.36.0/24 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
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 192.168.2.2 address.
Target is 10.0.0.0. Netmask I guess is 255.255.255.0, if you have a /24 there. Gateway is 192.168.2.4, Save and Apply.
Do the same on the right router, but target will be 192.168.1.0 and gateway 192.168.2.2 .
@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.
regards