Answer the question
In order to leave comments, you need to log in
How to route multiple Mikrotik admin interfaces?
Situation. The remote site has Mikrotik. Until recently, he had 1 control interface.
There was a need to make 2 or more - on the admin interface in each desired VLAN. Networks are transparent, without NAT.
Problem. I ping a remote VLAN on Mikrotik - I get an error with TTL. Each VLAN has its own gateway.
The IP address on an interface in a VLan always sends traffic through the default gateway, through another interface.
It turns out that I make a request for int-sa Mikrotik via VLAN31, and I receive a response via Vlan1. If I turn off int-with Mikrotik in VLAN31, then a routing loop is obtained. And the TTL limit is triggered.
I have to write rules for the firewall/mangle in order to explain to Mikrotik - that on which interface a packet comes, it means that you need to send a response from it. Tell me how to do it.
Answer the question
In order to leave comments, you need to log in
Ufff, you are doing something incomprehensible without a diagram =)
But it looks like the setting is trivial (for two ports):
chain=input action=mark-connection new-connection-mark=ISP 1 passthrough=no in-interface=ether1
chain=output action= mark-routing new-routing-mark=ISP 1 passthrough=no connection-mark=ISP 1
chain=input action=mark-connection new-connection-mark=ISP 2 passthrough=no in-interface=ether2
chain=output action=mark -routing new-routing-mark=ISP 2 passthrough=no connection-mark=ISP 2
and two routing tables for each route label, in these tables the gateway default entry leads to the gateway of the network in which this interface "lives". Try - write.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question