Routing with 2 Mikrotik and 1 NAT

Hello all,

I have 2 Mikrotik 6.41.2 routers in my network and I have setup static routes to avoid double NAT
but I can’t make it work.
I also checked this post
http://forum.mikrotik.com/t/avoiding-double-nat-with-multiple-routers/49926/1

I attach my network diagram to make it easier.
network.jpg
Main Router (1st) is working OK, no firewall rules (for now), ports are bridged
I have one Nat rule and I added the following route for the second router :
/ip route add dst-address=192.168.170.0/23 gateway=172.20.0.8

On the second router I don’t have any NAT rule, no dhcp, dns is configured, no firewall rules (for now)
and my route is :
/ip route add dst-address=0.0.0.0/0 gateway=172.20.0.1

PC’s in Offices LAN use only static ip’s so no need for dhcp server.
2cd router have internet but pc’s not.

Need some advice for what Im doing wrong..

thank you

Pc’s in office lan, which are statically configured, need to define R2 as their gateway.

Is that set?

Thanks for the replay.

All PC’s in Offices Network have
IP’s 192.168.170.xx
gateway 192.168.170.1
dns 8.8.8.8 - 8.8.4.4

Thanks

Check NAT rules on R1. It’ll need some also for IP addresses 192.168.170.x …

Hi,

NAT rule on R1 is :
0 ;;; WAN
chain=srcnat action=masquerade src-address=172.20.0.0/20
out-interface=ether1-Wan log=no log-prefix=“”

so I need to add one more for the 192.168.170.0/23 network ?

thanks

I would add one more …

ok,

I will try it and I’ll post results…

simply don’t specify source address in the nat rule

Thanks for the suggestion.

It’s Working now.