Community discussions

MikroTik App
 
SasnycoN
just joined
Topic Author
Posts: 4
Joined: Wed Apr 01, 2015 12:10 pm

Super tricky setup - 2 IPS with 3 static IPs and 2 local networks

Wed Apr 01, 2015 12:31 pm

Hi guys,

Can someone help me with the following setup:

I have 2 ISP. Let's call the ISP1 and ISP2.

ISP1 give us 2 static IP addresses secured by MAC :shock:
for example:
10.10.10.104
10.10.10.105
ISP2 give us 1 static IP addres secured by MAC:
20.20.20.1

Also we have 2 local networks. Let's call the LAN1 and LAN2. They need to use the 2 separate IP addresses that ISP1 provide us with and also both LAN networks need to have ISP2 as fallback.
LAN1: 192.168.10.0/24
LAN2: 192.168.20.0/24

Because that the ISP1 uses one port of the MikroTik and need to have 2 diferent MAC addresses I added a bridge to the Ether1 with a masquerade for it but now everything goes through the IP that the bridge gets (10.10.10.105) . I try different setups in the last week but if the network manage to work at all it always goes through the bridge's IP address. :?
 
SasnycoN
just joined
Topic Author
Posts: 4
Joined: Wed Apr 01, 2015 12:10 pm

Re: Super tricky setup - 2 IPS with 3 static IPs and 2 local networks

Sun Apr 05, 2015 12:29 pm

I will close this because I accidently post it twice.
 
error216216
newbie
Posts: 25
Joined: Fri May 23, 2014 2:07 am

Re: Super tricky setup - 2 IPS with 3 static IPs and 2 local networks

Sun Apr 05, 2015 5:18 pm

Create 2 virtual interfaces in metarouter and bridge them to ether1, create 2 meta routers and add vif1 to mr1 and vif2 to mr2.

Create another 2 virtual interfaces and assign vif3 to mr1 and vif4 to mr2

in mr1:
add to ether1(vif1) ip 10.10.10.104 with desired mac
add to ether2(vif3) ip 192.168.10.1/30 for example
masquerade everything with output interface ether1
don't forget to configure firewall

in mr2:
add to ether1(vif2) ip 10.10.10.105 with desired mac
add to ether2(vif4) ip 192.168.10.5/30 for example
masquerade everything with output interface ether1
don't forget to configure firewall

in main router:
add ip address to vif3 192.168.10.2/30
add ip address to vif4 192.168.10.6/30

----------------------

now you have gateway 192.168.10.1 on vif3 and 192.168.10.5 on vif4 and you can make PCC load balance with them or whatever
 
SasnycoN
just joined
Topic Author
Posts: 4
Joined: Wed Apr 01, 2015 12:10 pm

Re: Super tricky setup - 2 IPS with 3 static IPs and 2 local networks

Tue Jun 23, 2015 4:22 pm

Hi again,

I'm trying the suggested configuration but when I try to add the second metarouter i receive a not enough memory. So probably this model (RB750GL) do not have enough Ram memory to make to metarouters.
So is there any other way to achieve this results?