SlideShare a Scribd company logo
1 of 17
Download to read offline
【Cisco】ラボ7@秋葉原UDX
2020/xx/xx(土)9時00分から
FORSE 1
【Cisco】初心者ネットワーク勉強会@秋葉原UDX
FO
R
S
E
アジェンダ
0900~0905 今日出来るようになる事、自己紹介(チーム紹介)
0905~0930 構成確認、初期設定、物理結線
0930~1000 インターフェースの設定、疎通確認
1000~1030 OSPFの設定、疎通確認
時間があれば. . .CCNA試験対策(トラブル発生)講師がいたずらします
pingが失敗するので直してください
終わりの挨拶、追試の時間
参加いただきありがとうございます!!!
鈴木メモ
持ち物:PC×6、ルータ×6、LAN線×12、シリアルケーブル×6
前提
今日、出来るようになる事
自己紹介(鈴木)
席順
2
1
RT-1
4
RT-4
3
RT-3
5
RT-5
2
RT-2
6
RT-6
FO
R
S
E
PC3
192.168.30.10
【Cisco】ラボ#7 システム構成図(1)
PC1
192.168.10.10
PC2
192.168.20.10
#Gi0
.150
#Gi0
.150
#Gi0
.150
RT-1 RT-2
RT-3
3
キャリア障害時に、業務が止まってしまいました。
キャリアが総務省に提出した報告書を確認しましたが
自社の事は自社で守る事にします
キャリアISPを冗⾧化して、業務影響を
極小化する事にします。
FO
R
S
E
PC3
192.168.30.10
【Cisco】ラボ#7 システム構成図(2)
PC1
192.168.10.10
PC2
192.168.20.10
RT-2
RT-6
#Gi0
.150
RT-1
RT-5
RT-3
172.16.60.0/24 172.17.70.0/24
172.16.80.0/24172.16.50.0/24
172.16.90.0/24172.16.70.0/24
172.16.100.0/24
172.17.90.0/24 172.16.110.0/24
#Gi8
.30
#Fa0
.30
#Gi0
.150
Gi0
.150
#Gi8
.20
#Gi8
.10
#Fa0
.20
#Fa0
.10
#Fa0/0/0
.50
#Gi0/0
.50
#Gi0/1
.50
RT-4 #Fa0/0/0
.40
#Gi0/0
.40
#Gi0/1
.40 .40
#Fa0/0/1
#Fa0/0/1
.50
.60
#Fa0/0/0
#Gi0/0
.60
#Gi0/1
.60#Fa0/0/1
.60
4
【Cisco】ネットワーク基礎講座 ネットワークセグメント説明
S
E
5
役割 IPアドレス インターフェース
RT-1 192.168.10.150 Gi0/0
172.16.50.10 gi0/8
172.16.60.10 fa0/0
役割 IPアドレス 備考
RT-2 192.168.20.150 gi0/0
172.17.70.20 gi0/8
172.16.80.20 fa0/0
役割 IPアドレス 備考
RT-3 192.168.30.150 gi0/0
172.16.90.30 gi0/8
172.16.70.30 fa0/0
役割 IPアドレス 備考
RT-4 172.16.70.40 gi0/0
172.16.50.40 gi0/1
172.16.100.40 fa0/0/0
172.17.90.40 fa0/0/1
役割 IPアドレス 備考
RT-5 172.16.60.50 gi0/0
172.17.70.50 gi0/1
172.17.90.50 fa0/0/0
172.16.110.50 fa0/0/1
役割 IPアドレス 備考
RT-6 172.16.80.60 gi0/0
172.16.90.60 gi0/1
172.16.110.60 fa0/0/0
172.16.100.60 fa0/0/1
【Cisco】ラボ#7 PC設定変更
FO
R
S
E
PCのIPアドレスを設定する
PC1:192.168.10.10
PC2:192.168.20.10
PC3:192.168.30.10
デフォルトゲートウェイを設定する
PC1:192.168.10.150
PC2:192.168.20.150
PC3:192.168.30.150
6
IPアドレスを変更する。
「スタートメニュー」→「設定」(歯車マーク)→「ネットワークとイン
ターネット」→
「イーサネット」→「アダプターのオプションを変更する」→「イーサ
ネット」→
「インターネット プロトコル バージョン 4 (TCP/IPv4)」→「プロパティ
」→
「次の IPアドレスを使う」→「IPアドレス」を「192.168.x.10」に設定
「サブネットマスク」を「255.255.255.0」に設定
「デフォルトゲートウェイ」を「192.168.x.150」
【Cisco】ラボ#7 ルータの設定1
FO
R
S
E
7
手順1
ルータは起動に時間がかかります
セットアップモードが起動したら、noと入力、もしくはcttl+c
手順2 メッセージが表示され、Enterキーを押します。Router>のプロンプトが表示されます
手順3 特権モードに移行します。Router#のプロンプトが表示されます
手順4 グローバルコンフィグレーションモードに移行し,ホスト名を変更します。Router(config)#が表
示されます
手順5telnetで他のルータにログイン出来るようにする
ユーザ、パスワードを設定しないとリモートログインできない為。
手順6 4ページの構成図を参考に結線する
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]:no
Press RETURN to get started!
Router>
Router>enable
Router#
Router#configure terminal
Router(config)#hostname RT-1
RT-1(config)#no ip domain lookup
RT-1(config)#line console 0 ←0しかない
RT-1(config-line)#logging synchronous
RT-1(config-line)#end
RT-1 #configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
RT-1(config)#line vty 0 4
RT-1(config-line)#password cisco
RT-1(config-line)#transport input telnet
RT-1(config-line)#login
RT-1(config-line)#exit
RT-1(config)#enable password cisco
RT-1(config)#end
RT-1#
【Cisco】ラボ#7 ルータの設定2 (RT-1,2)
FO
R
S
E
8
手順7 IPアドレスを設定する (RT-1) 手順7 IPアドレスを設定する (RT-2)
RT-1#
RT-1#configure terminal
RT-1(config)#vlan 10
RT-1(config-vlan)#exit
RT-1(config)#interface vlan10
RT-1(config-if)#ip address 192.168.10.150 255.255.255.0
RT-1(config-if)#no shutdown
RT-1(config-if)#exit
RT-1(config)#interface gigabitEthernet 0
RT-1(config-if)#switchport access vlan 10
RT-1(config-if)# switchport mode access
RT-1(config-if)#exit
RT-1(config)#interface gigabitEthernet 8
RT-1(config-if)#ip address 172.16.50.10 255.255.255.0
RT-1(config-if)#no shutdown
RT-1(config-if)#exit
RT-1(config)#interface fastEthernet 0
RT-1(config-if)#ip address 172.16.60.10 255.255.255.0
RT-1(config-if)#no shutdown
RT-1(config-if)#end
RT-2#
RT-2#configure terminal
RT-2(config)#vlan 20
RT-2(config-vlan)#exit
RT-2(config)#interface vlan20
RT-2(config-if)#ip address 192.168.20.150 255.255.255.0
RT-2(config-if)#no shutdown
RT-2(config-if)#exit
RT-2(config)#interface gigabitEthernet 0
RT-2(config-if)#switchport access vlan 20
RT-2(config-if)# switchport mode access
RT-2(config-if)#exit
RT-2(config)#interface gigabitEthernet 8
RT-2(config-if)#ip address 172.17.70.20 255.255.255.0
RT-2(config-if)#no shutdown
RT-2(config-if)#exit
RT-2(config)#interface fastEthernet 0
RT-2(config-if)#ip address 172.16.80.20 255.255.255.0
RT-2(config-if)#no shutdown
RT-2(config-if)#end
【Cisco】ラボ#7 ルータの設定2 (RT-3,4)
FO
R
S
E
9
手順7 IPアドレスを設定する (RT-3) 手順7 IPアドレスを設定する (RT-4)
RT-3#
RT-3#configure terminal
RT-3(config)#vlan 30
RT-3(config-vlan)#exit
RT-3(config)#interface vlan30
RT-3(config-if)#ip address 192.168.30.150 255.255.255.0
RT-3(config-if)#no shutdown
RT-3(config-if)#exit
RT-3(config)#interface gigabitEthernet 0
RT-3(config-if)#switchport access vlan 30
RT-3(config-if)# switchport mode access
RT-3(config-if)#exit
RT-3(config)#interface gigabitEthernet 8
RT-3(config-if)#ip address 172.16.90.30 255.255.255.0
RT-3(config-if)#no shutdown
RT-3(config-if)#exit
RT-3(config)#interface fastEthernet 0
RT-3(config-if)#ip address 172.16.70.30 255.255.255.0
RT-3(config-if)#no shutdown
RT-3(config-if)#end
RT-4#
RT-4#configure terminal
RT-4(config)#interface gigabitEthernet 0/0
RT-4(config-if)#ip address 172.16.70.40 255.255.255.0
RT-4(config-if)#no shutdown
RT-4(config-if)#exit
RT-4(config)#interface gigabitEthernet 0/1
RT-4(config-if)#ip address 172.16.50.40 255.255.255.0
RT-4(config-if)#no shutdown
RT-4(config-if)#exit
RT-4(config)#interface fastEthernet 0/0/0
RT-4(config-if)#ip address 172.16.100.40 255.255.255.0
RT-4(config-if)#no shutdown
RT-4(config-if)#exit
RT-4(config)#interface fastEthernet 0/0/1
RT-4(config-if)#ip address 172.16.90.40 255.255.255.0
RT-4(config-if)#no shutdown
RT-4(config-if)#end
【Cisco】ラボ#7 ルータの設定2 (RT-5,6)
FO
R
S
E
10
手順7 IPアドレスを設定する (RT-5) 手順7 IPアドレスを設定する (RT-6)
RT-5#
RT-5#configure terminal
RT-5(config)#interface gigabitEthernet 0/0
RT-5(config-if)#ip address 172.16.60.50 255.255.255.0
RT-5(config-if)#no shutdown
RT-5(config-if)#exit
RT-5(config)#interface gigabitEthernet 0/1
RT-5(config-if)#ip address 172.17.70.50 255.255.255.0
RT-5(config-if)#no shutdown
RT-5(config-if)#exit
RT-5(config)#interface fastEthernet 0/0/0
RT-5(config-if)#ip address 172.17.90.50 255.255.255.0
RT-5(config-if)#no shutdown
RT-5(config-if)#exit
RT-5(config)#interface fastEthernet 0/0/1
RT-5(config-if)#ip address 172.16.110.50 255.255.255.0
RT-5(config-if)#no shutdown
RT-5(config-if)#end
RT-6#
RT-6#configure terminal
RT-6(config)#interface gigabitEthernet 0/0
RT-6(config-if)#ip address 172.16.80.60 255.255.255.0
RT-6(config-if)#no shutdown
RT-6(config-if)#exit
RT-6(config)#interface gigabitEthernet 0/1
RT-6(config-if)#ip address 172.16.90.60 255.255.255.0
RT-6(config-if)#no shutdown
RT-6(config-if)#exit
RT-6(config)#interface fastEthernet 0/0/0
RT-6(config-if)#ip address 172.16.110.60 255.255.255.0
RT-6(config-if)#no shutdown
RT-6(config-if)#exit
RT-6(config)#interface fastEthernet 0/0/1
RT-6(config-if)#ip address 172.16.100.60 255.255.255.0
RT-6(config-if)#no shutdown
RT-6(config-if)#end
【Cisco】ラボ#7 ルータの確認 (RT-1,2,3)
FO
R
S
E
11
手順8 検証する 手順9 疎通確認する
・PC(コマンドプロンプト) RT-1→「192.168.10.150」
RT-2→「192.168.20.150」
RT-3→「192.168.30.150」
・ルーター(Tera Term) RT-1→「172.16.50.40」 「172.16.60.50」
RT-2→「172.17.70.50」 「172.16.80.60」
RT-3→「172.16.90.60」 「172.16.70.40」
手順9.5 telnetで入れることを確認する
Password:cisco
RT-1#show vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1, Gi2, Gi3, Gi4, Gi5, Gi6
Gi7
10 VLAN0010 active Gi0
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
RT-1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Async3 unassigned YES unset down down
BRI0 unassigned YES unset administratively down down
BRI0:1 unassigned YES unset administratively down down
BRI0:2 unassigned YES unset administratively down down
FastEthernet0 172.16.60.10 YES manual up up
GigabitEthernet0 unassigned YES unset up up
GigabitEthernet1 unassigned YES unset down down
GigabitEthernet2 unassigned YES unset down down
GigabitEthernet3 unassigned YES unset down down
GigabitEthernet4 unassigned YES unset down down
GigabitEthernet5 unassigned YES unset down down
GigabitEthernet6 unassigned YES unset down down
GigabitEthernet7 unassigned YES unset down down
GigabitEthernet8 172.16.50.10 YES manual up up
Vlan1 unassigned YES unset down down
Vlan10 192.168.10.150 YES manual up up
RT-1#telnet 172.16.50.40
RT-2→172.17.70.50
RT-3→172.16.90.60
【Cisco】ラボ#7 ルータの確認 (RT-4,5,6)
FO
R
S
E
12
手順8 検証する
手順9 疎通確認する
・ルーター(Tera Term) RT-4→「172.16.70.30」 「172.16.50.10」
「172.16.100.60」 「172.17.90.50」
RT-5→「172.16.60.10」 「172.17.70.20」
「172.17.90.40」 「172.16.110.60」
RT-6→「172.16.80.20」 「172.16.90.30」
「172.16.110.50」 「172.16.100.40」
手順9.5 telnetで入れることを確認する
Password:cisco
RT-5→172.16.60.10
RT-6→172.16.80.20
RT-4#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.70.40 YES manual up up
GigabitEthernet0/1 172.16.50.40 YES manual up up
FastEthernet0/0/0 172.16.100.40 YES manual up up
FastEthernet0/0/1 172.17.90.40 YES manual up up
RT-4#
RT-4#telnet 172.16.70.30
【Cisco】ラボ#7 OSPFの設定 (RT-1,2,3)
FO
R
S
E
13
手順11 ハロー間隔とコスト値を設定する (RT-1,2,3共通)手順10 OSPFを有効化する、インターフェースとエリアを設定する (RT-1)
手順10 (RT-2)
手順10 (RT-3)
RT-1#
RT-1#configure terminal
RT-1(config)#interface gigabitEthernet 8
RT-1(config-if)#ip ospf hello-interval 10
RT-1(config-if)#ip ospf cost 10
RT-1(config-if)#exit
RT-1(config)#interface fastEthernet 0
RT-1(config-if)# ip ospf hello-interval 10
RT-1(config-if)# ip ospf cost 20
RT-1(config-if)#exit
RT-1(config)#router ospf 1
RT-1(config-router)#router-id 1.1.1.1
RT-1(config-router)#network 192.168.10.0 0.0.0.255 area 0
RT-1(config-router)#network 172.16.50.0 0.0.0.255 area 0
RT-1(config-router)#network 172.16.60.0 0.0.0.255 area 0
RT-1(config-router)#passive-interface gigabitEthernet 0
RT-1(config-router)#end
RT-2(config)#router ospf 1
RT-2(config-router)#router-id 2.2.2.2
RT-2(config-router)#network 192.168.20.0 0.0.0.255 area 0
RT-2(config-router)#network 172.17.70.0 0.0.0.255 area 0
RT-2(config-router)#network 172.16.80.0 0.0.0.255 area 0
RT-2(config-router)#passive-interface gigabitEthernet 0
RT-2(config-router)#end
RT-3(config)#router ospf 1
RT-3(config-router)#router-id 3.3.3.3
RT-3(config-router)#network 192.168.30.0 0.0.0.255 area 0
RT-3(config-router)#network 172.16.70.0 0.0.0.255 area 0
RT-3(config-router)#network 172.16.90.0 0.0.0.255 area 0
RT-3(config-router)#passive-interface gigabitEthernet 0
RT-3(config-router)#end
説明
router ospf 1 OSPFのプロセスを起動させます
router-id 1.1.1.1 必須ではありません。判り易さ。loopbackでもOK
未指定の場合は、IPアドレスの最大
network xxxx OSPFを有効にするネットワークアドレス
passive-interface ルーティングプロトコルを流さない
PCがある事が判っている
hello-interval 10秒毎に交換
【Cisco】ラボ#7 OSPFの設定 (RT-4,5,6)
FO
R
S
E
14
手順11 ハロー間隔とコスト値を設定する (RT-4,5,6共通)手順10 OSPFを有効化するインターフェースとエリアを設定する (RT-4)
手順10 (RT-5)
手順10 (RT-6)
RT-4#
RT-4#configure terminal
RT-4(config)#interface gigabitEthernet 0/0
RT-4(config-if)#ip ospf hello-interval 10
RT-4(config-if)#ip ospf cost 20
RT-4(config-if)#exit
RT-4(config)#interface gigabitEthernet 0/1
RT-4(config-if)#ip ospf hello-interval 10
RT-4(config-if)#ip ospf cost 10
RT-4(config-if)#exit
RT-4(config)#interface fastEthernet 0/0/0
RT-4(config-if)# ip ospf hello-interval 10
RT-4(config-if)# ip ospf cost 20
RT-4(config-if)#exit
RT-4(config)#interface fastEthernet 0/0/1
RT-4(config-if)# ip ospf hello-interval 10
RT-4(config-if)# ip ospf cost 20
RT-4(config-if)#exit
RT-4(config)#router ospf 1
RT-4(config-router)#router-id 4.4.4.4
RT-4(config-router)#network 172.16.70.0 0.0.0.255 area 0
RT-4(config-router)#network 172.16.50.0 0.0.0.255 area 0
RT-4(config-router)#network 172.16.100.0 0.0.0.255 area 0
RT-4(config-router)#network 172.17.90.0 0.0.0.255 area 0
RT-4(config-router)#end
RT-5(config)#router ospf 1
RT-5(config-router)#router-id 5.5.5.5
RT-5(config-router)#network 172.16.60.0 0.0.0.255 area 0
RT-5(config-router)#network 172.17.70.0 0.0.0.255 area 0
RT-5(config-router)#network 172.17.90.0 0.0.0.255 area 0
RT-5(config-router)#network 172.16.110.0 0.0.0.255 area 0
RT-5(config-router)#end
RT-6(config)#router ospf 1
RT-6(config-router)#router-id 6.6.6.6
RT-6(config-router)#network 172.16.80.0 0.0.0.255 area 0
RT-6(config-router)#network 172.16.90.0 0.0.0.255 area 0
RT-6(config-router)#network 172.16.110.0 0.0.0.255 area 0
RT-6(config-router)#network 172.16.100.0 0.0.0.255 area 0
RT-6(config-router)#end
【Cisco】ラボ#7 OSPFの確認(1)
SE 15
手順12 ルーターID、ネットワーク、passiveインターフェース (RT-1,2,3はgi0、RT-4,5,6は無し)、
エリアを確認する
手順13 コスト値、ハロー間隔の値を確認する
RT-1#show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0 1 0 172.16.60.10/24 20 DR 1/1
Gi8 1 0 172.16.50.10/24 10 DOWN 0/0
Vl10 1 0 192.168.10.150/24 1 DR 0/0
RT-1#show run | section router
router ospf 1
router-id 1.1.1.1
passive-interface GigabitEthernet0
network 172.16.50.0 0.0.0.255 area 0
network 172.16.60.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.255 area 0
RT-1#
RT-1#show ip ospf interface | include Hello
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:06
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:03
FOR
手順14 ネイバーリストを確認する (隣のルーターが認識されているか)
RT-1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
5.5.5.5 1 FULL/DR 00:00:36 172.16.60.50 FastEthernet0
4.4.4.4 1 FULL/DR 00:00:36 172.16.50.40 GigabitEthernet8
RT-1#
【Cisco】ラボ#7 OSPFの確認(2)
S
E
16
手順16 ルートが増えていることを確認する (Oの列を確認)
どのルートを通っているかを確認
RT-1#show ip route ospf
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 9 subnets, 2 masks
O 172.16.70.0/24 [110/30] via 172.16.50.40, 01:41:18, GigabitEthernet8
O 172.16.80.0/24 [110/50] via 172.16.60.50, 01:19:12, FastEthernet0
[110/50] via 172.16.50.40, 01:18:04, GigabitEthernet8
O 172.16.90.0/24 [110/40] via 172.16.50.40, 01:19:02, GigabitEthernet8
O 172.16.100.0/24 [110/30] via 172.16.50.40, 01:18:04, GigabitEthernet8
O 172.16.110.0/24 [110/40] via 172.16.60.50, 01:18:20, FastEthernet0
172.17.0.0/24 is subnetted, 2 subnets
O 172.17.70.0 [110/30] via 172.16.60.50, 01:19:12, FastEthernet0
O 172.17.90.0 [110/30] via 172.16.50.40, 01:19:02, GigabitEthernet8
O 192.168.20.0/24 [110/31] via 172.16.60.50, 01:19:12, FastEthernet0
O 192.168.30.0/24 [110/31] via 172.16.50.40, 00:21:25, GigabitEthernet8
RT-1#
手順15 プロトコルを交換していることを確かめる
RT-1#show ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "application"
Sending updates every 0 seconds
Invalid after 0 seconds, hold down 0, flushed after 0
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Maximum path: 32
Routing for Networks:
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 4)
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.1.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
172.16.50.0 0.0.0.255 area 0
172.16.60.0 0.0.0.255 area 0
192.168.10.0 0.0.0.255 area 0
Routing Information Sources:
Gateway Distance Last Update
4.4.4.4 110 01:23:02
5.5.5.5 110 01:18:38
6.6.6.6 110 01:17:40
3.3.3.3 110 00:21:00
2.2.2.2 110 01:18:48
172.17.90.40 110 02:08:58
192.168.30.150 110 02:13:55
172.16.110.60 110 02:13:55
Distance: (default is 110)
【Cisco】ラボ#7 疎通確認
FO
R
S
E
17
手順17 疎通確認する
・先ほど疎通出来なかったところにも通る (Tera Term)
・PC同士も疎通出来る (コマンドプロンプト)
手順18
・冗長化試験
手順1 PCとPCで疎通試験(ping 192.168.10.10 -t)をお願いします
手順2

