ZynqMPのブートとパワーマネージメント : (ZynqMP Boot and Power Management)Mr. Vengineer
2016年2月20日(金)のZynq Ultrasclae+ MPSoC 勉強会で使った資料です。
追記) 2016.05.08
公式ARM Trusted Firmwareのサイトに、Zynq UltraScale+ MPSoCの実装が追加されていていることを明記した
This is the material I used at Zynq Ultrasclae + MPSoC SIG on 20th February (Friday).
Addendum) 2016.05.08
We stated that the implementation of Zynq UltraScale + MPSoC was added to the official ARM Trusted Firmware site.
ZynqMPのブートとパワーマネージメント : (ZynqMP Boot and Power Management)Mr. Vengineer
2016年2月20日(金)のZynq Ultrasclae+ MPSoC 勉強会で使った資料です。
追記) 2016.05.08
公式ARM Trusted Firmwareのサイトに、Zynq UltraScale+ MPSoCの実装が追加されていていることを明記した
This is the material I used at Zynq Ultrasclae + MPSoC SIG on 20th February (Friday).
Addendum) 2016.05.08
We stated that the implementation of Zynq UltraScale + MPSoC was added to the official ARM Trusted Firmware site.
11. ルーティングテーブルの見方(続)
• ルータ:R1のルーティングテーブル
R1# show ip route
[省略]
S 192.168.50.0 [1/0] via 192.168.30.2
S 192.168.40.0 [1/0] via 192.168.20.2
C 192.168.30.0 is directly connected, Serial0/1
C 192.168.20.0 is directly connected, Serial0/0
C 192.168.10.0 is directly connected, FastEthernet0/0
• ルータ:R2のルーティングテーブル
R2# show ip route
[省略]
S 192.168.50.0 [1/0] via 192.168.20.1
C 192.168.40.0 is directly connected, FastEthernet0/0
S 192.168.30.0 [1/0] via 192.168.20.1
C 192.168.20.0 is directly connected, Serial0/0
S 192.168.10.0 [1/0] via 192.168.20.1
11
12. ルーティングテーブルの見方(続)
• ルータ:R3のルーティングテーブル
R3# show ip route
[省略]
C 192.168.50.0 is directly connected, FastEthernet0/0
S 192.168.40.0 [1/0] via 192.168.30.1
C 192.168.30.0 is directly connected, Serial0/0
S 192.168.20.0 [1/0] via 192.168.30.1
S 192.168.10.0 [1/0] via 192.168.30.1
ネクストホップアドレスを示す。
アドミニストレーティブディスタンス/メトリックを示す。
※ダイナミックルーティングの章で説明
S そのネットワークがスタティックエントリであることを示す。
C 直接接続されたネットワークであることを示す。
12
13. インタフェースの設定
• インタフェース設定モード
(config)# interface [タイプ][スロット/ポート]
• IPアドレスの設定
(config-if)# ip address [IPアドレス] [サブネットマスク]
※設定ミスなどを直すために設定情報を削除する時は”no ip address”を投入する。
• インタフェースを有効化する
(config-if)# no shutdown
• ルータ:R1のインタフェース設定
R1(config)# interface fastethernet 0/0
R1(config-if)# ip address 192.168.10.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# interface serial 0/0
R1(config-if)# ip address 192.168.20.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# interface serial 0/1
R1(config-if)# ip address 192.168.30.1 255.255.255.0
R1(config-if)# no shutdown
13
14. インタフェースの設定(続)
• ルータ:R2のインタフェース設定
R1(config)# interface fastethernet 0/0
R1(config-if)# ip address 192.168.40.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# interface serial 0/0
R1(config-if)# ip address 192.168.20.2 255.255.255.0
R1(config-if)# no shutdown
• ルータ:R3のインタフェース設定
R1(config)# interface fastethernet 0/0
R1(config-if)# ip address 192.168.50.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# interface serial 0/0
R1(config-if)# ip address 192.168.30.2 255.255.255.0
R1(config-if)# no shutdown
14
15. インタフェースの設定(続)
• インタフェース状態の確認
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet 0/0 192.168.10.1 YES manual up up
Serial 0/0 192.168.20.1 YES manual up up
Serial 0/1 192.168.30.1 YES manual up up
R2# show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet 0/0 192.168.40.1 YES manual up up
Serial 0/0 192.168.20.2 YES manual up up
Serial 0/1 unassigned YES NVRAM administratively down down
R3# show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet 0/0 192.168.50.1 YES manual up up
Serial 0/0 192.168.30.2 YES manual up up
Serial 0/1 unassigned YES manual administratively down down
Status は物理的な状態、Protocolは論理的な状態を表す。
15
17. スタティックルートの設定
• ルータ:R1のスタティックルートの設定
R1(config)# ip route 192.168.40.0 255.255.255.0 192.168.20.2
R1(config)# ip route 192.168.50.0 255.255.255.0 192.168.30.2
• ルータ:R2のスタティックルートの設定
R2(config)# ip route 192.168.10.0 255.255.255.0 192.168.20.1
R2(config)# ip route 192.168.30.0 255.255.255.0 192.168.20.1
R2(config)# ip route 192.168.50.0 255.255.255.0 192.168.20.1
• ルータ:R3のスタティックルートの設定
R3(config)# ip route 192.168.10.0 255.255.255.0 192.168.30.1
R3(config)# ip route 192.168.20.0 255.255.255.0 192.168.30.1
R3(config)# ip route 192.168.40.0 255.255.255.0 192.168.30.1
17
18. デフォルトルートの設定
デフォルトルーティングは、ルーティングテーブルに存在しないネットワークを宛先
とするパケットを、次のホップのルータへ送信するために使用する。
• ルータ:R3のデフォルトルートの設定
R3(config)# no ip route 192.168.10.0 255.255.255.0 192.168.30.1
R3(config)# no ip route 192.168.20.0 255.255.255.0 192.168.30.1
R3(config)# no ip route 192.168.40.0 255.255.255.0 192.168.30.1
R3(config)# ip route 0.0.0.0 0.0.0.0 192.168.30.1
R3# show ip route
[省略]
Gateway of last resort is 192.168.30.1 to network 0.0.0.0
C 192.168.50.0 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.30.1
※デフォルトルートを設定する際、”ip classless”コマンドを投入する必要がある。
IOSのバージョンが新しいもの(11.3以降)はデフォルトで有効になっているが、
古いバージョンでは、無効になっている可能性がある。 18
24. RIPルーティングの確認
• ルータ:R1のルーティングテーブル
R1# show ip route
[省略]
R 192.168.50.0 [120/1] via 192.168.30.2, 00:00:00, Serial0/1
R 192.168.40.0 [120/1] via 192.168.20.2, 00:00:00, Serial0/0
C 192.168.30.0 is directly connected, Serial0/1
C 192.168.20.0 is directly connected, Serial0/0
C 192.168.10.0 is directly connected, FastEthernet0/0
• ルータ:R2のルーティングテーブル
R2# show ip route
[省略]
R 192.168.50.0 [120/1] via 192.168.20.1, 00:00:00, Serial0/0
C 192.168.40.0 is directly connected, FastEthernet0/0
R 192.168.30.0 [120/1] via 192.168.20.1, 00:00:00, Serial0/0
C 192.168.20.0 is directly connected, Serial0/0
R 192.168.10.0 [120/1] via 192.168.20.1, 00:00:00, Serial0/0
24
25. RIPルーティングの確認
• ルータ:R3のルーティングテーブル
R3# show ip route
[省略]
C 192.168.50.0 is directly connected, FastEthernet0/0
R 192.168.40.0 [120/2] via 192.168.30.1, 00:00:00, Serial0/0
C 192.168.30.0 is directly connected, Serial0/0
R 192.168.20.0 [120/1] via 192.168.30.1, 00:00:00, Serial0/0
R 192.168.10.0 [120/1] via 192.168.30.1, 00:00:00, Serial0/0
ネクストホップアドレスを示す。
アドミニストレーティブディスタンス/メトリックを示す。
※ダイナミックルーティングの章で説明
S そのネットワークがスタティックエントリであることを示す。
C 直接接続されたネットワークであることを示す。
RIP更新メッセージを受信したインタフェースを示す。
25
26. RIPルーティングの確認
• ルーティングプロトコルの確認
R1# show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 6 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
[省略]
Default version control: send version 1, receive any version
Interface Send Recv Key-chain
Serial0/0 1 1
Serial0/0 1 1
[省略]
Routing for Networks:
192.168.10.0
192.168.20.0
192.168.30.0
Passive Interface(s):
FastEthernet0/0
Routing Information Sources:
[省略]
RIPで使用するタイマ
RIPのバージョン
設定したネットワーク
passive-interfaceを設
定したインタフェース
26
27. RIPルーティングの確認
• ルーティングプロトコルの確認
R1# debug ip protocols
RIP protocol debugging is on
R1#
00:00:00: RIP: received v1 update from 192.168.20.2 on Serial0/0
00:00:00: 192.168.40.0 in 1 hops
00:00:01: RIP: received v1 update from 192.168.30.2 on Serial0/1
00:00:01: 192.168.50.0 in 1 hops
00:00:03: RIP: sending v1 update to 255.255.255.255 via Serial0/0(192.168.20.1)
00:00:03: subnet 192.168.50.0, metric 2
00:00:03: subnet 192.168.30.0, metric 1
00:00:03: subnet 192.168.10.0, metric 1
00:00:03: RIP: sending v1 update to 255.255.255.255 via Serial0/1(192.168.30.1)
00:00:03: subnet 192.168.40.0, metric 2
00:00:03: subnet 192.168.20.0, metric 1
00:00:03: subnet 192.168.10.0, metric 1
R1# no debug ip rip
RIP protocol debugging is off
27