A question of routing

Hello all,

I’m brand new to RouterOS and simply need this multi-part question answered before I really dive into the system.

Given an interface (eth0) that you configure for the wan (10.10.10.1) and have it ARP for some IP addresses. We will call them 10.10.10.5 and 10.10.10.6

And given that you wish to route requests to 10.10.10.5 from the WAN interface to eth1 and 10.10.10.6 from the WAN interface to eth2

And given the internal interfaces (eth1 and eth2) that are both configured for the exact same networks. Say 192.168.0.0/24 (for both) - and in fact the devices on the networks will have the same ip address (192.168.0.30).

And knowing that NAT would have to occur

Is it possible to have RouterOS appropriately route traffic simply based on the inbound destination IP address hitting the WAN interface?

Thanks for the forbearance on this question

John in Oregon

if i understood you correcly it is doable using mangle and setting up routing marks (for this you have to have routes under /ip route, that have routing marks associated with them.

http://wiki.mikrotik.com/wiki/Manual:IP/Route

also, searching wiki will reveal few examples.