溫馨提示×

溫馨提示×

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

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

34、重分布配置實驗之分發(fā)列表distribute-list

發(fā)布時間:2020-06-22 09:00:25 來源:網(wǎng)絡(luò) 閱讀:2413 作者:開源殿堂 欄目:網(wǎng)絡(luò)安全

1、分發(fā)列表distribute-list解析

34、重分布配置實驗之分發(fā)列表distribute-list

34、重分布配置實驗之分發(fā)列表distribute-list


2、實驗拓撲

34、重分布配置實驗之分發(fā)列表distribute-list

3、實驗配置

R1配置

interface Serial0/0

 ip address 12.1.1.1 255.255.255.0

interface Serial0/1

 ip address 13.1.1.1 255.255.255.0

interface Serial0/2

 ip address 14.1.1.1 255.255.255.0

router eigrp 90

 redistribute ospf 110 metric 1500 100 255 1 1500

 network 14.1.1.0 0.0.0.255

 no auto-summary

router ospf 110

 router-id 1.1.1.1

 log-adjacency-changes

 redistribute rip subnets

 network 13.1.1.0 0.0.0.255 area 0

router rip

 version 2

 network 12.0.0.0

 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

router rip

 version 2

 network 2.0.0.0

 network 12.0.0.0

 no auto-summary


R3配置

interface Loopback0

 ip address 3.3.3.3 255.255.255.0

interface Serial0/0

 ip address 13.1.1.3 255.255.255.0

router ospf 110

 router-id 3.3.3.3

 log-adjacency-changes

 network 3.3.3.0 0.0.0.255 area 0

 network 13.1.1.0 0.0.0.255 area 0


R4配置

interface Loopback0

 ip address 4.4.4.4 255.255.255.0

interface Serial0/0

 ip address 14.1.1.4 255.255.255.0

router eigrp 90

 network 4.4.4.0 0.0.0.255

 network 14.1.1.0 0.0.0.255

 no auto-summary


4、分發(fā)列表應(yīng)用

34、重分布配置實驗之分發(fā)列表distribute-list此時我們可以看到R4可以學(xué)到3.3.3.3/32和13.1.1.0/24這兩條路由,這里我們希望通過分發(fā)列表讓R4只學(xué)到13.1.1.0/24這條路由。

R1配置

access-list 3 permit 3.3.3.3

router eigrp 90

 distribute-list 3 out ospf 110

34、重分布配置實驗之分發(fā)列表distribute-list此時R4只學(xué)到13.1.1.0/24這條路由。

向AI問一下細節(jié)

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

AI