ospf DN bit
初期設定
DN bit
PE2#sh ip ospf database sum
OSPF Router with ID (2.2.2.2) (Process ID 1)
OSPF Router with ID (10.1.1.253) (Process ID 100)
Summary Net Link States (Area 1)
LS age: 418
Options: (No TOS-capability, DC, Downward)
LS Type: Summary Links(Network)
Link State ID: 10.2.2.0 (summary Network Number)
Advertising Router: 10.1.1.253
LS Seq Number: 80000001
Checksum: 0xFDA5
Length: 28
Network Mask: /24
MTID: 0 Metric: 1
LS age: 421
Options: (No TOS-capability, DC, Downward)
LS Type: Summary Links(Network)
Link State ID: 10.2.2.0 (summary Network Number)
Advertising Router: 10.1.1.254
LS Seq Number: 80000001
Checksum: 0xF7AA
Length: 28
Network Mask: /24
MTID: 0 Metric: 1
Options: (No TOS-capability, DC, Downward)
ループ防止のためにDNbitが付与されている。
ビフォーアフター
[Before]
CE2#sh ip ro | b Gate
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C 10.1.1.0/24 is directly connected, GigabitEthernet0/0
L 10.1.1.2/32 is directly connected, GigabitEthernet0/0
C 10.1.12.0/24 is directly connected, GigabitEthernet0/1
L 10.1.12.2/32 is directly connected, GigabitEthernet0/1
O IA 10.2.2.0/24 [110/2] via 10.1.1.253, 00:10:38, GigabitEthernet0/0
[After]
CE2#sh ip ro
<略>
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C 10.1.1.0/24 is directly connected, GigabitEthernet0/0
L 10.1.1.2/32 is directly connected, GigabitEthernet0/0
C 10.1.12.0/24 is directly connected, GigabitEthernet0/1
L 10.1.12.2/32 is directly connected, GigabitEthernet0/1
O E2 10.2.2.0/24 [110/1] via 10.1.12.1, 00:00:24, GigabitEthernet0/1
DNbitがついていた時は、PEルータから10.2.2.0/24(拠点B)の経路を学習していたが、DNbitが無効化されると同一拠点内の別のCEルータから広告されていることが確認できる。
[Before]
PE2#sh ip ro vrf AA | b Gate
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C 10.1.1.0/24 is directly connected, GigabitEthernet0/1
L 10.1.1.253/32 is directly connected, GigabitEthernet0/1
O 10.1.12.0/24 [110/2] via 10.1.1.2, 00:10:18, GigabitEthernet0/1
B 10.2.2.0/24 [200/0] via 3.3.3.3, 00:05:35
[After]
PE2#sh ip ro vrf AA | b Gate
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C 10.1.1.0/24 is directly connected, GigabitEthernet0/1
L 10.1.1.253/32 is directly connected, GigabitEthernet0/1
O 10.1.12.0/24 [110/2] via 10.1.1.2, 00:06:18, GigabitEthernet0/1
O E2 10.2.2.0/24 [110/1] via 10.1.1.2, 00:05:49, GigabitEthernet0/1
ルーティングループが発生しているため、本来はPE3から学習するはずの経路を、CEから学習してしまっている。
仕様についてはある程度理解できたけど、capability vrf-liteでDNbitを無効にする例がイメージできない。まだ勉強が必要。