1、實驗拓撲
成都創(chuàng)新互聯(lián)專注于企業(yè)成都營銷網(wǎng)站建設、網(wǎng)站重做改版、銅官網(wǎng)站定制設計、自適應品牌網(wǎng)站建設、H5開發(fā)、商城建設、集團公司官網(wǎng)建設、外貿(mào)營銷網(wǎng)站建設、高端網(wǎng)站制作、響應式網(wǎng)頁設計等建站業(yè)務,價格優(yōu)惠性價比高,為銅官等各大城市提供網(wǎng)站開發(fā)制作服務。
按拓撲所示配置好OSPF后,此時由于area2與area0之間隔著area1,此時area2中的R5并沒有路由可達area3、area0、area1。為此我們在R4上啟兩個OSPF路由進程,分別將area1和area2宣告進去,并在OSPF進程中分別將對方重分布進來即可。
2、實驗配置
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 ospf 110
router-id 1.1.1.1
network 1.1.1.0 0.0.0.255 area 3
network 12.1.1.0 0.0.0.255 area 3
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 12.1.1.0 0.0.0.255 area 3
network 23.1.1.0 0.0.0.255 area 0
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 1
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
interface Serial0/1
ip address 45.1.1.4 255.255.255.0
router ospf 110
router-id 4.4.4.4
log-adjacency-changes
network 4.4.4.0 0.0.0.255 area 1
network 34.1.1.0 0.0.0.255 area 1
network 45.1.1.0 0.0.0.255 area 2
R5配置
interface Loopback0
ip address 5.5.5.5 255.255.255.0
interface Serial0/1
ip address 45.1.1.5 255.255.255.0
router ospf 110
router-id 5.5.5.5
log-adjacency-changes
network 5.5.5.0 0.0.0.255 area 2
network 45.1.1.0 0.0.0.255 area 2
3、配置OSPF多進程重分布
此時R1和R5都沒有彼此的路由。我們將R4上OSPF的配置修改如下
router ospf 110
router-id 4.4.4.4
log-adjacency-changes
redistribute ospf 100 subnets
network 4.4.4.0 0.0.0.255 area 1
network 34.1.1.0 0.0.0.255 area 1
router ospf 100
router-id 4.4.4.40
log-adjacency-changes
redistribute ospf 110 subnets
network 45.1.1.0 0.0.0.255 area 2
當前文章:24、OSPF配置實驗之不規(guī)則區(qū)域多進程雙向重分布
路徑分享:http://jinyejixie.com/article24/ijjsje.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站策劃、網(wǎng)站營銷、網(wǎng)站維護、網(wǎng)站制作、ChatGPT、做網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)