Problem with policy routing
Posted: Fri Feb 15, 2013 10:52 pm
Hello.
I have a problem with policy routing
This is the router configuration:
When the default route 200.10.x.1 is disabled, I have no connection to the router using 200.20.x.2.
Why the policy routing doesn't work?
Thanks in advance.
I have a problem with policy routing
This is the router configuration:
Code: Select all
/ip address
add interface=ether1 address=200.10.x.2/24
add interface=ether2 address=200.20.x.2/24
/ip route
add dst-address=0.0.0.0/0 gateway=200.10.x.1 pref-src=200.10.x.2
add dst-address=0.0.0.0/0 gateway=200.20.x.1 pref-src=200.20.x.2 routing-mark=policy
/ip firewall mangle
add chain=output action=mark-routing new-routing-mark=policy src-address=200.20.x.2
Why the policy routing doesn't work?
Thanks in advance.