{"schema":"article/1","id":"art_5ef8e173fe","owner":"u_owner","status":"published","visibility":"public","version":1,"title":"物理ポートに付く VLAN 番号を、設定ではなくサーバの返事で決める","rawTitle":"物理ポートに付く VLAN 番号を、設定ではなくサーバの返事で決める","slug":"nw-basics-18-mab-radius","file":"ネットワーク_18_MABとRADIUS","relPath":"content/published/ネットワーク_18_MABとRADIUS.md","aliases":[],"kind":"published","area":"tech","topic":"ネットワーク","category":"ネットワーク","tags":["ネットワーク","radius","認証","concept"],"summary":"図 3 で人が設定に書いた「物理ポートと VLAN 番号」の結びつきを、つながれるたびにサーバへ問い合わせて決める形に置き換える。MAB と RADIUS のやり取りを 1 本の通信として追う","date":"2026-09-14","updated":"2026-09-14","links":["nw-basics-index","nw-basics-00-three-layers","nw-basics-17-dhcp","nw-basics-19-wireless-lan","nw-basics-03-vlan","nw-basics-02-same-network"],"blocks":[{"id":"blk_2d9ddd","type":"paragraph","markdown":"図 3 では、物理ポートに VLAN 番号を人が設定で付けました。図 17 の最後に出たポートセキュリティも、その物理ポートに許す MAC アドレスを人が決め打ちする方法でした。どちらも、機器ごとに人が書きます。","text":"図 3 では、物理ポートに VLAN 番号を人が設定で付けました。図 17 の最後に出たポートセキュリティも、その物理ポートに許す MAC アドレスを人が決め打ちする方法でした。どちらも、機器ごとに人が書きます。","line":2,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_694c6b","type":"paragraph","markdown":"図 18 では、その決め打ちをサーバ 1 か所に集めます。物理ポートに何を付けるかは、ケーブルがつながれるたびにサーバへ問い合わせて決まります。","text":"図 18 では、その決め打ちをサーバ 1 か所に集めます。物理ポートに何を付けるかは、ケーブルがつながれるたびにサーバへ問い合わせて決まります。","line":4,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_b3d8d4","type":"paragraph","markdown":"この連載は、ネットワークの言葉をもの（物理と論理）、結びつき（手動、自動、固定）、通信フロー（1 本の通信がこれらを順に通る流れ）の 3 層に置いています。ここで変わるのは、結びつきの作り方です。","text":"この連載は、ネットワークの言葉をもの（物理と論理）、結びつき（手動、自動、固定）、通信フロー（1 本の通信がこれらを順に通る流れ）の 3 層に置いています。ここで変わるのは、結びつきの作り方です。","line":6,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_34ba84","type":"heading","depth":2,"markdown":"## 登場するもの","text":"登場するもの","line":8,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_1aa087","type":"heading","depth":4,"markdown":"#### 認証・認可の台帳","text":"認証・認可の台帳","line":10,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_3fffb1","type":"paragraph","markdown":"RADIUS サーバが持つ論理のものです。誰に何を許すかが載ります。誰は MAC アドレスか利用者名、何を許すかは VLAN 番号や ACL です。","text":"RADIUS サーバが持つ論理のものです。誰に何を許すかが載ります。誰は MAC アドレスか利用者名、何を許すかは VLAN 番号や ACL です。","line":12,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_fd6cdb","type":"heading","depth":4,"markdown":"#### 物理ポートごとの認証の状態","text":"物理ポートごとの認証の状態","line":14,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_420dbd","type":"paragraph","markdown":"スイッチが持つ論理のものです。どの物理ポートに、どの MAC アドレスが、どの方式で、許可されたかを持ちます。","text":"スイッチが持つ論理のものです。どの物理ポートに、どの MAC アドレスが、どの方式で、許可されたかを持ちます。","line":16,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_9e70a2","type":"heading","depth":4,"markdown":"#### 事前共有鍵","text":"事前共有鍵","line":18,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_e3eca6","type":"paragraph","markdown":"スイッチとサーバの両方に人が同じ文字列を入れます。そのスイッチが問い合わせてよい相手であることの根拠になります。","text":"スイッチとサーバの両方に人が同じ文字列を入れます。そのスイッチが問い合わせてよい相手であることの根拠になります。","line":20,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_11a182","type":"heading","depth":4,"markdown":"#### AAA の 3 つ","text":"AAA の 3 つ","line":22,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_36a4f7","type":"paragraph","markdown":"認証は誰かを確かめること、認可は何をしてよいかを決めること、アカウンティングは記録を残すことです。記録だけは宛先ポート番号 1813 を使う別のやり取りです。","text":"認証は誰かを確かめること、認可は何をしてよいかを決めること、アカウンティングは記録を残すことです。記録だけは宛先ポート番号 1813 を使う別のやり取りです。","line":24,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_fc2bb5","type":"heading","depth":4,"markdown":"#### 802.1X と MAB","text":"802.1X と MAB","line":26,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_f396ba","type":"paragraph","markdown":"802.1X は端末が自分で名乗る方式です。MAB は名乗る仕組みを持たない機器のために、スイッチがその MAC アドレスで代わりに問い合わせる方式です。MAC アドレスは詐称できるので強い認証ではなく、名乗れる端末には 802.1X を使います。","text":"802.1X は端末が自分で名乗る方式です。MAB は名乗る仕組みを持たない機器のために、スイッチがその MAC アドレスで代わりに問い合わせる方式です。MAC アドレスは詐称できるので強い認証ではなく、名乗れる端末には 802.1X を使います。","line":28,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_118c7a","type":"heading","depth":2,"markdown":"## 結びつき","text":"結びつき","line":30,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_e4ace1","type":"paragraph","markdown":"物理ポートと VLAN 番号の結びつきが、手動からサーバの返事による自動に変わります。これがこの 1 枚の主題です。","text":"物理ポートと VLAN 番号の結びつきが、手動からサーバの返事による自動に変わります。これがこの 1 枚の主題です。","line":32,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_523f5d","type":"paragraph","markdown":"MAC アドレスと許可の結びつきは手動のままです。台帳に人が登録します。変わったのは登録する場所で、機器ごとではなくサーバ 1 か所になりました。","text":"MAC アドレスと許可の結びつきは手動のままです。台帳に人が登録します。変わったのは登録する場所で、機器ごとではなくサーバ 1 か所になりました。","line":34,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_5c0b93","type":"paragraph","markdown":"サーバの IP アドレス、ポート番号、事前共有鍵、物理ポートごとの認証の順番も手動のままです。自動になったのは、物理ポートに何を付けるかだけです。","text":"サーバの IP アドレス、ポート番号、事前共有鍵、物理ポートごとの認証の順番も手動のままです。自動になったのは、物理ポートに何を付けるかだけです。","line":36,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_df21fc","type":"heading","depth":2,"markdown":"## 通信フロー","text":"通信フロー","line":38,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_2cb782","type":"paragraph","markdown":"① ケーブルを挿します。リンクは上がりますが、認証が済むまでその物理ポートはデータを通しません。図 2 の学習も転送も、まだ始まりません。","text":"① ケーブルを挿します。リンクは上がりますが、認証が済むまでその物理ポートはデータを通しません。図 2 の学習も転送も、まだ始まりません。","line":40,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_8edb8d","type":"paragraph","markdown":"② スイッチ 1 が「名乗って」というフレーム（EAPOL）をその物理ポートに出します。ここではまだ IP を使いません。","text":"② スイッチ 1 が「名乗って」というフレーム（EAPOL）をその物理ポートに出します。ここではまだ IP を使いません。","line":42,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_eca893","type":"paragraph","markdown":"③ 名乗る仕組みが無い端末は返事をしません。スイッチは既定で（再試行 2 回＋1）×30 秒＝90 秒 待って諦め、MAB に切り替えます。順番は設定で変えられます。","text":"③ 名乗る仕組みが無い端末は返事をしません。スイッチは既定で（再試行 2 回＋1）×30 秒＝90 秒 待って諦め、MAB に切り替えます。順番は設定で変えられます。","line":44,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_adde99","type":"paragraph","markdown":"④ スイッチ 1 は最初のフレームの送信元 MAC アドレスを読み、その文字列を利用者名にもパスワードにも入れて Access-Request を送ります。宛先ポート番号は 1812（UDP）です。","text":"④ スイッチ 1 は最初のフレームの送信元 MAC アドレスを読み、その文字列を利用者名にもパスワードにも入れて Access-Request を送ります。宛先ポート番号は 1812（UDP）です。","line":46,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_44758c","type":"paragraph","markdown":"⑤ サーバは台帳と照らし、Access-Accept（許可）か Access-Reject（拒否）を返します。返りは ④ の送信元ポートへ戻ります。1812 は行きの宛先です。許可の返事には VLAN 番号などの属性を入れられます。","text":"⑤ サーバは台帳と照らし、Access-Accept（許可）か Access-Reject（拒否）を返します。返りは ④ の送信元ポートへ戻ります。1812 は行きの宛先です。許可の返事には VLAN 番号などの属性を入れられます。","line":48,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_3c2ed2","type":"paragraph","markdown":"⑥ スイッチ 1 は返事に入っていた VLAN 番号をその物理ポートに付けます。ここから先は図 2 と図 3 とまったく同じ動きになります。","text":"⑥ スイッチ 1 は返事に入っていた VLAN 番号をその物理ポートに付けます。ここから先は図 2 と図 3 とまったく同じ動きになります。","line":50,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_9b71a8","type":"paragraph","markdown":"RADIUS で隠されるのはパスワードの欄だけで、残りの属性はそのまま流れます。VLAN 番号は Tunnel-Type、Tunnel-Medium-Type、Tunnel-Private-Group-ID の 3 つの組で渡します。","text":"RADIUS で隠されるのはパスワードの欄だけで、残りの属性はそのまま流れます。VLAN 番号は Tunnel-Type、Tunnel-Medium-Type、Tunnel-Private-Group-ID の 3 つの組で渡します。","line":52,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_14421a","type":"paragraph","markdown":"同じ AAA でも、TACACS+ は用途が違います。機器の管理者ログイン向けで、TCP のポート番号 49 を使い、認証と認可と記録を分けた設計になっていて、命令ひとつずつの認可ができます。RADIUS には命令ひとつずつの制御はありません。隠す範囲も違いますが、その呼び方は出典で食い違っています。Cisco の比較ページは TACACS+ が本文全体を暗号化すると書き、RFC 8907 §4.5・§10.1 は同じ仕組みを暗号化ではなく難読化と呼んで弱点を挙げています。","text":"同じ AAA でも、TACACS+ は用途が違います。機器の管理者ログイン向けで、TCP のポート番号 49 を使い、認証と認可と記録を分けた設計になっていて、命令ひとつずつの認可ができます。RADIUS には命令ひとつずつの制御はありません。隠す範囲も違いますが、その呼び方は出典で食い違っています。Cisco の比較ページは TACACS+ が本文全体を暗号化すると書き、RFC 8907 §4.5・§10.1 は同じ仕組みを暗号化ではなく難読化と呼んで弱点を挙げています。","line":54,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_d50308","type":"heading","depth":2,"markdown":"## 図 18","text":"図 18","line":56,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_9433d0","type":"paragraph","markdown":"上が構成図とフローの矢印、その下に AAA の 3 つ、802.1X と MAB、RADIUS と TACACS+ の 3 つの箱が並びます。いちばん下は各表の推移と、通信の中身の推移です。","text":"上が構成図とフローの矢印、その下に AAA の 3 つ、802.1X と MAB、RADIUS と TACACS+ の 3 つの箱が並びます。いちばん下は各表の推移と、通信の中身の推移です。","line":58,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_adc502","type":"html","markdown":"<svg viewBox=\"0 0 900 1678\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" aria-label=\"MAB と RADIUS による認証と、口への VLAN 番号の割り当て\" style=\"max-width:100%;height:auto;font-family:sans-serif\">\n  <rect x=\"0\" y=\"0\" width=\"900\" height=\"1678\" fill=\"#fbfcfe\"/>\n  <text x=\"20\" y=\"30\" text-anchor=\"start\" font-size=\"14\" font-weight=\"700\" fill=\"#1f2937\">MAB と RADIUS：口に付ける VLAN 番号を、人が決め打ちせずサーバに聞いて決める</text>\n  <text x=\"20\" y=\"50\" text-anchor=\"start\" font-size=\"11\" fill=\"#6b7280\">図 3 では「物理ポート ⇄ VLAN 番号」を人が設定で固定した。ここではスイッチがサーバに問い合わせ、返事に入っていた VLAN 番号が口に付く</text>\n  <text x=\"20\" y=\"92\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">VLAN 10（192.168.10.0/24）</text>\n  <text x=\"660\" y=\"92\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">データセンター（192.168.3.0/24）</text>\n  <rect x=\"20\" y=\"165\" width=\"140\" height=\"80\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"90.0\" y=\"185\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">PC-A</text>\n  <text x=\"90.0\" y=\"203\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">名乗る仕組みが無い</text>\n  <text x=\"90.0\" y=\"218\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">MAC A しか持っていない</text>\n  <line x1=\"160\" y1=\"201\" x2=\"241\" y2=\"201\" stroke=\"#374151\" stroke-width=\"2\"/>\n  <rect x=\"250\" y=\"150\" width=\"210\" height=\"110\" rx=\"8\" fill=\"#f2f5f9\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"355.0\" y=\"170\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1（問い合わせる係）</text>\n  <text x=\"355.0\" y=\"188\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">口 1：認証が済むまで通さない</text>\n  <text x=\"355.0\" y=\"203\" text-anchor=\"middle\" font-size=\"10\" fill=\"#0a7aff\">RADIUS サーバの IP とポート番号</text>\n  <text x=\"355.0\" y=\"218\" text-anchor=\"middle\" font-size=\"10\" fill=\"#0a7aff\">事前共有鍵・認証の順番（手動）</text>\n  <rect x=\"241\" y=\"192\" width=\"18\" height=\"18\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1.5\"/><text x=\"250\" y=\"205\" text-anchor=\"middle\" font-size=\"8\" fill=\"#1f2937\">口1</text>\n  <rect x=\"451\" y=\"192\" width=\"18\" height=\"18\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1.5\"/><text x=\"460\" y=\"205\" text-anchor=\"middle\" font-size=\"8\" fill=\"#1f2937\">口8</text>\n  <line x1=\"469\" y1=\"201\" x2=\"511\" y2=\"201\" stroke=\"#374151\" stroke-width=\"2\"/>\n  <rect x=\"520\" y=\"160\" width=\"130\" height=\"90\" rx=\"8\" fill=\"#f2f5f9\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"585.0\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">ルータ 1</text>\n  <text x=\"585.0\" y=\"198\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">Gi0 192.168.10.1</text>\n  <text x=\"585.0\" y=\"213\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">Gi1 192.168.3.1</text>\n  <rect x=\"511\" y=\"192\" width=\"18\" height=\"18\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1.5\"/><text x=\"520\" y=\"205\" text-anchor=\"middle\" font-size=\"8\" fill=\"#1f2937\">Gi0</text>\n  <rect x=\"641\" y=\"192\" width=\"18\" height=\"18\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1.5\"/><text x=\"650\" y=\"205\" text-anchor=\"middle\" font-size=\"8\" fill=\"#1f2937\">Gi1</text>\n  <line x1=\"659\" y1=\"201\" x2=\"720\" y2=\"201\" stroke=\"#374151\" stroke-width=\"2\"/>\n  <rect x=\"720\" y=\"160\" width=\"160\" height=\"90\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"800.0\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">RADIUS サーバ</text>\n  <text x=\"800.0\" y=\"198\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">192.168.3.201</text>\n  <text x=\"800.0\" y=\"213\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">認証・認可の台帳</text>\n  <text x=\"800.0\" y=\"228\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">UDP 1812 / 1813</text>\n  <line x1=\"241\" y1=\"120\" x2=\"173\" y2=\"120\" stroke=\"#0a7aff\" stroke-width=\"2\"/><polygon points=\"174,115 174,125 165,120\" fill=\"#0a7aff\"/>\n  <circle cx=\"203\" cy=\"120\" r=\"9\" fill=\"#0a7aff\"/><text x=\"203\" y=\"124\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">2</text>\n  <text x=\"203\" y=\"104\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">② 名乗って（EAPOL）</text>\n  <line x1=\"465\" y1=\"120\" x2=\"707\" y2=\"120\" stroke=\"#0a7aff\" stroke-width=\"2\"/><polygon points=\"706,115 706,125 715,120\" fill=\"#0a7aff\"/>\n  <circle cx=\"590\" cy=\"120\" r=\"9\" fill=\"#0a7aff\"/><text x=\"590\" y=\"124\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">4</text>\n  <text x=\"590\" y=\"104\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">④ MAC を名前とパスワードにして問い合わせ（UDP 1812）</text>\n  <line x1=\"168\" y1=\"282\" x2=\"233\" y2=\"282\" stroke=\"#9aa7b5\" stroke-width=\"2\" stroke-dasharray=\"4 3\"/><polygon points=\"232,277 232,287 241,282\" fill=\"#9aa7b5\"/>\n  <circle cx=\"178\" cy=\"282\" r=\"9\" fill=\"#b45309\"/><text x=\"178\" y=\"286\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">3</text>\n  <line x1=\"205\" y1=\"275\" x2=\"219\" y2=\"289\" stroke=\"#b45309\" stroke-width=\"2.5\"/><line x1=\"219\" y1=\"275\" x2=\"205\" y2=\"289\" stroke=\"#b45309\" stroke-width=\"2.5\"/>\n  <text x=\"203\" y=\"302\" text-anchor=\"middle\" font-size=\"9\" fill=\"#b45309\">③ 名乗りの返事が来ない → 待って諦める</text>\n  <line x1=\"715\" y1=\"282\" x2=\"473\" y2=\"282\" stroke=\"#0a7aff\" stroke-width=\"2\"/><polygon points=\"474,277 474,287 465,282\" fill=\"#0a7aff\"/>\n  <circle cx=\"590\" cy=\"282\" r=\"9\" fill=\"#0a7aff\"/><text x=\"590\" y=\"286\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">5</text>\n  <text x=\"590\" y=\"300\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">⑤ 許可＋VLAN 番号の属性を返す</text>\n  <circle cx=\"30\" cy=\"326\" r=\"9\" fill=\"#0a7aff\"/><text x=\"30\" y=\"330\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">1</text>\n  <text x=\"46\" y=\"330\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">ケーブルを挿した直後。リンクは上がるが、口 1 はまだデータを通さない</text>\n  <circle cx=\"30\" cy=\"350\" r=\"9\" fill=\"#0a7aff\"/><text x=\"30\" y=\"354\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">6</text>\n  <text x=\"46\" y=\"354\" text-anchor=\"start\" font-size=\"10\" fill=\"#0a7aff\">口 1 に VLAN 10 が付く（自動）。ここから通常の通信が流れる</text>\n  <rect x=\"20\" y=\"380\" width=\"280\" height=\"128\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"32\" y=\"400\" text-anchor=\"start\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">AAA ＝ 3 つの A</text>\n  <text x=\"32\" y=\"418\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">認証：誰か（名乗りを確かめる）</text>\n  <text x=\"32\" y=\"433\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">認可：何をしてよいか</text>\n  <text x=\"32\" y=\"448\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　（VLAN 番号や ACL を返す）</text>\n  <text x=\"32\" y=\"463\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">アカウンティング：記録を残す</text>\n  <text x=\"32\" y=\"478\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　（いつ・どの口に・誰がつないだか）</text>\n  <rect x=\"310\" y=\"380\" width=\"280\" height=\"128\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"322\" y=\"400\" text-anchor=\"start\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">802.1X と MAB</text>\n  <text x=\"322\" y=\"418\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">802.1X：端末が自分で名乗る</text>\n  <text x=\"322\" y=\"433\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　（利用者名・証明書など）</text>\n  <text x=\"322\" y=\"448\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">MAB：名乗れない機器の代わりに、</text>\n  <text x=\"322\" y=\"463\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　スイッチが MAC で問い合わせる</text>\n  <text x=\"322\" y=\"478\" text-anchor=\"start\" font-size=\"10\" fill=\"#b45309\">MAC は詐称できるので強くない</text>\n  <rect x=\"600\" y=\"380\" width=\"280\" height=\"128\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"612\" y=\"400\" text-anchor=\"start\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">RADIUS と TACACS+</text>\n  <text x=\"612\" y=\"418\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">RADIUS：利用者の接続を通すか決める</text>\n  <text x=\"612\" y=\"433\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　UDP 1812（認証）/ 1813（記録）</text>\n  <text x=\"612\" y=\"448\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">TACACS+：機器の管理者ログイン向け</text>\n  <text x=\"612\" y=\"463\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　TCP 49。命令ひとつずつの認可ができる</text>\n  <text x=\"612\" y=\"478\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">隠す範囲も違う（帯の最後の注）</text>\n  <text x=\"20\" y=\"538\" text-anchor=\"start\" font-size=\"12\" font-weight=\"700\" fill=\"#1f2937\">フロー</text>\n  <text x=\"20\" y=\"558\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">① ケーブルを挿す。リンクは上がるが、認証が済むまで口 1 はデータを通さない（図 2 の学習も転送も、まだ始まらない）</text>\n  <text x=\"20\" y=\"576\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">② スイッチ 1 は「名乗って」というフレーム（EAPOL）を口 1 に出す。ここではまだ IP を使わない</text>\n  <text x=\"20\" y=\"594\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">③ 名乗る仕組みが無い端末は返事をしない。スイッチは既定で（再試行 2 回＋1）×30 秒＝90 秒 待って諦め、MAB に切り替える（順番は設定で変えられる）</text>\n  <text x=\"20\" y=\"612\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">④ スイッチ 1 は最初のフレームの送信元 MAC を読み、その MAC の文字列を利用者名にもパスワードにも入れて Access-Request を送る（宛先ポート番号 1812）</text>\n  <text x=\"20\" y=\"630\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">⑤ サーバは台帳と照らし、Access-Accept（許可）か Access-Reject（拒否）を返す。許可の返事には VLAN 番号などの属性を入れられる</text>\n  <text x=\"20\" y=\"648\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">⑥ スイッチ 1 は返事に入っていた VLAN 番号を口 1 に付ける。図 3 で人が設定していた「物理ポート ⇄ VLAN 番号」が、ここでは通信のたびに決まる</text>\n  <text x=\"20\" y=\"676\" text-anchor=\"start\" font-size=\"12\" font-weight=\"700\" fill=\"#1f2937\">3 層で見ると</text>\n  <text x=\"20\" y=\"696\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">もの：認証・認可の台帳（論理・サーバが持つ）／口ごとの認証の状態（論理・スイッチが持つ）／事前共有鍵（論理・両側に同じ文字列）</text>\n  <text x=\"20\" y=\"714\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">結びつき：物理ポート ⇄ VLAN 番号が、手動（図 3）からサーバの返事による自動に変わる。サーバの住所・鍵・認証の順番は手動のまま</text>\n  <text x=\"20\" y=\"732\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">フロー：図 3 の ①（口にフレームが入る）の前に、スイッチとサーバの間で 1 往復の問い合わせが入る。許可が出るまで、その口では何も起きない</text>\n  <text x=\"20\" y=\"752\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">図 17 の最後に出たポートセキュリティは、同じ「口を守る」を人が決め打ちでやる方法（この口はこの MAC だけ）。台数が増えると機器ごとに書くことになる</text>\n  <text x=\"20\" y=\"770\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">MAB はその決め打ちを 1 か所（サーバの台帳）に集める。ただし MAC は詐称できるので、名乗れる端末には 802.1X を使う</text>\n<line x1=\"20\" y1=\"798\" x2=\"880\" y2=\"798\" stroke=\"#d6dde5\" stroke-width=\"1\"/>\n<text x=\"20\" y=\"820\" font-size=\"12\" font-weight=\"700\" fill=\"#1f2937\">各テーブルの推移（○番のフローで追加・変化した行。青字）</text>\n  <rect x=\"20\" y=\"832\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"30\" y=\"848\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1: 口 1 の認証の状態</text>\n  <text x=\"30\" y=\"864\" font-size=\"10\" fill=\"#374151\">前: 認証待ち（データを通さない）</text>\n  <text x=\"30\" y=\"879\" font-size=\"10\" fill=\"#0a7aff\">④⑤ 追加: MAC A・方式 MAB・結果 許可</text>\n  <rect x=\"310\" y=\"832\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"320\" y=\"848\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1: 口 1 の VLAN 番号</text>\n  <text x=\"320\" y=\"864\" font-size=\"10\" fill=\"#374151\">前: 決まっていない</text>\n  <text x=\"320\" y=\"879\" font-size=\"10\" fill=\"#0a7aff\">⑥ 後: VLAN 10（サーバの返事で自動）</text>\n  <rect x=\"600\" y=\"832\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"610\" y=\"848\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1: MAC アドレステーブル</text>\n  <text x=\"610\" y=\"864\" font-size=\"10\" fill=\"#0a7aff\">⑥ 追加: MAC A → 口 1（VLAN 10）</text>\n  <text x=\"610\" y=\"879\" font-size=\"10\" fill=\"#374151\">認証が済むまでは、ここにも載らない</text>\n  <rect x=\"20\" y=\"902\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"30\" y=\"918\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">RADIUS サーバ: 認証・認可の台帳</text>\n  <text x=\"30\" y=\"934\" font-size=\"10\" fill=\"#374151\">MAC A → 許可・VLAN 10（手動で登録）</text>\n  <text x=\"30\" y=\"949\" font-size=\"10\" fill=\"#374151\">利用者名 → 許可・VLAN 20（手動で登録）</text>\n  <rect x=\"310\" y=\"902\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"320\" y=\"918\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1: 人が手で設定したもの</text>\n  <text x=\"320\" y=\"934\" font-size=\"10\" fill=\"#374151\">サーバの IP・ポート番号・事前共有鍵</text>\n  <text x=\"320\" y=\"949\" font-size=\"10\" fill=\"#374151\">口ごとの認証の順番（MAB と 802.1X）</text>\n  <rect x=\"600\" y=\"902\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"610\" y=\"918\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">図 3 との違い</text>\n  <text x=\"610\" y=\"934\" font-size=\"10\" fill=\"#374151\">図 3: 口 1 の VLAN 10 は設定に書いた行</text>\n  <text x=\"610\" y=\"949\" font-size=\"10\" fill=\"#374151\">図 18: 口 1 の VLAN 10 はサーバの返事</text>\n<text x=\"20\" y=\"1012\" font-size=\"12\" font-weight=\"700\" fill=\"#1f2937\">通信の中身の推移（フローごとのフレーム／パケット）</text>\n  <text x=\"20\" y=\"1040\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">② スイッチ 1 → PC-A：名乗りを求める（EAPOL。IP はまだ出てこない）</text>\n  <rect x=\"20\" y=\"1046\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"79.0\" y=\"1060\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 MAC</text>\n  <text x=\"79.0\" y=\"1075\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">認証用の決まった番地</text>\n  <rect x=\"138\" y=\"1046\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"197.0\" y=\"1060\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 MAC</text>\n  <text x=\"197.0\" y=\"1075\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC SW-口1</text>\n  <rect x=\"256\" y=\"1046\" width=\"70\" height=\"36\" fill=\"#ffffff\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"291.0\" y=\"1060\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">データ</text>\n  <text x=\"291.0\" y=\"1075\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">EAP 要求</text>\n<text x=\"20\" y=\"1092\" font-size=\"10\" fill=\"#6b7280\">EAPOL に使う決まった番地は 01:80:C2:00:00:03（Cisco の解析例で端末 → スイッチ方向を確認）。スイッチから端末へ出すときの宛先は一次資料で確認できていない</text>\n  <text x=\"20\" y=\"1132\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">④ スイッチ 1 → RADIUS サーバ：Access-Request（普通の IP パケットで送る）</text>\n  <rect x=\"20\" y=\"1138\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"79.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 MAC</text>\n  <text x=\"79.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC R1-Gi0</text>\n  <rect x=\"138\" y=\"1138\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"197.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 MAC</text>\n  <text x=\"197.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC SW</text>\n  <rect x=\"256\" y=\"1138\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"315.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 IP</text>\n  <text x=\"315.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.3.201</text>\n  <rect x=\"374\" y=\"1138\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"433.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 IP</text>\n  <text x=\"433.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.10.2</text>\n  <rect x=\"492\" y=\"1138\" width=\"140\" height=\"36\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1\"/>\n  <text x=\"562.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先ポート番号（UDP）</text>\n  <text x=\"562.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">1812</text>\n  <rect x=\"632\" y=\"1138\" width=\"210\" height=\"36\" fill=\"#ffffff\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"737.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">AAA のメッセージ</text>\n  <text x=\"737.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">Access-Request（名前＝MAC A）</text>\n  <line x1=\"20\" y1=\"1182\" x2=\"842\" y2=\"1182\" stroke=\"#374151\" stroke-width=\"1.5\"/><line x1=\"20\" y1=\"1178\" x2=\"20\" y2=\"1182\" stroke=\"#374151\" stroke-width=\"1.5\"/><line x1=\"842\" y1=\"1178\" x2=\"842\" y2=\"1182\" stroke=\"#374151\" stroke-width=\"1.5\"/>\n  <text x=\"431.0\" y=\"1195\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">フレーム＝全部。ただしスイッチが見るのは MAC とタグの部分だけ</text>\n  <line x1=\"256\" y1=\"1124\" x2=\"842\" y2=\"1124\" stroke=\"#0a7aff\" stroke-width=\"1.5\"/><line x1=\"256\" y1=\"1124\" x2=\"256\" y2=\"1128\" stroke=\"#0a7aff\" stroke-width=\"1.5\"/><line x1=\"842\" y1=\"1124\" x2=\"842\" y2=\"1128\" stroke=\"#0a7aff\" stroke-width=\"1.5\"/>\n  <text x=\"549.0\" y=\"1120\" text-anchor=\"middle\" font-size=\"10\" fill=\"#0a7aff\">パケット＝この部分。ルータはここ（IP）を見る</text>\n  <text x=\"20\" y=\"1228\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">⑤ RADIUS サーバ → スイッチ 1：Access-Accept</text>\n  <rect x=\"20\" y=\"1234\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"79.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 MAC</text>\n  <text x=\"79.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC SW</text>\n  <rect x=\"138\" y=\"1234\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"197.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 MAC</text>\n  <text x=\"197.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC R1-Gi0</text>\n  <rect x=\"256\" y=\"1234\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"315.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 IP</text>\n  <text x=\"315.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.10.2</text>\n  <rect x=\"374\" y=\"1234\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"433.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 IP</text>\n  <text x=\"433.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.3.201</text>\n  <rect x=\"492\" y=\"1234\" width=\"140\" height=\"36\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1\"/>\n  <text x=\"562.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先ポート番号（UDP）</text>\n  <text x=\"562.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">④ の送信元ポート</text>\n  <rect x=\"632\" y=\"1234\" width=\"210\" height=\"36\" fill=\"#ffffff\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"737.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">AAA のメッセージ</text>\n  <text x=\"737.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">Access-Accept（VLAN 10 の属性）</text>\n<text x=\"20\" y=\"1280\" font-size=\"10\" fill=\"#6b7280\">宛先は ④ の送信元ポートへ返る（1812 は行きの宛先）。隠されるのはパスワードの欄だけで残りはそのまま流れ、VLAN 番号は属性 3 つの組で渡す（RFC 2865・RFC 3580 §3.31）</text>\n  <text x=\"20\" y=\"1298\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">⑥ 認証が済んだあと：PC-A が同じ VLAN 10 の PC-B へ出す普通のフレーム</text>\n  <rect x=\"20\" y=\"1304\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"79.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 MAC</text>\n  <text x=\"79.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC B</text>\n  <rect x=\"138\" y=\"1304\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"197.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 MAC</text>\n  <text x=\"197.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC A</text>\n  <rect x=\"256\" y=\"1304\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"315.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 IP</text>\n  <text x=\"315.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.10.20</text>\n  <rect x=\"374\" y=\"1304\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"433.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 IP</text>\n  <text x=\"433.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.10.10</text>\n  <rect x=\"492\" y=\"1304\" width=\"70\" height=\"36\" fill=\"#ffffff\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"527.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">データ</text>\n  <text x=\"527.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">ping</text>\n<text x=\"20\" y=\"1350\" font-size=\"10\" fill=\"#6b7280\">口 1 が VLAN 10 の一員になったので、ここから先は図 2・図 3 とまったく同じ動きになる</text>\n  <text x=\"20\" y=\"1368\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">記録（アカウンティング）</text>\n  <text x=\"20\" y=\"1388\" font-size=\"10\" fill=\"#6b7280\">スイッチ 1 は「いつ・どの口に・どの MAC がつながり、いつ切れたか」をサーバへ送る（宛先ポート番号 1813）。認証・認可とは別のやり取り</text>\n<text x=\"20\" y=\"1412\" font-size=\"10\" fill=\"#6b7280\">出典（RADIUS のポート番号 1812／Access-Request・Accept・Reject／隠されるのはパスワードの欄だけ）: RFC 2865 §3・§4・§5.2</text>\n<text x=\"20\" y=\"1428\" font-size=\"10\" fill=\"#6b7280\">　https://www.rfc-editor.org/rfc/rfc2865.html</text>\n<text x=\"20\" y=\"1444\" font-size=\"10\" fill=\"#6b7280\">出典（記録のポート番号 1813）: RFC 2866　https://www.rfc-editor.org/rfc/rfc2866.html</text>\n<text x=\"20\" y=\"1460\" font-size=\"10\" fill=\"#6b7280\">出典（許可の返事で VLAN 番号を渡す属性の組・802.1X のスイッチが RADIUS の client になる）: RFC 3580 §1・§3.31　https://www.rfc-editor.org/rfc/rfc3580.html</text>\n<text x=\"20\" y=\"1476\" font-size=\"10\" fill=\"#6b7280\">出典（TACACS+ は TCP 49／認証・認可・記録が別／命令ひとつずつの認可／機器の管理向け）: RFC 8907 §1・§3.4・§4.5・§10.1</text>\n<text x=\"20\" y=\"1492\" font-size=\"10\" fill=\"#6b7280\">　https://www.rfc-editor.org/rfc/rfc8907.html</text>\n<text x=\"20\" y=\"1508\" font-size=\"10\" fill=\"#6b7280\">出典（MAB：MAC を名前とパスワードに入れて問い合わせる／MAC を詐称すると破れるので強い認証ではない）: Cisco</text>\n<text x=\"20\" y=\"1524\" font-size=\"10\" fill=\"#6b7280\">　同（許可の返事で VLAN や ACL を渡せる／諦めるまでの待ち時間は（再試行回数＋1）×30 秒で既定 90 秒）</text>\n<text x=\"20\" y=\"1540\" font-size=\"10\" fill=\"#6b7280\">　https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Security/TrustSec_1-99/MAB/MAB_Dep_Guide.html</text>\n<text x=\"20\" y=\"1556\" font-size=\"10\" fill=\"#6b7280\">出典（RADIUS と TACACS+ の比較。RADIUS は命令ひとつずつの制御ができない）: Cisco</text>\n<text x=\"20\" y=\"1572\" font-size=\"10\" fill=\"#6b7280\">　https://www.cisco.com/c/en/us/support/docs/security-vpn/remote-authentication-dial-user-service-radius/13838-10.html</text>\n<text x=\"20\" y=\"1588\" font-size=\"10\" fill=\"#6b7280\">出典（EAPOL の決まった番地 0180.C200.0003・Ethernet の種類の欄 0x888E）: Cisco（端末 → スイッチ方向の解析例）</text>\n<text x=\"20\" y=\"1604\" font-size=\"10\" fill=\"#6b7280\">　https://www.cisco.com/c/en/us/support/docs/lan-switching/8021x/220919-troubleshoot-dot1x-on-catalyst-9000-seri.html</text>\n<text x=\"20\" y=\"1620\" font-size=\"10\" fill=\"#6b7280\">注: Cisco の比較ページは TACACS+ を「本文全体を暗号化する」と書くが、RFC 8907 §4.5・§10.1 は同じ仕組みを「暗号化ではなく難読化」と呼び、弱点も挙げている</text>\n<text x=\"20\" y=\"1636\" font-size=\"10\" fill=\"#6b7280\">未検証: 勉強会の実機で確かめたのは MAB の成功・失敗の記録までで、TACACS+ は触っていない</text>\n<text x=\"20\" y=\"1652\" font-size=\"10\" fill=\"#6b7280\">未検証: 802.1X で使う名乗りの方式（証明書・利用者名など）ごとの違いは、この図では扱っていない</text>\n</svg>\n## 図 3・図 17 との接続","text":"<svg viewBox=\"0 0 900 1678\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" aria-label=\"MAB と RADIUS による認証と、口への VLAN 番号の割り当て\" style=\"max-width:100%;height:auto;font-family:sans-serif\">\n  <rect x=\"0\" y=\"0\" width=\"900\" height=\"1678\" fill=\"#fbfcfe\"/>\n  <text x=\"20\" y=\"30\" text-anchor=\"start\" font-size=\"14\" font-weight=\"700\" fill=\"#1f2937\">MAB と RADIUS：口に付ける VLAN 番号を、人が決め打ちせずサーバに聞いて決める</text>\n  <text x=\"20\" y=\"50\" text-anchor=\"start\" font-size=\"11\" fill=\"#6b7280\">図 3 では「物理ポート ⇄ VLAN 番号」を人が設定で固定した。ここではスイッチがサーバに問い合わせ、返事に入っていた VLAN 番号が口に付く</text>\n  <text x=\"20\" y=\"92\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">VLAN 10（192.168.10.0/24）</text>\n  <text x=\"660\" y=\"92\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">データセンター（192.168.3.0/24）</text>\n  <rect x=\"20\" y=\"165\" width=\"140\" height=\"80\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"90.0\" y=\"185\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">PC-A</text>\n  <text x=\"90.0\" y=\"203\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">名乗る仕組みが無い</text>\n  <text x=\"90.0\" y=\"218\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">MAC A しか持っていない</text>\n  <line x1=\"160\" y1=\"201\" x2=\"241\" y2=\"201\" stroke=\"#374151\" stroke-width=\"2\"/>\n  <rect x=\"250\" y=\"150\" width=\"210\" height=\"110\" rx=\"8\" fill=\"#f2f5f9\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"355.0\" y=\"170\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1（問い合わせる係）</text>\n  <text x=\"355.0\" y=\"188\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">口 1：認証が済むまで通さない</text>\n  <text x=\"355.0\" y=\"203\" text-anchor=\"middle\" font-size=\"10\" fill=\"#0a7aff\">RADIUS サーバの IP とポート番号</text>\n  <text x=\"355.0\" y=\"218\" text-anchor=\"middle\" font-size=\"10\" fill=\"#0a7aff\">事前共有鍵・認証の順番（手動）</text>\n  <rect x=\"241\" y=\"192\" width=\"18\" height=\"18\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1.5\"/><text x=\"250\" y=\"205\" text-anchor=\"middle\" font-size=\"8\" fill=\"#1f2937\">口1</text>\n  <rect x=\"451\" y=\"192\" width=\"18\" height=\"18\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1.5\"/><text x=\"460\" y=\"205\" text-anchor=\"middle\" font-size=\"8\" fill=\"#1f2937\">口8</text>\n  <line x1=\"469\" y1=\"201\" x2=\"511\" y2=\"201\" stroke=\"#374151\" stroke-width=\"2\"/>\n  <rect x=\"520\" y=\"160\" width=\"130\" height=\"90\" rx=\"8\" fill=\"#f2f5f9\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"585.0\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">ルータ 1</text>\n  <text x=\"585.0\" y=\"198\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">Gi0 192.168.10.1</text>\n  <text x=\"585.0\" y=\"213\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">Gi1 192.168.3.1</text>\n  <rect x=\"511\" y=\"192\" width=\"18\" height=\"18\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1.5\"/><text x=\"520\" y=\"205\" text-anchor=\"middle\" font-size=\"8\" fill=\"#1f2937\">Gi0</text>\n  <rect x=\"641\" y=\"192\" width=\"18\" height=\"18\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1.5\"/><text x=\"650\" y=\"205\" text-anchor=\"middle\" font-size=\"8\" fill=\"#1f2937\">Gi1</text>\n  <line x1=\"659\" y1=\"201\" x2=\"720\" y2=\"201\" stroke=\"#374151\" stroke-width=\"2\"/>\n  <rect x=\"720\" y=\"160\" width=\"160\" height=\"90\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"800.0\" y=\"180\" text-anchor=\"middle\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">RADIUS サーバ</text>\n  <text x=\"800.0\" y=\"198\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">192.168.3.201</text>\n  <text x=\"800.0\" y=\"213\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">認証・認可の台帳</text>\n  <text x=\"800.0\" y=\"228\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">UDP 1812 / 1813</text>\n  <line x1=\"241\" y1=\"120\" x2=\"173\" y2=\"120\" stroke=\"#0a7aff\" stroke-width=\"2\"/><polygon points=\"174,115 174,125 165,120\" fill=\"#0a7aff\"/>\n  <circle cx=\"203\" cy=\"120\" r=\"9\" fill=\"#0a7aff\"/><text x=\"203\" y=\"124\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">2</text>\n  <text x=\"203\" y=\"104\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">② 名乗って（EAPOL）</text>\n  <line x1=\"465\" y1=\"120\" x2=\"707\" y2=\"120\" stroke=\"#0a7aff\" stroke-width=\"2\"/><polygon points=\"706,115 706,125 715,120\" fill=\"#0a7aff\"/>\n  <circle cx=\"590\" cy=\"120\" r=\"9\" fill=\"#0a7aff\"/><text x=\"590\" y=\"124\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">4</text>\n  <text x=\"590\" y=\"104\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">④ MAC を名前とパスワードにして問い合わせ（UDP 1812）</text>\n  <line x1=\"168\" y1=\"282\" x2=\"233\" y2=\"282\" stroke=\"#9aa7b5\" stroke-width=\"2\" stroke-dasharray=\"4 3\"/><polygon points=\"232,277 232,287 241,282\" fill=\"#9aa7b5\"/>\n  <circle cx=\"178\" cy=\"282\" r=\"9\" fill=\"#b45309\"/><text x=\"178\" y=\"286\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">3</text>\n  <line x1=\"205\" y1=\"275\" x2=\"219\" y2=\"289\" stroke=\"#b45309\" stroke-width=\"2.5\"/><line x1=\"219\" y1=\"275\" x2=\"205\" y2=\"289\" stroke=\"#b45309\" stroke-width=\"2.5\"/>\n  <text x=\"203\" y=\"302\" text-anchor=\"middle\" font-size=\"9\" fill=\"#b45309\">③ 名乗りの返事が来ない → 待って諦める</text>\n  <line x1=\"715\" y1=\"282\" x2=\"473\" y2=\"282\" stroke=\"#0a7aff\" stroke-width=\"2\"/><polygon points=\"474,277 474,287 465,282\" fill=\"#0a7aff\"/>\n  <circle cx=\"590\" cy=\"282\" r=\"9\" fill=\"#0a7aff\"/><text x=\"590\" y=\"286\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">5</text>\n  <text x=\"590\" y=\"300\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">⑤ 許可＋VLAN 番号の属性を返す</text>\n  <circle cx=\"30\" cy=\"326\" r=\"9\" fill=\"#0a7aff\"/><text x=\"30\" y=\"330\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">1</text>\n  <text x=\"46\" y=\"330\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">ケーブルを挿した直後。リンクは上がるが、口 1 はまだデータを通さない</text>\n  <circle cx=\"30\" cy=\"350\" r=\"9\" fill=\"#0a7aff\"/><text x=\"30\" y=\"354\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#ffffff\">6</text>\n  <text x=\"46\" y=\"354\" text-anchor=\"start\" font-size=\"10\" fill=\"#0a7aff\">口 1 に VLAN 10 が付く（自動）。ここから通常の通信が流れる</text>\n  <rect x=\"20\" y=\"380\" width=\"280\" height=\"128\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"32\" y=\"400\" text-anchor=\"start\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">AAA ＝ 3 つの A</text>\n  <text x=\"32\" y=\"418\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">認証：誰か（名乗りを確かめる）</text>\n  <text x=\"32\" y=\"433\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">認可：何をしてよいか</text>\n  <text x=\"32\" y=\"448\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　（VLAN 番号や ACL を返す）</text>\n  <text x=\"32\" y=\"463\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">アカウンティング：記録を残す</text>\n  <text x=\"32\" y=\"478\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　（いつ・どの口に・誰がつないだか）</text>\n  <rect x=\"310\" y=\"380\" width=\"280\" height=\"128\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"322\" y=\"400\" text-anchor=\"start\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">802.1X と MAB</text>\n  <text x=\"322\" y=\"418\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">802.1X：端末が自分で名乗る</text>\n  <text x=\"322\" y=\"433\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　（利用者名・証明書など）</text>\n  <text x=\"322\" y=\"448\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">MAB：名乗れない機器の代わりに、</text>\n  <text x=\"322\" y=\"463\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　スイッチが MAC で問い合わせる</text>\n  <text x=\"322\" y=\"478\" text-anchor=\"start\" font-size=\"10\" fill=\"#b45309\">MAC は詐称できるので強くない</text>\n  <rect x=\"600\" y=\"380\" width=\"280\" height=\"128\" rx=\"8\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"612\" y=\"400\" text-anchor=\"start\" font-size=\"13\" font-weight=\"700\" fill=\"#1f2937\">RADIUS と TACACS+</text>\n  <text x=\"612\" y=\"418\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">RADIUS：利用者の接続を通すか決める</text>\n  <text x=\"612\" y=\"433\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　UDP 1812（認証）/ 1813（記録）</text>\n  <text x=\"612\" y=\"448\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">TACACS+：機器の管理者ログイン向け</text>\n  <text x=\"612\" y=\"463\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">　TCP 49。命令ひとつずつの認可ができる</text>\n  <text x=\"612\" y=\"478\" text-anchor=\"start\" font-size=\"10\" fill=\"#374151\">隠す範囲も違う（帯の最後の注）</text>\n  <text x=\"20\" y=\"538\" text-anchor=\"start\" font-size=\"12\" font-weight=\"700\" fill=\"#1f2937\">フロー</text>\n  <text x=\"20\" y=\"558\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">① ケーブルを挿す。リンクは上がるが、認証が済むまで口 1 はデータを通さない（図 2 の学習も転送も、まだ始まらない）</text>\n  <text x=\"20\" y=\"576\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">② スイッチ 1 は「名乗って」というフレーム（EAPOL）を口 1 に出す。ここではまだ IP を使わない</text>\n  <text x=\"20\" y=\"594\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">③ 名乗る仕組みが無い端末は返事をしない。スイッチは既定で（再試行 2 回＋1）×30 秒＝90 秒 待って諦め、MAB に切り替える（順番は設定で変えられる）</text>\n  <text x=\"20\" y=\"612\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">④ スイッチ 1 は最初のフレームの送信元 MAC を読み、その MAC の文字列を利用者名にもパスワードにも入れて Access-Request を送る（宛先ポート番号 1812）</text>\n  <text x=\"20\" y=\"630\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">⑤ サーバは台帳と照らし、Access-Accept（許可）か Access-Reject（拒否）を返す。許可の返事には VLAN 番号などの属性を入れられる</text>\n  <text x=\"20\" y=\"648\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">⑥ スイッチ 1 は返事に入っていた VLAN 番号を口 1 に付ける。図 3 で人が設定していた「物理ポート ⇄ VLAN 番号」が、ここでは通信のたびに決まる</text>\n  <text x=\"20\" y=\"676\" text-anchor=\"start\" font-size=\"12\" font-weight=\"700\" fill=\"#1f2937\">3 層で見ると</text>\n  <text x=\"20\" y=\"696\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">もの：認証・認可の台帳（論理・サーバが持つ）／口ごとの認証の状態（論理・スイッチが持つ）／事前共有鍵（論理・両側に同じ文字列）</text>\n  <text x=\"20\" y=\"714\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">結びつき：物理ポート ⇄ VLAN 番号が、手動（図 3）からサーバの返事による自動に変わる。サーバの住所・鍵・認証の順番は手動のまま</text>\n  <text x=\"20\" y=\"732\" text-anchor=\"start\" font-size=\"11\" fill=\"#374151\">フロー：図 3 の ①（口にフレームが入る）の前に、スイッチとサーバの間で 1 往復の問い合わせが入る。許可が出るまで、その口では何も起きない</text>\n  <text x=\"20\" y=\"752\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">図 17 の最後に出たポートセキュリティは、同じ「口を守る」を人が決め打ちでやる方法（この口はこの MAC だけ）。台数が増えると機器ごとに書くことになる</text>\n  <text x=\"20\" y=\"770\" text-anchor=\"start\" font-size=\"10\" fill=\"#6b7280\">MAB はその決め打ちを 1 か所（サーバの台帳）に集める。ただし MAC は詐称できるので、名乗れる端末には 802.1X を使う</text>\n<line x1=\"20\" y1=\"798\" x2=\"880\" y2=\"798\" stroke=\"#d6dde5\" stroke-width=\"1\"/>\n<text x=\"20\" y=\"820\" font-size=\"12\" font-weight=\"700\" fill=\"#1f2937\">各テーブルの推移（○番のフローで追加・変化した行。青字）</text>\n  <rect x=\"20\" y=\"832\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"30\" y=\"848\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1: 口 1 の認証の状態</text>\n  <text x=\"30\" y=\"864\" font-size=\"10\" fill=\"#374151\">前: 認証待ち（データを通さない）</text>\n  <text x=\"30\" y=\"879\" font-size=\"10\" fill=\"#0a7aff\">④⑤ 追加: MAC A・方式 MAB・結果 許可</text>\n  <rect x=\"310\" y=\"832\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"320\" y=\"848\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1: 口 1 の VLAN 番号</text>\n  <text x=\"320\" y=\"864\" font-size=\"10\" fill=\"#374151\">前: 決まっていない</text>\n  <text x=\"320\" y=\"879\" font-size=\"10\" fill=\"#0a7aff\">⑥ 後: VLAN 10（サーバの返事で自動）</text>\n  <rect x=\"600\" y=\"832\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"610\" y=\"848\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1: MAC アドレステーブル</text>\n  <text x=\"610\" y=\"864\" font-size=\"10\" fill=\"#0a7aff\">⑥ 追加: MAC A → 口 1（VLAN 10）</text>\n  <text x=\"610\" y=\"879\" font-size=\"10\" fill=\"#374151\">認証が済むまでは、ここにも載らない</text>\n  <rect x=\"20\" y=\"902\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"30\" y=\"918\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">RADIUS サーバ: 認証・認可の台帳</text>\n  <text x=\"30\" y=\"934\" font-size=\"10\" fill=\"#374151\">MAC A → 許可・VLAN 10（手動で登録）</text>\n  <text x=\"30\" y=\"949\" font-size=\"10\" fill=\"#374151\">利用者名 → 許可・VLAN 20（手動で登録）</text>\n  <rect x=\"310\" y=\"902\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"320\" y=\"918\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">スイッチ 1: 人が手で設定したもの</text>\n  <text x=\"320\" y=\"934\" font-size=\"10\" fill=\"#374151\">サーバの IP・ポート番号・事前共有鍵</text>\n  <text x=\"320\" y=\"949\" font-size=\"10\" fill=\"#374151\">口ごとの認証の順番（MAB と 802.1X）</text>\n  <rect x=\"600\" y=\"902\" width=\"280\" height=\"60\" rx=\"6\" fill=\"#ffffff\" stroke=\"#b9c4d0\" stroke-width=\"1.5\"/>\n  <text x=\"610\" y=\"918\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">図 3 との違い</text>\n  <text x=\"610\" y=\"934\" font-size=\"10\" fill=\"#374151\">図 3: 口 1 の VLAN 10 は設定に書いた行</text>\n  <text x=\"610\" y=\"949\" font-size=\"10\" fill=\"#374151\">図 18: 口 1 の VLAN 10 はサーバの返事</text>\n<text x=\"20\" y=\"1012\" font-size=\"12\" font-weight=\"700\" fill=\"#1f2937\">通信の中身の推移（フローごとのフレーム／パケット）</text>\n  <text x=\"20\" y=\"1040\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">② スイッチ 1 → PC-A：名乗りを求める（EAPOL。IP はまだ出てこない）</text>\n  <rect x=\"20\" y=\"1046\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"79.0\" y=\"1060\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 MAC</text>\n  <text x=\"79.0\" y=\"1075\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">認証用の決まった番地</text>\n  <rect x=\"138\" y=\"1046\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"197.0\" y=\"1060\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 MAC</text>\n  <text x=\"197.0\" y=\"1075\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC SW-口1</text>\n  <rect x=\"256\" y=\"1046\" width=\"70\" height=\"36\" fill=\"#ffffff\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"291.0\" y=\"1060\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">データ</text>\n  <text x=\"291.0\" y=\"1075\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">EAP 要求</text>\n<text x=\"20\" y=\"1092\" font-size=\"10\" fill=\"#6b7280\">EAPOL に使う決まった番地は 01:80:C2:00:00:03（Cisco の解析例で端末 → スイッチ方向を確認）。スイッチから端末へ出すときの宛先は一次資料で確認できていない</text>\n  <text x=\"20\" y=\"1132\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">④ スイッチ 1 → RADIUS サーバ：Access-Request（普通の IP パケットで送る）</text>\n  <rect x=\"20\" y=\"1138\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"79.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 MAC</text>\n  <text x=\"79.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC R1-Gi0</text>\n  <rect x=\"138\" y=\"1138\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"197.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 MAC</text>\n  <text x=\"197.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC SW</text>\n  <rect x=\"256\" y=\"1138\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"315.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 IP</text>\n  <text x=\"315.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.3.201</text>\n  <rect x=\"374\" y=\"1138\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"433.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 IP</text>\n  <text x=\"433.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.10.2</text>\n  <rect x=\"492\" y=\"1138\" width=\"140\" height=\"36\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1\"/>\n  <text x=\"562.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先ポート番号（UDP）</text>\n  <text x=\"562.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">1812</text>\n  <rect x=\"632\" y=\"1138\" width=\"210\" height=\"36\" fill=\"#ffffff\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"737.0\" y=\"1152\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">AAA のメッセージ</text>\n  <text x=\"737.0\" y=\"1167\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">Access-Request（名前＝MAC A）</text>\n  <line x1=\"20\" y1=\"1182\" x2=\"842\" y2=\"1182\" stroke=\"#374151\" stroke-width=\"1.5\"/><line x1=\"20\" y1=\"1178\" x2=\"20\" y2=\"1182\" stroke=\"#374151\" stroke-width=\"1.5\"/><line x1=\"842\" y1=\"1178\" x2=\"842\" y2=\"1182\" stroke=\"#374151\" stroke-width=\"1.5\"/>\n  <text x=\"431.0\" y=\"1195\" text-anchor=\"middle\" font-size=\"10\" fill=\"#374151\">フレーム＝全部。ただしスイッチが見るのは MAC とタグの部分だけ</text>\n  <line x1=\"256\" y1=\"1124\" x2=\"842\" y2=\"1124\" stroke=\"#0a7aff\" stroke-width=\"1.5\"/><line x1=\"256\" y1=\"1124\" x2=\"256\" y2=\"1128\" stroke=\"#0a7aff\" stroke-width=\"1.5\"/><line x1=\"842\" y1=\"1124\" x2=\"842\" y2=\"1128\" stroke=\"#0a7aff\" stroke-width=\"1.5\"/>\n  <text x=\"549.0\" y=\"1120\" text-anchor=\"middle\" font-size=\"10\" fill=\"#0a7aff\">パケット＝この部分。ルータはここ（IP）を見る</text>\n  <text x=\"20\" y=\"1228\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">⑤ RADIUS サーバ → スイッチ 1：Access-Accept</text>\n  <rect x=\"20\" y=\"1234\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"79.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 MAC</text>\n  <text x=\"79.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC SW</text>\n  <rect x=\"138\" y=\"1234\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"197.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 MAC</text>\n  <text x=\"197.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC R1-Gi0</text>\n  <rect x=\"256\" y=\"1234\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"315.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 IP</text>\n  <text x=\"315.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.10.2</text>\n  <rect x=\"374\" y=\"1234\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"433.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 IP</text>\n  <text x=\"433.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.3.201</text>\n  <rect x=\"492\" y=\"1234\" width=\"140\" height=\"36\" fill=\"#ffffff\" stroke=\"#6b7280\" stroke-width=\"1\"/>\n  <text x=\"562.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先ポート番号（UDP）</text>\n  <text x=\"562.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">④ の送信元ポート</text>\n  <rect x=\"632\" y=\"1234\" width=\"210\" height=\"36\" fill=\"#ffffff\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"737.0\" y=\"1248\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">AAA のメッセージ</text>\n  <text x=\"737.0\" y=\"1263\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">Access-Accept（VLAN 10 の属性）</text>\n<text x=\"20\" y=\"1280\" font-size=\"10\" fill=\"#6b7280\">宛先は ④ の送信元ポートへ返る（1812 は行きの宛先）。隠されるのはパスワードの欄だけで残りはそのまま流れ、VLAN 番号は属性 3 つの組で渡す（RFC 2865・RFC 3580 §3.31）</text>\n  <text x=\"20\" y=\"1298\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">⑥ 認証が済んだあと：PC-A が同じ VLAN 10 の PC-B へ出す普通のフレーム</text>\n  <rect x=\"20\" y=\"1304\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"79.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 MAC</text>\n  <text x=\"79.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC B</text>\n  <rect x=\"138\" y=\"1304\" width=\"118\" height=\"36\" fill=\"#f2f5f9\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"197.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 MAC</text>\n  <text x=\"197.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">MAC A</text>\n  <rect x=\"256\" y=\"1304\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"315.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">宛先 IP</text>\n  <text x=\"315.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.10.20</text>\n  <rect x=\"374\" y=\"1304\" width=\"118\" height=\"36\" fill=\"#e6f0ff\" stroke=\"#0a7aff\" stroke-width=\"1\"/>\n  <text x=\"433.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">送信元 IP</text>\n  <text x=\"433.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">192.168.10.10</text>\n  <rect x=\"492\" y=\"1304\" width=\"70\" height=\"36\" fill=\"#ffffff\" stroke=\"#9aa7b5\" stroke-width=\"1\"/>\n  <text x=\"527.0\" y=\"1318\" text-anchor=\"middle\" font-size=\"9\" fill=\"#6b7280\">データ</text>\n  <text x=\"527.0\" y=\"1333\" text-anchor=\"middle\" font-size=\"10\" font-weight=\"700\" fill=\"#1f2937\">ping</text>\n<text x=\"20\" y=\"1350\" font-size=\"10\" fill=\"#6b7280\">口 1 が VLAN 10 の一員になったので、ここから先は図 2・図 3 とまったく同じ動きになる</text>\n  <text x=\"20\" y=\"1368\" font-size=\"11\" font-weight=\"700\" fill=\"#1f2937\">記録（アカウンティング）</text>\n  <text x=\"20\" y=\"1388\" font-size=\"10\" fill=\"#6b7280\">スイッチ 1 は「いつ・どの口に・どの MAC がつながり、いつ切れたか」をサーバへ送る（宛先ポート番号 1813）。認証・認可とは別のやり取り</text>\n<text x=\"20\" y=\"1412\" font-size=\"10\" fill=\"#6b7280\">出典（RADIUS のポート番号 1812／Access-Request・Accept・Reject／隠されるのはパスワードの欄だけ）: RFC 2865 §3・§4・§5.2</text>\n<text x=\"20\" y=\"1428\" font-size=\"10\" fill=\"#6b7280\">　https://www.rfc-editor.org/rfc/rfc2865.html</text>\n<text x=\"20\" y=\"1444\" font-size=\"10\" fill=\"#6b7280\">出典（記録のポート番号 1813）: RFC 2866　https://www.rfc-editor.org/rfc/rfc2866.html</text>\n<text x=\"20\" y=\"1460\" font-size=\"10\" fill=\"#6b7280\">出典（許可の返事で VLAN 番号を渡す属性の組・802.1X のスイッチが RADIUS の client になる）: RFC 3580 §1・§3.31　https://www.rfc-editor.org/rfc/rfc3580.html</text>\n<text x=\"20\" y=\"1476\" font-size=\"10\" fill=\"#6b7280\">出典（TACACS+ は TCP 49／認証・認可・記録が別／命令ひとつずつの認可／機器の管理向け）: RFC 8907 §1・§3.4・§4.5・§10.1</text>\n<text x=\"20\" y=\"1492\" font-size=\"10\" fill=\"#6b7280\">　https://www.rfc-editor.org/rfc/rfc8907.html</text>\n<text x=\"20\" y=\"1508\" font-size=\"10\" fill=\"#6b7280\">出典（MAB：MAC を名前とパスワードに入れて問い合わせる／MAC を詐称すると破れるので強い認証ではない）: Cisco</text>\n<text x=\"20\" y=\"1524\" font-size=\"10\" fill=\"#6b7280\">　同（許可の返事で VLAN や ACL を渡せる／諦めるまでの待ち時間は（再試行回数＋1）×30 秒で既定 90 秒）</text>\n<text x=\"20\" y=\"1540\" font-size=\"10\" fill=\"#6b7280\">　https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Security/TrustSec_1-99/MAB/MAB_Dep_Guide.html</text>\n<text x=\"20\" y=\"1556\" font-size=\"10\" fill=\"#6b7280\">出典（RADIUS と TACACS+ の比較。RADIUS は命令ひとつずつの制御ができない）: Cisco</text>\n<text x=\"20\" y=\"1572\" font-size=\"10\" fill=\"#6b7280\">　https://www.cisco.com/c/en/us/support/docs/security-vpn/remote-authentication-dial-user-service-radius/13838-10.html</text>\n<text x=\"20\" y=\"1588\" font-size=\"10\" fill=\"#6b7280\">出典（EAPOL の決まった番地 0180.C200.0003・Ethernet の種類の欄 0x888E）: Cisco（端末 → スイッチ方向の解析例）</text>\n<text x=\"20\" y=\"1604\" font-size=\"10\" fill=\"#6b7280\">　https://www.cisco.com/c/en/us/support/docs/lan-switching/8021x/220919-troubleshoot-dot1x-on-catalyst-9000-seri.html</text>\n<text x=\"20\" y=\"1620\" font-size=\"10\" fill=\"#6b7280\">注: Cisco の比較ページは TACACS+ を「本文全体を暗号化する」と書くが、RFC 8907 §4.5・§10.1 は同じ仕組みを「暗号化ではなく難読化」と呼び、弱点も挙げている</text>\n<text x=\"20\" y=\"1636\" font-size=\"10\" fill=\"#6b7280\">未検証: 勉強会の実機で確かめたのは MAB の成功・失敗の記録までで、TACACS+ は触っていない</text>\n<text x=\"20\" y=\"1652\" font-size=\"10\" fill=\"#6b7280\">未検証: 802.1X で使う名乗りの方式（証明書・利用者名など）ごとの違いは、この図では扱っていない</text>\n</svg>\n## 図 3・図 17 との接続","line":60,"sources":["src_1","src_2","src_3","src_4","src_5","src_6","src_7"],"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_7bfdf0","type":"paragraph","markdown":"図 3 では、物理ポートの VLAN 10 は設定に書いた行でした。図 18 では、同じ VLAN 10 がサーバの返事です。見える結果は同じで、その行がどこから来たかだけが違います。","text":"図 3 では、物理ポートの VLAN 10 は設定に書いた行でした。図 18 では、同じ VLAN 10 がサーバの返事です。見える結果は同じで、その行がどこから来たかだけが違います。","line":261,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_03a830","type":"paragraph","markdown":"増えたのはもの（台帳と認証の状態）と結びつきの作り方で、通信フローそのものは図 2 と図 3 のままです。帯のいちばん下のフレームが図 2 のフレームと同じなのは、認証が済めば以降は何も変わらないからです。","text":"増えたのはもの（台帳と認証の状態）と結びつきの作り方で、通信フローそのものは図 2 と図 3 のままです。帯のいちばん下のフレームが図 2 のフレームと同じなのは、認証が済めば以降は何も変わらないからです。","line":263,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_c4c670","type":"paragraph","markdown":"図 17 のポートセキュリティとの違いは、許す相手をどこに書くかです。ポートセキュリティは機器の物理ポートに書き、MAB はサーバの台帳に書きます。台数が増えるほど、書く場所が 1 か所であることが効いてきます。","text":"図 17 のポートセキュリティとの違いは、許す相手をどこに書くかです。ポートセキュリティは機器の物理ポートに書き、MAB はサーバの台帳に書きます。台数が増えるほど、書く場所が 1 か所であることが効いてきます。","line":265,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_703626","type":"heading","depth":2,"markdown":"## 未検証・注意","text":"未検証・注意","line":267,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_96d945","type":"list","markdown":"- Cisco の比較ページは TACACS+ が本文全体を暗号化すると書き、RFC 8907 §4.5・§10.1 は同じ仕組みを難読化と呼びます。どちらか一方だけを採らず、両方の言い方を本文に残しています。\n- 勉強会の実機で確かめたのは MAB の成功と失敗の記録までです。TACACS+ は触っていません。\n- 802.1X で使う名乗りの方式（証明書、利用者名など）ごとの違いは扱っていません。\n- EAPOL に使う決まった番地は 01:80:C2:00:00:03（Ethernet の種類の欄は 0x888E）です。Cisco の解析例で確認できたのは端末からスイッチへ向かう方向だけで、スイッチが最初に出す「名乗って」の宛先が同じ番地かは確認できていません。そのため図の箱は「認証用の決まった番地」のままにしてあります。\n- 90 秒は Cisco の既定値から計算した値です。実機の設定で変わります。\n- 認可の説明を VLAN 番号に寄せています。許可の返事には ACL も入れられますが、この 1 枚では扱っていません。\n- スイッチの管理 IP アドレス 192.168.10.2 と RADIUS サーバの 192.168.3.201 は、図 1〜7 の住所計画に合わせた説明用の値です。勉強会の資料の値とは関係ありません。","text":"Cisco の比較ページは TACACS+ が本文全体を暗号化すると書き、RFC 8907 §4.5・§10.1 は同じ仕組みを難読化と呼びます。どちらか一方だけを採らず、両方の言い方を本文に残しています。勉強会の実機で確かめたのは MAB の成功と失敗の記録までです。TACACS+ は触っていません。802.1X で使う名乗りの方式（証明書、利用者名など）ごとの違いは扱っていません。EAPOL に使う決まった番地は 01:80:C2:00:00:03（Ethernet の種類の欄は 0x888E）です。Cisco の解析例で確認できたのは端末からスイッチへ向かう方向だけで、スイッチが最初に出す「名乗って」の宛先が同じ番地かは確認できていません。そのため図の箱は「認証用の決まった番地」のままにしてあります。90 秒は Cisco の既定値から計算した値です。実機の設定で変わります。認可の説明を VLAN 番号に寄せています。許可の返事には ACL も入れられますが、この 1 枚では扱っていません。スイッチの管理 IP アドレス 192.168.10.2 と RADIUS サーバの 192.168.3.201 は、図 1〜7 の住所計画に合わせた説明用の値です。勉強会の資料の値とは関係ありません。","line":269,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_240080","type":"heading","depth":2,"markdown":"## 出典","text":"出典","line":277,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_26f395","type":"list","markdown":"- 勉強会での本人の観察。2026-09-13 の実機ハンズオン（資料は非公開）\n- [RFC 2865 Remote Authentication Dial In User Service (RADIUS)](https://www.rfc-editor.org/rfc/rfc2865.html) — ポート番号 1812、Access-Request と Access-Accept と Access-Reject、隠されるのは User-Password の欄だけであること\n- [RFC 2866 RADIUS Accounting](https://www.rfc-editor.org/rfc/rfc2866.html) — 記録のポート番号 1813\n- [RFC 3580 IEEE 802.1X RADIUS Usage Guidelines](https://www.rfc-editor.org/rfc/rfc3580.html) — 名乗りを受け付けるスイッチが RADIUS の client になること、VLAN 番号を渡す属性の組\n- [RFC 8907 The TACACS+ Protocol](https://www.rfc-editor.org/rfc/rfc8907.html) — TCP 49、認証と認可と記録を分けた設計、機器の管理向けであること、本文を隠す仕組みを難読化と呼ぶこと\n- [Cisco MAC Authentication Bypass Deployment Guide](https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Security/TrustSec_1-99/MAB/MAB_Dep_Guide.html) — MAC アドレスを利用者名とパスワードに入れて問い合わせること、MAC アドレスの詐称で破れること、待ち時間の式と既定の 90 秒、許可の返事で VLAN や ACL を渡せること\n- [Cisco TACACS+ and RADIUS Comparison](https://www.cisco.com/c/en/us/support/docs/security-vpn/remote-authentication-dial-user-service-radius/13838-10.html) — RADIUS はパスワードだけを隠し残りは平文であること、TACACS+ は本文全体を隠すこと、RADIUS では命令ひとつずつの制御ができないこと\n- [Cisco Troubleshoot dot1x on Catalyst 9000 Series Switches](https://www.cisco.com/c/en/us/support/docs/lan-switching/8021x/220919-troubleshoot-dot1x-on-catalyst-9000-seri.html) — EAPOL の解析例（宛先 0180.C200.0003、種類の欄 0x888E）","text":"勉強会での本人の観察。2026-09-13 の実機ハンズオン（資料は非公開）RFC 2865 Remote Authentication Dial In User Service (RADIUS) — ポート番号 1812、Access-Request と Access-Accept と Access-Reject、隠されるのは User-Password の欄だけであることRFC 2866 RADIUS Accounting — 記録のポート番号 1813RFC 3580 IEEE 802.1X RADIUS Usage Guidelines — 名乗りを受け付けるスイッチが RADIUS の client になること、VLAN 番号を渡す属性の組RFC 8907 The TACACS+ Protocol — TCP 49、認証と認可と記録を分けた設計、機器の管理向けであること、本文を隠す仕組みを難読化と呼ぶことCisco MAC Authentication Bypass Deployment Guide — MAC アドレスを利用者名とパスワードに入れて問い合わせること、MAC アドレスの詐称で破れること、待ち時間の式と既定の 90 秒、許可の返事で VLAN や ACL を渡せることCisco TACACS+ and RADIUS Comparison — RADIUS はパスワードだけを隠し残りは平文であること、TACACS+ は本文全体を隠すこと、RADIUS では命令ひとつずつの制御ができないことCisco Troubleshoot dot1x on Catalyst 9000 Series Switches — EAPOL の解析例（宛先 0180.C200.0003、種類の欄 0x888E）","line":279,"sources":["src_1","src_2","src_3","src_4","src_5","src_6","src_7"],"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_1f7c1f","type":"heading","depth":2,"markdown":"## 関連","text":"関連","line":288,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}},{"id":"blk_6fd7f5","type":"list","markdown":"- [ネットワーク\\_INDEX](/notes/nw-basics-index) — 連載の目次\n\n- 連載の入口: [ネットワーク\\_00\\_3層で言葉を置く](/notes/nw-basics-00-three-layers)（`/notes/nw-basics-00-three-layers`）\n\n- 前の記事（図 17）: [ネットワーク\\_17\\_DHCPとその守り](/notes/nw-basics-17-dhcp)（`/notes/nw-basics-17-dhcp`）\n\n- 次の記事（図 19）: [ネットワーク\\_19\\_無線LAN](/notes/nw-basics-19-wireless-lan)（`/notes/nw-basics-19-wireless-lan`）\n\n- 物理ポートに VLAN 番号を人が付ける形: [ネットワーク\\_03\\_VLAN](/notes/nw-basics-03-vlan)（`/notes/nw-basics-03-vlan`）\n\n- 認証が済んだあとに戻る、いつもの動き: [ネットワーク\\_02\\_同じネットワークの中](/notes/nw-basics-02-same-network)（`/notes/nw-basics-02-same-network`）","text":"ネットワーク_INDEX — 連載の目次連載の入口: ネットワーク_00_3層で言葉を置く（/notes/nw-basics-00-three-layers）前の記事（図 17）: ネットワーク_17_DHCPとその守り（/notes/nw-basics-17-dhcp）次の記事（図 19）: ネットワーク_19_無線LAN（/notes/nw-basics-19-wireless-lan）物理ポートに VLAN 番号を人が付ける形: ネットワーク_03_VLAN（/notes/nw-basics-03-vlan）認証が済んだあとに戻る、いつもの動き: ネットワーク_02_同じネットワークの中（/notes/nw-basics-02-same-network）","line":290,"lineage":[],"authoredBy":{"kind":"human","id":"owner","label":"ぴぐお"}}],"sources":[{"id":"src_1","url":"https://www.rfc-editor.org/rfc/rfc2865.html","title":"RFC 2865 Remote Authentication Dial In User Service (RADIUS)","accessed":"2026-09-14","kind":"secondary"},{"id":"src_2","url":"https://www.rfc-editor.org/rfc/rfc2866.html","title":"RFC 2866 RADIUS Accounting","accessed":"2026-09-14","kind":"secondary"},{"id":"src_3","url":"https://www.rfc-editor.org/rfc/rfc3580.html","title":"RFC 3580 IEEE 802.1X RADIUS Usage Guidelines","accessed":"2026-09-14","kind":"secondary"},{"id":"src_4","url":"https://www.rfc-editor.org/rfc/rfc8907.html","title":"RFC 8907 The TACACS+ Protocol","accessed":"2026-09-14","kind":"secondary"},{"id":"src_5","url":"https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Security/TrustSec_1-99/MAB/MAB_Dep_Guide.html","title":"Cisco MAC Authentication Bypass Deployment Guide","accessed":"2026-09-14","kind":"secondary"},{"id":"src_6","url":"https://www.cisco.com/c/en/us/support/docs/security-vpn/remote-authentication-dial-user-service-radius/13838-10.html","title":"Cisco TACACS+ and RADIUS Comparison","accessed":"2026-09-14","kind":"secondary"},{"id":"src_7","url":"https://www.cisco.com/c/en/us/support/docs/lan-switching/8021x/220919-troubleshoot-dot1x-on-catalyst-9000-seri.html","title":"Cisco Troubleshoot dot1x on Catalyst 9000 Series Switches","accessed":"2026-09-14","kind":"secondary"}],"errata":[]}