忍者ブログ
Kossyの生活・仕事・ゲームのブログです^p^ 音ゲーは楽しい
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。


OSPFネットワーク構築その3 トータリースタブエリア」のエリア1をNSSAにし、
更にその先に小規模拠点を追加した。

・使用機器
Cisco1812×6台

この状況でどのようなルーティングテーブルになるか、
LSAタイプは何が流れるのか諸々確認。

まず、エリア1をNSSAにするためにR1・R2・R5に対してNSSAの設定を行う。
※ルータR1には追加でdefault-information-originateを設定する。
これはNSSAではデフォルトルートをLSAタイプ3で自動的にアドバタイズしないため。
この設定によって、LSAタイプ7でR1へのデフォルトルートがアドバタイズされるようになる。

ospf-4-nssaOSPF_NSSA構成図.png

拍手[0回]

◇R1/R2の設定
R1(config)# router ospf 100
R1(config-router)# area 1 nssa default-information-originate
※構築時に「default-information-originate」を追加し忘れたため、
NSSA内エリアにデフォルトルートがアドバタイズされず、他エリアへのPingが通らなくて焦ったw

R2(config)# router ospf 100
R2(config-router)# area 1 nssa


◇NSSA内ASBRルータR5の設定
R5> enable
R5# conf t
R5(config)# hostname R5
R5(config)# interface fa 0
R5(config-if)# ip address 192.168.3.5 255.255.255.0
R5(config-if)# no shutdown
R5(config-if)# interface fa 1
R5(config-if)# ip address 10.1.1.5 255.255.255.0
R5(config-if)# no shutdown
R5(config-if)# exit
R5(config)# router ospf 100
R5(config-router)# redistribute rip metric 5 subnets
R5(config-router)# router-id 200.1.1.50
R5(config-router)# area 1 nssa                                            //NSSAの設定
R5(config-router)# network 192.168.3.0 0.0.0.255 area 1
R5(config-router)# exit
R5(config)# router rip
R5(config-router)# version 2
R5(config-router)# redistribute ospf 100 metric 5            //再配送の設定(OSPF→RIP)
R5(config-router)# network 10.1.0.0   
R5(config-router)# no auto-summary
R5(config-router)# end
R5# copy running-config startup-config


◇小規模拠点のルータR6の設定
R6> enable
R6# conf t
R6(config)# hostname R6
R6(config-if)# interface fa 0
R6(config-if)# ip address 10.1.1.6 255.255.255.0
R6(config-if)# no shutdown
R6(config-if)# interface lo 0
R6(config-if)# ip address 10.1.2.6 255.255.255.0
R6(config-if)# no shutdown
R6(config-if)# exit
R6(config)# router rip
R6(config-router)# version 2
R6(config-router)# network 10.1.0.0
R6(config-router)# no auto-summary
R6(config-router)# end
R6# copy running-config startup-config


設定が終わったらルーティングテーブルおよびLSAタイプを確認する。

------------<< R1 >>----------------------------------------------------------------
R1# sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     172.16.0.0/24 is subnetted, 2 subnets
O E2    172.16.1.0 [110/20] via 192.168.1.3, 01:52:04, FastEthernet0
O E2    172.16.2.0 [110/20] via 192.168.1.3, 01:51:02, FastEthernet0
     192.168.5.0/26 is subnetted, 1 subnets
O IA    192.168.5.0 [110/2] via 192.168.1.3, 01:57:26, FastEthernet0
     10.0.0.0/24 is subnetted, 2 subnets
O N2    10.1.2.0 [110/5] via 192.168.2.2, 00:06:20, FastEthernet1
O N2    10.1.1.0 [110/5] via 192.168.2.2, 00:06:10, FastEthernet1

C    192.168.1.0/24 is directly connected, FastEthernet0
     192.168.2.0/28 is subnetted, 1 subnets
C       192.168.2.0 is directly connected, FastEthernet1
O    192.168.3.0/24 [110/2] via 192.168.2.2, 01:57:27, FastEthernet1


※小規模ドメインはOSPF NSSA external type 2からのルートとして載っている。

