01-17-2008 03:59 AM - edited 03-03-2019 08:17 PM
Please find attached scenario and let me know whether this will work.
I have a single router and 2 ISP's from the same provider. In the attached scenario, can i achieve auto-redundancy and inbound and outbound load-sharing.
-Sai.
01-17-2008 04:19 AM
If u want load sharing u need to give "maximum-path 2" command.
Even a better configuration i suggest is creat a loopback address on both and form the ebgp session across it(use update source and ebgp-multihop command).Give two static route entry for on each router for the loopback address with nexthop as the other two interfaces IP,also give maximum-path cmd at both end.
try out this
arun
01-17-2008 04:28 AM
going a bit further.
1) Can i used local preference on R1 for outbound load sharing.
2) Can I used MED for incoming load sharing.
Will the partial config sent in the vsd work?
01-17-2008 04:31 AM
Hi,
Can you post your diagram in JPG format? Not all NetPro have privilege to use Visio everywhere/anywhere/anytime - and license.
If both links terminate in the same router (your router and ISP router). Use Arun's recommendation of using loopback (both routers), route statically the loopback IP Address, configure eBGP multihop of 2 using loopback IP Address, configure BGP multipath 2.
Check this link http://www.cisco.com/warp/public/459/40.html
Regards,
Dandy
01-17-2008 05:00 AM
01-17-2008 05:53 AM
Hi,
Arun's solution is really good if u want single neighbor relationship.
You can do load sharing for inbound traffic with MED and as-path as well.
Outbound traffic load sharing can be done by many ways.
Here is config for inbound traffice load sharing using med.
router bgp X
neigh 1.1.1.1 route-map MED out
neigh 2.2.2.2 route-map MED1 out
!
route-map MED permit 10
match ip address 10
set med 100
!
route-map MED permit 20
set med 200
!
route-map MED1 permit 10
match ip address 10
set med 200
!
route-map MED permit 20
set med 100
!
access-list 10 x.x.x.x x.x.x.x
HTH.
Cheers,
Nikhil E.
01-17-2008 09:27 PM
Hi Gurus,
instead of using maximum-paths 2, if i set the local preference on both the links equal, can I achieve load sharing?
-sai.
01-17-2008 09:36 PM
Hi sai,
Now what nikhil said is correct for incoming traffic .
Yes u can adjust local preference for outgoing traffic without using maximum-path.
Say you have x and y network at remote end.
If u want to use link 1 for traffic going to X and link 2 for traffic towards Y you can do so by making the local prefernce of X more for updates are coming from link 1 than 2 and similarly for Y at link 2.
Hence traffic towards X would use a link 1 and Y link 2,hence the load sharing u desire.. ;)
arun
01-17-2008 10:01 PM
if i am learning default routes from the service provider and for the ISP's AS, if i set a route map and set the local preference as 100, will I achieve load sharing?
-Sai.
01-17-2008 10:22 PM
hi sai,
Since you dont have a specific routes towards destination (ie,only default route)i think working out with local prefernce will not help.
In this case i think the method i suggested on my first post is better..
lets hear for any comments 4rm experts.. ;)
arun
01-17-2008 11:11 PM
I guessed it as much. If there is a tie on the local pref attribute, BGP would consider the next attribute and select the best path.
-Sai.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: