1、特殊區(qū)域totally stub解析
創(chuàng)新互聯(lián)建站是專業(yè)的漢源網(wǎng)站建設(shè)公司,漢源接單;提供成都網(wǎng)站制作、網(wǎng)站建設(shè),網(wǎng)頁設(shè)計(jì),網(wǎng)站設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專業(yè)做網(wǎng)站服務(wù);采用PHP框架,可快速的進(jìn)行漢源網(wǎng)站開發(fā)網(wǎng)頁制作和功能擴(kuò)展;專業(yè)做搜索引擎喜愛的網(wǎng)站,專業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來合作!
區(qū)域類型 | 作用 | 默認(rèn)路由 | 備注 | 命令 |
stub | 過濾LSA4、LSA5 | ABR默認(rèn)下發(fā)3類默認(rèn)路由,seed cost值為1 | 本區(qū)域所有路由器都必須配置成stub,否則鄰居起不來,且不能包含ASBR | area 2 stub area 2 default-cost x |
totally stub | 過濾LSA3、LSA4、LSA5 | ABR默認(rèn)下發(fā)3類默認(rèn)路由,seed cost值為1 | 本區(qū)域所有路由器都必須配置成stub,否則鄰居起不來,且不能包含ASBR | area 2 stub no-summary |
2、實(shí)驗(yàn)拓?fù)?/p>
3、實(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 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、實(shí)驗(yàn)驗(yàn)證
過濾LSA3、LSA4、LSA4
配置totally stub前
配置totally stub后
ABR下放3類默認(rèn)路由
配置totally stub前
配置totally stub后