I am trying to send specific IP over different default gateway in VRF.
Version
7.12
Setup
Code: Select all
1.1.1.1/32 -----> Inbound ----> Mikrotik (Main) 0.0.0.0/0 ( Provider One) ----> Inernet
|
VRF (DMZ) 0.0.0.0/0 (Provider Two) -----> Internet (Lease Line)
I tried to mark connection, but /routing/rule and route is in question
Code: Select all
> /ip/firewall/mangle/print detail
Flags: X - disabled, I - invalid; D - dynamic
0 D ;;; special dummy rule to show fasttrack counters
chain=prerouting action=passthrough
1 D ;;; special dummy rule to show fasttrack counters
chain=forward action=passthrough
2 D ;;; special dummy rule to show fasttrack counters
chain=postrouting action=passthrough
3 X ;;; failover PBR LTE
chain=prerouting action=mark-connection new-connection-mark=out_of_vrf passthrough=yes
src-address=1.1.1.1 in-interface=VLAN99-LTE log=no log-prefix=""
4 X ;;; Mark packet
chain=prerouting action=mark-packet new-packet-mark=p_out_of_vrf passthrough=yes
connection-mark=out_of_vrf log=no log-prefix=""
5 X ;;; Mark PBR route
chain=prerouting action=mark-routing new-routing-mark=DMZ-LTE passthrough=yes packet-mark=p_out_of_vrf
log=no log-prefix=""