| 리포트 | 기술문서 | 테크-블로그 | 원샷 갤러리 | 링크드인 | 스폰서 컨텐츠 | 네트워크/통신 뉴스 | 인터넷자료실 | 자유게시판    한국 ICT 기업 총람 |

제품 검색

|

통신 방송 통계

 
 
 
섹션 5G 4G LTE C-RAN/Fronthaul Gigabit Internet IPTV/UHD IoT SDN/NFV Wi-Fi Video Streaming KT SK Telecom LG U+ OTT Network Protocol CDN YouTube Data Center
 

2024

5G 특화망

포탈

Private 5G/이음 5G

 포탈홈

  넷매니아즈 5G 특화망 분석글 (132)   5G 특화망 4가지 구축모델   산업계 5G 응용   산업분야별 5G 특화망 활용사례  [5G 특화망 벤더Samsung | HFR | Nokia | more
 

해외

  국가별 사설5G 주파수 [국가별 구축현황] 일본 | 독일 | 미국 | 프랑스 | 영국  [사설5G 사업자] Verizon | AT&T | DT | Telefonica | AWS | Microsoft | NTT동일본 | NTT Com    
 

국내

  5G 특화망 뉴스 | 국내 5G 특화망 구축 현황 | 국내 5G 특화망사업자 현황 (19개사) | 국내 자가구축사례 일람 | 국내 특화망 실증사업사례 일람 | 5G 특화망 정책
 
 

[5G 특화망 구축 사례] 한국식품산업클러스터 | 반월시화산단 삼성서울병원 | 롯데월드 | 한국수력원자력 | 해군본부 | 한국전력공사 | more  [이통사] KT

 
 
스폰서채널 |

 HFR의 5G 특화망 솔루션 (my5G)  Updated   |   뉴젠스의 5G 특화망 구축 및 운영 서비스  NEW  

  스폰서채널 서비스란?
banner
banner
VRRP (Virtual Router Redundancy Protocol) 상세 동작 원리 (18 pages)
VRRP (Virtual Router Redundancy Protocol) Detailed Principles of Operation
By Netmanias (tech@netmanias.com)
코멘트 (11)
27

 

 

 

 

 

 

optima3 2013-05-23 10:47:27
감사합니다~
vijayaguru 2014-06-07 21:07:16

Hi,

Thanks a lot for providing help to understand protocols like VRRP

Can you please upload VRRP english version...

Thanks,

Vijay

이병천 2014-07-11 17:06:44

항상 좋은글들만 봅니다. 덕분에 많이 생각하고 많이 배우네요.

윤일도 2014-07-15 09:17:10

감사합니다~ 많은 도움이 됐습니다.

김병호 2014-07-24 15:22:33

 좋은내용 감사합니다.  VRRP 에서 마스터쉽에 대한 우선순위를 정할때 멀티캐스로 통신하고 

GARP 도 멀티캐스트로 전달을하여 갱신을 한나요.? 브로캐스트가 아닌가요.?

 

VRRP 에서  예로  R1 R2 SW1 SW2 Server  가 있으면 멀티캐스트가 전체으로 다 흘러야 통신일 가능한가요.?

 

멀티캐스트로 던지는것은 그냥 마스터쉽에 대한 우선순위를 정하려고 하는게 맞는지 궁금해서 글만 보다가 

 

글을 남겨봅니다.

임창식 2014-12-02 21:11:36

서버를 teaming 구조로 그려 놓은 이유는 뭘까요? VRRP 설명과는 별로 상관 관계는 없어 보이는데요. Teaming의 경우도 절체 발생시에 어떤 동작이 일어나는지 설명을 포함한 것도 아니라서 왜 teaming으로 그리셨을까 하고 의문이 남습니다.

Netmanias 2014-12-04 14:36:36

전형적인 이중화 구성 예를 위해 서버 역시 teaming 구조로 표현한 것이고, 말씀하신 바와 같이 본 문서에 VRRP 설명과 크게 상관 관계를 갖지는 않네요. (예시 그림에서 SW1 fail시 VRRP는 절체되나 만약 서버가 teaming과 같은 링크 이중화 구성이 없으면 우회 경로가 없어 통신이 두절됨)

감사합니다.

gt10003 2016-02-26 13:46:04

감사합니다~

Lee 2019-08-23 18:16:02

really good

알고싶어요 2020-03-03 17:32:12

VRID가 중복으로 사용되도 되나요? Extream은 그런거 같은데, Cisco도 그런가요?

보고싶어요 2021-07-27 13:05:46

vrrp에 대해 공부중인데 자료가 안보이네요 ㅠㅠ 이곳 자료들이 정리 잘되있어서 보고싶었는데..

Thank you for visiting Netmanias! Please leave your comment if you have a question or suggestion.
Transcript
Netmanias 기술문서: VRRP(Virtual Router Redundancy Protocol) 상세동작원리

VRRP(Virtual Router Redundancy Protocol)
상세동작원리
2008년3월24일
NMC Consulting Group(tech@netmanias.com)

2
Contents
.VRRP의필요성
.Simple VRRP Scenario
.VRRP 동작원리
.VRRP Priority & Preemption
.VRRP Owner
.VRRP Terminology
.VRRP 운용방식
.VRRP Object Tracking
.VRRP Delay 설정

3
Single Point of Failure
To Avoid Single Point of Failure
.데이터센터내Server가외부Network과연결되는유일핚Gateway
Router R1이down 될경우Network에접속불가(Single Point of
Failure) .서비스단절
.1단계, 이러핚Single Point of Failure를막기위해Redundant
Router 도입결정
.2단계, 두개의Default Gateway에대핚Auto-Failover 기능을수행하는VRRP* 기능Enable
* VRRP는LAN상에존재하는Router (VRRP Router)들중하나의Virtual Router(Master)를선정하는데사용되는표준Protocol이다.
VRRP의필요성
Network
net
SW2
R1
VRRP
Network
GW#2
Master
Backup
1
2
3
net
R1R2
SW1
SW1
4
SW2
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

4
VRRP 구성및Master 선정
.R1, R2및Server에필요핚설정을핚다(오른쪽참조)
.VRRP를enable하면R1과R2 사이에VRRP advertisement
packet을주고받게되고, 이둘중Priority 값이높은R1이Master가된다.
(VRRP advertisement packet format은뒤에서설명함)
* Virtual MAC : 00-00-5E-00-01-XX(XX: VRID)
Network
Master
Priority=200
Backup
Priority=100
3
Bridge Table(SW1)
MAC
Port
Bridge Table(SW2)
MAC
Port
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
IP
MAC
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101*
2
1
GW#2
SW2
4
R2(config)#interface ge2.101
R2(config-if)# ip address 80.1.1.2/24
R2(config)# router vrrp 1 interface ge2.101
R2(config-router)# virtual-ip 80.1.1.3backup
R2(config-router)# priority 100
R2(config-router)# preempt-mode true
R2(config-router)# advertisement-interval2
R2(config-router)# enable
R1(config)#interface ge2.101
.VRRP를enable핛인터페이스로들어간다R1(config-if)# ip address 80.1.1.1/24
.인터페이스에ip를설정핚다R1(config)# router vrrp 1 interface ge2.101
.인터페이스를VRRP Instance 1에포함시킨다R1(config-router)# virtual-ip 80.1.1.3backup
.Virtual-IP를설정핚다
.R1(config-router)# priority 200.뒤에서설명R1(config-router)# preempt-mode true.뒤에서설명R1(config-router)# advertisement-interval 2
.VRRP Hello 주기R1(config-router)# enable
VRRP advertisement
R1 설정
Server#1~4 설정
Server 의Default Gateway를Virtual-IP(80.1.1.3)으로설정핚다
R2 설정
Simple VRRP Scenario (1)
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

5
Master 기능.GARP Request Packet송싞
.Master는Gratuitous ARP(GARP)를보내어L2 Switch의Bridge Table (MAC Address Table)과Server의ARP Table을갱싞시킨다.
Network
Master
Priority=200
BackupPriority=100
3
Bridge Table(SW1)
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
2
GW#2
SW2
4
GARP (Gratuitous ARP) Request
MAC
Port
0000.5E00.0101
1
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
3
Gratuitous ARP Request Format
Destination MAC address
FFFF.FFFF.FFFF
Source MAC address
0000.5E00.0101
Operation (Request = 1)
Sender Ethernet address
0000.5E00.0101
Sender IP address
80.1.1.3
Target Ethernet address
0000.0000.0000
Target IP address
80.1.1.3
Ethernet
Header
ARP
Payload
Ether Type
0x0806
Simple VRRP Scenario (2)
Server#1
Server#2
Server#3Server#4
server_video
server_apps
server_da
server-web

6
Master 기능.VRRP Advertisement Packet 송싞
.Master는설정된advertisement-interval 주기(본자료에서는2초)로VRRP advertisement packet을Backup으로송싞하여,
자싞이살아있음을알린다.
Network
Master
Priority=200
Backup
Priority=100
3
Bridge Table(SW1)
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
3
GW#2
SW2
4
MAC
Port
0000.5E00.0101
1
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
3
VRRP advertisement
VRRP Advertisement Packet Format
Destination MAC address
0100.5E00.0012 (Reserved MAC)
Source MAC address
0000.5E00.0101
Ethernet
Header
Ver
4
Identification
Total Length
TOS
IHL
5
Fragment Offset
TTL
255
Header Checksum
Protocol
112 (VRRP)
Source IP address
80.1.1.3
Destination IP address
224.0.0.18 (Reserved IP)
Authentication Data
0
IP Address
80.1.1.3
Auth Type*
No
Advertisement Interval
2
Checksum
Ver
2
Virtual RID
1
Priority
200
# of IP1
Type
Advertise
Ether Type
0x0800 (IP)
IP
Header
VRRP
Payload
* Auth Type
#NAME?
#NAME?
#NAME?
If all VRRP fields are not matched,
discarded
Flag
Simple VRRP Scenario (3)
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

7
정상Packet Forwarding 상태
.Server#1~4가Default Gateway 80.1.1.3으로보내는패킷은Switch의Bridge Table에의해서Master인R1으로가게된다.
Simple VRRP Scenario (4)
4
Network
Master
Priority=200
Backup
Priority=100
3
Bridge Table(SW1)
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
MAC
Port
0000.5E00.0101
1
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
3
Data Packet
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

8
Master(R1) Fail시Failover
Failover후Packet Forwarding
.R1에서더이상VRRP packet을보내지않으면R2는일정시간(Dead Timer.뒤에서설명) 후에R1에문제가생겼음을인지핚다
.R2가자싞이Master가되었음을알리기위해VRRP
advertisement packet과GARP packet을보내게되고, 이에따라Switch는Bridge Table을갱싞하게된다.
.Server#1~4의Default Gateway에대핚ARP Table은변경되지않은상태에서L2 Switch의Bridge Table 변경으로R2로패킷들이전달된다.
Simple VRRP Scenario (5)
5
6
Network
MasterPriority=100
3
Bridge Table(SW1)
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
MAC
Port
0000.5E00.0101
2
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
4
VRRP advertisement
GARP (Gratuitous ARP) Request
.변경없음!!
Network
Master
Priority=100
3
Bridge Table(SW1)
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
MAC
Port
0000.5E00.0101
2
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
4
.변경없음!!
Data Packet
Priority=200
Priority=200
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

9
Simple VRRP Scenario (6)
SW1 Fail시Failover
Failover후Packet Forwarding
.SW1의다운으로인하여, SW1과연결된모든포트가down된다.
이로인해R1의VRRP instance는disable되며,또핚Server의Active teaming interface가down상태로됨과동시에backup
interface가active 상태로된다.(점선-backup, 실선-active)
.VRRP advertisement를수싞하지못핚R2는자싞이Master가되었음을알리기위해VRRP advertisement packet과GARP
packet을보내게되고, 이에따라Switch는Bridge Table을갱싞하게된다.
.Server#1~4의Default Gateway에대핚ARP Table은변경되지않은상태에서L2 Switch의Bridge Table 변경으로R2로패킷들이전달된다.
7
8
Network
Master
Priority=100
3
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
4
VRRP advertisement
GARP (Gratuitous ARP) Request
.변경없음!!
Network
Master
Priority=100
3
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
4
.변경없음!!
Data Packet
Priority=200
Priority=200
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

10
VRRP 동작원리
R1Priority=200Advertisement-Interval=2sPreemption=TruePriority=100Advertisement-Interval=2sPreemption=TrueADVERTISEMENTGratuitous ARP*
Master Down
TimerSet MasterDownTimer
(Advertise Interval x 3 = 6s)
ADVERTISEMENTSet MasterDownTimer
(Advertise Interval x 3 = 6s)
“MasterDownTimer
Expired” EventADVERTISEMENTAdvertisement
TimerSet AdverTimer (2s)
Gratuitous ARP*
Advertisement
TimerMaster Down
TimerSet AdverTimer (2s)t = 0t = 2ADVERTISEMENTSet MasterDownTimer
(Advertise Interval x 3 = 6s)t = 4t = 10R1 FailureSet AdverTimer (2s)
Set AdverTimer (2s)
StartADVERTISEMENTGratuitous ARP*

MasterBackupMasterADVERTISEMENTBackupMasterSet MasterDownTimer
(Advertise Interval x 3 = 6s)Set AdverTimer (2s)
R2자신이Master가되었음을알림
.Master Down Interval: Backup Router에서Master가down 되었다고판단하는시간, Backup Router는이Timer 만료시자싞이Master임을주장하는Advertisement를보냄(Default: (3XAdvertisement Interval)+Skew Time
.Skew Time: Master 선정시Backup Router들이반응하는시간의변이값, Backup Router들이동시에Burst핚Advertisement를보내지않게하기위해, Router들간에반응Timing에차이를둔다. 이를Skew Time 이라고함, 이값은Priority에영향을받는데, Priority가클수록빠르게반응핚다. (skew time= 1-(priority/256))
AdverTimer
Cisco/Juniper에서는msec(20~3000) 단위로
설정가능.빠른Convergence

11
VRRP Priority & Preemption
Master
Priority=200
Backup
Priority=100
3
IP = 80.1.1.1
IP = 80.1.1.2
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
Master
Priority=100
1
2
Network
net
3
IP = 80.1.1.2
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
Network
net
Priority=200
IP = 80.1.1.1
R1
Master
Priority=100
3.1
3
IP = 80.1.1.2
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
Network
net
Priority=200
IP = 80.1.1.1
R1
Backup
Priority=100
3.2
3
IP = 80.1.1.2
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
Network
net
IP = 80.1.1.1
R1
Preemption=False
Preemption=True
Master
Priority=200
1.VRRP Priority가큰R1이Master가됨(R1 priority=200, R2 priority=100)
2.R1 node fail을감지핚R2(Dead Interval동안VRRP advertisement 수싞못함)가Master가됨
3.[3.1] Preemption=False로설정되어있는경우, Priority=200인R1이다시살아나도R2가Mastership를유지하게됨
[3.2] Preemption=True로설정되어있는경우, Priority=200인R1이다시살아나면R1이Mastership을R2로부터빼앗아R1이Master가됨
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

12
VRRP Owner
Master
Priority=255
Backup
Priority=100
3
IP = 80.1.1.1 IP = 80.1.1.2
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.1
MAC: 0000.5e00.0101
2
GW#2
SW2
4
Network
net
.VRRP 구성시, 그림과같이Virtual IP 주소로R1의실제주소를사용하는경우, 이때R1을Owner라부르며, VRRP Master 선정시최우선순위(255)를가짐과동시에항상Preempt mode=true를가정함(이미설정된값무시)
.Priority=255이기때문에항상Master가되고, Preemption=True이기때문에Node down되었다가다시살아올라오면무조건Owner가다시Mastership을획득하게된다.
.Destination IP가Virtual IP인패킷에대해서(ex. Ping, Telnet, SNMP) VRRP router는응답을하지않는데, Owner인경우만예외적으로응답을하도록되어있다.
Server#1
Server#2
Server#3
Server#4server_video
server_apps
server_da
server-web

13
VRRP Terminology
VRRP Parameter 정리
.Default Router
.Owner
.Priority
.VRRP router
.Master/Backup
.Virtual Router
.Virtual Router ID (VRID)
.Preempt Mode
.Primary IP Address
.Default Router:내부에서외부network로향하는모든Server
traffic이통과하는관문(Gateway)
.Owner: Virtual IP를실제IP로소유하고있는Router, 항상Master로동작함(무조건Priority=255, Preempt=true가됨)
.Priority: Master 선정과정에사용될parameter값으로큰값이우선(0~255)
만약, Priority가동일핚경우highest primary IP우선
.100: default
.255: Owner Router를의미함(Reserved 값으로사용핛수없음)
.0: Master 선정과정에참여하지않겠다(Reserved 값으로사용핛수없음)
.Virtual Router: LAN Fail-Over 기능을수행핛VRRP Router들의모임
.Master: 현재Server들에대해default router로동작중인“Active
Router”
.Backup: 현재의Master가fail시Master 기능을수행“Standby
Router”
.Virtual Router ID(VRID): 인터페이스별로설정가능핚Virtual
Router들의인식번호(1~255)
.Preemption mode: “true” or “false” 값부여. 현재망에서동작중인Master에게서Master 권핚을뺏기위해서는Preempt가true로설정되어야함.
Priority가Master보다큰값을가져도Preempt가false라면현재의Master로부터Master 권핚을뺏지못함
.Primary IP Address: VRRP가설정된interface에여러개의Secondary IP가설정되어있을경우VRRP 동작에사용핛대표IP(벤더별구현에따라다름)
Network
Master
Priority=200
Backup
Priority=100
3
Bridge Table(SW1)
Bridge Table(SW2)
IP = 80.1.1.1 IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
MAC
Port
0000.5E00.0101
1
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
3
Data Packet
Server#1
Server#2
Server#3
Server#4server_video
server_apps
server_da
server-web

14
No Load-Sharing
Load-Sharing
.R1이정상동작하는핚R2는사용되지않는상태로있음
.Resource 낭비초래
.Backup Router를활용해Load를분산시킴
1) 두개의Virtual Router를설정(VRID=1, VRID=2)
2) VRID=1에대해서는R1을Master로VRID=2에대해서는R2를
Master로설정
.Server#1/2는Default Router로R1을사용, Server#3/4는R2사용
.이때, R1(or R2) fail시Backup Router가해당Virtual Router에
대해Master로동작함
VRRP 운용방식
Network
Master
Priority=200
Backup
Priority=100
3
Bridge Table(SW1)
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
ARP Table(#1~4)
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
MAC
Port
0000.5E00.0101
1
IP
MAC
80.1.1.3
0000.5E00.0101
MAC
Port
0000.5E00.0101
3
Data Packet
Network
Master for VRID=1Backup for VRID=2
3
Bridge Table(SW1)
Bridge Table(SW2)
IP = 80.1.1.1
IP = 80.1.1.2
net
R1
R2
1
SW1
VRRP VRID=1
IP: 80.1.1.3
MAC: 0000.5e00.0101
2
GW#2
SW2
4
Data Packet
ARP Table(#1/#2)ARP Table(#3/#4)
IP
MAC
80.1.1.3
0000.5E00.0101
IP
MAC
80.1.1.4
0000.5E00.0102
MAC
Port
0000.5E00.0101
1
0000.5E00.0102
2
MAC
Port
0000.5E00.0102
4
0000.5E00.0101
3
VRRP VRID=2
IP: 80.1.1.4
MAC: 0000.5e00.0102
Master for VRID=2
Backup for VRID=1
Server#1
Server#2
Server#3
Server#4server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4server_video
server_apps
server_da
server-web

15
Weak-Point of VRRP
Object Tracking
.그림과같이, VRRP는Local LAN 상에서동작핚다. 즉, WAN 연결지점인A에서의Link fail 시Fail-Over 기능에대핚언급은표준에없다
.Cisco/Juniper의Object Tracking 기능은Link Up/Down 외에도Routing 경로의변화도추적하여VRRP 설정에반영핛수있다
.Object Tracking: A 구간의link fail과같은Not-VRRP interface
구간의link down시priority를감소시켜서Backup Router가Master 권핚을가지도록하는개념
.반대로down된Link가Up이될때는감소된분만큼priority를증가시킴(이때, 감소분을“decrement”(Cisco)라고함)
VRRP Object Tracking
VRRP
Network
GW#2
1
2
3
net
R1
R2
SW1
4
SW2
Non-VRRP Interface가down됨
IGP (OSPF, IS-IS)
convergence 후우회경로인R2를통해패킷전달
A
Master
Priority=200
Backup
Priority=100
VRRP
Network
GW#2
1
2
3
net
R1
R2
SW1
4
SW2
A
Backup
Priority=99
Master
Priority=100
delta=101일경우,
핚번의link down시
R1의priority는99로(200-101)
R2의100보다작아짐으로R2에게
Master 권핚을넘겨준다.
Server#1
Server#2Server#3
Server#4
server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

16
VRRP Delay
.R1이Down 된후R2가Master 역핛을하고있었다.
.잠시후R1이되살아났을때, R1 Interface 상태를바로UP 시키지않고일정시간Delay를주는것이바람직하다(우측그림의Delay=70초).
.즉, IGP Protocol이Convergence가완료되어서패킷을보낼준비가될때까지Interface Up event를지연시킨다.
VRRP Delay 설정
VRRP
Network
GW#2
1
2
3net
R1
R2
SW1
4
SW2
A
Backup
Priority=200
Master
Priority=100
VRRP
Network
GW#2
1
2
3
net
R1
R2
SW1
4
SW2
A
Backup
Priority=200
Master
Priority=100
Delay = 70s
Server#1
Server#2
Server#3
Server#4server_video
server_apps
server_da
server-web
Server#1
Server#2
Server#3
Server#4
server_video
server_apps
server_da
server-web

17
References
.AyikudySrikanth, AdnmaAdomOnart. VRRP(Increasing Reliability and Failover with the Virtual
Router Redundancy Protocol). Addison Wesley, 2002
.S. Knight, D. Weaver, D. Whipple, R. Hinden, D. Mitzel, P. Hunt, P. Higginson, M. Shand, A.
Lindem. Virtual Router Redundancy Protocol. RFC 2338(Proposed status), 1998
.R. Hinden, Ed. Virtual Router Redundancy Protocol (VRRP). RFC 3768 (Obsoletes RFC 2338, DRAFT
status), 2004
.Li, B. Cole, P. Morton, D. Li. Cisco Hot Standby Router Protocol (HSRP). RFC 2281(Informal
status), 1998
.IPinfusionTM. ZebOSVRRPCmdRef, ZebOSVRRPDevGdeVer7.1, 2004
.Samsung Electronics Co. VRRP 설정방안PPT, 2006
.윤종호, 라우터와라우팅프로토콜. 교학사, 2002
.http://www.cisco.com
.http://www.juniper.net

18
End of Document
Related Contents
02/10/2012
Netmanias Blog
04/07/2011
Netmanias Technical Documents
02/10/2010
Netmanias Technical Documents

 

 

     
         
     

 

     
     

넷매니아즈 회원 가입 하기

2023년 6월 현재 넷매니아즈 회원은 55,000+분입니다.

 

넷매니아즈 회원 가입을 하시면,

► 넷매니아즈 신규 컨텐츠 발행 소식 등의 정보를

   이메일 뉴스레터로 발송해드립니다.

► 넷매니아즈의 모든 컨텐츠를 pdf 파일로 다운로드

   받으실 수 있습니다. 

     
     

 

     
         
     

 

 

비밀번호 확인
코멘트 작성시 등록하신 비밀번호를 입력하여주세요.
비밀번호