Community discussions

MikroTik App
 
ihernandez
Member Candidate
Member Candidate
Topic Author
Posts: 151
Joined: Sat Apr 12, 2008 4:18 pm

2 ISP's

Thu Jan 14, 2010 11:51 pm

Hello my friends I have two ISP's and both converge in my RB1000. What I wish to do is to force a specific subnet tha is in another node to find internet through the ISP I wish. For example, ISP A is used for dedicated internet access for companies. ISP B is used for residential internet access (Both converge in an RB1000). In a remote location I have a 123.123.123.0/24 subnet and I wish to force it to access the internet through ISP B. How would I do that?
Thanks once again in advance for sharing your knowledge.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: 2 ISP's

Fri Jan 15, 2010 12:09 am

Search the forums, google and the wiki for 'policy routing'.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: 2 ISP's

Fri Jan 15, 2010 12:35 am

like http://wiki.mikrotik.com/wiki/Per-Traff ... _Balancing , just change classifying by ports to classifying by src-addresses =)
 
fatty
just joined
Posts: 6
Joined: Mon Dec 28, 2009 6:57 pm

Re: 2 ISP's

Mon Jan 18, 2010 10:22 am

Hello,

What if there is PPPoE server, RADIUS server and public IP's for customers ? How to setup profile to work with both ISP's ? ISP A 10.0.1.0/24 , ISP B 10.0.2.0/24? What is local address in pppoe profile if remote address is pool with ISP A IP's, and next pool ISP B IP's?
How to make load balance with public IP's ? If ISP A is 3/4 and ISP B 1/4 of available bandwith? Any idea ?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: 2 ISP's

Mon Jan 18, 2010 2:06 pm

local address = any address

for balancing, use, for example, http://wiki.mikrotik.com/wiki/PCC#Appli ... _Balancing - just expand it to 4 'virtual' lines, three of them being ISP1 and fourth one - ISP2
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: 2 ISP's

Tue Jan 19, 2010 8:54 am

If we have a block of public ip addresses (using public ips for users and don't use NAT) and the connection to other ISPs made by BGP , again this is possible ?
 
RK
Long time Member
Long time Member
Posts: 565
Joined: Tue Nov 21, 2006 11:22 am
Location: Winnipeg, Canada and Central America

Re: 2 ISP's

Tue Jan 19, 2010 12:44 pm

If we have a block of public ip addresses (using public ips for users and don't use NAT) and the connection to other ISPs made by BGP , again this is possible ?
Then you need to use BGP (distances, priorities, prepends etc.) to control traffic flow.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: 2 ISP's

Tue Jan 19, 2010 3:53 pm

If we have a block of public ip addresses (using public ips for users and don't use NAT) and the connection to other ISPs made by BGP , again this is possible ?
was discussed on the forum already... you simply divide your addresses into smaller parts and announce some addresses to ISP1, and other addresses to ISP2. in this way you balance incoming traffic
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: 2 ISP's

Wed Jan 20, 2010 9:48 am

you simply divide your addresses into smaller parts and announce some addresses to ISP1, and other addresses to ISP2. in this way you balance incoming traffic
If we divide ip block so always some of bandwidth wasted . lets assume we have /21 of ip addresses which assign to pppoe users via radius server . if we divide /21 then sometimes users of isp1 may need more bandwidth but isp2 has free bandwidth and vise versa .
Is there a way to implement it without divide the block ?
Then you need to use BGP (distances, priorities, prepends etc.) to control traffic flow.
seems more related to my request . please explain more . lets assume isp1 has 50Mb bandwidth and isp2 has 20Mb .
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: 2 ISP's

Fri Jan 22, 2010 2:16 pm

AFAIK, you cannot say to your upstream providers 'if you got too much traffic for me, send some of packets not to me but to another provider, so that I receive them via their link'. at least via BGP =)
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: 2 ISP's

Sat Jan 30, 2010 12:26 pm

was discussed on the forum already... you simply divide your addresses into smaller parts and announce some addresses to ISP1, and other addresses to ISP2. in this way you balance incoming traffic
if we can not guess that how much bandwidth a smaller block of ip needs , for example ips are dynamic so you say there is not another solution ?
AFAIK, you cannot say to your upstream providers 'if you got too much traffic for me, send some of packets not to me but to another provider, so that I receive them via their link'. at least via BGP =)
Seems technology is very disappointed
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: 2 ISP's

Sat Jan 30, 2010 1:34 pm

Seems technology is very disappointed
Clipboard01.gif
how can IX router know, that your Line1 is congested and he should send traffic to ISP2 to use Line2?
You do not have the required permissions to view the files attached to this post.
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: 2 ISP's

Mon Feb 22, 2010 12:22 pm

Any ideas to implement http://www.nil.com/ipcorner/LoadBalancingBGP/ in Mikrotik RouterOS ?
I think it will be very helpful for others also .
 
danix
newbie
Posts: 25
Joined: Mon Feb 22, 2010 12:29 am
Location: Romania
Contact:

Re: 2 ISP's

Mon Feb 22, 2010 3:47 pm

ihernandez,
how many clients do you have on the rb1000 ? because i want to buy the rb1000u and i want to know how many clients it works with the rb1000u ( 300 clients 500 clients 1000 , 2000 clients ? how much ? ) thank you
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: 2 ISP's

Mon Feb 22, 2010 11:42 pm

Any ideas to implement http://www.nil.com/ipcorner/LoadBalancingBGP/ in Mikrotik RouterOS ?
what exactly of that?.. extended community for link bandwidth?..
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: 2 ISP's

Tue Feb 23, 2010 9:37 am

bgp-loadbalance-bandwidth.jpg
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: GoogleOther [Bot], mansuramir, shahzaddj1 and 181 guests