-2

I have two IP schemes a) 10.0.1.0/24 and b) 10.0.2.0/24 on a single network with Mikrotik router and also have two WAN connections.

network a & network b communicate with each other very fine. When I want to add routing mark from IP/firewall/mangel to both of the networks for their selected wan routing for WAN1 and WAN2.

Network a & network b stops communication with each other.

Pouya Samie
  • 3,718
  • 1
  • 21
  • 34
Baran
  • 1,114
  • 1
  • 10
  • 25

1 Answers1

0

if you are going to add routing mark in prerouting. then before it just accept the destination address before marking the routing marks as under.

chain=prerouting action=accept dst-address=10.0.1.0/24
chain=prerouting action=accept dst-address=10.0.2.0/24

then add the marking routes

chain=prerouting action=mark-routing new-routing-mark=ISP1 passthrough=no src-address=10.0.2.0/24 dst-address-type=""


chain=prerouting action=mark-routing new-routing-mark=ISP1 passthrough=no src-address=10.0.1.0/24 dst-address-type=""
Baran
  • 1,114
  • 1
  • 10
  • 25