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

下載本文檔

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

文檔簡(jiǎn)介

1、配置 說(shuō)明:【R1】interface Loopback0 ip address 192.168.0.1 255.255.255.255interface Serial1/0 no sh ip address 172.16.15.1 255.255.255.0interface Serial1/1 no sh ip address 172.16.12.1 255.255.255.0interface Serial1/2 no sh ip address 172.16.16.1 255.255.255.0interface Serial1/3 no sh ip address 172.16.13

2、.1 255.255.255.0ip route 10.0.0.1 255.255.255.255 172.16.13.3 【虛擬下一跳地址指向真正下一跳,并由本域內(nèi)IGP(OSPF)路由引入,使本域內(nèi)所有鄰居都能學(xué)習(xí)到虛擬下一跳地址的路由,從而使鄰居從自己學(xué)習(xí)到的路由能最優(yōu)化】ip route 192.168.0.3 255.255.255.255 172.16.13.3ip prefix-list ISP-B seq 5 permit 172.16.34.0/24【做前綴列表匹配需要改變下一跳的前綴】route-map set-nexthop permit 10 【做route-map,改

3、相應(yīng)前綴下一跳性】 match ip address prefix-list ISP-B set ip next-hop 10.0.0.1route-map set-nexthop permit 20router ospf 1 router-id 192.168.0.1 no auto-cost redistribute static metric 10 metric-type 1 subnets【引入靜態(tài)路由,使域內(nèi)所有IBGP鄰居能學(xué)到虛擬下一跳地址,從面使鄰居從自己學(xué)習(xí)到的路由能最優(yōu)化】 network 172.16.12.0 0.0.0.255 area 0 network 172.1

4、6.15.0 0.0.0.255 area 0 network 172.16.16.0 0.0.0.255 area 0 network 192.168.0.0 0.0.0.255 area 0router bgp 100 no synchronization bgp router-id 192.168.0.1 bgp log-neighbor-changes neighbor internal peer-group neighbor internal remote-as 100 neighbor internal update-source Loopback0 neighbor intern

5、al route-map set-nexthop out【做出方向的ruout-map改變發(fā)向鄰居路由的下一跳】 neighbor 192.168.0.2 peer-group internal neighbor 192.168.0.3 remote-as 200 neighbor 192.168.0.3 ebgp-multihop 255 neighbor 192.168.0.3 update-source Loopback0 neighbor 192.168.0.3 soft-reconfiguration inbound neighbor 192.168.0.5 peer-group i

6、nternal neighbor 192.168.0.6 peer-group internal no auto-summary【R2】interface Loopback0 ip address 192.168.0.2 255.255.255.255interface Serial1/0 no sh ip address 172.16.26.2 255.255.255.0interface Serial1/1 no sh ip address 172.16.12.2 255.255.255.0interface Serial1/2 no sh ip address 172.16.25.2 2

7、55.255.255.0interface Serial1/3 no sh ip address 172.16.24.2 255.255.255.0ip route 10.0.0.1 255.255.255.255 172.16.24.4【虛擬下一跳地址指向真正下一跳,并由本域內(nèi)IGP(OSPF)路由引入,使本域內(nèi)所有鄰居都能學(xué)習(xí)到虛擬下一跳地址的路由,從而使鄰居從自己學(xué)習(xí)到的路由能最優(yōu)化】ip route 192.168.0.4 255.255.255.255 172.16.24.4ip prefix-list ISP-B seq 5 permit 172.16.34.0/24【做前綴列表匹

8、配需要改變下一跳的前綴】route-map set-nexthop permit 10【做route-map,改相應(yīng)前綴下一跳性】 match ip address prefix-list ISP-B set ip next-hop 10.0.0.1route-map set-nexthop permit 20router ospf 1 router-id 192.168.0.2 log-adjacency-changes no auto-cost redistribute static metric 10 metric-type 1 subnets【引入靜態(tài)路由,使域內(nèi)所有IBGP鄰居能學(xué)到

9、虛擬下一跳地址,從面使鄰居從自己學(xué)習(xí)到的路由能最優(yōu)化】 network 172.16.12.0 0.0.0.255 area 0 network 172.16.25.0 0.0.0.255 area 0 network 172.16.26.0 0.0.0.255 area 0 network 192.168.0.0 0.0.0.255 area 0router bgp 100 no synchronization bgp router-id 192.168.0.2 bgp log-neighbor-changes neighbor internal peer-group neighbor in

