20. 【Cisco】ラボ#10 ルーティングの設定 (3号館)
FORSE 20
手順8 ルーティングの設定をする (RT-5)
手順8 ルーティングの設定をする (RT-6)
手順8 ルーティングの設定をする (RT-56)
手順9 設定を確認する (共通)
RT-5#configure terminal
RT-5(config)#router ospf 1
RT-5(config-router)#network 192.168.50.0 0.0.0.255 area 0
RT-5(config-router)#network 172.16.50.0 0.0.0.255 area 0
RT-5(config-router)#network 172.16.56.0 0.0.0.255 area 0
RT-5(config-router)#passive-interface gi0
RT-5(config-router)#end
RT-6#configure terminal
RT-6(config)#router ospf 1
RT-6(config-router)#network 192.168.60.0 0.0.0.255 area 0
RT-6(config-router)#network 172.16.60.0 0.0.0.255 area 0
RT-6(config-router)#network 172.16.56.0 0.0.0.255 area 0
RT-6(config-router)#passive-interface gi0
RT-6(config-router)#end
RT-56#configure terminal
RT-56(config)#ip route 0.0.0.0 0.0.0.0 10.3.3.3
RT-56(config)#router ospf 1
RT-56(config-router)#network 10.3.3.0 0.0.0.255 area 0
RT-56(config-router)#network 172.16.50.0 0.0.0.255 area 0
RT-56(config-router)#network 172.16.60.0 0.0.0.255 area 0
RT-56(config-router)#end
RT-5#show run | section ospf
router ospf 1
passive-interface GigabitEthernet0
network 172.16.50.0 0.0.0.255 area 0
network 172.16.56.0 0.0.0.255 area 0
network 192.168.50.0 0.0.0.255 area 0
RT-5#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.60.2 1 FULL/BDR 00:00:33 172.16.56.2 FastEthernet0
172.16.60.4 1 FULL/BDR 00:00:39 172.16.50.4 GigabitEthernet8
21. 【Cisco】ラボ#10 ルーティングの確認 (共通)
FORSE 21
手順10 確認する
・RIPの例
※RT-12,34はデフォルトルート(S*)も確認
・OSPFの例
※RT-56はデフォルトルート(S*)も確認
RT-1#show ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
R 10.1.1.0 [120/1] via 172.16.10.4, 00:00:17, GigabitEthernet8
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
C 172.16.10.0/24 is directly connected, GigabitEthernet8
L 172.16.10.1/32 is directly connected, GigabitEthernet8
C 172.16.12.0/24 is directly connected, FastEthernet0
L 172.16.12.1/32 is directly connected, FastEthernet0
R 172.16.20.0/24 [120/1] via 172.16.12.2, 00:00:16, FastEthernet0
[120/1] via 172.16.10.4, 00:00:17, GigabitEthernet8
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, Vlan10
L 192.168.10.1/32 is directly connected, Vlan10
R 192.168.20.0/24 [120/1] via 172.16.12.2, 00:00:16, FastEthernet0
RT-5#show ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
O 10.3.3.0 [110/2] via 172.16.50.4, 00:15:04, GigabitEthernet8
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
C 172.16.50.0/24 is directly connected, GigabitEthernet8
L 172.16.50.1/32 is directly connected, GigabitEthernet8
C 172.16.56.0/24 is directly connected, FastEthernet0
L 172.16.56.1/32 is directly connected, FastEthernet0
O 172.16.60.0/24 [110/2] via 172.16.56.2, 00:16:39, FastEthernet0
[110/2] via 172.16.50.4, 00:14:54, GigabitEthernet8
192.168.50.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.50.0/24 is directly connected, Vlan50
L 192.168.50.1/32 is directly connected, Vlan50
O 192.168.60.0/24 [110/2] via 172.16.56.2, 00:16:39, FastEthernet0
25. 【Cisco】ラボ#10 GREトンネル 確認 (共通)
FORSE 25
手順14 設定の確認をする
・トンネルインターフェイスがup/upになっていることを確認
・トンネルインターフェイスがConnectedとして表示されていることを確認
・アクセスリストを確認
RT-12#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES unset administratively
down down
GigabitEthernet0/0 172.16.10.4 YES manual up up
GigabitEthernet0/1 172.16.20.4 YES manual up up
FastEthernet0/0/0 10.1.1.4 YES manual up up
FastEthernet0/0/1 unassigned YES unset administratively down
down
Tunnel12 1.1.1.1 YES manual up up
Tunnel13 3.3.3.1 YES manual up up
RT-12#show ip route
Gateway of last resort is 10.1.1.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.1.1.1
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.0/24 is directly connected, Tunnel12
L 1.1.1.1/32 is directly connected, Tunnel12
3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 3.3.3.0/24 is directly connected, Tunnel13
L 3.3.3.1/32 is directly connected, Tunnel13
(省略)
RT-12#show access-list 1
Standard IP access list 1
10 deny 10.1.1.0, wildcard bits 0.0.0.255
20 permit any
RT-12#show run | section Tunnel
interface Tunnel12
ip address 1.1.1.1 255.255.255.0
tunnel source 10.1.1.4
tunnel destination 10.2.2.4
interface Tunnel13
ip address 3.3.3.1 255.255.255.0
tunnel source 10.1.1.4
tunnel destination 10.3.3.4
28. 【Cisco】ラボ#10 EIGRP確認 (全員)
FORSE 28
手順16 設定の確認をする
・ネイバーを確認
・ルートの確認
※RT-1~6も「show ip route」でルートが増えていることを確認
RT-12#show run | section router
router eigrp 1
distribute-list 1 out Tunnel12
distribute-list 1 out Tunnel13
default-metric 100000 100 255 1 1500
network 1.1.1.0 0.0.0.255
network 3.3.3.0 0.0.0.255
redistribute rip
router rip
version 2
redistribute eigrp 1
network 10.0.0.0
network 172.16.0.0
default-metric 2
no auto-summary
RT-12#show ip eigrp neighbors
RT-12#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H Address Interface Hold Uptime SRTT RTO Q
Seq
(sec) (ms) Cnt Num
1 3.3.3.3 Tu13 13 00:05:57 6 1470 0 10
0 1.1.1.2 Tu12 12 00:10:27 8 1470 0 5
RT-12#show ip route eigrp
Gateway of last resort is 10.1.1.1 to network 0.0.0.0
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [90/27648000] via 1.1.1.2, 00:13:21, Tunnel12
172.16.0.0/16 is variably subnetted, 11 subnets, 2 masks
D EX 172.16.30.0/24 [170/26393600] via 1.1.1.2, 00:13:20, Tunnel12
D EX 172.16.34.0/24 [170/26393600] via 1.1.1.2, 00:13:20, Tunnel12
D EX 172.16.40.0/24 [170/26393600] via 1.1.1.2, 00:13:20, Tunnel12
D EX 172.16.50.0/24 [170/26905600] via 3.3.3.3, 00:01:01, Tunnel13
D EX 172.16.56.0/24 [170/26905600] via 3.3.3.3, 00:01:01, Tunnel13
D EX 172.16.60.0/24 [170/26905600] via 3.3.3.3, 00:01:01, Tunnel13
D EX 192.168.30.0/24 [170/26393600] via 1.1.1.2, 00:13:20, Tunnel12
D EX 192.168.40.0/24 [170/26393600] via 1.1.1.2, 00:13:20, Tunnel12
D EX 192.168.50.0/24 [170/26905600] via 3.3.3.3, 00:01:01, Tunnel13
D EX 192.168.60.0/24 [170/26905600] via 3.3.3.3, 00:01:01, Tunnel13