1、特殊區(qū)域stub解析
創(chuàng)新互聯(lián)專業(yè)為企業(yè)提供周至網(wǎng)站建設(shè)、周至做網(wǎng)站、周至網(wǎng)站設(shè)計、周至網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計與制作、周至企業(yè)網(wǎng)站模板建站服務(wù),十年周至做網(wǎng)站經(jīng)驗,不只是建網(wǎng)站,更提供有價值的思路和整體網(wǎng)絡(luò)服務(wù)。
區(qū)域類型 | 作用 | 是否下發(fā)默認路由 | 備注 |
stub | 過濾LSA4、LSA5 | ABR默認下發(fā)3類默認路由,seed cost值為1 | 本區(qū)域所有路由器都必須配置成stub,否則鄰居起不來,且不能包含ASBR |
2、實驗拓撲
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 ospf 110
router-id 1.1.1.1
network 12.1.1.0 0.0.0.255 area 2
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.0router ospf 110
router-id 2.2.2.2
network 12.1.1.0 0.0.0.255 area 2
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.0router ospf 110
router-id 3.3.3.3
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
redistribute rip subnets
network 34.1.1.0 0.0.0.255 area 1
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
serial restart-delay 0
router rip
version 2
network 5.0.0.0
network 45.0.0.0
no auto-summary
4、實驗驗證
過濾LSA4、LSA4
配置stub前
配置stub后
ABR下放3類默認路由
5、修改重分布后的cost值,默認值為1