Answer the question
In order to leave comments, you need to log in
Output of a specific host to the Internet through another mikrotik interface?
the essence of the problem.
The transition from analog telephony to digital is underway. We have a sip number from Rostelecom (to save numbers), an Internet provider other than RT.
Rostelecom releases VIP only from RT trees. Mikrotik is used as a gateway, one of the interfaces of which looks into the network of a neighboring store, in this store the Internet provider is just Rostelecom.
I can't figure out how to get a specific host (pbx server) to go online through a different interface that looks into the neighboring salon.
If you need specifics or configs, I'll attach everything - thanks.
Answer the question
In order to leave comments, you need to log in
PBR .
Given: 1.2.3.4 - the address of the Rostelecom gateway (in the store), 192.168.0.0.24 - your local network, 192.168.0.2 - the address of the PBX.
/ip route add dst-address=0.0.0.0/0 gateway=1.2.3.4 routing-mark=RT
/ip route rule add src-address=192.168.0.2 dst-address=192.168.0.0/24 action=lookup table=main
/ip route rule add src-address=192.168.0.2 action=lookup table=RT
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question