------------<< R1 >>----------------------------------------------------------------
R1# sh ip ospf
 Routing Process "ospf 100" with ID 200.1.1.250
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 Supports Link-local Signaling (LLS)
 Supports area transit capability
 It is an area border and autonomous system boundary router
 Redistributing External Routes from,
 Initial SPF schedule delay 5000 msecs
 Minimum hold time between two consecutive SPFs 10000 msecs
 Maximum wait time between two consecutive SPFs 10000 msecs
 Incremental-SPF disabled
 Minimum LSA interval 5 secs
 Minimum LSA arrival 1000 msecs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 33 msecs
 Retransmission pacing timer 66 msecs
 Number of external LSA 4. Checksum Sum 0x01D2C1
 Number of opaque AS LSA 0. Checksum Sum 0x000000
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 2. 1 normal 0 stub 1 nssa
 Number of areas transit capable is 0
 External flood list length 0
 IETF NSF helper support enabled
 Cisco NSF helper support enabled
    Area BACKBONE(0)
        Number of interfaces in this area is 1
        Area has no authentication
        SPF algorithm last executed 01:57:51.232 ago
        SPF algorithm executed 11 times
        Area ranges are
        Number of LSA 6. Checksum Sum 0x03F625
        Number of opaque link LSA 0. Checksum Sum 0x000000
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0
    Area 1
        Number of interfaces in this area is 1
        It is a NSSA area
        Perform type-7/type-5 LSA translation

        generates NSSA default route with cost 1
        Area has no authentication
        SPF algorithm last executed 01:57:41.232 ago
        SPF algorithm executed 10 times
        Area ranges are
        Number of LSA 10. Checksum Sum 0x04B23B
        Number of opaque link LSA 0. Checksum Sum 0x000000
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0


※LSAタイプ7をタイプ5に変換する旨の表記があることが分かる。

------------<< R1 >>----------------------------------------------------------------
R1# sh ip ospf database

            OSPF Router with ID (200.1.1.250) (Process ID 100)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.1.1.10      200.1.1.10      1893        0x8000005F 0x00351A 1
200.1.1.250     200.1.1.250     1374        0x8000000A 0x00B410 1

                Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.1.1     200.1.1.250     1884        0x80000059 0x00CA4B

                Summary Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.2.0     200.1.1.250     1374        0x8000005D 0x00B805
192.168.3.0     200.1.1.250     1374        0x80000004 0x00C441
192.168.5.0     200.1.1.10      1893        0x80000008 0x00C66A

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.1.1.20      200.1.1.20      1086        0x8000000C 0x00D3C6 2
200.1.1.50      200.1.1.50      1379        0x80000008 0x0074D2 1
200.1.1.250     200.1.1.250     1375        0x8000000A 0x00704C 1

                Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.2.1     200.1.1.250     1375        0x80000004 0x004227
192.168.3.5     200.1.1.50      1379        0x80000007 0x0040A3

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.1.0     200.1.1.250     1375        0x80000009 0x006C91
192.168.5.0     200.1.1.250     1375        0x80000009 0x00CE69

                Type-7 AS External Link States (Area 1)


Link ID         ADV Router      Age         Seq#       Checksum Tag
0.0.0.0         200.1.1.250     1375        0x80000004 0x005F1D 0

10.1.1.0        200.1.1.50      417         0x80000003 0x0071B7 0
10.1.2.0        200.1.1.50      428         0x80000001 0x006ABF 0

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
10.1.1.0        200.1.1.250     411         0x80000003 0x005119 0
10.1.2.0        200.1.1.250     426         0x80000001 0x004A21 0
172.16.1.0      200.1.1.10      916         0x80000059 0x004C69 0
172.16.2.0      200.1.1.10      673         0x80000004 0x00EB1E 0


※LSDB内にタイプ7の情報があり、デフォルトルートが存在することが分かる。

------------<< R2 >>----------------------------------------------------------------
R2# sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.2.1 to network 0.0.0.0

     192.168.5.0/26 is subnetted, 1 subnets
O IA    192.168.5.0 [110/3] via 192.168.2.1, 01:59:59, FastEthernet0
     10.0.0.0/24 is subnetted, 2 subnets
