Net Eng

GLBP 본문

Network/실습

GLBP

欲心 2024. 6. 26. 11:55

■ GLBP

-Cisco전용 프로토콜로 HSRP와 VRRP의 단점을 보완하여 효율성 있게 각각의 Host들에게 로드밸런싱
-라우터들 사이에서 패킷의 Load Sharing을 수행하고 동시에 백업라인 구성으로 라우터 장애에 대비
-기본적으로 Round robin방식으로 부하를 분산
-GLBP는 각 그룹에 대해 하나의 AVG(Active Virtual Gateway)를 선택
-AVF(Active Virtaul Fowarder)는 AVG로부터 Virtual MAC주소를 할당받음
 =>007.b40X.XXYY (XXX=그룹번호, YY=그룹안의 개수)
-멀티 캐스트 주소 224.0.0.102를 사용하며 UDP 3222번을 이용

 

GLBP 토폴로지

 

ESW1

conf t
ip routing
int fa0/0
ip addr 192.168.1.1 255.255.255.0
no sh
int fa1/1
no sw
ip addr 192.168.11.1 255.255.255.0
router rip
passive-interface fa0/0
ver 2
net 192.168.11.0
net 192.168.1.0
no auto

 

ESW2

conf t
ip routing
int fa0/0
ip addr 192.168.1.2 255.255.255.0
no sh
int fa1/2
no sw
ip addr 192.168.22.1 255.255.255.0
router rip
passive-interface fa0/0
ver 2
net 192.168.22.0
net 192.168.1.0
no auto

 

ESW3

conf t
ip routing
int fa0/0
ip addr 192.168.1.3 255.255.255.0
no sh
int fa1/3
no sw
ip addr 192.168.33.1 255.255.255.0
router rip
passive-interface fa0/0
ver 2
net 192.168.33.0
net 192.168.1.0
no auto

 

ESW4

conf t
ip routing
int fa0/0
ip addr 192.168.1.4 255.255.255.0
no sh
int fa1/4
no sw
ip addr 192.168.44.1 255.255.255.0
router rip
passive-interface fa0/0
ver 2
net 192.168.44.0
net 192.168.1.0
no auto

 

R1

conf t
int fa1/1
no sw
ip addr 192.168.11.2 255.255.255.0
int fa1/2
no sw
ip addr 192.168.22.2 255.255.255.0
int fa1/3
no sw
ip addr 192.168.33.2 255.255.255.0
int fa1/4
no sw
ip addr 192.168.44.2 255.255.255.0
int fa0/0
ip addr 192.168.2.254 255.255.255.0
no sh
router rip
ver 2
net 192.168.11.0
net 192.168.22.0
net 192.168.33.0
net 192.168.44.0
net 192.168.2.0
no auto

 

PC

PC1
ip 192.168.1.11 255.255.255.0 192.168.1.254
PC2
ip 192.168.1.12 255.255.255.0 192.168.1.254
PC3
ip 192.168.1.13 255.255.255.0 192.168.1.254
PC4
ip 192.168.1.14 255.255.255.0 192.168.1.254
PC5
ip 192.168.2.1 255.255.255.0 192.168.2.254

 

■ GLBP 구성

 

ESW1

conf t
int fa0/0
glbp 37 ip 192.168.1.254
glbp 37 priority 105

 

ESW2

conf t
int fa0/0
glbp 37 ip 192.168.1.254
glbp 37 priority 104

 

ESW3

conf t
int fa0/0
glbp 37 ip 192.168.1.254
glbp 37 priority 103

 

ESW4

conf t
int fa0/0
glbp 37 ip 192.168.1.254
glbp 37 priority 102

 

GLBP 패킷 캡처

 

→ 각각의 PC에서 Ping을 보냈을 때 모두 부하분산되는 것을 확인할 수 있다.

 

■ 실습파일

GLBP.7z
0.01MB

'Network > 실습' 카테고리의 다른 글

Frame-Relay  (1) 2024.06.27
HSRP -2  (0) 2024.06.26
VRRP  (0) 2024.06.26
HSRP  (0) 2024.06.25
Etherchannel  (0) 2024.06.25