0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

パケットトレーサーでネットワーク学習1103

Posted at

・スイッチはレイヤー2の宛先MACアドレスを見て情報を送る。

・ルーターの設定を変更。
※Pysicalで電源ボタンを押す
コマンド:configuration dialog? [yes/no]: no

※ユーザーモードから特権モードにする。
コマンド:Router>enable

※ルーターの設定
コマンド:Router#configure terminal
※IPアドレスの設定
コマンド:(例)Router(config)#interface gigabitEthernet 0/0
Router(config-if)#ip address 192.168.1.254 255.255.255.0
Router(config-if)#no shutdown←ポートを開ける設定

※ルータのルーティングテーブルを見る。
コマンド:Router#show ip route

(例)
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/0
L 192.168.1.254/32 is directly connected, GigabitEthernet0/0
※IPアドレス192.168.1.0/24の情報
※CとLは192.168.1.0/24の情報を2つ持っている。
※Cはconnected。192.168.1.0/24はGigabitEthernet0/0の先に繋がっているということ。
※Lはlocal。192.168.1.254/32は自分自身の持っているIPアドレス。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?