1、實(shí)驗(yàn)拓?fù)?/p>
成都創(chuàng)新互聯(lián)從2013年成立,是專業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項(xiàng)目成都網(wǎng)站制作、成都網(wǎng)站設(shè)計(jì)網(wǎng)站策劃,項(xiàng)目實(shí)施與項(xiàng)目整合能力。我們以讓每一個(gè)夢(mèng)想脫穎而出為使命,1280元柳州做網(wǎng)站,已為上家服務(wù),為柳州各地企業(yè)和個(gè)人服務(wù),聯(lián)系電話:18980820575
按拓?fù)渌九渲煤肙SPF后,此時(shí)由于area2與area0之間隔著area1,此時(shí)area2中的R5并沒有路由可達(dá)area3、area0、area1。為此我們?cè)赗3、R4上建立一條Tunnel隧道,然后將Tunnel隧道通告進(jìn)area0即可。
2、實(shí)驗(yàn)配置
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多進(jìn)程重分布
此時(shí)R1和R5都沒有彼此的路由。我們將R3、R4上做如下修改
R3配置
interface Tunnel3
ip address 10.1.1.3 255.255.255.0
tunnel source 34.1.1.3
tunnel destination 34.1.1.4
router ospf 110
network 10.1.1.0 0.0.0.255 area 0
R4配置
interface Tunnel4
ip address 10.1.1.4 255.255.255.0
tunnel source 34.1.1.4
tunnel destination 34.1.1.3
router ospf 110
network 10.1.1.0 0.0.0.255 area 0