J
J
Joker9122019-12-05 10:17:16
Computer networks
Joker912, 2019-12-05 10:17:16

How to add a static route for a list of IP addresses in Mikrotik?

5de8ada2d4c10213148243.png
such a manual came in the form of a screen with the task of adding these routes. I'm still an inexperienced enikeyshchik, please explain how this is done in Mikrotik? What points to climb?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
Wexter, 2019-12-05
@Joker912

/ip route add dst-address=xxx/x gateway=yyyy

or in IP - Route on + add
xxxx / x - address / network, yyyy - gateway through which to go

A
AkaZLOY, 2019-12-06
@AkaZLOY

Clarify the question, do you just need to add a static route or configure pbr (police base routing)?
in the example above, xxxx/x is Dst.Address (destination address), yyyy is gateway (gateway) and without additional conditions it applies to all sources that break into xxxx/x

W
whileDo, 2019-12-06
@whileDo

Or you can mark addresses for routing, first add them to the address list, and then send them marked with one rule through the necessary gateways. Marking by resources costs nothing, but debugging is nice

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question