Community discussions

MikroTik App
 
mauricioisp
Member Candidate
Member Candidate
Topic Author
Posts: 148
Joined: Wed Feb 06, 2013 2:48 am

Two default routes at the same time

Fri Jun 20, 2014 5:33 am

Hi guys,

My network has two main customer routers (and they're connected to our edge routers with BGP), some for certain customer (residnt) and another for others (buss), then there're many switches and I use a VLAN from each router to the customer's router. Now I want to route my network :manhappy:

But I've one big challenge, how can I have two default routes in one router and make that customer let's say with IP range 184.33.xx.xx/24 goes through uplink 1 and users with 184.34.xx.xx/24 goes via the second main router?



Thanks,
 
User avatar
semakka
Member Candidate
Member Candidate
Posts: 196
Joined: Mon Sep 11, 2006 10:59 am
Location: Moraira, Alicante, Spain
Contact:

Re: Two default routes at the same time

Fri Jun 20, 2014 8:09 am

two address lists in firewall (buss and resid)
mangle separate the two... and then mark routing
default route with routing mark

cheers
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: Two default routes at the same time

Fri Jun 20, 2014 12:08 pm

Just to add a bit, what you are are looking for is called "Policy based routing" or "Policy routing"

Multiple ways to handle this, including mangling, VRFs, etc.

Search around for those things.

Who is online

Users browsing this forum: No registered users and 11 guests