Community discussions

MikroTik App
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Routing w/ multiple gateways

Mon Apr 21, 2014 5:35 pm

This is my network scheme.
What I'm trying to do is access CPE (sxt lite5) via winbox from my pc.
Nano stands for ubiquiti nanobridge
CPEs are in the same network, connected to each Ap. (Sorry, for the picture, it's not so clear)
each Access Point is connected to one dsl separately. (e.g Ap3=>isp1, Ap4=isp2)
isp1 & isp2 are my 2 internet gateways (192.168.8.1 & 192.168.9.1)
Image




How to set ip routing and achieve that?
Last edited by Arpanet on Mon Apr 21, 2014 6:51 pm, edited 2 times in total.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Routing w/ multiple gateways

Mon Apr 21, 2014 6:37 pm

What is isp1 and isp2? To whom belong ap3 and ap4? Are the cpes also within your network?
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Routing w/ multiple gateways

Mon Apr 21, 2014 6:50 pm

you're right, I forgot to explain that.
#Edited first post
 
wima
just joined
Posts: 5
Joined: Sat Apr 26, 2014 2:24 am

Re: Routing w/ multiple gateways

Tue Apr 29, 2014 1:46 am

i assume you dont have control at all on isp 1 & isp 2 router, i think the easiest way to access your SXT is by creating VPN between each SXT and your router

http://wiki.mikrotik.com/wiki/OpenVPN_C ... ep_by_Step

other scenario is, you need to check if your gateway ip, as you said 192.168.8.1 & 192.168.9.1, connected to AP LAN ip 192.168.8.10 and 192.168.9.10. (on the same subnet)

if it so, then just
#AP3
/route add dst-address=192.168.30.0/24 gateway=192.168.8.10
#AP4
/route add dst-address=192.168.40.0/24 gateway=192.168.9.10

Who is online

Users browsing this forum: Google [Bot], MauriceW, shahzaddj1, the2masters and 78 guests