Community discussions

MikroTik App
 
User avatar
Shino214
just joined
Topic Author
Posts: 7
Joined: Fri Jul 24, 2020 10:38 am

Help me setup 2 ISP

Thu Feb 11, 2021 12:22 pm

I have 2 ISP, what I would like to do is ISP 1 in port 1 will be the default and can be used by all. while ISP 2 in Port 2 will be dedicated for online games like CS:GO, dota 2, LoL, Wild Rift, ML and can only be used by specific mac address or devices like computer and mobile phones.

can someone guide me or give any idea how too?

the mikrotik is currently in default state.
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Help me setup 2 ISP

Thu Feb 11, 2021 12:56 pm

 
User avatar
Shino214
just joined
Topic Author
Posts: 7
Joined: Fri Jul 24, 2020 10:38 am

Re: Help me setup 2 ISP

Thu Feb 11, 2021 3:01 pm

thanks will try to learn in by my own, else I will post here again when still have problems setting it up, although an example will be great help.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19099
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Help me setup 2 ISP

Thu Feb 11, 2021 8:29 pm

Much easier if you can dedicate a specific subnets, vlans, to use ISP 2. (no mangling required)
If you want to do it by individual IIP addresses its harder but doable (mangling required)
Dont recommend trying stuff by mac address gets complex.

The first method allows some flexibility in that all traffic will go to the default ISP, unless someone logs into the router within a specific subnet (s) or vlan(s).
For example if I have two ethernet jacks by my computer , I can use the upper for regular work ISP1, and the lower jack for gaming.

What do I mean.
Well This is the regular setup
MAIN ISP route distance=5
SECONDARY ISP route distance=10

Based on the above routes all outbound traffic will go out ISP1

Now add a third route for the Secondary ISP
SECONDARY ISP route distance=10 ROUTING MARK=gamers

Now add a route rule.
Source address=subnet_of_your choosing such as 192.168.10.0/24
[OR]
interface=vlan20 (as an example)
ACTION: Lookup Only in Table
TABLE: gamers

In this way telling the router any traffic coming from source subnet or vlan interface should go out ISP1

You can make more rules for each subnet or vlan that this applies too......
No mangling rules required. :-)

Who is online

Users browsing this forum: dominiaz, ericksetiawan, JDF and 88 guests