利用BGP虛擬下一跳技術(shù)實(shí)現(xiàn)IP骨干網(wǎng)流量負(fù)載均衡_第1頁
利用BGP虛擬下一跳技術(shù)實(shí)現(xiàn)IP骨干網(wǎng)流量負(fù)載均衡_第2頁
利用BGP虛擬下一跳技術(shù)實(shí)現(xiàn)IP骨干網(wǎng)流量負(fù)載均衡_第3頁
已閱讀5頁,還剩12頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、利用BGP虛擬下一跳技術(shù)實(shí)現(xiàn)IP骨干網(wǎng)流量負(fù)載均衡l:fenJjh»<5.32R5 |7Mh,5h. WlSilSl/0172.16. IS J'.WSl/0iiq.m."血徘I:工】6J、.卄sizoFSl/24TNI點(diǎn)-甜J'刑Sl.o si ir?zd4JUQ0Rl.的方k和兀它向吃怔訐匸tUGPtE居艾首Sl/l171.16.12,2/30匚小 Q:192.IWL03?2R3IL1.0:192.lhfi,il+'32R4倉"0 I72J6J4J.JWSl/0<lriunZ.ld.24.4.3U ,SI.3配置說明:【R1

2、】in terface LoopbackOin terface Serial1/0no shin terface Serial1/1no shin terface Serial1/2no shin terface Serial1/3no sh172.16.13.3 【虛擬下一跳地址指向真正下一跳,并由本域內(nèi)IGP(OSPF路由引入,使本域內(nèi) 所有鄰居都能學(xué)習(xí)到虛擬下一跳地址的路由,從 而使鄰居從自己學(xué)習(xí)到的路由能最優(yōu)化】ip prefix-listISP-B seq 5 permit【做前綴列表匹配需要改變下一 跳的前綴】route-map set-nexthop permit 10 【做 r

3、oute-map,改相應(yīng)前綴下一跳性】 match ip address prefix-list ISP-Broute-map set- nexthop permit 20router ospf 1no auto-costredistribute static metric 10 metric-type1 sub nets【引入靜態(tài)路由,使域內(nèi)所有IBGP鄰 居能學(xué)到虛擬下一跳地址,從面使鄰居從自己學(xué) 習(xí)到的路由能最優(yōu)化】network 172.16.12.0 0.0.0.255 area 0network 172.16.15.0 0.0.0.255 area 0network 172.16.

4、16.0 0.0.0.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp 100no synchroni zati onbgp log-neighbor-cha ngesn eighbor internal peer-groupn eighbor in ter nal remote-as 100n eighbor internal update-source LoopbackO n eighborin ter nalroute-map set- nexthopout【做出方向的ruout-map改變發(fā)向鄰居路由 的下一跳】n eig

5、hbor 192.168.0.2 peer-group in ternalneighbor 192.168.0.3 remote-as 200neighbor 192.168.0.3 ebgp-multihop 255neighbor 192.168.0.3 update-source Loopback0neighbor 192.168.0.3 soft-reco nfigurati on inboundn eighbor 192.168.0.5 peer-group in ternaln eighbor 192.168.0.6 peer-group in ternalno auto-summ

6、ary【R2】in terface LoopbackOin terface Serial1/0no shin terface Serial1/1no shin terface Serial1/2no ship address 172.16.25.2 255.255.255.0 in terface Serial1/3no sh【虛擬下一跳地址指向真正下一跳, 并由本域內(nèi)IGPQSPF路由引入,使本域內(nèi)所有 鄰居都能學(xué)習(xí)到虛擬下一跳地址的路由,從而使 鄰居從自己學(xué)習(xí)到的路由能最優(yōu)化】ip prefix-listISP-B seq 5 permit【做前綴列表匹配需要改變下一 跳的前綴】route

7、-map set- nexthop permit 10 【做 route-map,改相應(yīng)前綴下一跳性】match ip address prefix-list ISP-Broute-map set- nexthop permit 20router ospf 1router-id 192.16802log-adjace ncy-cha ngesno auto-costredistribute static metric 10 metric-type1 subnets【引入靜態(tài)路由,使域內(nèi)所有IBGP鄰 居能學(xué)到虛擬下一跳地址,從面使鄰居從自己學(xué) 習(xí)到的路由能最優(yōu)化】network 172.16.

8、12.0 0.0.0.255 area 0network 172.16.25.0 0.0.0.255 area 0n etwork 172.16.26.0 0.0.0.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp 100no synchroni zati onbgp log-neighbor-cha ngesn eighbor internal peer-groupn eighbor in ter nal remote-as 100n eighbor internal update-source Loopback0n eigh

9、bor in ter nal route-map set- nexthop out【做出方向的ruout-map改變發(fā)向鄰居路由的下一跳】neighbor 192.16801 peer-group in ternalneighbor 192.168.0.4 remote-as 200neighbor 192.168.0.4 ebgp-multihop 255neighbor 192.168.0.4 update-source LoopbackOn eighbor 192.168.0.5 peer-group in ternaln eighbor 192.168.0.6 peer-group i

10、n ternalno auto-summary【R3I由于R3 R4域內(nèi)沒有其它IBGP鄰居,下 掛設(shè)備都運(yùn)行IGP所以不需要以虛擬下一跳的 方式建立EBGP鄰居,可以用正常的方式建立EBGP鄰居即可in terface Loopback0in terface Serial1/0no shin terface Serial1/3no shrouter ospf 1log-adjace ncy-cha ngesno auto-costnetwork 172.16.34.0 0.0.0.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp

11、 200no synchroni zati onbgp log-neighbor-cha ngesneighbor 192.168.0.1 remote-as 100neighbor 192.168.0.1 ebgp-multihop 255neighbor 192.168.0.1 update-sourceLoopbackOneighbor 192.168.0.1 soft-reco nfigurati on inboundneighbor 192.168.0.4 remote-as 200neighbor 192.168.0.4 update-sourceLoopback0no auto-

12、summaryip route 1.0.0.0 255.0.0.0 Null0【R4由于R3 R4域內(nèi)沒有其它IBGP鄰居,下 掛設(shè)備都運(yùn)行IGP所以不需要以虛擬下一跳的 方式建立EBGP鄰居,可以用正常的方式建立EBGP鄰居即可in terface Loopback0ip address 192.168.0.4 255.255.255.255 in terface Serial1/0 no ship address 172.16.34.4 255.255.255.0 serial restart-delay 0in terface Serial1/3no ship address 172.1

13、6.24.4 255.255.255.0 serial restart-delay 0router ospf 1log-adjace ncy-cha ngesno auto-costnetwork 172.16.34.0 0.0.0.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp 200no synchroni zati onbgp log-neighbor-cha ngesneighbor 192.168.0.2 remote-as 100neighbor 192.168.0.2 ebgp-multihop 255n eigh

14、borLoopback0192.168.0.2update-sourceneighbor 192.168.0.3 remote-as 200n eighborLoopback0192.168.0.3update-sourceno auto-summaryip route 1.0.0.0 255.0.0.0 Null0ip route【R5】R5 R6屬于域內(nèi)設(shè)備不建立EBGP鄰居關(guān) 系,也只要以正常方式與域內(nèi)其它設(shè)備建立IBGP 鄰居關(guān)系即可in terface Loopback。in terface Serial1/0no shin terface Serial1/1no shin terf

15、ace Serial1/2no shrouter ospf 1log-adjace ncy-cha ngesno auto-costnetwork 172.16.0.0 0.0.255.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp 100no synchroni zati onbgp log-neighbor-cha nges n eighbor internal peer-groupn eighbor in ter nal remote-as 100n eighbor internal update-source Loopb

16、ackO neighbor 192.168.0.1 peer-group in ternaln eighbor 192.168.0.2 peer-group in ternaln eighbor 192.168.0.6 peer-group in ternalno auto-summary【R6】R5 R6屬于域內(nèi)設(shè)備不建立EBGP鄰居關(guān) 系,也只要以正常方式與域內(nèi)其它設(shè)備建立IBGP 鄰居關(guān)系即可in terface Loopback0in terface Serial1/0no ship address 172.16.26.6 255.255.255.0 in terface Serial1/1no ship address 172.16.56.6 255.255.255.0 in terface Serial1/2no shrouter ospf 1log-adjace ncy-cha ngesno auto-costnetwork 172.16.0.0 0.0.255.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp 100no synchroni zati onbgp lo

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論