routing

I am using a mikrotik router as our router. How would i do this on mikrotik ?

ip route a.b.c.d 255.255.255.0 1.2.3.4

as i want to route a subnet to an IP.


Many thanks.

I hope I understand what you want. If you want to route a subnet to another device through its ip address then:

/ip route
add gateway=xx.xx.xx.xx dst-address=yy.yy.yy.yy/zz

This will route traffic to the yy.yy.yy.yy/zz net through xx.xx.xx.xx

thanks a lot, that was what i was looking for.

Many thanks.