【正文】
Routing Redundancy 。 Information Engineering, Anyang Normal University, AnYang,Henan 455000) Abstract: The article discusses the basic principle of the VRRPVirtual Router Redundancy Protocol, it also gives detailed examples for the practical application of VRRP. It means if a routing device ,whose work is improving work reliability, is broken down, another routing equipment can take over its work to provide users with transparent switch. At the end of the paper, it analyzes the inadequacies of the VRRP. Key words: VRRP 。 1 如果經(jīng)濟條件允許的情況下,網(wǎng)絡核心層盡量配置具有高可靠性的設(shè)備,從設(shè)備本身提高可靠性,同時應用 VRRP 協(xié)議,使網(wǎng)絡可靠性進一步提高?;旧蠞M足的了這些企業(yè)的需求。 routerAsh vrrp b Interface Grp Pri Time Own Pre State Master addr Group addr FastEther 1/0 1 90 P Backup routerBsh vrrp b Interface Grp Pri Time Own Pre State Master addr Group addr FastEther 1/0 1 100 P Master 13 9 4 結(jié)語 網(wǎng)絡應用冗余保護技術(shù)的應用前景是非常廣闊的,隨著各種網(wǎng)絡的大規(guī)模融合 趨勢網(wǎng)絡冗余保護越來越受到相關(guān)企業(yè)的重視。 routerA 的優(yōu)先級由 120 減少 30變?yōu)?90,變?yōu)?BACKUP 狀態(tài), routerB 的狀態(tài)變?yōu)?MASTER。 RAshow ip interface brief Interface IPAddress(Pri) OK? Status serial 1/2 serial 1/3 no address YES DOWN FastEther 1/0 FastEther 1/1 no address YES DOWN Null 0 no address YES UP RAshow vrrp brief Interface Grp Pri Time Own Pre State Master addr Group addr FastEther 1/0 32 90 P Backup 從 show命令輸出結(jié)果可以看到,當監(jiān)控端口狀態(tài)變?yōu)?DOWN時,路由器 RA在VRRP組 32中,優(yōu)先級為 90,狀態(tài)為 Backup路由器 測試 圖 4 測試圖 1 圖 5 測試圖 2 如圖 511 所示,在 PC1 上執(zhí)行命令 tracert 跟蹤發(fā)向 PC0 的數(shù)據(jù)包,由跟蹤數(shù)據(jù)包路徑結(jié)果可知,發(fā)往服務器的數(shù)據(jù)包第一跳是 。 在 RC接口 s1/2上用 shutdown命令關(guān)閉該接口。 使用 show vrrp brief 來驗證配置。 RA(config)router ospf 1 RA(configrouter) area RA(configrouter) area RB(config)router ospf 1 RB(configrouter)work area RB(configrouter)work area RC(config)router ospf 1 RC(configrouter) area RC(configrouter)work area RC(configrouter)work area 步驟 3 配置 VRRP。 13 5 3 VRRP單備份組配置 實驗拓撲 圖 3 實驗拓撲圖 步驟 1 在路由器上配置 IP地址。當虛擬路由器回應 ARP 請求時,回應的是虛擬 MAC 地址。 一個虛擬路由器 (由主控路由器執(zhí)行其功能 )擁有一個虛擬 MAC 地址,地址的格式為 00005E0001[VRID]。為了減少網(wǎng)絡帶寬消耗只有主控路由器 才 可以 周 期 性 的