S
S
Shamil2021-07-12 22:54:07
Mikrotik
Shamil, 2021-07-12 22:54:07

Why is Mikrotik not responding on the second interface?

There is a microtik with 2 white ips:
ether1 - pppoe-out1
ether2 - dhcp client
a web server is spinning behind the microt., forwarding is configured.
distance = 1 on both interfaces, route marking rules have been added .. but for some reason forwarding only works through the active provider ..

mangle

3    chain=prerouting action=mark-connection new-connection-mark=con-WAN1 passthrough=no connection-mark=no-mark in-interface=pppoe-out1 log=no log-prefix="" 

 4    chain=prerouting action=mark-connection new-connection-mark=con-WAN2 passthrough=no connection-mark=no-mark in-interface=ether2 log=no log-prefix="" 

 5    chain=prerouting action=mark-routing new-routing-mark=WAN1 passthrough=no connection-mark=con-WAN1 in-interface-list=!WAN log=no log-prefix="" 

 6    chain=prerouting action=mark-routing new-routing-mark=WAN2 passthrough=no connection-mark=con-WAN2 in-interface-list=!WAN log=no log-prefix="" 

 7    chain=output action=mark-routing new-routing-mark=WAN1 passthrough=no connection-mark=con-WAN1 log=no log-prefix="" 

 8    chain=output action=mark-routing new-routing-mark=WAN2 passthrough=no connection-mark=con-WAN2 log=no log-prefix=""

60ec9d920b6fe996502531.png


routes

60ec9d3f1085e698169214.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
b1ora, 2021-07-13
@b1ora

You need a named routing table so that the packet leaves through the interface it came from.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question