More Related Content

Featured

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Featured (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

Cisco#7

  • 2. 【Cisco】初心者ネットワーク勉強会@秋葉原UDX FO R S E アジェンダ 0900~0905 今日出来るようになる事、自己紹介(チーム紹介) 0905~0930 構成確認、初期設定、物理結線 0930~1000 インターフェースの設定、疎通確認 1000~1030 OSPFの設定、疎通確認 時間があれば. . .CCNA試験対策(トラブル発生)講師がいたずらします pingが失敗するので直してください 終わりの挨拶、追試の時間 参加いただきありがとうございます!!! 鈴木メモ 持ち物:PC×6、ルータ×6、LAN線×12、シリアルケーブル×6 前提 今日、出来るようになる事 自己紹介(鈴木) 席順 2 1 RT-1 4 RT-4 3 RT-3 5 RT-5 2 RT-2 6 RT-6
  • 4. FO R S E PC3 192.168.30.10 【Cisco】ラボ#7 システム構成図(2) PC1 192.168.10.10 PC2 192.168.20.10 RT-2 RT-6 #Gi0 .150 RT-1 RT-5 RT-3 172.16.60.0/24 172.17.70.0/24 172.16.80.0/24172.16.50.0/24 172.16.90.0/24172.16.70.0/24 172.16.100.0/24 172.17.90.0/24 172.16.110.0/24 #Gi8 .30 #Fa0 .30 #Gi0 .150 Gi0 .150 #Gi8 .20 #Gi8 .10 #Fa0 .20 #Fa0 .10 #Fa0/0/0 .50 #Gi0/0 .50 #Gi0/1 .50 RT-4 #Fa0/0/0 .40 #Gi0/0 .40 #Gi0/1 .40 .40 #Fa0/0/1 #Fa0/0/1 .50 .60 #Fa0/0/0 #Gi0/0 .60 #Gi0/1 .60#Fa0/0/1 .60 4
  • 5. 【Cisco】ネットワーク基礎講座 ネットワークセグメント説明 S E 5 役割 IPアドレス インターフェース RT-1 192.168.10.150 Gi0/0 172.16.50.10 gi0/8 172.16.60.10 fa0/0 役割 IPアドレス 備考 RT-2 192.168.20.150 gi0/0 172.17.70.20 gi0/8 172.16.80.20 fa0/0 役割 IPアドレス 備考 RT-3 192.168.30.150 gi0/0 172.16.90.30 gi0/8 172.16.70.30 fa0/0 役割 IPアドレス 備考 RT-4 172.16.70.40 gi0/0 172.16.50.40 gi0/1 172.16.100.40 fa0/0/0 172.17.90.40 fa0/0/1 役割 IPアドレス 備考 RT-5 172.16.60.50 gi0/0 172.17.70.50 gi0/1 172.17.90.50 fa0/0/0 172.16.110.50 fa0/0/1 役割 IPアドレス 備考 RT-6 172.16.80.60 gi0/0 172.16.90.60 gi0/1 172.16.110.60 fa0/0/0 172.16.100.60 fa0/0/1
  • 6. 【Cisco】ラボ#7 PC設定変更 FO R S E PCのIPアドレスを設定する PC1:192.168.10.10 PC2:192.168.20.10 PC3:192.168.30.10 デフォルトゲートウェイを設定する PC1:192.168.10.150 PC2:192.168.20.150 PC3:192.168.30.150 6 IPアドレスを変更する。 「スタートメニュー」→「設定」(歯車マーク)→「ネットワークとイン ターネット」→ 「イーサネット」→「アダプターのオプションを変更する」→「イーサ ネット」→ 「インターネット プロトコル バージョン 4 (TCP/IPv4)」→「プロパティ 」→ 「次の IPアドレスを使う」→「IPアドレス」を「192.168.x.10」に設定 「サブネットマスク」を「255.255.255.0」に設定 「デフォルトゲートウェイ」を「192.168.x.150」
  • 7. 【Cisco】ラボ#7 ルータの設定1 FO R S E 7 手順1 ルータは起動に時間がかかります セットアップモードが起動したら、noと入力、もしくはcttl+c 手順2 メッセージが表示され、Enterキーを押します。Router>のプロンプトが表示されます 手順3 特権モードに移行します。Router#のプロンプトが表示されます 手順4 グローバルコンフィグレーションモードに移行し,ホスト名を変更します。Router(config)#が表 示されます 手順5telnetで他のルータにログイン出来るようにする ユーザ、パスワードを設定しないとリモートログインできない為。 手順6 4ページの構成図を参考に結線する --- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]:no Press RETURN to get started! Router> Router>enable Router# Router#configure terminal Router(config)#hostname RT-1 RT-1(config)#no ip domain lookup RT-1(config)#line console 0 ←0しかない RT-1(config-line)#logging synchronous RT-1(config-line)#end RT-1 #configure terminal Enter configuration commands, one per line. End with CNTL/Z. RT-1(config)#line vty 0 4 RT-1(config-line)#password cisco RT-1(config-line)#transport input telnet RT-1(config-line)#login RT-1(config-line)#exit RT-1(config)#enable password cisco RT-1(config)#end RT-1#
  • 8. 【Cisco】ラボ#7 ルータの設定2 (RT-1,2) FO R S E 8 手順7 IPアドレスを設定する (RT-1) 手順7 IPアドレスを設定する (RT-2) RT-1# RT-1#configure terminal RT-1(config)#vlan 10 RT-1(config-vlan)#exit RT-1(config)#interface vlan10 RT-1(config-if)#ip address 192.168.10.150 255.255.255.0 RT-1(config-if)#no shutdown RT-1(config-if)#exit RT-1(config)#interface gigabitEthernet 0 RT-1(config-if)#switchport access vlan 10 RT-1(config-if)# switchport mode access RT-1(config-if)#exit RT-1(config)#interface gigabitEthernet 8 RT-1(config-if)#ip address 172.16.50.10 255.255.255.0 RT-1(config-if)#no shutdown RT-1(config-if)#exit RT-1(config)#interface fastEthernet 0 RT-1(config-if)#ip address 172.16.60.10 255.255.255.0 RT-1(config-if)#no shutdown RT-1(config-if)#end RT-2# RT-2#configure terminal RT-2(config)#vlan 20 RT-2(config-vlan)#exit RT-2(config)#interface vlan20 RT-2(config-if)#ip address 192.168.20.150 255.255.255.0 RT-2(config-if)#no shutdown RT-2(config-if)#exit RT-2(config)#interface gigabitEthernet 0 RT-2(config-if)#switchport access vlan 20 RT-2(config-if)# switchport mode access RT-2(config-if)#exit RT-2(config)#interface gigabitEthernet 8 RT-2(config-if)#ip address 172.17.70.20 255.255.255.0 RT-2(config-if)#no shutdown RT-2(config-if)#exit RT-2(config)#interface fastEthernet 0 RT-2(config-if)#ip address 172.16.80.20 255.255.255.0 RT-2(config-if)#no shutdown RT-2(config-if)#end
  • 9. 【Cisco】ラボ#7 ルータの設定2 (RT-3,4) FO R S E 9 手順7 IPアドレスを設定する (RT-3) 手順7 IPアドレスを設定する (RT-4) RT-3# RT-3#configure terminal RT-3(config)#vlan 30 RT-3(config-vlan)#exit RT-3(config)#interface vlan30 RT-3(config-if)#ip address 192.168.30.150 255.255.255.0 RT-3(config-if)#no shutdown RT-3(config-if)#exit RT-3(config)#interface gigabitEthernet 0 RT-3(config-if)#switchport access vlan 30 RT-3(config-if)# switchport mode access RT-3(config-if)#exit RT-3(config)#interface gigabitEthernet 8 RT-3(config-if)#ip address 172.16.90.30 255.255.255.0 RT-3(config-if)#no shutdown RT-3(config-if)#exit RT-3(config)#interface fastEthernet 0 RT-3(config-if)#ip address 172.16.70.30 255.255.255.0 RT-3(config-if)#no shutdown RT-3(config-if)#end RT-4# RT-4#configure terminal RT-4(config)#interface gigabitEthernet 0/0 RT-4(config-if)#ip address 172.16.70.40 255.255.255.0 RT-4(config-if)#no shutdown RT-4(config-if)#exit RT-4(config)#interface gigabitEthernet 0/1 RT-4(config-if)#ip address 172.16.50.40 255.255.255.0 RT-4(config-if)#no shutdown RT-4(config-if)#exit RT-4(config)#interface fastEthernet 0/0/0 RT-4(config-if)#ip address 172.16.100.40 255.255.255.0 RT-4(config-if)#no shutdown RT-4(config-if)#exit RT-4(config)#interface fastEthernet 0/0/1 RT-4(config-if)#ip address 172.16.90.40 255.255.255.0 RT-4(config-if)#no shutdown RT-4(config-if)#end
  • 10. 【Cisco】ラボ#7 ルータの設定2 (RT-5,6) FO R S E 10 手順7 IPアドレスを設定する (RT-5) 手順7 IPアドレスを設定する (RT-6) RT-5# RT-5#configure terminal RT-5(config)#interface gigabitEthernet 0/0 RT-5(config-if)#ip address 172.16.60.50 255.255.255.0 RT-5(config-if)#no shutdown RT-5(config-if)#exit RT-5(config)#interface gigabitEthernet 0/1 RT-5(config-if)#ip address 172.17.70.50 255.255.255.0 RT-5(config-if)#no shutdown RT-5(config-if)#exit RT-5(config)#interface fastEthernet 0/0/0 RT-5(config-if)#ip address 172.17.90.50 255.255.255.0 RT-5(config-if)#no shutdown RT-5(config-if)#exit RT-5(config)#interface fastEthernet 0/0/1 RT-5(config-if)#ip address 172.16.110.50 255.255.255.0 RT-5(config-if)#no shutdown RT-5(config-if)#end RT-6# RT-6#configure terminal RT-6(config)#interface gigabitEthernet 0/0 RT-6(config-if)#ip address 172.16.80.60 255.255.255.0 RT-6(config-if)#no shutdown RT-6(config-if)#exit RT-6(config)#interface gigabitEthernet 0/1 RT-6(config-if)#ip address 172.16.90.60 255.255.255.0 RT-6(config-if)#no shutdown RT-6(config-if)#exit RT-6(config)#interface fastEthernet 0/0/0 RT-6(config-if)#ip address 172.16.110.60 255.255.255.0 RT-6(config-if)#no shutdown RT-6(config-if)#exit RT-6(config)#interface fastEthernet 0/0/1 RT-6(config-if)#ip address 172.16.100.60 255.255.255.0 RT-6(config-if)#no shutdown RT-6(config-if)#end
  • 11. 【Cisco】ラボ#7 ルータの確認 (RT-1,2,3) FO R S E 11 手順8 検証する 手順9 疎通確認する ・PC(コマンドプロンプト) RT-1→「192.168.10.150」 RT-2→「192.168.20.150」 RT-3→「192.168.30.150」 ・ルーター(Tera Term) RT-1→「172.16.50.40」 「172.16.60.50」 RT-2→「172.17.70.50」 「172.16.80.60」 RT-3→「172.16.90.60」 「172.16.70.40」 手順9.5 telnetで入れることを確認する Password:cisco RT-1#show vlan-switch VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Gi1, Gi2, Gi3, Gi4, Gi5, Gi6 Gi7 10 VLAN0010 active Gi0 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup RT-1#show ip interface brief Interface IP-Address OK? Method Status Protocol Async3 unassigned YES unset down down BRI0 unassigned YES unset administratively down down BRI0:1 unassigned YES unset administratively down down BRI0:2 unassigned YES unset administratively down down FastEthernet0 172.16.60.10 YES manual up up GigabitEthernet0 unassigned YES unset up up GigabitEthernet1 unassigned YES unset down down GigabitEthernet2 unassigned YES unset down down GigabitEthernet3 unassigned YES unset down down GigabitEthernet4 unassigned YES unset down down GigabitEthernet5 unassigned YES unset down down GigabitEthernet6 unassigned YES unset down down GigabitEthernet7 unassigned YES unset down down GigabitEthernet8 172.16.50.10 YES manual up up Vlan1 unassigned YES unset down down Vlan10 192.168.10.150 YES manual up up RT-1#telnet 172.16.50.40 RT-2→172.17.70.50 RT-3→172.16.90.60
  • 12. 【Cisco】ラボ#7 ルータの確認 (RT-4,5,6) FO R S E 12 手順8 検証する 手順9 疎通確認する ・ルーター(Tera Term) RT-4→「172.16.70.30」 「172.16.50.10」 「172.16.100.60」 「172.17.90.50」 RT-5→「172.16.60.10」 「172.17.70.20」 「172.17.90.40」 「172.16.110.60」 RT-6→「172.16.80.20」 「172.16.90.30」 「172.16.110.50」 「172.16.100.40」 手順9.5 telnetで入れることを確認する Password:cisco RT-5→172.16.60.10 RT-6→172.16.80.20 RT-4#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.70.40 YES manual up up GigabitEthernet0/1 172.16.50.40 YES manual up up FastEthernet0/0/0 172.16.100.40 YES manual up up FastEthernet0/0/1 172.17.90.40 YES manual up up RT-4# RT-4#telnet 172.16.70.30
  • 13. 【Cisco】ラボ#7 OSPFの設定 (RT-1,2,3) FO R S E 13 手順11 ハロー間隔とコスト値を設定する (RT-1,2,3共通)手順10 OSPFを有効化する、インターフェースとエリアを設定する (RT-1) 手順10 (RT-2) 手順10 (RT-3) RT-1# RT-1#configure terminal RT-1(config)#interface gigabitEthernet 8 RT-1(config-if)#ip ospf hello-interval 10 RT-1(config-if)#ip ospf cost 10 RT-1(config-if)#exit RT-1(config)#interface fastEthernet 0 RT-1(config-if)# ip ospf hello-interval 10 RT-1(config-if)# ip ospf cost 20 RT-1(config-if)#exit RT-1(config)#router ospf 1 RT-1(config-router)#router-id 1.1.1.1 RT-1(config-router)#network 192.168.10.0 0.0.0.255 area 0 RT-1(config-router)#network 172.16.50.0 0.0.0.255 area 0 RT-1(config-router)#network 172.16.60.0 0.0.0.255 area 0 RT-1(config-router)#passive-interface gigabitEthernet 0 RT-1(config-router)#end RT-2(config)#router ospf 1 RT-2(config-router)#router-id 2.2.2.2 RT-2(config-router)#network 192.168.20.0 0.0.0.255 area 0 RT-2(config-router)#network 172.17.70.0 0.0.0.255 area 0 RT-2(config-router)#network 172.16.80.0 0.0.0.255 area 0 RT-2(config-router)#passive-interface gigabitEthernet 0 RT-2(config-router)#end RT-3(config)#router ospf 1 RT-3(config-router)#router-id 3.3.3.3 RT-3(config-router)#network 192.168.30.0 0.0.0.255 area 0 RT-3(config-router)#network 172.16.70.0 0.0.0.255 area 0 RT-3(config-router)#network 172.16.90.0 0.0.0.255 area 0 RT-3(config-router)#passive-interface gigabitEthernet 0 RT-3(config-router)#end 説明 router ospf 1 OSPFのプロセスを起動させます router-id 1.1.1.1 必須ではありません。判り易さ。loopbackでもOK 未指定の場合は、IPアドレスの最大 network xxxx OSPFを有効にするネットワークアドレス passive-interface ルーティングプロトコルを流さない PCがある事が判っている hello-interval 10秒毎に交換
  • 14. 【Cisco】ラボ#7 OSPFの設定 (RT-4,5,6) FO R S E 14 手順11 ハロー間隔とコスト値を設定する (RT-4,5,6共通)手順10 OSPFを有効化するインターフェースとエリアを設定する (RT-4) 手順10 (RT-5) 手順10 (RT-6) RT-4# RT-4#configure terminal RT-4(config)#interface gigabitEthernet 0/0 RT-4(config-if)#ip ospf hello-interval 10 RT-4(config-if)#ip ospf cost 20 RT-4(config-if)#exit RT-4(config)#interface gigabitEthernet 0/1 RT-4(config-if)#ip ospf hello-interval 10 RT-4(config-if)#ip ospf cost 10 RT-4(config-if)#exit RT-4(config)#interface fastEthernet 0/0/0 RT-4(config-if)# ip ospf hello-interval 10 RT-4(config-if)# ip ospf cost 20 RT-4(config-if)#exit RT-4(config)#interface fastEthernet 0/0/1 RT-4(config-if)# ip ospf hello-interval 10 RT-4(config-if)# ip ospf cost 20 RT-4(config-if)#exit RT-4(config)#router ospf 1 RT-4(config-router)#router-id 4.4.4.4 RT-4(config-router)#network 172.16.70.0 0.0.0.255 area 0 RT-4(config-router)#network 172.16.50.0 0.0.0.255 area 0 RT-4(config-router)#network 172.16.100.0 0.0.0.255 area 0 RT-4(config-router)#network 172.17.90.0 0.0.0.255 area 0 RT-4(config-router)#end RT-5(config)#router ospf 1 RT-5(config-router)#router-id 5.5.5.5 RT-5(config-router)#network 172.16.60.0 0.0.0.255 area 0 RT-5(config-router)#network 172.17.70.0 0.0.0.255 area 0 RT-5(config-router)#network 172.17.90.0 0.0.0.255 area 0 RT-5(config-router)#network 172.16.110.0 0.0.0.255 area 0 RT-5(config-router)#end RT-6(config)#router ospf 1 RT-6(config-router)#router-id 6.6.6.6 RT-6(config-router)#network 172.16.80.0 0.0.0.255 area 0 RT-6(config-router)#network 172.16.90.0 0.0.0.255 area 0 RT-6(config-router)#network 172.16.110.0 0.0.0.255 area 0 RT-6(config-router)#network 172.16.100.0 0.0.0.255 area 0 RT-6(config-router)#end
  • 15. 【Cisco】ラボ#7 OSPFの確認(1) SE 15 手順12 ルーターID、ネットワーク、passiveインターフェース (RT-1,2,3はgi0、RT-4,5,6は無し)、 エリアを確認する 手順13 コスト値、ハロー間隔の値を確認する RT-1#show ip ospf interface brief Interface PID Area IP Address/Mask Cost State Nbrs F/C Fa0 1 0 172.16.60.10/24 20 DR 1/1 Gi8 1 0 172.16.50.10/24 10 DOWN 0/0 Vl10 1 0 192.168.10.150/24 1 DR 0/0 RT-1#show run | section router router ospf 1 router-id 1.1.1.1 passive-interface GigabitEthernet0 network 172.16.50.0 0.0.0.255 area 0 network 172.16.60.0 0.0.0.255 area 0 network 192.168.10.0 0.0.0.255 area 0 RT-1# RT-1#show ip ospf interface | include Hello Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:06 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:03 FOR 手順14 ネイバーリストを確認する (隣のルーターが認識されているか) RT-1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 5.5.5.5 1 FULL/DR 00:00:36 172.16.60.50 FastEthernet0 4.4.4.4 1 FULL/DR 00:00:36 172.16.50.40 GigabitEthernet8 RT-1#
  • 16. 【Cisco】ラボ#7 OSPFの確認(2) S E 16 手順16 ルートが増えていることを確認する (Oの列を確認) どのルートを通っているかを確認 RT-1#show ip route ospf Codes: L - local, 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, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override Gateway of last resort is not set 172.16.0.0/16 is variably subnetted, 9 subnets, 2 masks O 172.16.70.0/24 [110/30] via 172.16.50.40, 01:41:18, GigabitEthernet8 O 172.16.80.0/24 [110/50] via 172.16.60.50, 01:19:12, FastEthernet0 [110/50] via 172.16.50.40, 01:18:04, GigabitEthernet8 O 172.16.90.0/24 [110/40] via 172.16.50.40, 01:19:02, GigabitEthernet8 O 172.16.100.0/24 [110/30] via 172.16.50.40, 01:18:04, GigabitEthernet8 O 172.16.110.0/24 [110/40] via 172.16.60.50, 01:18:20, FastEthernet0 172.17.0.0/24 is subnetted, 2 subnets O 172.17.70.0 [110/30] via 172.16.60.50, 01:19:12, FastEthernet0 O 172.17.90.0 [110/30] via 172.16.50.40, 01:19:02, GigabitEthernet8 O 192.168.20.0/24 [110/31] via 172.16.60.50, 01:19:12, FastEthernet0 O 192.168.30.0/24 [110/31] via 172.16.50.40, 00:21:25, GigabitEthernet8 RT-1# 手順15 プロトコルを交換していることを確かめる RT-1#show ip protocols *** IP Routing is NSF aware *** Routing Protocol is "application" Sending updates every 0 seconds Invalid after 0 seconds, hold down 0, flushed after 0 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Maximum path: 32 Routing for Networks: Routing Information Sources: Gateway Distance Last Update Distance: (default is 4) Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 1.1.1.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 172.16.50.0 0.0.0.255 area 0 172.16.60.0 0.0.0.255 area 0 192.168.10.0 0.0.0.255 area 0 Routing Information Sources: Gateway Distance Last Update 4.4.4.4 110 01:23:02 5.5.5.5 110 01:18:38 6.6.6.6 110 01:17:40 3.3.3.3 110 00:21:00 2.2.2.2 110 01:18:48 172.17.90.40 110 02:08:58 192.168.30.150 110 02:13:55 172.16.110.60 110 02:13:55 Distance: (default is 110)
  • 17. 【Cisco】ラボ#7 疎通確認 FO R S E 17 手順17 疎通確認する ・先ほど疎通出来なかったところにも通る (Tera Term) ・PC同士も疎通出来る (コマンドプロンプト) 手順18 ・冗長化試験 手順1 PCとPCで疎通試験(ping 192.168.10.10 -t)をお願いします 手順2