O N2    10.1.2.0 [110/5] via 192.168.3.5, 00:09:02, FastEthernet1
O N2    10.1.1.0 [110/5] via 192.168.3.5, 00:08:52, FastEthernet1

O IA 192.168.1.0/24 [110/2] via 192.168.2.1, 01:59:59, FastEthernet0
     192.168.2.0/28 is subnetted, 1 subnets
C       192.168.2.0 is directly connected, FastEthernet0
C    192.168.3.0/24 is directly connected, FastEthernet1
O*N2 0.0.0.0/0 [110/1] via 192.168.2.1, 02:00:00, FastEthernet0


※小規模ドメインはRIP→OSPFの再配送によって、
N2 - OSPF NSSA external type 2でルート情報がアドバタイズされていることが分かる。
また、LSAタイプ7でアドバタイズされているデフォルトルートが存在している。

------------<< R2 >>----------------------------------------------------------------
R2# sh ip ospf
 Routing Process "ospf 100" with ID 200.1.1.20
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 Supports Link-local Signaling (LLS)
 Supports area transit capability
 Initial SPF schedule delay 5000 msecs
 Minimum hold time between two consecutive SPFs 10000 msecs
 Maximum wait time between two consecutive SPFs 10000 msecs
 Incremental-SPF disabled
 Minimum LSA interval 5 secs
 Minimum LSA arrival 1000 msecs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 33 msecs
 Retransmission pacing timer 66 msecs
 Number of external LSA 0. Checksum Sum 0x000000
 Number of opaque AS LSA 0. Checksum Sum 0x000000
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 1. 0 normal 0 stub 1 nssa
 Number of areas transit capable is 0
 External flood list length 0
 IETF NSF helper support enabled
 Cisco NSF helper support enabled
    Area 1
        Number of interfaces in this area is 2
        It is a NSSA area
        Area has no authentication
        SPF algorithm last executed 02:00:47.832 ago
        SPF algorithm executed 8 times
        Area ranges are
        Number of LSA 10. Checksum Sum 0x04B23B
        Number of opaque link LSA 0. Checksum Sum 0x000000
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0


------------<< R2 >>----------------------------------------------------------------
R2# sh ip ospf database

            OSPF Router with ID (200.1.1.20) (Process ID 100)

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.1.1.20      200.1.1.20      1289        0x8000000C 0x00D3C6 2
200.1.1.50      200.1.1.50      1580        0x80000008 0x0074D2 1
200.1.1.250     200.1.1.250     1578        0x8000000A 0x00704C 1

                Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.2.1     200.1.1.250     1578        0x80000004 0x004227
192.168.3.5     200.1.1.50      1580        0x80000007 0x0040A3

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.1.0     200.1.1.250     1578        0x80000009 0x006C91
192.168.5.0     200.1.1.250     1578        0x80000009 0x00CE69

                Type-7 AS External Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Tag
0.0.0.0         200.1.1.250     1578        0x80000004 0x005F1D 0

10.1.1.0        200.1.1.50      619         0x80000003 0x0071B7 0
10.1.2.0        200.1.1.50      629         0x80000001 0x006ABF 0


※タイプ1~3および7の情報のみとなっている。
よって、外部エリア(非OSPFドメイン)向けの情報は全てタイプ7のデフォルトルートを通ることが分かる。



------------<< R3 >>----------------------------------------------------------------
R3# sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     172.16.0.0/24 is subnetted, 2 subnets
C       172.16.1.0 is directly connected, FastEthernet1
R       172.16.2.0 [120/1] via 172.16.1.4, 00:00:02, FastEthernet1
     192.168.5.0/26 is subnetted, 1 subnets
C       192.168.5.0 is directly connected, Loopback0
     10.0.0.0/24 is subnetted, 2 subnets
O E2    10.1.2.0 [110/5] via 192.168.1.1, 00:10:57, FastEthernet0
O E2    10.1.1.0 [110/5] via 192.168.1.1, 00:10:43, FastEthernet0

C    192.168.1.0/24 is directly connected, FastEthernet0
     192.168.2.0/28 is subnetted, 1 subnets
