RadarURL

네트워크
2023.05.31 08:56

BGP Load Balacing to multiple ISPs(AS)

조회 수 742 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

 

BGP Load Balacing to multiple ISPs(AS)
syedraheel
 
 Beginner
Beginner
 

Hi !

How can we acheive BGP Load Balacing(not load sharing) to two different ISPs(different ASs) when we have (a single router) and also if we have (two routers) at customer end and our own public AS and IP pool.

Regards,

Raheel

 
 
1 Accepted Solution
 
 

 

Giuseppe Larosa
 
 

Hello Raheel,

>> This is for load sharing only, what I am looking for is true load balancing.

you can attempt to but results are not guarenteed specially on the return path.

you can use something like

router bgp xx

bgp bestpath as-path multipath-relax

+

maximum paths 2

! the first command is hidden and allows to install two BGP routes with same AS path length and other parameters one coming from ISP1 and one coming from ISP2.

if the edge BGP routers are two you can play on the internal side using multiple static or multiple dynamic default routes on firewalls or core routers and an iBGP session between the two on a separate link is almost necessary.

if client Vlans directly connect to the two edge routers the use of GLBP is enough to achieve load balancing if the number of client devices is not small.

All of above can help in the outbound, towards the internet, direction but little can be done for return path.

You can play with selective AS path prepending in order to advertise different IP prefixes with different AS path lengths to ISP1 and ISP2 in order to try to influence return path, but you cannot get an exact load balancing just the use of both ISPs/links.

Hope to help

Giuseppe

View solution in original post

 
 
4 Replies
 

 

 
Giuseppe Larosa
 
Hall of Fame Master  Hall of Fame Master
Hall of Fame Master
 

Hello Raheel,

see for single edge router

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a008009456d.shtml

for other cases including multiple customer edge routers see:

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml

with your own AS number and your own public IP address block you are fine for BGP multihoming.

Hope to help

Giuseppe

 
 

 

 

Hi Giuseppe,

This is for load sharing only, what I am looking for is true load balancing.

 
 

 

 

Raheel,

You need to add third party internet link load balancer in front of your cisco gateway router and it works fine as I did. I also tried to load balance 2 internet links with IPsec VPN on Cisco router 1811 and 2811 but failed,

You can contact me for further detail. junaid.abbas.shah@gmail.com 0322-6447201

Regards,

Junaid

 
 

 

 
Giuseppe Larosa
 
 

Hello Raheel,

>> This is for load sharing only, what I am looking for is true load balancing.

you can attempt to but results are not guarenteed specially on the return path.

you can use something like

router bgp xx

bgp bestpath as-path multipath-relax

+

maximum paths 2

! the first command is hidden and allows to install two BGP routes with same AS path length and other parameters one coming from ISP1 and one coming from ISP2.

if the edge BGP routers are two you can play on the internal side using multiple static or multiple dynamic default routes on firewalls or core routers and an iBGP session between the two on a separate link is almost necessary.

if client Vlans directly connect to the two edge routers the use of GLBP is enough to achieve load balancing if the number of client devices is not small.

All of above can help in the outbound, towards the internet, direction but little can be done for return path.

You can play with selective AS path prepending in order to advertise different IP prefixes with different AS path lengths to ISP1 and ISP2 in order to try to influence return path, but you cannot get an exact load balancing just the use of both ISPs/links.

Hope to help

Giuseppe

 
 

 

출처 : https://community.cisco.com/t5/routing/bgp-load-balacing-to-multiple-isps-as/td-p/1566594

?

공부 게시판

공부에 도움되는 글을 올려주세요.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 [공지] 공부 게시판 입니다. 처누 2003.08.18 930550
2503 유닉스/리눅스 리눅스 서버 설치 중 에러 "Failed to find a suitable stage1 device" JaeSoo 2025.10.03 21
2502 유닉스/리눅스 Linux 11 . Linux 설치 시 lvm 수동설정 JaeSoo 2025.10.03 14
2501 유닉스/리눅스 [Rocky Linux] 누구나 쉽게 따라하는 Rocky Linux 9.0 OS 다운로드 및 설치 방법~!! JaeSoo 2025.10.03 18
2500 유닉스/리눅스 Linux/Rocky Linux Rocky Linux : Composer 설치 JaeSoo 2025.09.29 31
2499 유닉스/리눅스 [Rocky Linux] 록키 리눅스 최신 업데이트 적용 방법 JaeSoo 2025.09.29 31
2498 유닉스/리눅스 rocky linux 커널 업데이트 JaeSoo 2025.09.29 27
2497 웹서버,WAS [Windows] OWASP ZAP 사용법 JaeSoo 2025.09.29 35
2496 웹서버,WAS [웹 취약점] 웹서버 디렉토리 리스팅 방지 JaeSoo 2025.09.29 31
2495 유닉스/리눅스 Clonezilla(클론질라) 백업파일 하드디스크로 복구 방법 JaeSoo 2025.09.28 36
2494 유닉스/리눅스 클론질라 사용 방법 - OS 이미지 백업 CloneZilla JaeSoo 2025.09.28 34
2493 유닉스/리눅스 [Linux / Rocky] FTP 접속 관련 설정 실습 예제 JaeSoo 2025.09.23 48
2492 유닉스/리눅스 Could not reliably determine the server's fully qualified domain name JaeSoo 2025.09.23 45
2491 유닉스/리눅스 [아파치] 아파치 웹서버에 .htaccess 파일 설정하는 방법 JaeSoo 2025.09.23 51
2490 유닉스/리눅스 [Linux] Apache web server의 rewrite module 사용하기 [출처] [Linux] Apache web server의 rewrite module 사용하기|작성자 g00dmoney JaeSoo 2025.09.23 45
2489 유닉스/리눅스 록키 리눅스 9.1에서 apache, mysql, PHP 설치 JaeSoo 2025.09.23 48
2488 유닉스/리눅스 [권한문제] 라이믹스 Fatal error: Uncaught Rhymix\Framework\Exception: Cannot write template cache file JaeSoo 2025.09.23 37
2487 유닉스/리눅스 라이믹스 php 에러 표시 JaeSoo 2025.09.23 36
2486 유닉스/리눅스 Rocky Linux - 라이믹스(Rhymix) 설치하기 JaeSoo 2025.09.23 33
2485 유닉스/리눅스 라이믹스(Rhymix) 매뉴얼 JaeSoo 2025.09.23 25
2484 유닉스/리눅스 [ Apache ] 아파치 start/stop/restart 명령어 JaeSoo 2025.09.23 21
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 126 Next
/ 126


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너