Community discussions

MikroTik App
just joined
Topic Author
Posts: 3
Joined: Sun Oct 31, 2004 7:32 pm

Download&Upload from 2 ISp

Sun Oct 31, 2004 7:34 pm

I have a Internet connection from 2 ISP but from one ISP i have just Download and from second ISP i have just Upload and i want to ask u is it possible, in the Router to bisect Download and Upload and my Client to have a Internet with upload and Download....
Can anybody tell me how is it possible to do with Mikrotik

Download&Upload from 2 ISp

Wed Dec 01, 2004 2:39 pm

i assume yo have two different ip block from both isp. i.e from isp A and from isp B. you want upstream traffic via isp A and downstream from isp B. simply, make default routing to isp A ( and use ip from isp B for your workstation.

see, your request will flow to isp A and you will have return from isp B. we use same method to combine local isp link for upstream and dvb downstream from satellite provider.
just joined
Topic Author
Posts: 3
Joined: Sun Oct 31, 2004 7:32 pm

Wed Dec 01, 2004 3:04 pm

I ask you for This because
I have just Download From Filiago... and Upload From another ISP
and i need to have this combination
User avatar
Member Candidate
Member Candidate
Posts: 140
Joined: Fri May 28, 2004 3:26 pm
Location: Norway, Østfold

Fri Dec 03, 2004 6:38 pm

This is not the same problem but very similar and should give you a kickstart.
This is Evren Yurtesen's respons to a guy, taken from my email archive:


Bill Wheeler wrote:
> Greetings! YazzY on #RouterOS gave me your name and told me to contact
> you regarding a problem I'm having. I'll try to give you all the
> details I can about the issue.
> I have many clients behind the router in 10.0.x.0/24 networks. I have
> two outbound connections, SDSL & Cable. We use the Cable as a backup
> just in case of problems usually. Well the SDSL provider has decided to
> block all outbound port 25 traffic that's not destined for their SMTP
> server. As I don't want to change over 200 PC's mail servers, I'm
> forced to come up with another solution.
> What I want to do is send just the SMTP & POP3 traffic out the Cable
> connection but leave everything else on the SDSL. I've tried src-nat,
> but it just refuses to work. I have tried it with a single interface
> for both outbound connections and with an interface for each. The
> traffic just does not obey my src-nat rules.
> YazzY has setup this type of thing with his network, but he did it with
> two IPs from the same provider on the same line. So I'm not sure it was
> identical or not.
> I've tried setting the to-src-address and leaving it blank. I've tried
> everything I can think of with no luck. The only time I was able to
> make it work was with ICMP only. I could traceroute out the alternate
> network, but can't seem to get any TCP traffic to use the alternate
> route/gateway.
> If there's any way you could help me with this, I'd be very grateful.
> If you have any sort of IM or IRC client and would care to chat
> real-time, I'd be more than willing to at any time of the day. I look
> forward to your reply.

You should have multiple routing tables in your mikrotik and use
flow marks to define which packets will use which table...

First from firewall, you go to Mangle section (well if you are using
winbox) and make a mangle rule select protocol TCP and port 25
and you should select in Action tab the action as Passhtrough and
FlowMark as hmm SMTP, it can be an text really, but this will mark all
your smtp traffic so we can reroute this later. At this moment this
setting wont effect anything until we make the changes in the routing table.

Then you go to IP-> Routes and there you add another table at Tables
tab. Lets name it as Cable and the main default route probably shows the
SDSL? right?
Then you go to Rules table and there you select Flow as SMTP and Table
as as Cable. This will make sure that the SMTP flow will be routed using
the Cable routing table.

You go to Routes tab now and from the dropdown list be sure that the
Cable routing table is selected. (There should be 'main' table also).
In the cable routing table, you just put a default route with
destination to the gw IP address of your cable router.

This should make all the traffic to port 25 of any host going through
your mikrotik to be forwarded to your cable gateway's IP address. Then
the gateway would forward it out.

I think its pretty simple way to do stuff. Next if you wanna add more
ports then you can add more mangle rules and mark the traffic as Cable,
all the traffic marked as Cable will use the Cable routing table so they
will go to Cable modem.
Frequent Visitor
Frequent Visitor
Posts: 92
Joined: Tue Oct 12, 2004 11:57 am
Location: Lebanon

Re: Download&Upload from 2 ISp

Mon Dec 06, 2004 9:24 am

see, your request will flow to isp A and you will have return from isp B. we use same method to combine local isp link for upstream and dvb downstream from satellite provider.

i have a downstream using a dvb i am using penta there any dvb card that works on mikrotik cause i am using the penta on a microsoft isa server . thanks a lot for the help

Who is online

Users browsing this forum: Baks38RUS, Bing [Bot], chinkung, Google [Bot], JCHARALLA, Solear, Zacharias and 99 guests