address-lists and ip routes

There is an address-lists with name “IR”.
i want route traffic to gateway x.x.x.x if destination address is “IR”
and other “0.0.0.0/0” route to y.y.y.y gateway.
thanks allot.

http://wiki.mikrotik.com/wiki/Policy_Routing_in_RouterOS_2.9.x
Adjust the mangle rule to not look for TCP/80 traffic, but for traffic destined to the address list. Also adjust the mark names as required.

Where is the address-list ?

I said you have to adjust it. dst-address-lists work in mangle like they do in all other firewall sections, and the manual applies.

/ip firewall mangle add chain=prerouting protocol=tcp dst-port=80 action=mark-routing new-routing-mark=HTTP passthrough=yes comment="" disabled=no

becomes

/ip firewall mangle add chain=prerouting dst-address-list=IR action=mark-routing new-routing-mark=IR passthrough=yes comment="" disabled=no

Replace all references to “HTTP” with “IR” in the other commands.