10、ternal remote-as 100 neighbor internal update-source Loopback0 neighbor internal route-map set-nexthop out【做出方向的ruout-map改變發(fā)向鄰居路由的下一跳】 neighbor 192.168.0.1 peer-group internal neighbor 192.168.0.4 remote-as 200 neighbor 192.168.0.4 ebgp-multihop 255 neighbor 192.168.0.4 update-source Loopback0 neigh

11、bor 192.168.0.5 peer-group internal neighbor 192.168.0.6 peer-group internal no auto-summary【R3】由于R3、R4域內(nèi)沒(méi)有其它IBGP鄰居,下掛設(shè)備都運(yùn)行IGP所以不需要以虛擬下一跳的方式建立EBGP鄰居,可以用正常的方式建立EBGP鄰居即可interface Loopback0 ip address 192.168.0.3 255.255.255.255interface Serial1/0 no sh ip address 172.16.34.3 255.255.255.0interface Ser

12、ial1/3 no sh ip address 172.16.13.3 255.255.255.0router ospf 1 router-id 192.168.0.3 log-adjacency-changes no auto-cost network 172.16.34.0 0.0.0.255 area 0 network 192.168.0.0 0.0.0.255 area 0router bgp 200 no synchronization bgp router-id 192.168.0.3 bgp log-neighbor-changes network 1.0.0.0 networ

13、k 172.16.34.0 mask 255.255.255.0 neighbor 192.168.0.1 remote-as 100 neighbor 192.168.0.1 ebgp-multihop 255 neighbor 192.168.0.1 update-source Loopback0 neighbor 192.168.0.1 soft-reconfiguration inbound neighbor 192.168.0.4 remote-as 200 neighbor 192.168.0.4 update-source Loopback0 no auto-summaryip

14、route 0.0.0.0 0.0.0.0 172.16.13.1ip route 1.0.0.0 255.0.0.0 Null0ip route 192.168.0.1 255.255.255.255 172.16.13.1【R4】由于R3、R4域內(nèi)沒(méi)有其它IBGP鄰居,下掛設(shè)備都運(yùn)行IGP所以不需要以虛擬下一跳的方式建立EBGP鄰居,可以用正常的方式建立EBGP鄰居即可interface Loopback0 ip address 192.168.0.4 255.255.255.255interface Serial1/0 no sh ip address 172.16.34.4 255.2

15、55.255.0 serial restart-delay 0interface Serial1/3 no sh ip address 172.16.24.4 255.255.255.0 serial restart-delay 0router ospf 1 router-id 192.168.0.4 log-adjacency-changes no auto-cost network 172.16.34.0 0.0.0.255 area 0 network 192.168.0.0 0.0.0.255 area 0router bgp 200 no synchronization bgp ro

16、uter-id 192.168.0.4 bgp log-neighbor-changes network 1.0.0.0 network 172.16.34.0 mask 255.255.255.0 neighbor 192.168.0.2 remote-as 100 neighbor 192.168.0.2 ebgp-multihop 255 neighbor 192.168.0.2 update-source Loopback0 neighbor 192.168.0.3 remote-as 200 neighbor 192.168.0.3 update-source Loopback0 n

17、o auto-summaryip route 0.0.0.0 0.0.0.0 172.16.24.2ip route 1.0.0.0 255.0.0.0 Null0ip route 192.168.0.2 255.255.255.255 172.16.24.2【R5】R5、R6屬于域內(nèi)設(shè)備不建立EBGP鄰居關(guān)系,也只要以正常方式與域內(nèi)其它設(shè)備建立IBGP鄰居關(guān)系即可interface Loopback0 ip address 192.168.0.5 255.255.255.255interface Serial1/0 no sh ip address 172.16.15.5 255.255.2

18、55.0interface Serial1/1 no sh ip address 172.16.56.5 255.255.255.0interface Serial1/2 no sh ip address 172.16.25.5 255.255.255.0router ospf 1 router-id 192.168.0.5 log-adjacency-changes no auto-cost network 172.16.0.0 0.0.255.255 area 0 network 192.168.0.0 0.0.0.255 area 0router bgp 100 no synchroni

19、zation bgp router-id 192.168.0.5 bgp log-neighbor-changes neighbor internal peer-group neighbor internal remote-as 100 neighbor internal update-source Loopback0 neighbor 192.168.0.1 peer-group internal neighbor 192.168.0.2 peer-group internal neighbor 192.168.0.6 peer-group internal no auto-summary【R6】R5、R6屬于域內(nèi)設(shè)備不建立EBGP鄰居關(guān)系,也只要以正常方式與域內(nèi)其它設(shè)備建立IBGP鄰居關(guān)系即可interface Loopback0 ip address 192.168.0.6 255.255.255.255interface S

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(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)論