Thanks for the responds. I will try read as much I can before another question.
bassically here is what I understand
I need to set ip on openwrt in 1.0 network as a gateway (1.113 for example) and create SSID1, so interface need to be bridge ..
I need to set ip on openwrt in 2.0 network as a gateway (2.113 for example) and create SSID1, so interface need to be bridge
and here is what i was trying on spare openwrt ( its different version than my main rooter its 15.01 BB on tplink mr3220)
`============= no bridge ======
config interface 'lan'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.113'
option netmask '255.255.255.0'
config interface 'lan2'
option ifname '@lan'
option proto 'static'
option ipaddr '192.168.2.113'
option netmask '255.255.255.0'
============= with bridge ======
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.113'
option netmask '255.255.255.0'
config interface 'lan2'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.2.113'
option netmask '255.255.255.0'`
both resulting the same thing. no ping on 2.113. only on 1.113.. not a complette /etc/config/network. Tried 17.01 using bridge but still the same result
root@LEDE:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd0b:cd50:fa5e::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.113'
option netmask '255.255.255.0'
config interface 'lan2'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.2.113'
option netmask '255.255.255.0'
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 0'
without bridge I can ping both 1.113 and 2.113 just fine on 17.01
config interface 'lan'
# option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.113'
option netmask '255.255.255.0'
config interface 'lan2'
option ifname '@lan'
# option type 'bridge'
option proto 'static'
option ipaddr '192.168.2.113'
option netmask '255.255.255.0'