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

下載本文檔

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

文檔簡介

1、Sl/tSl/0172.I6.I5A'3O172.T6J5.rMfSl/OLO:I92.16»,O3/J2-1/217245.5/尸 Si/i172.111/30I72.16.I3J/30 Sl/flI7Z.I6J4J/3GSl/Dl7Z.Lh.Z6.6/J02.16,25,2/30si/2Ski172.16.12.2,30S1/O fArea 100R2的.啞需姜以矗擬下-跳 "戌和其它自怡黴建立 ihcjhWI72.l-24j/3(f Sl/3L0:192JMrfl,-1/32R4rra 2U0配置說明:【R1】in terface LoopbackOip ad

2、dress 192.168.0.1 255.255.255.255in terface Serial1/0no ship address 172.16.15.1 255.255.255.0in terface Serial1/1no ship address 172.16.12.1 255.255.255.0in terface Serial1/2no ship address 172.16.16.1 255.255.255.0in terface Serial1/3no ship address 172.16.13.1 255.255.255.0ip route 10.0.0.1 255.2

3、55.255.255 172.16.13.3【虛擬下一跳地址指向真正下一跳,并由本域內(nèi)IGPQSPF路由引入,使本域內(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 ,改相應(yīng)前綴下一跳性】 match ip address prefix-lis

4、t ISP-B set ip next-hop 10.0.0.1route-map set-nexthop permit 20router ospf 1router-id 192.168.0.1 no auto-costredistribute 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 0network 172.16.15.0 0.0.0.255 area 0network 172.16

5、.16.0 0.0.0.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp 100no synchronizationbgp router-id 192.168.0.1bgp log-neighbor-changesneighbor internal peer-groupneighbor internal remote-as 100neighbor internal update-source Loopback0neighbor internal route-map set-nexthop out 【做出方向的 ruout-map

6、改變發(fā)向鄰居路由的下 一跳】neighbor 192.168.0.2 peer-group internalneighbor 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-reconfiguration inboundneighbor 192.168.0.5 peer-group internalneighbor 192.168.0.6 peer-group internaln

7、o auto-summaryR2】 interface Loopback0ip address 192.168.0.2 255.255.255.255interface Serial1/0no ship address 172.16.26.2 255.255.255.0interface Serial1/1no ship address 172.16.12.2 255.255.255.0interface Serial1/2no ship address 172.16.25.2 255.255.255.0interface Serial1/3no ship address 172.16.24.

8、2 255.255.255.0ip route 10.0.0.1 255.255.255.255 172.16.24.4 【虛擬下一跳地址指向真正下一跳,并由本域內(nèi)IGPQSPF路由引入,使本域內(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 【做前綴列表匹配需要改變下一跳的前綴】route-map set-nexthop permit 10 【做 route-map

9、,改相應(yīng)前綴下一跳性】match ip address prefix-list ISP-Bset ip next-hop 10.0.0.1route-map set-nexthop permit 20router ospf 1router-id 192.168.0.2log-adjacency-changesno auto-costredistribute 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

10、 area 0network 172.16.25.0 0.0.0.255 area 0network 172.16.26.0 0.0.0.255 area 0network 192.168.0.0 0.0.0.255 area 0 router bgp 100no synchronizationbgp router-id 192.168.0.2bgp log-neighbor-changesneighbor internal peer-groupneighbor internal remote-as 100neighbor internal update-source Loopback0nei

11、ghbor internal route-map set-nexthop out 【做出方向的 ruout-map 改變發(fā)向鄰居路由的下 一跳】neighbor 192.168.0.1 peer-group internalneighbor 192.168.0.4 remote-as 200neighbor 192.168.0.4 ebgp-multihop 255neighbor 192.168.0.4 update-source Loopback0neighbor 192.168.0.5 peer-group internalneighbor 192.168.0.6 peer-group

12、internalno auto-summary【R3】由于R3、R4域內(nèi)沒有其它IBGP鄰居,下掛設(shè)備都運(yùn)行IGP所以不需要以虛擬下一跳 的方式建立EBGP鄰居,可以用正常的方式建立EBGP鄰居即可interface Loopback0ip address 192.168.0.3 255.255.255.255interface Serial1/0no ship address 172.16.34.3 255.255.255.0interface Serial1/3no ship address 172.16.13.3 255.255.255.0router ospf 1router-id 1

13、92.168.0.3log-adjacency-changesno auto-costnetwork 172.16.34.0 0.0.0.255 area 0network 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 network 172.16.34.0 mask 255.255.255.0 neighbor 192.168.0.1 remote-as 100 neighbor 1

14、92.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 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.

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

16、.255.255.0serial restart-delay 0router ospf 1router-id 192.168.0.4 log-adjacency-changes no auto-costnetwork 172.16.34.0 0.0.0.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp 200 no synchronization bgp router-id 192.168.0.4bgp log-neighbor-changesnetwork 1.0.0.0network 172.16.34.0 mask 255.

17、255.255.0neighbor 192.168.0.2 remote-as 100neighbor 192.168.0.2 ebgp-multihop 255neighbor 192.168.0.2 update-source Loopback0neighbor 192.168.0.3 remote-as 200neighbor 192.168.0.3 update-source Loopback0no 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.1

18、68.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 Loopback0ip address 192.168.0.5 255.255.255.255interface Serial1/0no ship address 172.16.15.5 255.255.255.0interface Serial1/1no ship address 172.16.56.5 255.255.255.0interface Serial1/2no ship ad

19、dress 172.16.25.5 255.255.255.0router ospf 1router-id 192.168.0.5 log-adjacency-changes no auto-costnetwork 172.16.0.0 0.0.255.255 area 0network 192.168.0.0 0.0.0.255 area 0router bgp 100no synchronizationbgp router-id 192.168.0.5bgp log-neighbor-changesneighbor internal peer-groupneighbor internal remote-as 100neighbor internal update-source Loopback0neighbor 192.168.0.1 peer-group internalneighbor 192.168.0.2 peer-group internalneighbor 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 Loopback0ip address 192.168

溫馨提示

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

評論

0/150

提交評論