R
R
romaro2021-07-27 22:48:54
Telephony
romaro, 2021-07-27 22:48:54

Have I configured the routes correctly on Mikrotik?

I'm trying to set up packet routing from an IP phone. Now there are two routing tables on the router: the main one and 'mosnet1', which is tied to the backup provider.

If both providers are active and the route table looks like this:
61005db1ee780577614969.jpeg

Then the dialer does not work, because, judging by the logs, the packets are sent to the wrong routing table:
610057407d073946121117.jpeg

As I understand it, this happens because traffic from the phone comes without a label, but in routes have a rule that only tagged packets are allowed through, and from a specific IP:
61005e5170f89471592598.jpeg

If I turn off the interface of the backup provider and, as a result, the route becomes unreachable, then everything works, traffic goes through my main Rostelecom:
61005fd541850809884845.jpeg

I tried to set distance=2 in the static route and it helped, but how correct is this solution? How might this affect the packet processing of the standby provider?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2021-07-27
@Drno

correctly set for the channels a different distance just. the main one has 1. the reserve has more than 1 (2,3,4 ... etc.), respectively - there is no main channel (for example, the cable was pulled out, the Internet disappeared (I don’t know how it is configured for you) - the next distance will work ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question