Hi,
since the wifi range of my main router (Speedport W724, dhcp+gw) is not sufficient i want to build a network bridge (TL-WR841N and OpenWRT 15.05). Furthermore i want to attach a FreeNas Server to the switch of the TL-841N, which should be visible to all all devices in the network. Both the Speedport (LAN) and the TL Router (WAN) are connected via ethernet.
For this i followed the dumb ap and the bridged ap howto. WiFi is working and the clients get dhcp leases from the main router, Wifi Roaming is working.
The problem is, that i can't connect to the FreeNAS Server (static IP 192.168.2.10). I'm not sure, how to bridge the Switch with the WAN/Wifi Interface exactly. I tried to change the IP of br-lan to 192.168.2.3, but then I can't access UCI/LUCI anymore.
My /etc/config/network looks like:
config interface 'lan'
option ifname 'eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0'
option _orig_ifname 'eth0'
option _orig_bridge 'false'
option proto 'static'
option ipaddr '192.168.2.2'
option netmask '255.255.255.0'
option gateway '192.168.2.1'
option dns '192.168.2.1 8.8.8.8'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 4'
Anyone has a idea?
Thanks, roger
(Last edited by roger12 on 29 Oct 2017, 10:54)