Hi,
I am trying to change how the 2 Routers are connected due to relocation of furnitures:
Original, working setup:
R1.wan ISP.Switch R2.wan
Both R1 & R2 with OpenWrt 24.10.1 or Snapshot. Both can got IPv4 & IPv6 address from ISP Switch. Both respective LAN/Wifi clients can access Internet. R1 & R1 can ping each other's public IPs.
Due to Internal Furniture relocation, I need to connect like this, physically:
ISP Switch R1 R2
Can I make both R1 & R2 work like before? That is both got IPv4 & IPv6 address from the ISP Switch, and both allowing downstream LAN/Wifi clients access Internet?
If I understand correctly, you want to connect R1 to the ISP switch and then connect R2 to R1, right?
To keep the same functionality, on R1 you need to bridge the wan and some of the lan ports and connect R2 to that lan port.
The method of implementation depends on R1 - swconfig or DSA, multi-bridge support if DSA and so on ...
1 Like
My hardware is Dynalink WRX-36 - which I guess is with DSA.
Output of brctl show br-lan
# brctl show br-lan
bridge name bridge id STP enabled interfaces
br-lan 7fff.2ceadcc39806 no lan4
lan2
lan3
lan1
How can I check if it supports multi-bridge or not?
Try this configuration first:
config device
option type 'bridge'
option name 'br-lan'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
config device
option type 'bridge'
option name 'br-wan'
list ports 'wan'
list ports 'lan4'
config interface 'wan'
option device 'br-wan'
...
If brctl
does not show both bridges correctly, you need to switch to bridge VLAN filtering.
https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial#multiple_networks_using_vlans
1 Like
Thank you very much!
br-lan + br-wan at R1 works. R2 can got IPv4 & IPv6 address.
I will with R2 for normal connections and see how it performs.
1 Like