I modified this a little to show what each interface does. Is this correct?IP setup is like this
Router1
- eth1(192.168.0.10/24) internet gateway
- wlan1(192.168.2.1/24) wireless to router2
Router2
- eth1(192.168.200.1/24) localnet
- wlan1(192.168.2.2/24) wireless to router1
- wlan2(192.168.3.1/24) wireless to router3
Router3
- eth1(192.168.160.1/24) localnet
- wlan1(192.168.3.2/24) wireless to router2
I don't know about that device, but if it was a Mikrotik router:
/ip route
add dst-address=192.168.2.0/24 gateway=192.168.0.10
add dst-address=192.168.3.0/24 gateway=192.168.0 10
add dst-address=192.168.200.0/24 gateway=192.168.0.10
add dst-address=192.168.160.0/24 gateway=192.168.0.10
That is not how you described your network. I thought it wasFor example my picture router2 <-----> router1 <------> router3
On router 1 there is a non-mikrotik router(192.168.10.200) and the interface is eth2[192.168.10.1/24]
How can i setup routing correctly so that they can ping each other and also use 192.168.10.200 and internet gateway for internet?
Do you have these new routes (and the srcnat) installed in router0?On eth2(router1) there is a dns server(proxy/firewall/dns). The ip is 192.168.10.200. That is also the gateway where all internet traffic passes through.
When i setup routing then i am able to ping to 192.168.10.200 but not able to ping any interface or mikrotik networks exept eth2 from 192.168.10.200
/ip route
add dst-address=192.168.2.0/24 gateway=192.168.0.10
add dst-address=192.168.3.0/24 gateway=192.168.0 10
add dst-address=192.168.200.0/24 gateway=192.168.0.10
add dst-address=192.168.160.0/24 gateway=192.168.0.10