Two default routes at the same time

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,

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

cheers

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.