O IA    192.168.2.0 [110/2] via 192.168.1.1, 02:02:00, FastEthernet0
O IA 192.168.3.0/24 [110/3] via 192.168.1.1, 02:02:05, FastEthernet0


※小規模拠点は外部エリアとして認識されている。

------------<< R3 >>----------------------------------------------------------------
R3# sh ip ospf
 Routing Process "ospf 100" with ID 200.1.1.10
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 Supports Link-local Signaling (LLS)
 Supports area transit capability
 It is an area border and autonomous system boundary router
 Redistributing External Routes from,
    rip, includes subnets in redistribution

 Initial SPF schedule delay 5000 msecs
 Minimum hold time between two consecutive SPFs 10000 msecs
 Maximum wait time between two consecutive SPFs 10000 msecs
 Incremental-SPF disabled
 Minimum LSA interval 5 secs
 Minimum LSA arrival 1000 msecs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 33 msecs
 Retransmission pacing timer 66 msecs
 Number of external LSA 4. Checksum Sum 0x01D2C1
 Number of opaque AS LSA 0. Checksum Sum 0x000000
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 2. 2 normal 0 stub 0 nssa
 Number of areas transit capable is 0
 External flood list length 0
 IETF NSF helper support enabled
 Cisco NSF helper support enabled
    Area BACKBONE(0)
        Number of interfaces in this area is 1
        Area has no authentication
        SPF algorithm last executed 02:02:56.888 ago
        SPF algorithm executed 16 times
        Area ranges are
        Number of LSA 6. Checksum Sum 0x03F028
        Number of opaque link LSA 0. Checksum Sum 0x000000
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0
    Area 2
        Number of interfaces in this area is 1
        Area has no authentication
        SPF algorithm last executed 03:58:05.836 ago
        SPF algorithm executed 10 times
        Area ranges are
        Number of LSA 5. Checksum Sum 0x0182FE
        Number of opaque link LSA 0. Checksum Sum 0x000000
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0


------------<< R3 >>----------------------------------------------------------------
R3# sh ip ospf database

            OSPF Router with ID (200.1.1.10) (Process ID 100)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.1.1.10      200.1.1.10      219         0x80000060 0x00331B 1
200.1.1.250     200.1.1.250     1672        0x8000000A 0x00B410 1

                Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.1.1     200.1.1.250     139         0x8000005A 0x00C84C

                Summary Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.2.0     200.1.1.250     1672        0x8000005D 0x00B805
192.168.3.0     200.1.1.250     1672        0x80000004 0x00C441
192.168.5.0     200.1.1.10      219         0x80000009 0x00C46B

                Router Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.1.1.10      200.1.1.10      219         0x8000005E 0x008375 1

                Summary Net Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.1.0     200.1.1.10      221         0x8000000A 0x006A89
192.168.2.0     200.1.1.10      1465        0x80000009 0x0011F0
192.168.3.0     200.1.1.10      1465        0x80000004 0x007481

                Summary ASB Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum
200.1.1.250     200.1.1.10      1465        0x80000004 0x000E8F

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
10.1.1.0        200.1.1.250     707         0x80000003 0x005119 0
10.1.2.0        200.1.1.250     722         0x80000001 0x004A21 0

172.16.1.0      200.1.1.10      1210        0x80000059 0x004C69 0
172.16.2.0      200.1.1.10      967         0x80000004 0x00EB1E 0


------------<< R4 >>----------------------------------------------------------------
R4# sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     172.16.0.0/24 is subnetted, 2 subnets
C       172.16.1.0 is directly connected, FastEthernet0
C       172.16.2.0 is directly connected, Loopback0
     192.168.5.0/26 is subnetted, 1 subnets
R       192.168.5.0 [120/5] via 172.16.1.3, 00:00:12, FastEthernet0
     10.0.0.0/24 is subnetted, 2 subnets
R       10.1.2.0 [120/5] via 172.16.1.3, 00:00:12, FastEthernet0
R       10.1.1.0 [120/5] via 172.16.1.3, 00:00:12, FastEthernet0
R    192.168.1.0/24 [120/5] via 172.16.1.3, 00:00:12, FastEthernet0
     192.168.2.0/28 is subnetted, 1 subnets
