Hi Folks
im a starter to OpenWrt and i need some ideas to accomplish this
My network topology is Main ISP modem running on DHCP 192.168.2.1 and my TPLink OpenWrt router running on DHCP192.168.1.1
what I'm trying to accomplish is, I need to create a second wifi network that bridges the connection with IP range 192.168.2.1 from Main ISP to my devices connected to this WiFi from my OpenWrt router
the reason behind this is that I need to be able to detect devices connected to my main ISP Modem when I'm connected to the OpenWrt router wifi
hence, the ISP modem and the OpenWrt router are far from each other so I can't use WDS, I only can connect them using Ethernet
Isolate one of the OpenWrt router's LAN ports from the others.
swconfig - create a new vlan and assign the port to it
DSA - remove the port from the default br-lan bridge
Create a new bridge device and select that port in the Bridge Ports tab.
Create a new interface using the newly created bridge device and set the protocol to Unmanaged.
Create the second wireless network and attach the newly created interface to it.
Connect the isolated LAN port of the OpenWrt router to some of the LAN ports of the ISP modem.
Тhe clients of the second wifi should be served directly by the ISP device.
Yes, but by asking me about the second cable, I realized that there is a better solution.
Create a new bridge device br-wan selecting the wan interface in the Bridge Ports tab.
Change the the wan interface device to br-wan.
Attach the second wifi network to the wan interface and you should get the same result with just one cable.
You don't need a second wan interface. Delete it.
Just change the device of the existing wan interface from eth0.2 to br-wan.
Do not modify the protocol (Static or DHCP) and attach the wan interface to the second wifi network.
If it still doesn't work, please SSH into the router and post the output of uci show network redacting the MAC addresses.