谷寶磊
摘 要:隨著計(jì)算機(jī)網(wǎng)絡(luò)的迅速普及,網(wǎng)絡(luò)的各種應(yīng)用(OA系統(tǒng)、語(yǔ)音系統(tǒng)、網(wǎng)絡(luò)視頻監(jiān)控系統(tǒng))日趨復(fù)雜,網(wǎng)絡(luò)上傳輸數(shù)據(jù)的重要性、復(fù)雜性也越來(lái)越高,用戶(hù)要求網(wǎng)絡(luò)具有高度的冗余性。對(duì)于網(wǎng)絡(luò)中的終端用戶(hù)來(lái)說(shuō),希望時(shí)時(shí)與網(wǎng)絡(luò)中的其他部分保持良好的通信。虛擬路由協(xié)議(VRRP,Virtual Router Redundancy Protocol)提供一種方法,能夠保證終端用戶(hù)與網(wǎng)絡(luò)的聯(lián)系可靠而不中斷。出于網(wǎng)絡(luò)可靠性和安全性的要求,VRRP不僅能夠在網(wǎng)絡(luò)層保證系統(tǒng)的高度冗余,同時(shí)還可以實(shí)現(xiàn)網(wǎng)絡(luò)流量的負(fù)載均衡。
關(guān)鍵詞:VRRP;路由冗余;負(fù)載均衡;虛擬路由器
中圖分類(lèi)號(hào):TP202 文獻(xiàn)標(biāo)識(shí)號(hào):A 文章編號(hào):2095-2163(2014)06-
Abstract: With the rapid popularization of computer network, a variety of network applications (OA systems, voice systems, video surveillance systems) become increasingly complex, the importance of the network transmission of data, complexity is increasing, users require network has a high degree of redundancy. For the end user in the network, it is desirable from time to time to maintain good communication with the rest of the network part. In this paper, Virtual Routing Protocol (VRRP, Virtual Router Redundancy Protocol) provides a way to ensure a reliable end-user contact your network without interruption. For network reliability and security requirements, VRRP not only in highly redundant network layer to ensure that the system, but also can achieve load balancing network traffic.
Keywords: VRRP; Router Redundancy; Load Balancing; Virtual Router
0 引 言
VRRP被設(shè)計(jì)用來(lái)實(shí)現(xiàn)IP傳輸失敗情況下的不中斷服務(wù),具體地說(shuō),就是用于在局域網(wǎng)內(nèi)源主機(jī)無(wú)法動(dòng)態(tài)地學(xué)習(xí)到首跳路由器IP地址的情況下,防止首跳路由的失敗。VRRP將多個(gè)路由器都映射為一個(gè)虛擬的路由器,VRRP組中只有一個(gè)路由器代表虛擬路由器進(jìn)行包的發(fā)送,即稱(chēng)為主路由器,其他路由器均稱(chēng)為備份路由器。當(dāng)網(wǎng)絡(luò)中的主機(jī)發(fā)送數(shù)據(jù)包給網(wǎng)關(guān),也就是發(fā)向虛擬路由器時(shí),主路由器承擔(dān)轉(zhuǎn)發(fā)工作。如果這個(gè)主路由器在某個(gè)時(shí)刻由于某種原因無(wú)法工作的情況下,處于備份狀態(tài)的路由器將被選擇來(lái)代替原來(lái)的主路由器。因此,VRRP使得局域網(wǎng)內(nèi)的主機(jī)看上去只使用了一個(gè)路由器,并且即使在其當(dāng)前使用的首跳路由器失敗的情況下仍能夠保持通訊的連續(xù)性和可靠性。
1 VRRP概述
1.1 VRRP基本概念
可以看到,在設(shè)備VRRP狀態(tài)改變是,ICMP的應(yīng)答時(shí)間會(huì)稍長(zhǎng)一些(備份路由器在VRRP超時(shí)才改變狀態(tài)),缺省VRRPG廣告間隔時(shí)間的情況下,基本沒(méi)有斷點(diǎn)(timeout)。
4 結(jié)束語(yǔ)
VRRP協(xié)議不僅能夠?yàn)閳@區(qū)局域網(wǎng)絡(luò)設(shè)備提供冗余網(wǎng)關(guān),實(shí)現(xiàn)路由冗余,保證園區(qū)網(wǎng)絡(luò)運(yùn)行的可靠性、穩(wěn)定性,當(dāng)網(wǎng)絡(luò)發(fā)生故障時(shí),把用戶(hù)的損失達(dá)到最低。同時(shí)能夠?qū)崿F(xiàn)網(wǎng)絡(luò)負(fù)載均衡,規(guī)避網(wǎng)絡(luò)中的辦公數(shù)據(jù)流、視頻數(shù)據(jù)流、語(yǔ)音數(shù)據(jù)流的擁塞、碰撞,提高數(shù)據(jù)傳輸效率,在園區(qū)網(wǎng)絡(luò)建設(shè)中應(yīng)大力推廣使用這個(gè)協(xié)議。
參考文獻(xiàn):
[1]歐仁輝,齊傳輝,主雪梅.利用VRRP協(xié)議實(shí)現(xiàn)網(wǎng)絡(luò)的負(fù)載均衡[J].河北工程技術(shù)高等專(zhuān)科學(xué)校學(xué)報(bào),2010,(1):63-65.
[2]張嵐,王俊良,賈穎.淺談VRRP協(xié)議在企業(yè)組網(wǎng)中的應(yīng)用[J].科技創(chuàng)新導(dǎo)報(bào),2010,(11):249-251.
[3]朱應(yīng)國(guó),江森林.基于VRRP高可靠性校園數(shù)據(jù)中心建設(shè)[J].無(wú)錫職業(yè)技術(shù)學(xué)院學(xué)報(bào),2008,7(3):45-46.
[4](美)Richard?Froom.CCNP自學(xué)指南:組建Cisco多層交換網(wǎng)絡(luò)(BCMSN)(第三版)[M].劉大偉等,譯.北京:人民郵電出版社,2008.