R       192.168.2.0 [120/5] via 172.16.1.3, 00:00:13, FastEthernet0
R    192.168.3.0/24 [120/5] via 172.16.1.3, 00:00:13, FastEthernet0


------------<< R4 >>----------------------------------------------------------------
R4# sh ip rip database
10.0.0.0/8    auto-summary
10.1.1.0/24
    [5] via 172.16.1.3, 00:00:12, FastEthernet0
10.1.2.0/24
    [5] via 172.16.1.3, 00:00:12, FastEthernet0
172.16.0.0/16    auto-summary
172.16.1.0/24    directly connected, FastEthernet0
172.16.2.0/24    directly connected, Loopback0
192.168.1.0/24    auto-summary
192.168.1.0/24
    [5] via 172.16.1.3, 00:00:12, FastEthernet0
192.168.2.0/24    auto-summary
192.168.2.0/28
    [5] via 172.16.1.3, 00:00:12, FastEthernet0
192.168.3.0/24    auto-summary
192.168.3.0/24
    [5] via 172.16.1.3, 00:00:12, FastEthernet0
192.168.5.0/24    auto-summary
192.168.5.0/26
    [5] via 172.16.1.3, 00:00:12, FastEthernet0


------------<< R5 >>----------------------------------------------------------------
R5# sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.3.2 to network 0.0.0.0

     192.168.5.0/26 is subnetted, 1 subnets
O IA    192.168.5.0 [110/4] via 192.168.3.2, 02:04:41, FastEthernet0
     10.0.0.0/24 is subnetted, 2 subnets
R       10.1.2.0 [120/1] via 10.1.1.6, 00:00:11, FastEthernet1
C       10.1.1.0 is directly connected, FastEthernet1
O IA 192.168.1.0/24 [110/3] via 192.168.3.2, 02:04:41, FastEthernet0
     192.168.2.0/28 is subnetted, 1 subnets
O       192.168.2.0 [110/2] via 192.168.3.2, 02:04:41, FastEthernet0
C    192.168.3.0/24 is directly connected, FastEthernet0
O*N2 0.0.0.0/0 [110/1] via 192.168.3.2, 02:04:42, FastEthernet0


------------<< R5 >>----------------------------------------------------------------
R5# sh ip ospf
 Routing Process "ospf 100" with ID 200.1.1.50
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 Supports Link-local Signaling (LLS)
 Supports area transit capability
 It is an autonomous system boundary router
 Redistributing External Routes from,
    rip with metric mapped to 5, includes subnets in redistribution

 Initial SPF schedule delay 5000 msecs
 Minimum hold time between two consecutive SPFs 10000 msecs
 Maximum wait time between two consecutive SPFs 10000 msecs
 Incremental-SPF disabled
 Minimum LSA interval 5 secs
 Minimum LSA arrival 1000 msecs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 33 msecs
 Retransmission pacing timer 66 msecs
 Number of external LSA 0. Checksum Sum 0x000000
 Number of opaque AS LSA 0. Checksum Sum 0x000000
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 1. 0 normal 0 stub 1 nssa
 Number of areas transit capable is 0
 External flood list length 0
 IETF NSF helper support enabled
 Cisco NSF helper support enabled
    Area 1
        Number of interfaces in this area is 1
        It is a NSSA area
        Area has no authentication
        SPF algorithm last executed 02:05:06.288 ago
        SPF algorithm executed 7 times
        Area ranges are
        Number of LSA 10. Checksum Sum 0x04B23B
        Number of opaque link LSA 0. Checksum Sum 0x000000
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0


※RIP→OSPFへ再配送が定義されていることが分かる。

------------<< R5 >>----------------------------------------------------------------
R5# sh ip ospf database

            OSPF Router with ID (200.1.1.50) (Process ID 100)

                Router Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.1.1.20      200.1.1.20      1529        0x8000000C 0x00D3C6 2
