Community discussions

MikroTik App
 
siicis
just joined
Topic Author
Posts: 1
Joined: Thu Sep 13, 2012 10:15 am

Two seperate LAN/WAn on one router

Sun Sep 16, 2012 9:20 pm

Hello!
I want to configure my router 751U-2HnD to use it with to seperate LANs with connects to seperate WANs.
Here is a picture to explain
2lan-2wan.png
I have DSL modem with option to connect two computer so I can get two WAN links with seperate public IPs.
I wish to connect LAN2 to my work with IPSEC VPN. I know it will not work if my WAN IP changes but it is ok, this connection is for test purpse only.
I am new to mikrotik, so please help me!
You do not have the required permissions to view the files attached to this post.
 
burkni
newbie
Posts: 29
Joined: Tue Mar 29, 2011 1:55 pm

Re: Two seperate LAN/WAn on one router

Mon Sep 24, 2012 12:23 pm

Hi.
This should not be hard to do. How do you get the IP from the modem or your ISP? PPPoE? Anyways, you have to separate the interfaces. I don't know the router you are using but I guess it's similar to RB750G and I know them. :)
Setting up PPPoE client (or whatever you are using) for WAN1 and connect it to interface ether1. Set up another PPPoE client for WAN2 and connect it to ether5.
Ether 3 would be set to have ether2 as master port.
This should create a masquerade NAT rule but you might have to tweak it to work right. I haven't used dual WAN but I'd guess you'd have to add either src address to the rule or IN interface.
Hope this helps you or at least points you in the right direction.