Community discussions

MikroTik App
 
Hellbound
Long time Member
Long time Member
Topic Author
Posts: 508
Joined: Tue Oct 26, 2004 11:21 am

Dual Gateway (OSPF, NAT and Transparent web proxy)

Fri Sep 23, 2005 8:16 pm

hi guys,

how is it possible to choose the shortest path within two ISP link and while doing NAT and Transparent Web-proxy?

as far as I know it must be related to OSPF.

thanks
 
User avatar
tneumann
Member
Member
Posts: 394
Joined: Sat Apr 16, 2005 6:38 pm
Location: Germany

Fri Sep 23, 2005 9:43 pm

OSPF is usually not useful in finding the shortest path to any destination on the internet
beyond your autonomous system (AS). That's because OSPF is an IGP.

To determine the shortest (not necessarily with the best performance!) path through your
uplink ISPs you'd use BGP.

Use OSPF to tell everything inside your AS the shortest (best)
path to your internet gateway(s), and use BGP on the gateway(s).

It usually makes no sense to export EBGP routes into OSPF.


--Tom
 
Hellbound
Long time Member
Long time Member
Topic Author
Posts: 508
Joined: Tue Oct 26, 2004 11:21 am

Fri Sep 23, 2005 9:48 pm

I will have better understanding if you point some article explaining bgp.

the purpose of this question is that i have a two different ISP which one have better performance over internation sites and the other for local sites which may even have viceversa effect on certain sites.

So I want it dynamically choose each link for opening each separate sockets.

from my understanding using ECMP (simply adding two gateways to a mt box) will cause a network conflict (bad performance over long sequence of downloading) or even stopping my transparent web-proxy for unknown reason (probably bad setup in my firewall)

any idea of how exactly implement it?

thanks
 
User avatar
tneumann
Member
Member
Posts: 394
Joined: Sat Apr 16, 2005 6:38 pm
Location: Germany

Sat Sep 24, 2005 12:49 am

For BGP, I'd recommend that you read the book "Internet Routing Architectures"
by Sam Halabi, ISBN 157870233X. It's one of the standard books on the subject,
but everything is explained in terms of Cisco configuration. Anyway, it describes
the concepts very well.

Once you have read that book, then revisit the BGP section of the RouterOS manual
and you should be ready to go.

--Tom

Who is online

Users browsing this forum: BoraHorza, own3r1138, patrikg and 97 guests