- 実験日: 2022/07/27
- CCNA第4章相当 OSPF マルチエリア編
- 実験1
show ip ospf neighborコマンドを実行すると、どのルータがDR、BDR、DROTHERになるのか。
- 結果
- RT1
- show ip ospf neighbor
-
Neighbor ID Pri State Dead Time Address Interface
10.10.10.2 1 FULL/DR 00:00:31 192.168.100.2 GigabitEthernet0/0/0
- RT2
- show ip ospf neighbor
-
Neighbor ID Pri State Dead Time Address Interface
10.10.10.1 1 FULL/BDR 00:00:31 192.168.100.1 GigabitEthernet0/0/0
10.10.10.3 1 FULL/DR 00:00:31 192.168.150.2 GigabitEthernet0/0/1
- RT3
- show ip ospf neighbor
-
Neighbor ID Pri State Dead Time Address Interface
10.10.10.2 1 FULL/BDR 00:00:32 192.168.150.1 GigabitEthernet0/0/0
- 以上の結果より、RT2は同じプライオリティ値だった場合、ルータIDが大きい値をDRにして、低い値をBDRにすることが分かる。
- 結果
- 実験2
show ip route コマンドを実行すると、どのように表示されるのか。
-
結果
- RT1
- show ip route
-
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 1 subnets
C 10.10.10.1/32 is directly connected, Loopback0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.16.10.0/24 is directly connected, GigabitEthernet0/0/1
L 172.16.10.1/32 is directly connected, GigabitEthernet0/0/1
O IA 172.16.30.0/24 [110/3] via 192.168.100.2, 00:19:57,GigabitEthernet0/0/0
192.168.100.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.100.0/24 is directly connected, GigabitEthernet0/0/0
L 192.168.100.1/32 is directly connected, GigabitEthernet0/0/0
O IA 192.168.150.0/24 [110/2] via 192.168.100.2, 00:20:07,GigabitEthernet0/0/0
- RT2
- show ip route
-
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 1 subnets
C 10.10.10.1/32 is directly connected, Loopback0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.16.10.0/24 is directly connected, GigabitEthernet0/0/1
L 172.16.10.1/32 is directly connected, GigabitEthernet0/0/1
O IA 172.16.30.0/24 [110/3] via 192.168.100.2, 00:19:57, GigabitEthernet0/0/0
192.168.100.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.100.0/24 is directly connected, GigabitEthernet0/0/0
L 192.168.100.1/32 is directly connected, GigabitEthernet0/0/0
O IA 192.168.150.0/24 [110/2] via 192.168.100.2, 00:20:07, GigabitEthernet0/0/0
- RT3
- show ip route
-
Gateway of last resort is not set
10.0.0.0/32 is subnetted, 1 subnets
C 10.10.10.3/32 is directly connected, Loopback0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
O IA 172.16.10.0/24 [110/3] via 192.168.150.1, 00:22:06,GigabitEthernet0/0/0
C 172.16.30.0/24 is directly connected, GigabitEthernet0/0/1
L 172.16.30.1/32 is directly connected, GigabitEthernet0/0/1
O IA 192.168.100.0/24 [110/2] via 192.168.150.1, 00:22:06, GigabitEthernet0/0/0
192.168.150.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.150.0/24 is directly connected, GigabitEthernet0/0/0
L 192.168.150.2/32 is directly connected, GigabitEthernet0/0/0
- RT1の「O IA」を見るとRT3の172.16.30.0/24、192.168.150.0/24の情報を伝えられている事から、異なるエリアでもルート情報を得られていることが分かる。
-