Community discussions

MikroTik App
 
forne
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Tue Feb 15, 2011 3:18 pm

How to isolate dhcp routes from two ISPs?

Tue Feb 15, 2011 3:59 pm

I have two ISPs connected to different ethernet ports of the router. Along with the default route every ISP assigns a bunch of additional static routes via DHCP. How can I put routes gotten from the different ISPs via DHCP into different routing tables, i.e. give them different routing marks?
 
forne
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Tue Feb 15, 2011 3:18 pm

Re: How to isolate dhcp routes from two ISPs?

Sat Feb 19, 2011 2:36 pm

This can be done by using different values for default-route-distance, that actually applies to the distance of all dhcp routes. Then set-routing-mark in routing filter should be used.