Page 1 of 1
Please help with routing
Posted: Fri Feb 23, 2007 11:32 pm
by jaredharet
I have 2 ISP
And i wont
1 ISP for - ftp, http, skype, icq, game traffic
2 ISP for p2p traffic
Posted: Fri Feb 23, 2007 11:35 pm
by maximan
check policy routing on manual
Maximiliano
Posted: Fri Feb 23, 2007 11:53 pm
by jaredharet
I add 2 isp and i have internet but i have to add priority for other port.
Exemple.
I want all request for port 80 -------> ISP1
And sorry for my bad English.
Posted: Sat Feb 24, 2007 9:16 am
by mneumark
Rough example,
See manual for more details
http://www.mikrotik.com/testdocs/ros/2.9/ip/route.php
*** Replace x.x.x.x with your gateway to the ISP of your choice... ***
/ip firewall mangle add chain=prerouting protocol=tcp dst-port=80 action=mark-routing new-routing-mark=HTTPForward passthrough=yes comment="" disabled=yes
Then add a route for the new marked routing...
/ip route add gateway=x.x.x.x routing-mark=HTTPForward comment="HTTP Traffic" disabled=no
Then add a route rule for the new routing...
/ip route rule add src-address=0.0.0.0/0 table=HTTPForward action=lookup
Posted: Sat Feb 24, 2007 11:57 am
by jaredharet
ISP gateway is 192.168.2.1
When i add
/ip route add gateway=192.168.2.1 routing-mark=HTTPForward comment="HTTP Traffic" disabled=no
And i haven`t ping to mikrotik and i haven`t internet
Posted: Sun Feb 25, 2007 9:11 am
by mneumark
If you are unable to ping your MT you might have a firewall or something else going on... This rule shouldn't effect icmp packets.
Posted: Mon Feb 26, 2007 11:18 pm
by jaredharet
How to disable uploud traffic through ISP1
Posted: Tue Feb 27, 2007 2:09 pm
by jwcn
Check out the load balancing section in the Wiki