Community discussions

MikroTik App
 
cyph3r
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun May 25, 2008 12:21 pm
Location: Pakistan
Contact:

2 ISP Load Divide

Thu Sep 24, 2009 10:46 am

i want to route some site to (ADSL)Ether1 Like youtube.com , facebook.com ,orkut.com
and the other whole internet will work on (ISP)Ether2
(ADSL) Ether1
(ISP) Ether2
(LAN) Ether3

/ip firewall mangle 
add chain=prerouting protocol=tcp dst-port=80 content=youtube.com action=mark-routing new-routing-mark=you-tube-route passthrough=yes 
add chain=prerouting protocol=tcp dst-port=80 content=facebook.com action=mark-routing new-routing-mark=facebook-route passthrough=yes 
add chain=prerouting protocol=tcp dst-port=80 content=orkut.com action=mark-routing new-routing-mark=orkut-route passthrough=yes 
after this add routes to selected mark-routes 
Not Working
 
cyph3r
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun May 25, 2008 12:21 pm
Location: Pakistan
Contact:

Re: 2 ISP Load Divide

Fri Sep 25, 2009 5:39 pm

Waiting for replies !!!!!
 
cyph3r
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun May 25, 2008 12:21 pm
Location: Pakistan
Contact:

Re: 2 ISP Load Divide

Wed Sep 30, 2009 11:45 am

???????????????????????????????
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: 2 ISP Load Divide

Wed Sep 30, 2009 11:49 am

content is not used for webpage addresses, this will not work. you must use dst-address parameter, and use the IP address of that server
 
sleimanr
Member Candidate
Member Candidate
Posts: 176
Joined: Mon Oct 18, 2010 9:31 am

Re: 2 ISP Load Divide

Thu Dec 09, 2010 1:15 am

/ip firewall mangle 

add chain=prerouting protocol=tcp dst-port=80 dst-list=fb action=mark-routing new-routing-mark=facebook-route passthrough=yes 
 passthrough=yes

address list: name=fb ip:69.63.189.16
name=fb ip:69.63.189.11
name=fb ip:69.63.181.12

not working please i need solution
 
akosenko
newbie
Posts: 48
Joined: Fri Aug 21, 2009 8:56 am
Location: Lipetsk, Russia

Re: 2 ISP Load Divide

Thu Dec 09, 2010 8:58 am

i want to route some site to (ADSL)Ether1 Like youtube.com , facebook.com ,orkut.com
and the other whole internet will work on (ISP)Ether2
Why so perverted? :) Simple add route in route table for youtube and point the correct output interface:

/ip route add dst-address=74.125.127.93 gateway=Ether1 distance=10
/ip route add dst-address=74.125.95.93 gateway=Ether1 distance=10

Is that the way will not work?
 
sleimanr
Member Candidate
Member Candidate
Posts: 176
Joined: Mon Oct 18, 2010 9:31 am

Re: 2 ISP Load Divide

Thu Dec 09, 2010 10:45 am

not workinggggg!!
 
sleimanr
Member Candidate
Member Candidate
Posts: 176
Joined: Mon Oct 18, 2010 9:31 am

Re: 2 ISP Load Divide

Thu Dec 09, 2010 9:25 pm

Dear all,
I experimented with more than one way and that some of the ways
[admin@do] /ip firewall address-list> print
ADDRESS
0 f 69.63.189.11
1 f 69.63.189.16
2 f 69.63.181.12
[admin@do] /ip firewall mangle> print
 0   chain=prerouting action=mark-routing new-routing-mark=Akram Rules passthrough=no src-address=10.10.10.0/24 dst-address-list=f
0   chain=prerouting action=mark-routing new-routing-mark=Akram Rules 
     passthrough=no src-address=10.10.10.0/24 dst-address=69.63.189.0/28
[admin@do] /ip route> print
 1 A S  69.63.189.0/28                     reachable     192.168.1.1                                       1        FromCashe
please i need solution urgent

best regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: 2 ISP Load Divide

Thu Dec 09, 2010 9:30 pm

That makes no sense whatsoever.
/ip firewall mangle
chain=prerouting action=mark-routing new-routing-mark=MyLittleRoutingMark passthrough=no src-address=10.10.10.0/24 dst-address-list=f
/ip route
add dst-address=0.0.0.0/0 gateway=a.b.c.d routing-mark=MyLittleRoutingMark distance=0
replace the gateway IP address in that route with the gateway you want to route the traffic for that destination through, and set the distance on your default routes to 1 (they default to 0).

Given what you tried and your sense or urgency you may be better off hiring a consultant for this.
 
sleimanr
Member Candidate
Member Candidate
Posts: 176
Joined: Mon Oct 18, 2010 9:31 am

Re: 2 ISP Load Divide

Thu Dec 09, 2010 10:03 pm

if i tried to www.alfa.com.lb it is working 100%

if i treid to facebook or youtube not working the page cant be displayed
 
akosenko
newbie
Posts: 48
Joined: Fri Aug 21, 2009 8:56 am
Location: Lipetsk, Russia

Re: 2 ISP Load Divide

Thu Dec 09, 2010 10:07 pm

not workinggggg!!
Very weird behavior. On my router (ROS 4.13) this method works very good. Did you try check this config with tracert command?
 
sleimanr
Member Candidate
Member Candidate
Posts: 176
Joined: Mon Oct 18, 2010 9:31 am

Re: 2 ISP Load Divide

Thu Dec 09, 2010 10:41 pm

how can check?

i have v 3,20
 
sleimanr
Member Candidate
Member Candidate
Posts: 176
Joined: Mon Oct 18, 2010 9:31 am

Re: 2 ISP Load Divide

Fri Dec 10, 2010 12:33 am

i tried v 4.5 stil same
 
akosenko
newbie
Posts: 48
Joined: Fri Aug 21, 2009 8:56 am
Location: Lipetsk, Russia

Re: 2 ISP Load Divide

Fri Dec 10, 2010 10:03 am

how can check?
user tracert, pathping commands in your windows OS or mtr command in your Linux OS and look what gateway will be selected.
 
sleimanr
Member Candidate
Member Candidate
Posts: 176
Joined: Mon Oct 18, 2010 9:31 am

Re: 2 ISP Load Divide

Fri Dec 10, 2010 3:05 pm

look at tracert
You do not have the required permissions to view the files attached to this post.
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1075
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: 2 ISP Load Divide

Tue Dec 14, 2010 2:45 pm

Well, keep in mind that facebook has not only one server address, it could be in different IP-s.
And also, the most important is that facebook does not comunicate on port 80 but on the 443, the HTTPS port.

Who is online

Users browsing this forum: adwlodaro, sailren and 50 guests