CCNAを勉強するきっかけ
もともと別の業界で働いていたのですが、侍エンジニアというところに通って、その学校に紹介された会社でプログラマとして働き始めて数ヶ月経ちます。
SNMP監視をするソフトウェアを扱う会社に2025年の初め頃に入社しました。コードベースがわかりにくく(そもそもkotlinとReactが初めてだった)、死にそうになりながら(大袈裟?)何とか解読してデバッグ業務をしていました。
他のことをする余裕などなく、SNMP監視するソフトウェアを扱っていながらSNMPについて全然知識を深めていませんでした。そんな中、同期で入ったエンジニアが何人か解雇されて危機感を覚えました。私も解雇されるのでは...
というわけでちゃんと業務知識を深めるために、あまり興味を持てていなかったCCNAの勉強をきちんとやっていきたいと思います。それと、会社の上司はアメリカ人なので、二カ国後で勉強していきたいと思います。Jeremy's IT labという動画の内容をまとめていこうと考えています。
NETWORK DEVICES
What is a network.
A computer network is a digital telecommunications nettwork which allows nodes to share resources.
「コンピューターネットワークとはノード達がリソース(資源)を共有することを可能にするデジタルな遠隔コミュニケーションである。」
なるほど。
ノードとは?
ノードはrouter, switch, firewall, server, clientなどのことを言います。
最小のネットワーク?
二つのコンピューターが繋がって、資源を共有できる時点でそれはネットワーク。
what is client?
A client is a device that accesses a service made available by a server.
クライエントはサーバーがアクセスを可能にしたサービスにアクセスするデバイスのことである。
what is a server?
A server is a device that provide functions or services for clients.
サーバーはクライエントに機能やサービスを提供するデバイスのことである。
Youtubeを見る時
クライエントPC(左)が右のYoutubeサーバーにvideoを見せてくれと要求して、それに応える様子。
LANとは?
LAN(Local Area Network)は家庭、企業、ビルといった一つの建物や施設内といった程度の範囲で利用されている小さな私有ネットワークのことをいう。(コンピューターネットワークとしてのLAN)。ということで再現してみよう。
LANつながってなくない?
上の図を見るとわかるが、つながってない。これじゃネットワークではない。どうすればいいの?
適当に繋いでしまえば?
これの問題点。一台一台結ぶとしたら台数が増えると大変。(たとえば10台デバイスがあるなら45本ケーブルが必要)
リピーターハブ(馬鹿ハブ)を使えば?
通信を中継するものを使えばケーブルの本数を抑えられそう。そういうものをハブという。
バカハブとは?
https://wa3.i-3-i.info/word1958.html
この説明がわかりやすいが、バカハブはあるデバイス由来の電気信号を増幅してそのデバイス以外のつながっている全てのコンピューターに送るものである。
リピーターハブの欠点
リピーターハブでは無駄が多い。そして、コリジョンという電気信号の衝突が広い範囲で起きてしまいうる。
賢くなったハブ(スイッチングハブあるいはスイッチ)
リピーターハブは単純だが問題があった。特に電気信号の衝突が起きやすいのが良くない。スイッチというものは賢く宛先だけに送るような動作ができる。これに関しては他の記事で自分の理解をちゃんと深めてから書きたい。
というわけで、LAN(Local area network:会社のあるフロアとか、家のネットワークとか小さなネットワーク)は一般にスイッチを利用してお互いにつながっているということでした。
スイッチの特徴
- 大体24以上のたくさんのインターフェース/ポートがある
- 同一LAN内でのデバイスの接続を可能にする
- LANを超えた範囲の接続をスイッチのみで作ることはできない
LANの外のコンピューターと繋がりたい!
switchのおかげでLAN内では効率的にデータを転送できます。しかし、これではLANの外には出ることができないのです。そこで使われるのがrouterです。(ルーターじゃなくて発音はラウターが近いです。)

こんな感じである会社のNew Yorkの支社と東京の支社をつなぐことができます。
ルーターの特徴
- スイッチよりインターフェースが少ない
- LAN同士の接続のために用いられる
- インターネット(図の雲みたいなやつ)を超えてデータを送るのに使われる
Firewallとは?
ルーターを通してインターネットとLANがつながっているので、そこを経由して不正なリクエストで攻撃される恐れがあります。それを防ぐのがFirewallというものです。
図のようにLANの内側、LANの外側に置かれる場合があります。
確認テスト
Your company wants to purchase some network hardware to which they can plug the 30 pces in your department. Which type of network device is appropriate?
- router
- firewall
- switch
- server
答え
The answer is switch.
A router is designed for forwarding traffic between networks, not for connecting lots of end hosts like PCs.
A router will not typically have 30 network interfaces to connect hosts to.
A firewall is designed to filter traffic as it enters and exits the local network.
A server is an end host itself.
A switch is designed to connect many end hosts in the same LAN together.
You received a video file from your friend's Apple iPhone using AirDrop. What was his iPhone functioning as in that transaction?
- A server
- A client
- A local area network
答え
The answer is A server.
A client accesses a service, it does not provide a service.
An end host like an IPhone does not function as a local area network.
A server is a device that provides functions or service for clients.
What is your computer or smartphone functioning as while you watch this video?
- A server
- An end host
- A client
答え
The answer is A client.Your device is receiving a service, not providing one, so it is not functioning as a server.
Although your device is an end host, that does not descrive its function. Both servers and clients are end hosts in a network.
Your company wants to purchase some network hardware to connect its separate networks together. What kind of network device is appropriate?
- A firewall
- A host
- A LAN
- A router
答え
The answer is A router.Although a firewall can connect multiple networks together, its real purpose is to monitor and control traffic as it enters and exits the network.
The term host can refer to any type of network node.
LAN stands for Local Area Network. A LAN is not a network device itself.
A router is a device that is designe to connect and forward network traffic between multiple networks.
Your company wants to upgrade its old network firewall that has been in use for several years to one that provides more advanced functions. What kind of firewall should they purchase?
- A host-based firewall
- A next-level firewall
- A next-generation firewall
- A top-layer firewall
答え
The answer is A next-generation firewall.
A host-based firewall is a piece of software that runs on an end host, like the firewall on your computer. It is not a network firewall.
A next-generation firewall combines traditional firewall features with more advanced filtering functionalities.







