Community discussions

MikroTik App
 
scj
just joined
Topic Author
Posts: 7
Joined: Thu Apr 21, 2016 3:24 pm

How to best connect three mikrotik routers

Thu Apr 21, 2016 3:37 pm

I am new to this and have looked at the wiki but nothing specific to my scenario.
I have three Mikrotik routers using in three areas the source comes in at point A (10.0.6.1) and feeds to point B in the east and point C in the west. I currently have both point B and C bridged to allow person connecting through the access points at B&C to get IP from point A. My question is there a way to route at B &C and still use the DHCP server at A to generate IP's.
I want the ip address to be from A since at times some persons may connect to either A,B or C.
I tried routing from B and C separately and used IP's 10.0.7.1 and 10.0.8.1 respectively and sometimes a unit would get a 8.1 address and then connect to the 7.1 AP and could not browse.
Any suggestions would be welcomed
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4052
Joined: Wed May 11, 2011 6:08 pm

Re: How to best connect three mikrotik routers

Thu Apr 21, 2016 4:38 pm

This is a bit vague - do you mean that B and C are simply access points?
If all three are access points in the same general area, so it's likely that a user might roam from B to C, then you should use bridging.

You can use A as a centralized DHCP server if B and C are routed - just configure B and C with DHCP relay instead of DHCP server and configure 3 DHCP servers on A - and 3 scopes / address pools. I don't think this is what you want, though, given your statement that clients with 7.x can't work when they connect to 8.x - they would need to release their address and receive a new one from the other network. That's just how routing is supposed to work, so if it's not ideal for your installation, then you should bridge this.

Now - if there's some other infrastructure between A-B, and between A-C and you need THIS to be routed, then you could use some tunneling protocol like EoIP between A-B and A-C and bridge the two tunnels at A. On B and C, you would bridge the "common" segment to the EoIP and leave the routed interface there to route the EoIP packets.
When given a spoon,
you should not cling to your fork.
The soup will get cold.
 
scj
just joined
Topic Author
Posts: 7
Joined: Thu Apr 21, 2016 3:24 pm

Re: How to best connect three mikrotik routers

Thu Apr 21, 2016 5:15 pm

Your suggestion helps thanks. To clear up the vagueness.

A is the base B and C are miles away connected with a wireless backhaul. Customers are use CPE's but signal from both B and C overlap in some areas.
Between C)-----(A)------(B is just a wireless link. Will try the dhcp relay.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4052
Joined: Wed May 11, 2011 6:08 pm

Re: How to best connect three mikrotik routers

Thu Apr 21, 2016 5:32 pm

Since you're using CPE, you could set up your network to use tunnels from the CPE to the A router, and bridge the CPE's LAN interface to the tunnel interface, and give customer routers DHCP inside the tunnel.
When given a spoon,
you should not cling to your fork.
The soup will get cold.
 
annefmoreno
just joined
Posts: 5
Joined: Mon Apr 25, 2016 7:33 am

Re: How to best connect three mikrotik routers

Mon Apr 25, 2016 9:15 am

Thank you for this post it was really helpful.

Who is online

Users browsing this forum: No registered users and 57 guests