1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

まさるさんの課題の各ルータの設定

Last updated at Posted at 2024-09-10

はじめに

9月10日にまさるさんのコミュニティで私が出題させて頂いた問題の各ルータの設定をまとめたものになります。ご興味ある方はご確認ください。また、当日使用したパケットトレーサーのファイルは以下のリンクからダウンロードできます。
https://www.dropbox.com/scl/fo/uka684o870tsq29ku9exf/AGNitk3dW14QFzdeZm7en-I?rlkey=ygxpr4xozgyna3ak092aqg10l&st=sgp2m05a&dl=0

シングルエリアの課題

スクリーンショット 2024-09-10 230619.png

RT1

(config) hostname RT1
(config) interface Gigabitethernet 0/0
(config-if) ip address 192.168.0.1 255.255.255.0 
(config-if) no shutdown 
(config) interface Gigabitehternet 0/1
(config-if) 172.0.0.254 255.255.255.0 
(config-if) no shutdown 
(config) router ospf 1
(config-router) router-id 1.1.1.1
(config-router) network 172.0.0.0 0.0.0.255 area 0
(config-router) network 192.168.0.0 0.0.0.255 area 0

RT2

(config) hostname RT2
(config) interfarce gigabitethernet 0/0
(config-if) ip address 192.168.0.2 255.255.255.0 
(config-if) no shutdown 
(config) interface gigabitethernet 0/1 
(config-if) ip address 192.168.1.1 255.255.255.0 
(config-if) no shutdown
(config) router ospf 1 
(config-router) router-id 2.2.2.2 
(config-router) network 192.168.1.0 0.0.0.255 area 0
(config-router) network 192.168.0.0 0.0.0.255 area 0

RT3

(config) hostname RT3
(config) interface gigabitethernet 0/1
(config-if) ip address 192.168.1.2
(config-if) no shutdown 
(config) interface gigabitethernet 0/0
(config-if) ip address 172.0.1.254 
(config-if) no shutdown
(config) router ospf 1
(config-router) router-id 3.3.3.3
(config-router) network 192.168.1.0 0.0.0.255 area 0 
(config-router) network 172.0.1.0 0.0.0.255 area 0

マルチエリア問題

スクリーンショット 2024-09-10 234816.png

RT1

(config) interface gigabitethernet 0/0
(config-if) ip address 172.16.1.254 
(config-if) no shutdown
(config) interface gigabitethernet 0/1 
(config-if) ip address 192.168.1.1 
(config-if) no shutdown 
(config) router ospf 1
(config-router) network 172.16.1.0 0.0.0.255 area 0
(config-router) network 192.168.1.0 0.0.0.255 area 0

RT2

(config) hostname RT2
(config) interface gigabitethernet 0/0
(config-if) ip address 192.168.1.2 
(config-if) no shutdown 
(config) interface gigabitethernet 0/1
(config-if) ip address 192.168.10.1
(config-if) no shutdown 
(config) interface gigabitethernet 0/2
(config-if) ip address 10.10.10.1 
(config-if) no shutdown
(config) router ospf 1
(config-router) network 192.168.1.0 0.0.0.255 area 0
(config-router) network 192.168.10.0 0.0.0.255 area 1
(config) ip route 0.0.0.0 0.0.0.0 10.10.10.254 or gigabitethernet 0/2
(config-router) default-information originate

RT3

(config) hostname RT3
(config) interface gigabitethernet 0/0
(config-if) ip address 192.168.10.2 
(config-if) no shutdown
(config) interface gigabitethernet 0/1
(config-if) ip address 172.16.10.254 
(config-if) no shutdown 
(config) router ospf 1
(config-router) network 192.168.10.0 0.0.0.255 area 1
(config-router) network 172.16.10.0 0.0.0.255 area 1

RT4

(config) hostname RT4
(config) interface gigabitethernet 0/0 
(config-if) ip address 10.10.10.254 
(config-if) no shutdown
(config) interface gigabitethernet 0/1
(config-if) ip address 172.16.100.254 
(config-if) no shutdown
(config) ip route 0.0.0.0 0.0.0.0 10.10.10.1 or gigabitethernet 0/0
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?