OSPF次末节区域配置 201
生活随笔
收集整理的這篇文章主要介紹了
OSPF次末节区域配置 201
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
【實(shí)驗(yàn)拓?fù)洹?/strong>
?
【實(shí)驗(yàn)基本配置】 1、按照上圖配置相應(yīng)接口以及OSPF?
【實(shí)驗(yàn)要求】
1、配置Area 1 為NSSA區(qū)域 2、在R6上配置1條靜態(tài)路由160.1.60.0/24指向 Null0,并充分發(fā)到OSPF中 3、將路由器1的ID修改為150.1.100.100?
? 【實(shí)驗(yàn)分析】
- 次末節(jié)區(qū)域(NSSA)定義:不接受本自治域系統(tǒng)(OSPF網(wǎng)絡(luò))之外的路由,但是他允許引入類(lèi)型7的LSA的外部路由,并將特定的類(lèi)型7的LSA路由轉(zhuǎn)換為來(lái)威脅5的LSA。
- 什么情況下使用次末節(jié)區(qū)域:例如下圖中,區(qū)域1中的路由器沒(méi)有足夠的性能處理OSPF時(shí),該怎么辦?我們可以把區(qū)域1配置為末節(jié)區(qū)域或次末節(jié)區(qū)域,來(lái)減少OSPF路由器的負(fù)擔(dān),但這樣會(huì)出現(xiàn)1個(gè)問(wèn)題,RIP將無(wú)法通告到OSPF中。此時(shí)利用次末節(jié)區(qū)域能夠很好的解決這一問(wèn)題。
- 配置次末節(jié)區(qū)域時(shí)注意事項(xiàng),必須在該區(qū)域中的所有路由器上進(jìn)行配置,否則該區(qū)域中的路由器將無(wú)法達(dá)到毗鄰狀態(tài)。
?
【實(shí)驗(yàn)配置】 R1,R4,R6: router ospf 1 area 1 nssa R6: ip route 160.1.60.0 255.255.255.0 Null0 router ospf 1 redistribute static subnets R1: router ospf 1 router-id 150.1.100.100? 【實(shí)驗(yàn)驗(yàn)證】
? 配置之前--------------------------------------------------------->> R1#show ip route ospf 160.1.0.0/24 is subnetted, 1 subnets O E2 160.1.60.0 [110/20] via 155.1.146.6, 00:00:41, FastEthernet0/0 150.1.0.0/16 is variably subnetted, 4 subnets, 2 masks O 150.1.6.6/32 [110/2] via 155.1.146.6, 00:00:41, FastEthernet0/0 O 150.1.5.5/32 [110/65] via 155.1.0.5, 00:01:24, Serial0/0 O 150.1.4.4/32 [110/2] via 155.1.146.4, 00:00:41, FastEthernet0/0 R4#show ip route ospf 160.1.0.0/24 is subnetted, 1 subnets O N2 160.1.60.0 [110/20] via 155.1.146.6, 00:01:10, Ethernet0/1 150.1.0.0/16 is variably subnetted, 4 subnets, 2 masks O 150.1.6.6/32 [110/11] via 155.1.146.6, 00:01:10, Ethernet0/1 O 150.1.5.5/32 [110/391] via 155.1.0.5, 00:01:25, Serial0/0 O 150.1.1.1/32 [110/11] via 155.1.146.1, 00:01:10, Ethernet0/1 R5#show ip route ospf 155.1.0.0/24 is subnetted, 3 subnets O IA 155.1.146.0 [110/391] via 155.1.0.1, 00:01:28, Serial0/0 160.1.0.0/24 is subnetted, 1 subnets O E2 160.1.60.0 [110/20] via 155.1.0.1, 00:02:06, Serial0/0 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks O IA 150.1.6.6/32 [110/392] via 155.1.0.1, 00:01:42, Serial0/0 O IA 150.1.4.4/32 [110/391] via 155.1.0.4, 00:04:42, Serial0/0 O IA 150.1.1.1/32 [110/391] via 155.1.0.1, 00:04:36, Serial0/0 R5#show ip ospf database external 160.1.60.0 OSPF Router with ID (150.1.5.5) (Process ID 1) Type-5 AS External Link States Routing Bit Set on this LSA LS age: 226 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 160.1.60.0 (External Network Number ) Advertising Router: 150.1.4.4 LS Seq Number: 80000001 Checksum: 0xBCC2 Length: 36 Network Mask: /24 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 20 Forward Address: 150.1.6.6 External Route Tag: 0 R1#show ip ospf database external 160.1.60.0 OSPF Router with ID (150.1.1.1) (Process ID 1) Type-5 AS External Link States Routing Bit Set on this LSA LS age: 321 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 160.1.60.0 (External Network Number ) Advertising Router: 150.1.4.4 LS Seq Number: 80000001 Checksum: 0xBCC2 Length: 36 Network Mask: /24 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 20 Forward Address: 150.1.6.6 External Route Tag: 0 R4#show ip ospf database nssa-external 160.1.60.0 OSPF Router with ID (150.1.4.4) (Process ID 1) Type-7 AS External Link States (Area 1) Routing Bit Set on this LSA LS age: 376 Options: (No TOS-capability, Type 7/5 translation, DC) LS Type: AS External Link Link State ID: 160.1.60.0 (External Network Number ) Advertising Router: 150.1.6.6 LS Seq Number: 80000001 Checksum: 0xE63 Length: 36 Network Mask: /24 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 20 Forward Address: 150.1.6.6 External Route Tag: 0 配置之后------------------------------------------------>> R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router ospf 1 R1(config-router)#router-id 150.1.100.100 Reload or use "clear ip ospf process" command, for this to take effect R1(config-router)#^Z R1#clear ip ospf process Reset ALL OSPF processes? [no]: yes R1#show ip route ospf 160.1.0.0/24 is subnetted, 1 subnets O N2 160.1.60.0 [110/20] via 155.1.146.6, 00:00:01, FastEthernet0/0 150.1.0.0/16 is variably subnetted, 4 subnets, 2 masks O 150.1.6.6/32 [110/2] via 155.1.146.6, 00:00:30, FastEthernet0/0 O 150.1.5.5/32 [110/65] via 155.1.0.5, 00:00:01, Serial0/0 O 150.1.4.4/32 [110/2] via 155.1.146.4, 00:00:30, FastEthernet0/0 R4#show ip route ospf 160.1.0.0/24 is subnetted, 1 subnets O E2 160.1.60.0 [110/20] via 155.1.146.6, 00:00:08, Ethernet0/1 150.1.0.0/16 is variably subnetted, 4 subnets, 2 masks O 150.1.6.6/32 [110/11] via 155.1.146.6, 00:00:27, Ethernet0/1 O 150.1.5.5/32 [110/391] via 155.1.0.5, 00:00:08, Serial0/0 O 150.1.1.1/32 [110/11] via 155.1.146.1, 00:00:27, Ethernet0/1 R5#show ip route ospf 155.1.0.0/24 is subnetted, 3 subnets O IA 155.1.146.0 [110/391] via 155.1.0.1, 00:00:17, Serial0/0 160.1.0.0/24 is subnetted, 1 subnets O E2 160.1.60.0 [110/20] via 155.1.0.1, 00:00:17, Serial0/0 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks O IA 150.1.6.6/32 [110/392] via 155.1.0.1, 00:00:17, Serial0/0 O IA 150.1.4.4/32 [110/391] via 155.1.0.4, 00:00:17, Serial0/0 O IA 150.1.1.1/32 [110/391] via 155.1.0.1, 00:00:17, Serial0/0 R5#show ip ospf database external 160.1.60.0 OSPF Router with ID (150.1.5.5) (Process ID 1) Type-5 AS External Link States Routing Bit Set on this LSA LS age: 45 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 160.1.60.0 (External Network Number ) Advertising Router: 150.1.100.100 LS Seq Number: 80000001 Checksum: 0xD7E6 Length: 36 Network Mask: /24 Metric Type: 2 (Larger than any link state path) TOS: 0 Metric: 20 Forward Address: 150.1.6.6 External Route Tag: 0
轉(zhuǎn)載于:https://blog.51cto.com/haolun/993178
總結(jié)
以上是生活随笔為你收集整理的OSPF次末节区域配置 201的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 虚拟化之四:虚拟化备份策略已成数据安全的
- 下一篇: [转帖]关于win7共享的问题和解答