溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

48、BGP配置實驗之路由反射器

發(fā)布時間:2020-07-30 08:41:43 來源:網絡 閱讀:3683 作者:開源殿堂 欄目:網絡安全

1、路由反射器解析

48、BGP配置實驗之路由反射器


路由反射器工作原理:

RR從EBGP收到的路由,會反射給客戶端和非客戶端

RR從客戶端收到的路由,會反射給客戶端、EBGP鄰居和非客戶端

RR從非客戶端收到的路由,只會反射給客戶端和EBGP鄰居,不會反射給非客戶端


2、實驗拓撲

48、BGP配置實驗之路由反射器

3、基礎配置

R1配置

interface Loopback0

 ip address 1.1.1.1 255.255.255.0

interface Serial0/0

 ip address 12.1.1.1 255.255.255.0

router bgp 1

 no synchronization

 bgp router-id 1.1.1.1

 network 1.1.1.0 mask 255.255.255.0

 neighbor 12.1.1.2 remote-as 2

 no auto-summary


R2配置

interface Loopback0

 ip address 2.2.2.2 255.255.255.0

interface Serial0/0

 ip address 12.1.1.2 255.255.255.0

interface Serial0/1

 ip address 23.1.1.2 255.255.255.0

router ospf 110

 router-id 2.2.2.2

 network 2.2.2.0 0.0.0.255 area 0

 network 23.1.1.0 0.0.0.255 area 0

router bgp 2

 no synchronization

 bgp router-id 2.2.2.2

 neighbor 3.3.3.3 remote-as 2

 neighbor 3.3.3.3 update-source Loopback0

 neighbor 3.3.3.3 next-hop-self

 neighbor 12.1.1.1 remote-as 1

 no auto-summary


R3配置

interface Loopback0

 ip address 3.3.3.3 255.255.255.0

interface Serial0/0

 ip address 34.1.1.3 255.255.255.0

interface Serial0/1

 ip address 23.1.1.3 255.255.255.0

router ospf 110

 router-id 3.3.3.3

 network 3.3.3.0 0.0.0.255 area 0

 network 23.1.1.0 0.0.0.255 area 0

 network 34.1.1.0 0.0.0.255 area 0

router bgp 2

 no synchronization

 bgp router-id 3.3.3.3

 neighbor 2.2.2.2 remote-as 2

 neighbor 2.2.2.2 update-source Loopback0

 neighbor 4.4.4.4 remote-as 2

 neighbor 4.4.4.4 update-source Loopback0

 no auto-summary


R4配置

interface Loopback0

 ip address 4.4.4.4 255.255.255.0

interface Serial0/0

 ip address 34.1.1.4 255.255.255.0

router ospf 110

 router-id 4.4.4.4

 network 4.4.4.0 0.0.0.255 area 0

 network 34.1.1.0 0.0.0.255 area 0

router bgp 2

 no synchronization

 bgp router-id 4.4.4.4

 neighbor 3.3.3.3 remote-as 2

 neighbor 3.3.3.3 update-source Loopback0

 no auto-summary


4、水平分割導致的問題

48、BGP配置實驗之路由反射器

48、BGP配置實驗之路由反射器


5、配置路由反射器解決水平分割

R3配置

router bgp 2

 neighbor 2.2.2.2 route-reflector-client

 neighbor 4.4.4.4 route-reflector-client

48、BGP配置實驗之路由反射器

48、BGP配置實驗之路由反射器


向AI問一下細節(jié)

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI