EBGP load balancing

netuser786

Junior Member
Apr 21, 2012
16
0
0
hi,
I am a beginner in networking area, while reading about the BGP rules i came to know about the longest prefix match.in this regard, i thought if we have:


138.39/16 / ISP3 \ 138.39.1/24
/ \
/ \
ISP1 _____P2P_____ISP2 138.39.1/24
138.39/16 \ /
\ /
CUSTOMER
138.39.1/24


i saw these slides online while doing search for BGP. according to this figure ISP3 will send the traffic to customer thru ISP2 due to the longest prefix match rule.ofcourse, ISP1 and ISP2 both are providers of the customer. i want to ask that if the network route thru ISP2 becomes congested or have higher load, but since due to the longest prefix match ISP3 will still send data through ISP2, how can the load be balanced in this situation?
i found a solution to this which says split the prefix in two, to balance the load. would that work?
can there be some other way to balance the load while keeping the BGP rules valid??:\:\
 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
Short answer is that you can't.

Long answer is that BGP engineers are paid great sums of money to design these networks.

Basically, under the most basic configuration, BGP behaves exactly like RIP--it uses a strict hop count to determine a path. The hop count is not the number of routers, but rather the number of autonomous systems between you and the destination prefix. It is not possible to know what is going on in the downstream autonomous systems, however, so there's little that you can do to circumvent congestion in someone else's network.

There are a variety of metrics that the customer could use to influence upstream routing, from communities (depending on providers) and AS Path padding. For your part, you could configure your router to multipath. This may or may not be a good idea, depending on what it is you are actually trying to accomplish, as it can have some other interesting effects.

Basically, unless there is a very, very specific goal you need accomplished, it's unlikely that you're going to properly be able to loadbalance your connections TO someone else's network through any number of third-party networks. At best, the destination could influence the route the rest of the world takes to get to them.
 

Gryz

Golden Member
Aug 28, 2010
1,551
204
106
As a rule of thumb, all routing protcols in the TCP/IP protocol suite do never take load or congestion into consideration when computing routes.

There is technology to adjust your traffic flows according to load and congestion. Those technologies are called "traffic engineering". Strictly speaking, this is not done by the routing protocols, but by other parts of software. E.g. there is something called "MPLS Traffic Engineering" that can dynamically alter the flow of traffic through your network. But this is pretty advanced technology, and I suggest a beginner would not bother learning about it yet. There are many other subjects to learn which are just as interesting.
 

Lithium381

Lifer
May 12, 2001
12,452
2
0
Learn about the IGP's first(RIP, OSPF, maybe even EIGRP) and then get your feet wet with BGP. It's a very "simple" protocol but with LOTS of power for making it behave how you want.

In your case, you seem to be looking for a routing protocol that will dynamically switch routes when one route gets too congested. The only one that could do that off the top of my head would be EIGRP which is a cisco proprietary protocol and not suited for inter-AS routing on a large scale.

You can definitely tweak the routes and "load balance" and force some destinations to be reachable through a sub-optimal route to alleviate some of the congestoin on a particular link using BGP though.

Also, try using the <code> tags to make your diagram more readable . .
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |