HSRP - Multiple Group Configuration
Cisco R&S 2016. 8. 16. 12:56 |2016/08/16 - HSRP - Hot Standby Router Protocol
이전글에서 제시한 HSRP에는 트래픽이 한곳으로만 집중된다는 문제점이 있다.
게이트웨이를 이중화하여 두개의 경로를 모두 사용하는것이 아니라,
하나의 경로를 사용하되, 장애에 대비한 백업경로를 두는 개념이기 때문이다.
이러한 문제점은 네트워크별로 여러개의 HSRP를 설정하여 액티브라우터를 분산시키면 해결된다.
=======================================================================================
위의 토플로지에서 PC1은 VLAN10에 연결되어있고, PC2는 VLAN20에 연결되어 있다.
VLAN10의 액티브라우터는 R1, VLAN20의 액티브라우터는 R2가 되도록 HSRP를 설정한다.
R1설정
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.252 255.255.255.0
standby 10 ip 192.168.10.254
standby 10 priority 110
standby 10 preempt
standby 10 track Serial2/0 100
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.252 255.255.255.0
standby 20 ip 192.168.20.254
standby 20 priority 50
R2설정
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.253 255.255.255.0
standby 10 ip 192.168.10.254
standby 10 priority 50
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.253 255.255.255.0
standby 20 ip 192.168.20.254
standby 20 priority 110
standby 20 preempt
standby 20 track Serial2/0 100
========================================================================================
설정결과확인
R1#show stan
FastEthernet0/0.10 - Group 10
State is Active
2 state changes, last state change 02:04:49
Virtual IP address is 192.168.10.254
Active virtual MAC address is 0000.0c07.ac0a
Local virtual MAC address is 0000.0c07.ac0a (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.368 secs
Preemption enabled
Active router is local
Standby router is 192.168.10.253, priority 50 (expires in 9.368 sec)
Priority 110 (configured 110)
Track interface Serial2/0 state Up decrement 100
IP redundancy name is "hsrp-Fa0/0.10-10" (default)
FastEthernet0/0.20 - Group 20
State is Standby
4 state changes, last state change 02:00:42
Virtual IP address is 192.168.20.254
Active virtual MAC address is 0000.0c07.ac14
Local virtual MAC address is 0000.0c07.ac14 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.356 secs
Preemption disabled
Active router is 192.168.20.253, priority 110 (expires in 7.468 sec)
Standby router is local
Priority 50 (configured 50)
IP redundancy name is "hsrp-Fa0/0.20-20" (default)
R2#show stan
FastEthernet0/0.10 - Group 10
State is Standby
4 state changes, last state change 02:03:48
Virtual IP address is 192.168.10.254
Active virtual MAC address is 0000.0c07.ac0a
Local virtual MAC address is 0000.0c07.ac0a (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.808 secs
Preemption disabled
Active router is 192.168.10.252, priority 110 (expires in 8.864 sec)
Standby router is local
Priority 50 (configured 50)
IP redundancy name is "hsrp-Fa0/0.10-10" (default)
FastEthernet0/0.20 - Group 20
State is Active
1 state change, last state change 02:02:39
Virtual IP address is 192.168.20.254
Active virtual MAC address is 0000.0c07.ac14
Local virtual MAC address is 0000.0c07.ac14 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.808 secs
Preemption enabled
Active router is local
Standby router is 192.168.20.252, priority 50 (expires in 7.500 sec)
Priority 110 (configured 110)
Track interface Serial2/0 state Up decrement 100
IP redundancy name is "hsrp-Fa0/0.20-20" (default)
========================================================================================
PC1은 R3로 가기위해 R1을 경유하나, R1이나 R1의 시리얼링크에 문제가 생긴경우 R2를 경유한다.
PC2는 R3로 가기위해 R2를 경유하나, R2나 R2의 시리얼링크에 문제가 생긴경우 R1을 경유한다.
'Cisco R&S' 카테고리의 다른 글
시스코 카탈리스트 스위치 가상으로 구현하기 - IOU, GNS3 v1.5.3 (0) | 2017.01.20 |
---|---|
LACP & PAgP (0) | 2016.08.25 |
GLBP - Gateway Load Balancing Protocol (0) | 2016.08.20 |
VRRP - Virtual Router Redundancy Protocol (0) | 2016.08.16 |
HSRP - Hot Standby Router Protocol (0) | 2016.08.16 |
VPN(PPTP) Server Configuration (0) | 2015.12.25 |
CCNA Labsim 공부할 수 있는 곳 (0) | 2015.04.27 |
ip default-network (0) | 2015.04.16 |