200.1.1.50      200.1.1.50      1818        0x80000008 0x0074D2 1
200.1.1.250     200.1.1.250     1819        0x8000000A 0x00704C 1

                Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.2.1     200.1.1.250     1819        0x80000004 0x004227
192.168.3.5     200.1.1.50      1818        0x80000007 0x0040A3

                Summary Net Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.1.0     200.1.1.250     1819        0x80000009 0x006C91
192.168.5.0     200.1.1.250     1819        0x80000009 0x00CE69

                Type-7 AS External Link States (Area 1)

Link ID         ADV Router      Age         Seq#       Checksum Tag
0.0.0.0         200.1.1.250     1819        0x80000004 0x005F1D 0
10.1.1.0        200.1.1.50      857         0x80000003 0x0071B7 0
10.1.2.0        200.1.1.50      866         0x80000001 0x006ABF 0


------------<< R6 >>----------------------------------------------------------------
R6# sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.1.1.5 to network 0.0.0.0

     192.168.5.0/26 is subnetted, 1 subnets
R       192.168.5.0 [120/5] via 10.1.1.5, 00:00:08, FastEthernet0
     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.2.0 is directly connected, Loopback0
C       10.1.1.0 is directly connected, FastEthernet0
R    192.168.1.0/24 [120/5] via 10.1.1.5, 00:00:08, FastEthernet0
     192.168.2.0/28 is subnetted, 1 subnets
R       192.168.2.0 [120/5] via 10.1.1.5, 00:00:08, FastEthernet0
R    192.168.3.0/24 [120/5] via 10.1.1.5, 00:00:08, FastEthernet0
R*   0.0.0.0/0 [120/5] via 10.1.1.5, 00:00:10, FastEthernet0


※RIPドメイン(172.16.0.0)は外部エリアなのでデフォルトルートとしてアドバタイズされている。

------------<< R6 >>----------------------------------------------------------------
R6# sh ip rip database
0.0.0.0/0    auto-summary
0.0.0.0/0
    [5] via 10.1.1.5, 00:00:08, FastEthernet0
10.0.0.0/8    auto-summary
10.1.1.0/24    directly connected, FastEthernet0
10.1.2.0/24    directly connected, Loopback0
192.168.1.0/24    auto-summary
192.168.1.0/24
    [5] via 10.1.1.5, 00:00:08, FastEthernet0
192.168.2.0/24    auto-summary
192.168.2.0/28
    [5] via 10.1.1.5, 00:00:08, FastEthernet0
192.168.3.0/24    auto-summary
192.168.3.0/24
    [5] via 10.1.1.5, 00:00:08, FastEthernet0
192.168.5.0/24    auto-summary
192.168.5.0/26
    [5] via 10.1.1.5, 00:00:08, FastEthernet0



以上(´・ω・`)貼り付けまくりでした。


→「OSPFネットワーク構築その5 トータリーNSSA」へ

 
PR

Comment
Name
Title
Mail
URL
Comment
Pass   Vodafone絵文字 i-mode絵文字 Ezweb絵文字
この記事へのトラックバック
この記事にトラックバックする:
[162] [161] [160] [159] [158] [157] [156] [155] [154] [153] [152
«  Back :   HOME   : Next  »
カウンター
カレンダー
10 2024/11 12
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
プロフィール

[Author] Kossy
[Steam_ID] Kossy

定時帰りそこそこ復活<(╹ヮ╹)>

最新コメント
[07/17 Kossy]
[07/17 カサハンラ]
[09/04 Kossy]
[09/03 おちんちん]
[08/04 testes]
[08/03 Kossy]
[08/02 testes]
マシンスペック

【メインPC】
[OS] Windows11 Pro
[CPU] Core i5-10400 @2.9GHz
[MEM] 32GB
[VGA] NVIDIA GTX1660 SUPER
[マウス] Logicool M550L
[PAD] SteelSeries QcK 63004
[キーボード] Logicool K295

【Webサーバー機】
[Model] MINISFORUM N40
[OS] Rocky Linux
[CPU] Celeron N4020 @2.8GHz
[MEM] 4GB
[SSD] 64GB
ブログ内検索
アーカイブ
バーコード
最新トラックバック
忍者ブログ [PR]