Community discussions

MikroTik App
 
iaraptis
just joined
Topic Author
Posts: 7
Joined: Wed Sep 24, 2014 11:11 am

Route LAN IP to another LAN

Wed Sep 24, 2014 11:22 am

My interfaces:
LAN1 (10.10.49.xx). Mikrotik is the Gateway of this interface PC's
LAN2 (192.168.1.xx) . This interface give me access to the internet
LAN3 (192.168.36.xx).

I want to ping and access a PC from LAN1 (10.10.49.xx) the PC's and Network devices in LAN3 Network

Any help appreciated
 
noib
Member Candidate
Member Candidate
Posts: 291
Joined: Fri Jan 25, 2013 6:04 pm
Location: France
Contact:

Re: Route LAN IP to another LAN

Wed Sep 24, 2014 4:19 pm

did you set up a masquerade rule for the LAN1 network?
/ip firewall nat add action=masquerade chain=srcnat src-address=10.10.49.0/24
 
jkarras
Member Candidate
Member Candidate
Posts: 226
Joined: Fri Sep 06, 2013 3:07 am
Location: Utah, USA

Re: Route LAN IP to another LAN

Wed Sep 24, 2014 10:23 pm

Setup your IP addresses on the three interfaces as you indicate. That is all that should be needed assuming you have no firewall rules to get in the way. No NAT is needed.
 
nstorm
just joined
Posts: 14
Joined: Wed Sep 24, 2014 8:05 am

Re: Route LAN IP to another LAN

Thu Sep 25, 2014 8:29 am

No NAT is needed.
NAT is needed if devices behind LAN2, LAN3 doesn't know routes to LAN1 subnet. I.e. if the same Mikrotik device aren't default router for them.
Of course it is better to setup routes there, than to NAT it.
 
iaraptis
just joined
Topic Author
Posts: 7
Joined: Wed Sep 24, 2014 11:11 am

Re: Route LAN IP to another LAN

Thu Sep 25, 2014 8:35 am

Thank you all for your answers.

I followed noib instructions and the problem is solved

Once again thank you all for you time