Community discussions

MikroTik App
 
User avatar
RAHQGideon
newbie
Topic Author
Posts: 43
Joined: Wed Jun 30, 2010 9:18 am
Location: SA
Contact:

Rapidshare with ECMP Routing

Wed Jun 30, 2010 9:31 am

Hi Guys. I have the following problem with my RB1000. We are running 3 gateways and I am mangling port 80 to mark routing as HTTP. I then basically in routes pointing this routing mark to 3 gateways. (ECMP) My problem is that rapidshare is picking up different ip adresses on each upload or download session and is hence not working. So what I did is the following I found a script on this forum that searches for any DNS query containing rapidshare and add that to a adress list. I created a mangle rule to mark routing for this adress list and created a 0.0.0.0/0 route for it under this routing mark though one gateway but it still doesnt work.

mangle:
0   ;;; Rapidshare
     chain=prerouting action=mark-connection new-connection-mark=rapidshare-con passthrough=yes dst-address-list=rapidshare 

 1   chain=prerouting action=mark-packet new-packet-mark=rapidshare-pac passthrough=yes dst-address-list=rapidshare connection-mark=rapidshare-con 

 2   ;;; Rapidshare
     chain=prerouting action=mark-routing new-routing-mark=rapidshare passthrough=yes dst-address-list=rapidshare packet-mark=rapidshare-pac 
     connection-mark=rapidshare-con 

 3   ;;; HTTPS 443 Traffic
     chain=prerouting action=mark-routing new-routing-mark=HTTPS 443 passthrough=yes protocol=tcp dst-port=443 

 4   ;;; HTTP Traffic
     chain=prerouting action=mark-routing new-routing-mark=Route HTTP traffic to ECMP passthrough=yes protocol=tcp dst-port=80 

 5   ;;; FTP Traffic
     chain=prerouting action=mark-routing new-routing-mark=Route FTP traffic to ECMP passthrough=yes protocol=tcp dst-port=21 

 6   ;;; POP Traffic
     chain=prerouting action=mark-routing new-routing-mark=POP3 traffic passthrough=yes protocol=tcp dst-port=110 
Route:
 0 A S  ;;; Rapidshare
        0.0.0.0/0                          172.168.5.2        1       
 1 A S  ;;; HTTPS Traffic LB1
        0.0.0.0/0                          172.168.3.2        1       
 2 A S  ;;; HTTP Traffic ECMP LB1/2/3
        0.0.0.0/0                          172.168.1.2        1       
                                           172.168.3.2       
                                           172.168.5.2       
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: Rapidshare with ECMP Routing

Tue Jul 13, 2010 1:18 am

Move this rb1000 ecmp to pcc. You won't get this pronlem anymore..

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 118 guests