Page 1 of 1

2 ISP Load Divide

Posted: Thu Sep 24, 2009 10:46 am
by cyph3r
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

Re: 2 ISP Load Divide

Posted: Fri Sep 25, 2009 5:39 pm
by cyph3r
Waiting for replies !!!!!

Re: 2 ISP Load Divide

Posted: Wed Sep 30, 2009 11:45 am
by cyph3r
???????????????????????????????

Re: 2 ISP Load Divide

Posted: Wed Sep 30, 2009 11:49 am
by normis
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

Re: 2 ISP Load Divide

Posted: Thu Dec 09, 2010 1:15 am
by sleimanr
/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

Re: 2 ISP Load Divide

Posted: Thu Dec 09, 2010 8:58 am
by akosenko
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?

Re: 2 ISP Load Divide

Posted: Thu Dec 09, 2010 10:45 am
by sleimanr
not workinggggg!!

Re: 2 ISP Load Divide

Posted: Thu Dec 09, 2010 9:25 pm
by sleimanr
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

Re: 2 ISP Load Divide

Posted: Thu Dec 09, 2010 9:30 pm
by fewi
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.

Re: 2 ISP Load Divide

Posted: Thu Dec 09, 2010 10:03 pm
by sleimanr
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

Re: 2 ISP Load Divide

Posted: Thu Dec 09, 2010 10:07 pm
by akosenko
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?

Re: 2 ISP Load Divide

Posted: Thu Dec 09, 2010 10:41 pm
by sleimanr
how can check?

i have v 3,20

Re: 2 ISP Load Divide

Posted: Fri Dec 10, 2010 12:33 am
by sleimanr
i tried v 4.5 stil same

Re: 2 ISP Load Divide

Posted: Fri Dec 10, 2010 10:03 am
by akosenko
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.

Re: 2 ISP Load Divide

Posted: Fri Dec 10, 2010 3:05 pm
by sleimanr
look at tracert

Re: 2 ISP Load Divide

Posted: Tue Dec 14, 2010 2:45 pm
by Caci99
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.