Hi mates, I have a particular situation,
let's call the local subnet A, the internet subnet (ethernet1) B, and another local network (ethernet5) C.
The network C is the network of videosurveillance, which has another internet gateway, instead of reaching it passing through internet providers I've decided to connect it to my Mikrotik and NAT any request from A to C with the C Mikrotik IP address as source, when I try to reach directly a C address. Works good, there is no need of routing specifications because the subnet C is directly connected to Mikrotik and it knows what to do.
Now there is another network D connected by another MIkrotik to network C, the C IP source can reach D and D is able to reply to directly C without NAT.
I tried to create a static route to tell MIkrotik that D is reachable outputting to the bridge (I created for) network C (I've tried also to choose directly ethernet 5 as output), I've also added another source NAT that differs from the "A to C" only about the destination address, it is "A to D" (I guess is better to specify the source subnets, to avoid any problems, but probably not necessary because router already knows by route tables that aren't packets to send to internet).
Doesnt't work, I tried then to sniff packets, I started a vnc session from A to D (used directly D as destination), it doesn't log anything.
I think it happens because that I have metric 1 to the internet gateway (ethernet 1) with subnet 0.0.0.0, and metric 1 for the D subnet in the route tables. Teorically Mikrotik should consider smaller subnets more priority, but "D route" is the last of the list, maybe it gives priority to the first of the list. I can't change the metric of internet to 2 for example, it is gray out, and I can't move the order of entries, I'm afraid that Mikrotik will output the D destinaton address packets to the internet instead of ethernet5, how can I solve this?
Thank you