ネットワーク構成
下記のネットワーク構成でOSPFによるダイナミックルーティングを行います。
初期設定
R1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ interface Loopback0 ip address 192.168.1.1 255.255.255.0 ip ospf network point-to-point ! interface Serial1/0 ip address 192.168.12.1 255.255.255.0 ! router ospf 1 router-id 1.1.1.1 log-adjacency-changes network 192.168.1.1 0.0.0.0 area 0 network 192.168.12.1 0.0.0.0 area 12 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ interface Loopback0 ip address 192.168.2.2 255.255.255.0 ip ospf network point-to-point ! interface Serial1/0 ip address 192.168.12.2 255.255.255.0 ! interface Serial1/1 ip address 192.168.23.2 255.255.255.0 ! router ospf 1 router-id 2.2.2.2 log-adjacency-changes network 192.168.2.2 0.0.0.0 area 12 network 192.168.12.2 0.0.0.0 area 12 network 192.168.23.2 0.0.0.0 area 23 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ R3 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ interface Loopback0 ip address 192.168.3.3 255.255.255.0 ip ospf network point-to-point ! interface Serial1/0 ip address 192.168.23.3 255.255.255.0 ! router ospf 1 router-id 3.3.3.3 log-adjacency-changes network 192.168.3.3 0.0.0.0 area 3 network 192.168.23.3 0.0.0.0 area 23 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
問題
R1でルーティングテーブルをみると、次のように192.168.2.0/24のルートしかOSPFで学習できていません。
R1 show ip route
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
R1#show 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
C 192.168.12.0/24 is directly connected, Serial1/0
C 192.168.1.0/24 is directly connected, Loopback0
O 192.168.2.0/24 [110/65] via 192.168.12.2, 00:07:31, Serial1/0
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
エリア構成を変えないで、必要なネットワークのルート情報が各ルータのルーティングテーブルに登録されるようにしたいと考えています。
どのように設定すればよいですか?
OSPFをしっかり身に付けるなら!







