if these are tunneling interfaces, then simply use interface name instead of GW IP:
/ip route add routing-mark=channel1 gateway=ModemA
/ip route add routing-mark=channel2 gateway=ModemB
if it's broadcast interfaces, then use the following syntax:
/ip route add routing-mark=channel1 gateway=126.96.36.199%ModemA
/ip route add routing-mark=channel2 gateway=188.8.131.52%ModemB
for second case in v3 you will need to have routing-test package installed
Russian-speaking forum: https://forum.mikrotik.by/
For every complex problem, there is a solution that is simple, neat, and wrong.
MikroTik. Your life. Your routing.