<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ネットワーク冗長化 | リョクちゃの電脳日記</title>
	<atom:link href="https://dreamparadaisu.com/tag/%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AF%E5%86%97%E9%95%B7%E5%8C%96/feed/" rel="self" type="application/rss+xml" />
	<link>https://dreamparadaisu.com</link>
	<description>今まで学んできたことや、新たに学んだこと、趣味を通して様々な人と共有できたらなと思いはじめた電脳日記。</description>
	<lastBuildDate>Sun, 19 Oct 2025 21:00:49 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<atom:link rel='hub' href='https://dreamparadaisu.com/?pushpress=hub'/>
<site xmlns="com-wordpress:feed-additions:1">180489529</site>	<item>
		<title>リンクアグリゲーション（LAG）入門｜EtherChannelで冗長化と帯域拡張を実現【Packet Tracer検証あり】</title>
		<link>https://dreamparadaisu.com/study_lag_simulation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=study_lag_simulation</link>
		
		<dc:creator><![CDATA[リョクちゃ]]></dc:creator>
		<pubDate>Sun, 19 Oct 2025 21:00:49 +0000</pubDate>
				<category><![CDATA[インフラ/ネットワーク]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[EtherChannel]]></category>
		<category><![CDATA[LACP]]></category>
		<category><![CDATA[LAG]]></category>
		<category><![CDATA[PacketTracer]]></category>
		<category><![CDATA[シミュレーション]]></category>
		<category><![CDATA[ネットワーク冗長化]]></category>
		<category><![CDATA[学習]]></category>
		<guid isPermaLink="false">https://dreamparadaisu.com/?p=8134</guid>

					<description><![CDATA[<p>リンクアグリゲーション（LAG）入門｜EtherChannelで冗長化と帯域拡張を実現【Packet Tracer検証あり】 冗長化と帯域拡張を同時に実現するEtherChannel構成【Packet Tracer実践】...</p>
The post <a href="https://dreamparadaisu.com/study_lag_simulation/">リンクアグリゲーション（LAG）入門｜EtherChannelで冗長化と帯域拡張を実現【Packet Tracer検証あり】</a> first appeared on <a href="https://dreamparadaisu.com">リョクちゃの電脳日記</a>.<div class='yarpp yarpp-related yarpp-related-rss yarpp-template-list'>
<!-- YARPP List -->
<h3>関連記事</h3><ol>
<li><a href="https://dreamparadaisu.com/infla_gateway/" rel="bookmark" title="デフォルトゲートウェイとは？通信の出口と役割を理解しよう">デフォルトゲートウェイとは？通信の出口と役割を理解しよう</a></li>
<li><a href="https://dreamparadaisu.com/infla_nat/" rel="bookmark" title="NATとは？プライベートIPとグローバルIPを変換する仕組みを解説">NATとは？プライベートIPとグローバルIPを変換する仕組みを解説</a></li>
<li><a href="https://dreamparadaisu.com/infla_rooting_trouble/" rel="bookmark" title="ルーティングトラブルシュート：ping・tracerouteで障害を切り分ける方法">ルーティングトラブルシュート：ping・tracerouteで障害を切り分ける方法</a></li>
<li><a href="https://dreamparadaisu.com/infla_more_network/" rel="bookmark" title="高度なネットワーク冗長化設計入門：STP＋リンクアグリゲーション＋VRRPで止まらないネットワークを作る">高度なネットワーク冗長化設計入門：STP＋リンクアグリゲーション＋VRRPで止まらないネットワークを作る</a></li>
<li><a href="https://dreamparadaisu.com/study_ike_ipsec/" rel="bookmark" title="IKEとIPsecの仕組みを図解で理解｜VPNが安全な理由とPhase1/Phase2の流れ">IKEとIPsecの仕組みを図解で理解｜VPNが安全な理由とPhase1/Phase2の流れ</a></li>
</ol>
</div>
]]></description>
										<content:encoded><![CDATA[<h1>リンクアグリゲーション（LAG）入門｜EtherChannelで冗長化と帯域拡張を実現【Packet Tracer検証あり】</h1>
<p>冗長化と帯域拡張を同時に実現するEtherChannel構成【Packet Tracer実践】</p>
<hr />
<h2>導入：STPだけでは守りきれない？現場で使われる“もう一つの冗長化”</h2>
<p>前回の第14回では「スパニングツリープロトコル（STP）」を取り上げ、<br />
ネットワークループを防ぐ仕組みを学びました。</p>
<p>STPは非常に強力ですが、現場で構築していると次のような課題に直面します。</p>
<blockquote>
  「ループは防げるけど、リンクが1本ダウンしたら即通信断…」<br>
  「バックアップ線を遊ばせたくない」
</blockquote>
<p>そんなときに登場するのが <strong>リンクアグリゲーション（LAG）</strong>。<br />
複数の物理リンクを束ねて、1本の論理リンクとして扱う技術です。</p>
<p>これにより、<br /></p>
<ul>
<li><strong>冗長性（片方が切れても通信継続）</strong>
<br /></li>
<li><strong>帯域拡張（2本なら2倍、4本なら4倍の通信速度）</strong>
<br />
を同時に実現できます。</li>
</ul>
<hr />
<h2>第1章：リンクアグリゲーションとは</h2>
<p>リンクアグリゲーション（Link Aggregation）は、<br /><strong>複数の物理ポートを論理的に束ねて1本の大きな回線のように扱う技術</strong>です。</p>
<p>Ciscoではこの機能を <strong>EtherChannel（イーサチャネル）</strong> と呼び、<br />
IEEE規格では <strong>802.3ad（LACP）</strong> として標準化されています。</p>
<hr />
<h3>✅ EtherChannelのモード</h3>
<table>
<thead>
<tr>
  <th align="left">モード</th>
  <th align="left">概要</th>
  <th align="left">対応プロトコル</th>
</tr>
</thead>
<tbody>
<tr>
  <td align="left">on</td>
  <td align="left">静的設定。強制的に束ねる</td>
  <td align="left">なし</td>
</tr>
<tr>
  <td align="left">active</td>
  <td align="left">LACPを使って動的に交渉（推奨）</td>
  <td align="left">LACP</td>
</tr>
<tr>
  <td align="left">passive</td>
  <td align="left">LACPで待ち受けモード</td>
  <td align="left">LACP</td>
</tr>
<tr>
  <td align="left">desirable</td>
  <td align="left">Cisco独自のPAgPを使用</td>
  <td align="left">PAgP</td>
</tr>
</tbody>
</table>
<blockquote>
  💡 <strong>LACP（Link Aggregation Control Protocol）</strong>
<br>
  → 双方が「束ねてもいい？」とネゴシエーションしてEtherChannelを確立する仕組み。
</blockquote>
<hr />
<h2>第2章：検証トポロジ（Packet Tracer構成）</h2>
<p>今回の検証では、次のようなシンプルな構成を使用します。</p>
<hr />
<h3>🧩 ネットワーク構成図</h3>
<figure id="attachment_mmd_8137" class="wp-block-image aligncenter"><img decoding="async" width="1024" height="549" src="https://dreamparadaisu.com/wp-content/uploads/2025/10/29d3044409005f49e6b7b1cc68e4ba55-1024x549.png" class="attachment-1024x549 size-1024x549" alt="PacketTracer構成図" loading="lazy" align="center" /></figure>
<p>構成内容：</p>
<ul>
<li><strong>SW1 / SW2</strong>：Catalyst 2960-24TT<br /></li>
<li><strong>PC1 / PC2</strong>：通信確認用端末<br /></li>
<li><strong>FastEthernet0/2〜0/3</strong>：LAG対象ポート（LACPモード active）<br /></li>
<li><strong>PC1 &#8211; SW1</strong>、<strong>PC2 &#8211; SW2</strong>：アクセスポートで接続</li>
</ul>
<hr />
<h3>IPアドレス設定</h3>
<table>
<thead>
<tr>
  <th align="left">デバイス</th>
  <th align="left">IPアドレス</th>
  <th align="left">サブネットマスク</th>
</tr>
</thead>
<tbody>
<tr>
  <td align="left">PC1</td>
  <td align="left">192.168.1.1</td>
  <td align="left">255.255.255.0</td>
</tr>
<tr>
  <td align="left">PC2</td>
  <td align="left">192.168.1.2</td>
  <td align="left">255.255.255.0</td>
</tr>
</tbody>
</table>
<figure id="attachment_mmd_8135" class="wp-block-image aligncenter"><img decoding="async" width="696" height="708" src="https://dreamparadaisu.com/wp-content/uploads/2025/10/7fb22637c6e9fce1e61fd1d907959db2.png" class="attachment-full size-full" alt="PC1設定画面" loading="lazy" align="center" /></figure>
<figure id="attachment_mmd_8136" class="wp-block-image aligncenter"><img decoding="async" width="695" height="708" src="https://dreamparadaisu.com/wp-content/uploads/2025/10/e80c48adaaa76cac01902410678ab24c.png" class="attachment-full size-full" alt="PC2設定画面" loading="lazy" align="center" /></figure>
<hr />
<blockquote>
  💡 <strong>ポイント</strong>
  &#8211; 今回はシンプルにL2スイッチ間を束ねる構成です。<br>
  &#8211; LACP設定の確認や動作理解が目的なので、ルーティング設定は不要です。
</blockquote>
<hr />
<p>次章では、いよいよ <strong>SW1・SW2それぞれにLACP設定を投入</strong>していきます。<br />
CLIコマンドもすべて解説付きで紹介します。</p>
<hr />
<h2>第3章：LACPを使ったEtherChannel設定（SW1/SW2）</h2>
<p>ここからは実際に <strong>LACPによるリンクアグリゲーション（EtherChannel）</strong> を構築していきます。</p>
<p>SW1とSW2の間を <strong>FastEthernet0/2 と 0/3 の2本</strong> の回線で接続し、それを <strong>Port-Channel1</strong> として束ねます。</p>
<hr />
<h3>✅ SW1の設定</h3>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">enable
configure terminal
interface range fastEthernet 0/2 - 3
 channel-group 1 mode active
exit
interface port-channel 1
 switchport mode trunk
exit</pre><p></p>
<h3>✅ 重要ポイント</h3>
<ul>
<li><code>range</code> で複数ポートをまとめて指定</li>
<li><code>channel-group 1</code> → EtherChannel番号</li>
<li><code>mode active</code> → LACPを利用</li>
<li><code>port-channel 1</code> が自動生成</li>
<li><em>スイッチ間リンクのため trunk 設定を忘れずに</em></li>
</ul>
<h3>✅ SW2の設定</h3>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">enable
configure terminal
interface range fastEthernet 0/2 - 3
 channel-group 1 mode active
exit
interface port-channel 1
 switchport mode trunk
exit</pre><p></p>
<hr />
<h2>第4章：動作確認（EtherChannelの状態チェック</h2>
<p>設定後、LAGが確立しているか確認します。</p>
<h3>✅ コマンド1：EtherChannel概要表示</h3>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">✅ コマンド1：EtherChannel概要表示</pre><p></p>
<figure id="attachment_mmd_8143" class="wp-block-image aligncenter"><img decoding="async" width="1024" height="466" src="https://dreamparadaisu.com/wp-content/uploads/2025/10/show-etherchannel-summary-1024x466.png" class="attachment-1024x466 size-1024x466" alt="show etherchannel summary" loading="lazy" align="center" /></figure>
<h4>✅ 出力の読み方</h4>
<table>
<thead>
<tr>

<th>表示例</th>

<th>意味</th>
</tr>
</thead>
<tbody>
<tr>

<td><code>Po1(SU)</code></td>

<td>S=Layer2 EtherChannel, U=Up</td>
</tr>
<tr>

<td><code>LACP</code></td>

<td>ネゴシエーションにLACPを使用</td>
</tr>
<tr>

<td><code>Fa0/2(P)</code></td>

<td>P=EtherChannelに参加中</td>
</tr>
<tr>

<td><code>Fa0/3(P)</code></td>

<td>2本目のリンクも動作中</td>
</tr>
</tbody>
</table>
<h3>✅ コマンド2：論理インタフェースの帯域確認</h3>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">show interfaces port-channel 1</pre><p></p>
<figure id="attachment_mmd_8139" class="wp-block-image aligncenter"><img decoding="async" width="871" height="1024" src="https://dreamparadaisu.com/wp-content/uploads/2025/10/show-interfaces-port-channel-1-871x1024.png" class="attachment-871x1024 size-871x1024" alt="show interfaces port-channel 1" loading="lazy" align="center" /></figure>
<p>&#x1f4a1; 帯域が BW 200000 Kbit になっている点に注目！<br />
これは 100Mbps × 2本の論理リンク（合計200Mbps） が構成された証拠です。</p>
<h2>第5章：通信確認（pingテスト）</h2>
<p>設定だけで終わらせず、<em>実際に通信が通るか</em>検証します。</p>
<h3>✅ PC1 → PC2 の疎通確認</h3>
<p>PC1のコマンドプロンプトで次を実行：</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">ping 192.168.1.2</pre><p></p>
<figure id="attachment_mmd_8138" class="wp-block-image aligncenter"><img decoding="async" width="875" height="889" src="https://dreamparadaisu.com/wp-content/uploads/2025/10/297f8d96ea042e36fb9b51df72ac1eb1.png" class="attachment-full size-full" alt="PING成功" loading="lazy" align="center" /></figure>
<p>&#x2705; 成功すれば EtherChannel越しの通信確立 が確認できました！</p>
<hr />
<h2>第6章：冗長構成の強さを確認（片系断テスト）</h2>
<p>リンクアグリゲーションの真価はここからです。<br /><strong>2本のリンクのうち1本が切れても通信が継続できる</strong> のが最大のメリットです。</p>
<h3>✅ 実験：ケーブルを1本抜いてみる</h3>
<p>SW1とSW2間のリンク（FastEthernet0/3）を<strong>意図的に切断</strong>してみます。</p>
<figure id="attachment_mmd_8140" class="wp-block-image aligncenter"><img decoding="async" width="1024" height="687" src="https://dreamparadaisu.com/wp-content/uploads/2025/10/e4ff787909e0d9b04caf40a7ef60feac-1024x687.png" class="attachment-1024x687 size-1024x687" alt="片系断のPacket Tracerスクショ" loading="lazy" align="center" /></figure>
<hr />
<h3>✅ もう一度 ping</h3>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">ping 192.168.1.2</pre><p></p>
<figure id="attachment_mmd_8141" class="wp-block-image aligncenter"><img decoding="async" width="1024" height="693" src="https://dreamparadaisu.com/wp-content/uploads/2025/10/bfe3d721773c654883f457b538bff48b-1024x693.png" class="attachment-1024x693 size-1024x693" alt="片系断でもping成功のスクショ" loading="lazy" align="center" /></figure>
<p>&#x2705; 結果：通信継続成功
→ EtherChannelにより冗長化ができていることを確認！</p>
<h3>✅ EtherChannelのステータス変化を確認</h3>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">show etherchannel summary</pre><p></p>
<p>結果例：</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">Group  Port-channel  Protocol    Ports
------+-------------+-----------+------------------------
1      Po1(SU)       LACP       Fa0/2(P) Fa0/3(D)</pre><p></p>
<p>&#x1f4cc; 読み方</p>
<table>
<thead>
<tr>

<th>表示</th>

<th>意味</th>
</tr>
</thead>
<tbody>
<tr>

<td><code>P</code></td>

<td>稼働中(Active)</td>
</tr>
<tr>

<td><code>D</code></td>

<td>無効/Down(今回ケーブルを抜いたポート)</td>
</tr>
<tr>

<td><code>SU</code></td>

<td>EtherChannelはUp状態を維持</td>
</tr>
</tbody>
</table>
<h2>第7章：実務でよくあるトラブルと対策</h2>
<table>
<thead>
<tr>

<th>トラブル</th>

<th>原因</th>

<th>対策</th>
</tr>
</thead>
<tbody>
<tr>

<td>片側だけLAGにならない</td>

<td>modeの不一致(on vs active)</td>

<td>両端でLACPを使う</td>
</tr>
<tr>

<td>LAGがDOWNになる</td>

<td>VLAN設定の不一致</td>

<td>Trunk/VLAN設定を統一</td>
</tr>
<tr>

<td>片側だけ通信集中</td>

<td>ハッシュアルゴリズムの偏り</td>

<td><code>src-dst-ip</code>などへ変更</td>
</tr>
<tr>

<td>ループ発生</td>

<td>STP未考慮で誤接続</td>

<td>STP + EtherChannelはセットで管理</td>
</tr>
</tbody>
</table>
<h3>✅ 実務で使える確認コマンド一覧</h3>
<table>
<thead>
<tr>

<th>目的</th>

<th>コマンド</th>
</tr>
</thead>
<tbody>
<tr>

<td>EtherChannelの状態確認</td>

<td><code>show etherchannel summary</code></td>
</tr>
<tr>

<td>詳細確認</td>

<td><code>show etherchannel port-channel</code></td>
</tr>
<tr>

<td>Trunk確認</td>

<td><code>show interfaces trunk</code></td>
</tr>
<tr>

<td>負荷状況確認</td>

<td><code>show interfaces port-channel 1</code></td>
</tr>
</tbody>
</table>
<h2>✅ まとめ</h2>
<table>
<thead>
<tr>

<th>項目</th>

<th>内容</th>
</tr>
</thead>
<tbody>
<tr>

<td>目的</td>

<td>冗長化 + 帯域拡張</td>
</tr>
<tr>

<td>使用技術</td>

<td>EtherChannel (Cisco), LACP</td>
</tr>
<tr>

<td>メリット</td>

<td>回線ダウンに強い / 帯域増加</td>
</tr>
<tr>

<td>実装のコツ</td>

<td><strong>LACP activeでそろえる</strong>、VLAN設定一致</td>
</tr>
<tr>

<td>注意点</td>

<td>物理IFの設定は必ず統一</td>
</tr>
</tbody>
</table>
<p>この記事が役に立ったら、次回もぜひ続けて読んでください！
ネットワーク構築の力は「実践で積み上げる」しかありません&#x1f4aa;&#x1f525;</p>		<div class="wpulike wpulike-default " ><div class="wp_ulike_general_class wp_ulike_is_restricted"><button type="button"
					aria-label="いいねボタン"
					data-ulike-id="8134"
					data-ulike-nonce="97bc0121af"
					data-ulike-type="post"
					data-ulike-template="wpulike-default"
					data-ulike-display-likers=""
					data-ulike-likers-style="popover"
					class="wp_ulike_btn wp_ulike_put_image wp_post_btn_8134"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="0"></span>			</div></div>The post <a href="https://dreamparadaisu.com/study_lag_simulation/">リンクアグリゲーション（LAG）入門｜EtherChannelで冗長化と帯域拡張を実現【Packet Tracer検証あり】</a> first appeared on <a href="https://dreamparadaisu.com">リョクちゃの電脳日記</a>.<div class='yarpp yarpp-related yarpp-related-rss yarpp-template-list'>
<!-- YARPP List -->
<h3>関連記事</h3><ol>
<li><a href="https://dreamparadaisu.com/infla_gateway/" rel="bookmark" title="デフォルトゲートウェイとは？通信の出口と役割を理解しよう">デフォルトゲートウェイとは？通信の出口と役割を理解しよう</a></li>
<li><a href="https://dreamparadaisu.com/infla_nat/" rel="bookmark" title="NATとは？プライベートIPとグローバルIPを変換する仕組みを解説">NATとは？プライベートIPとグローバルIPを変換する仕組みを解説</a></li>
<li><a href="https://dreamparadaisu.com/infla_rooting_trouble/" rel="bookmark" title="ルーティングトラブルシュート：ping・tracerouteで障害を切り分ける方法">ルーティングトラブルシュート：ping・tracerouteで障害を切り分ける方法</a></li>
<li><a href="https://dreamparadaisu.com/infla_more_network/" rel="bookmark" title="高度なネットワーク冗長化設計入門：STP＋リンクアグリゲーション＋VRRPで止まらないネットワークを作る">高度なネットワーク冗長化設計入門：STP＋リンクアグリゲーション＋VRRPで止まらないネットワークを作る</a></li>
<li><a href="https://dreamparadaisu.com/study_ike_ipsec/" rel="bookmark" title="IKEとIPsecの仕組みを図解で理解｜VPNが安全な理由とPhase1/Phase2の流れ">IKEとIPsecの仕組みを図解で理解｜VPNが安全な理由とPhase1/Phase2の流れ</a></li>
</ol>
</div>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8134</post-id>	</item>
	</channel>
</rss>
