2 interfaces with one and the same gateway

Hello. Please tell me how to change this config for ros7. Here is the export of settings from ros6, namely 6.49.10, also these settings work in 7.1 and 7.2 but no longer work in 7.3. I looked at changelogs but didn’t find anything that could affect the operation of this configuration.

/ip address
add address=88.77.8.189/27 interface=ether2 network=88.77.8.160
add address=88.77.8.188/27 interface=ether1 network=88.77.8.160
/ip firewall
add action=chain-marking-connection=prerouting-marking-marking=unmarked\
     dst-address=88.77.8.188 new-connection-mark=WAN1_Conn passthrough=yes
add action=mark-routing Chain=prerouting Connection-Mark=WAN1_Conn \
     new-routing-mark=WAN1_traffic transmission=yes
add action=marking-routing chain=output connection-marking=WAN1_Conn \
     new-routing-mark=WAN1_traffic transmission=yes
add action=chain-marking-connection=prerouting-marking-marking=unmarked\
     dst-address=88.77.8.189 new-connection-mark=WAN2_Conn passthrough=yes
add action=mark-routing Chain=prerouting Connection-Mark=WAN2_Conn \
     new-routing-mark=WAN2_traffic transmission=yes
add action=tagging-routing chain=output connection-tagging=WAN2_Conn \
     new-routing-mark=WAN2_traffic transmission=yes
/IP route
add distance=10 gateway=88.77.8.161%ether1 routing-label=WAN1_traffic
add distance=10 gateway=88.77.8.161%ether2 routing=WAN2_traffic
add distance=1 gateway=88.77.8.161%ether1,88.77.8.161%ether2

In ros7 I created
routing/table/add name = WAN1_traffic fib
routing/table/add name=WAN2_traffic fib
and in the IP route I indicate
/IP route
add distance=10 gateway=88.77.8.161%ether1 routing table=WAN1_traffic
add distance = 10 gateway = 88.77.8.161% ether2 routing table = WAN2_traffic
But that’s not how the Internet works.


Here is the config from version 7.2

/routing table
add fib name=WAN1_Traffic
add fib name=WAN2_Traffic
/ip address
add address=88.77.8.189/27 interface=ether2 network=88.77.8.160
add address=88.77.8.188/27 interface=ether1 network=88.77.8.160
/ip firewall filter
add action=accept chain=input dst-port=8291 protocol=tcp
add action=accept chain=input protocol=icmp
add action=drop chain=input disabled=yes
/ip firewall mangle
add action=mark-connection chain=prerouting connection-mark=no-mark \
     dst-address=88.77.8.188 new-connection-mark=WAN1_Conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN1_Conn \
     new-routing-mark=WAN1_Traffic passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_Conn \
     new-routing-mark=WAN1_Traffic passthrough=yes
add action=mark-connection chain=prerouting connection-mark=no-mark \
     dst-address=88.77.8.189 new-connection-mark=WAN2_Conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_Conn \
     new-routing-mark=WAN2_Traffic passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_Conn \
     new-routing-mark=WAN2_Traffic passthrough=yes
/ip route
add disabled=no distance=10 dst-address=0.0.0.0/0 gateway=88.77.8.161%ether1 \
     routing-table=WAN1_Traffic
add disabled=no distance=10 dst-address=0.0.0.0/0 gateway=88.77.8.161%ether2 \
     routing-table=WAN2_Traffic
add disabled=no dst-address=0.0.0.0/0 gateway=88.77.8.161%ether1
add disabled=no dst-address=0.0.0.0/0 gateway=88.77.8.161%ether2