Question #52

Which technique can you use to route IPv6 traffic over an IPv4 infrastructure?
A
NAT
B
6 to 4 tunneling
C
L2TPv3
D
dual-stack
English
This question tests your understanding of IPv6 transition mechanisms, specifically how to enable IPv6 communication when the underlying network infrastructure only supports IPv4. Let's break down the question and each option. --- ### **Question:** Which technique can you use to route IPv6 traffic over an IPv4 infrastructure? **Understanding the Core Problem:** You have devices that want to communicate using IPv6, but the network path between them (the "infrastructure") only understands and forwards IPv4 packets. This is like trying to send a letter written in Spanish through a postal service that only delivers English letters – you need a way to make the Spanish letter "look like" an English letter for transport. --- ### **Analysis of Options:** #### 1. NAT (Network Address Translation) * **What it is:** NAT is a method of remapping one IP address space into another by modifying network address information in the IP header of packets while they are in transit across a traffic routing device. * **Primary Use Cases:** * Allowing multiple devices on a private IPv4 network to share a single public IPv4 address (e.g., your home router uses NAT). * Translating between different IPv4 address ranges. * **NAT64:** A specific type of NAT used to allow IPv6-only clients to communicate with IPv4-only servers. * **Why it's Incorrect for this Question:** While NAT can translate addresses, it doesn't directly enable the *routing* of IPv6 *packets* over an IPv4 *infrastructure* as a tunneling mechanism. It primarily modifies addresses, and while NAT64 handles IPv6-to-IPv4 communication, it's more about protocol translation at the application layer or transport layer level, not about encapsulating a full IPv6 packet for routing through an IPv4 network. It doesn't tunnel IPv6. #### 2. 6 to 4 tunneling * **What it is:** 6to4 is an IPv6 transition mechanism that allows isolated IPv6 networks or hosts to communicate over an existing IPv4 infrastructure without explicit tunnels or router configuration. It essentially creates a virtual IPv6 network over the IPv4 internet. * **How it Works (The "Tunneling" Part):** 1. An IPv6 packet needs to be sent from an IPv6-enabled device over an IPv4 network. 2. The IPv6 router (or host) at the edge of the IPv4 network encapsulates (wraps) the entire IPv6 packet inside the data portion of an IPv4 packet. 3. A new IPv4 header is added to the front of the IPv6 packet, making it look like a regular IPv4 packet to the intermediate IPv4 routers. 4. The IPv4 packet is then routed across the IPv4 infrastructure until it reaches another 6to4 router (or host) at the destination's IPv6 network edge. 5. The receiving 6to4 router removes the IPv4 header, revealing the original IPv6 packet, which is then forwarded to its final IPv6 destination. * **Why it's Correct:** This technique directly addresses the problem: it takes an IPv6 packet, hides it inside an IPv4 packet, and uses the IPv4 network as a transport medium. This is the definition of "routing IPv6 traffic over an IPv4 infrastructure." The IPv4 network sees only IPv4 packets, unaware that they contain IPv6 payload. #### 3. L2TPv3 (Layer 2 Tunneling Protocol version 3) * **What it is:** L2TPv3 is a protocol designed to tunnel any Layer 2 protocol (like Ethernet, PPP, Frame Relay, etc.) over an IP network (which could be IPv4 or IPv6). * **How it Works:** It encapsulates Layer 2 frames within IP packets. This allows you to extend a Layer 2 network over a Layer 3 (IP) infrastructure. * **Why it's Incorrect for this Question:** While L2TPv3 is a tunneling protocol and can operate over an IPv4 network, its primary purpose is to transport Layer 2 frames, not specifically Layer 3 IPv6 packets. If you wanted to tunnel IPv6 using L2TPv3, you'd be tunneling an Ethernet frame (which contains the IPv6 packet) inside an IP packet. While technically possible to carry IPv6 this way, it's not the *dedicated* or most direct method for "routing IPv6 traffic over an IPv4 infrastructure." 6to4 is designed specifically for encapsulating Layer 3 IPv6 directly within Layer 3 IPv4. L2TPv3 is more about extending Layer 2 domains. #### 4. Dual-stack * **What it is:** Dual-stack refers to a network device (like a host or a router) that runs both IPv4 and IPv6 protocol stacks simultaneously. This means the device has both an IPv4 address and an IPv6 address, and it can send and receive traffic using either protocol natively. * **How it Works:** A dual-stack device can choose to communicate with an IPv4-only device using IPv4, or with an IPv6-only device using IPv6. * **Why it's Incorrect for this Question:** Dual-stack allows a *device* to speak both languages. However, it does *not* solve the problem of *routing IPv6 traffic over an IPv4-only infrastructure*. If the intermediate network devices (routers) are only IPv4-enabled, a dual-stack host or router cannot send its IPv6 packets directly through that IPv4-only path. It requires the entire path to support IPv6 for native IPv6 routing. Dual-stack enables coexistence but doesn't provide a tunneling mechanism to traverse an IPv4-only segment with IPv6 traffic. --- ### **Correct Answer Explanation:** The correct answer is **6 to 4 tunneling**. **6to4 tunneling** is a specific and common IPv6 transition mechanism that directly addresses the problem of routing IPv6 traffic over an IPv4 infrastructure. It works by encapsulating entire IPv6 packets within IPv4 packets. This allows IPv6 communication to traverse networks that only understand and forward IPv4, making the IPv4 network act as a "virtual link" for IPv6. The IPv4 network simply sees regular IPv4 packets and routes them accordingly, unaware of the IPv6 payload within. This technique is crucial for allowing the gradual adoption of IPv6 while maintaining compatibility with the vast existing IPv4 infrastructure.
日本語
こんにちは!Ciscoの技術エキスパートです。CCNA(Cisco Certified Network Associate)の学習、頑張っていますね! ネットワークの世界がIPv4からIPv6へと移行する中で、この「移行技術」に関する知識は非常に重要です。初心者の方でもイメージしやすいように、この問題を分かりやすく解説します。 --- # CCNA 試験問題解説 ## 問題 **IPv4インフラストラクチャ上でIPv6トラフィックをルーティングするために使用できる手法はどれですか?** ### 選択肢 - NAT - **6to4 tunneling(正解)** - L2TPv3 - dual-stack --- ## 1. この問題の全体像 現在、世界中のインターネットは古いルールである「IPv4」から、新しいルールである「IPv6」へと切り替わっている最中です。 しかし、全てのネットワーク機器を一度にIPv6に変えることはできません。そのため、**「IPv4しか通れない道(インフラ)を使って、どうやってIPv6のデータ(トラフィック)を運ぶか?」**という課題が出てきます。 この問題を解決するための「運び方」を問うているのが今回の設問です。 --- ## 2. 正解の解説:6to4 tunneling 正解は **6to4 tunneling** です。 ### どんな技術? 一言で言うと、**「IPv6のパケットを、IPv4という封筒の中に入れて送る」**技術です。これを専門用語で**カプセル化(Encapsulation)**と呼びます。 * **イメージ:** あなたはIPv6という「手紙」を書きたいのですが、郵便局(インフラ)がIPv4の「専用封筒」しか受け付けてくれないとします。そこで、IPv6の手紙をそのままIPv4の封筒の中に入れて送ります。受け取った側は、IPv4の封筒を破って、中のIPv6の手紙を取り出します。 このように、IPv4のネットワークの中に「仮想的なトンネル」を掘ったように見えるため、**トンネリング**と呼ばれます。 --- ## 3. なぜ他の選択肢は違うのか? ### × NAT (Network Address Translation) * **説明:** 主に「プライベートIPアドレス」を「グローバルIPアドレス」に変換するために使われます。 * **理由:** アドレスを変換する技術であり、IPv4のネットワークの中にIPv6を流すための「トンネル」を作る技術ではないため、この問題の文脈では不適切です。 ### × L2TPv3 (Layer 2 Tunneling Protocol version 3) * **説明:** 離れた場所にあるネットワーク同士を、まるで同じスイッチに繋がっているかのように(レイヤ2レベルで)接続する技術です。 * **理由:** かなり高度なトンネリング技術ですが、CCNAの初歩的なIPv6移行技術の文脈では、より直接的な「6to4」が正解となります。 ### × dual-stack (デュアルスタック) * **説明:** 1台の機器で、IPv4とIPv6の両方を同時に動かす設定のことです。 * **理由:** これは「両方使えるようにする」設定であり、**「IPv4しか通れない道を通す」ための技術ではない**ため、今回の問題の答えにはなりません。 --- ## 4. 専門用語のまとめ 学習をスムーズに進めるために、今回出てきた用語を整理しておきましょう。 1. **IPv4 (Internet Protocol version 4):** 現在広く普及しているIPアドレスの規格(例: 192.168.1.1)。 2. **IPv6 (Internet Protocol version 6):** IPv4の枯渇問題(アドレスが足りなくなること)を解決するために作られた次世代の規格。 3. **インフラストラクチャ (Infrastructure):** ルータやスイッチ、ケーブルなど、ネットワークを構成する基盤のこと。 4. **ルーティング (Routing):** パケット(データ)を目的地までどの道を通すか決定して運ぶこと。 5. **カプセル化 (Encapsulation):** あるプロトコルのデータを、別のプロトコルのデータの中に包み込むこと。 --- ## エキスパートからのアドバイス CCNA試験では、「IPv4とIPv6をどうやって共存させるか?」という問題がよく出ます。 * 両方同時に使うなら **Dual-stack** * IPv4の中を通すなら **Tunneling** * IPv6からIPv4へ変換するなら **NAT64** この3つの違いを意識して覚えると、得点源になりますよ!合格を目指して一歩ずつ進んでいきましょう。
繁體中文
你好!我是來自 Cisco 的技術專家。很高興能為你解析這題 CCNA 的經典考題。 在學習網絡技術的過程中,從 IPv4 過渡到 IPv6 是一個非常重要的階段。這題考的是關於「過渡技術」的應用場景。讓我們一起來看看這道題目。 --- ### 📝 考題解析 #### **題目** Which technique can you use to route IPv6 traffic over an IPv4 infrastructure? (哪一種技術可以用來在現有的 IPv4 基礎架構上傳輸 IPv6 流量?) #### **選項分析** 1. **NAT (網路位址轉換)** * **解析:** NAT 主要用於將私有 IP(Private IP)轉換為公有 IP(Public IP)。雖然有針對 IPv6 的 NAT64,但其主要目的是「翻譯」而非「傳輸」。題目要求的是在 IPv4 網路上傳遞 IPv6 資料,NAT 並非首選方案。 2. **6 to 4 tunneling (6 to 4 隧道技術) ✅【正確答案】** * **解析:** 這是標準的隧道技術。它的運作方式是將 IPv6 的封包「包裝」在 IPv4 的封包裡面。這樣一來,中間的 IPv4 路由器只會看到 IPv4 的外殼,就能順利傳輸;當到達目的地後,再把外殼拆掉,取出裡面的 IPv6 內容。 3. **L2TPv3 (第二層隧道協定版本 3)** * **解析:** 這是一種在 IP 網路上傳送「第二層(Layer 2)」流量(如 Ethernet 框架)的技術。雖然它也是隧道,但層級不對,且通常用於更複雜的電信級環境,不是 IPv6 過渡的通用方法。 4. **dual-stack (雙堆疊)** * **解析:** 這是最直覺的方法,指的是一台設備同時執行 IPv4 和 IPv6 兩套協定。但題目問的是如何「在 IPv4 基礎架構上」傳輸,雙堆疊要求整條路徑上的所有路由器都必須支援 IPv6,這不符合題目「利用舊有 IPv4 基礎架構」的前提。 --- ### 💡 專家解說:用聽得懂的方式理解「隧道技術」 想像一下,你有一封**用「德文」寫的信 (IPv6 封包)**,但目前的**郵政系統只收「英文」信件 (IPv4 基礎架構)**。 郵差看不懂德文,所以不幫你送信。該怎麼辦? 你可以準備一個**英文信封 (IPv4 標頭)**,在信封上寫好英文地址,然後把這封德文信**塞進去 (封裝)**。郵差看到信封是英文的,就會照常送件。等信件到達目的地後,收件人再把英文信封拆掉,就能讀到裡面的德文內容了。 這就是 **6 to 4 Tunneling** 的核心概念:**「舊瓶裝新酒」**。 --- ### 📚 專業名詞解釋 | 專業名詞 | 英文名稱 | 簡單說明 | | :--- | :--- | :--- | | **IPv4** | Internet Protocol version 4 | 目前最廣泛使用的 IP 協定,位址格式如 `192.168.1.1`。 | | **IPv6** | Internet Protocol version 6 | 為了取代位址不夠用的 IPv4 而產生的新協定,位址更長,格式如 `2001:db8::1`。 | | **隧道技術** | Tunneling | 將一種網路協定的封包封裝在另一種協定的封包中進行傳輸的技術。 | | **封裝** | Encapsulation | 就像把信放入信封一樣,將資料加上特定格式的標頭(Header)以便傳輸。 | | **雙堆疊** | Dual-Stack | 指設備同時啟用 IPv4 和 IPv6 兩種協定棧,能同時處理兩種流量。 | | **基礎架構** | Infrastructure | 指網路中現有的路由器、交換器、線路等硬體設施。 | --- ### 🚀 總結 當你看到考題問 **「如何在 IPv4 環境跑 IPv6」** 時,直覺反應就是要找 **Tunneling (隧道)** 相關的字眼。在本題中,**6 to 4 tunneling** 正是標準的解決方案。 希望這個解析能幫助你更輕鬆地掌握 CCNA 的知識點!如果還有其他疑問,歡迎隨時提問。加油!☀️
简体中文
你好!我是来自 Cisco 的技术专家。很高兴能为你解析这道 CCNA 认证考试的经典题目。 对于刚接触网络的朋友来说,IPv4 到 IPv6 的过渡是一个非常重要的知识点。让我们用最简单易懂的方式来拆解这道题。 --- ### 📝 题目回顾 **题目:** 哪种技术可以让你在 IPv4 网络架构上路由(传输)IPv6 流量? **选项:** * NAT (网络地址转换) * **6 to 4 tunneling (6to4 隧道)** —— **正确答案** * L2TPv3 (第二层隧道协议版本 3) * Dual-stack (双栈) --- ### 💡 核心解析:为什么选 6to4 Tunneling? 想象一下这个场景:你有两家分公司,内部都已经升级到了最新的 **IPv6** 网络,但连接这两家公司的互联网(运营商网络)依然只支持老旧的 **IPv4**。 你的 IPv6 数据包就像是一辆“新款跑车”,而中间的 IPv4 网络是一条“旧式渡轮码头”。 **6to4 隧道技术** 的做法是: 1. **打包(封装):** 当 IPv6 数据包要进入 IPv4 网络时,路由器给它套上一个 IPv4 的“外壳”(报头)。 2. **运输:** 现在的包裹看起来就像是一个普通的 IPv4 数据包,所以它能顺利地在旧网络中传输。 3. **拆包(解封装):** 当包裹到达对面的路由器时,路由器把外面的 IPv4 “外壳”剥掉,露出里面的 IPv6 “跑车”,然后交给目标主机。 **总结:** 6to4 隧道就是在 IPv4 的海洋中,为 IPv6 数据开辟了一条专用的“海底隧道”。 --- ### 🔍 选项对比(为什么其他选项不合适?) * **NAT (Network Address Translation):** * **解析:** 主要是为了解决 IPv4 地址不足的问题,让多个内网设备共用一个公网 IP。虽然有一种 NAT64 可以让 IPv6 和 IPv4 互相通信,但它的主要目的不是“跨越 IPv4 网络传输 IPv6”,而是“协议转换”。 * **Dual-stack (双栈):** * **解析:** 这是指在同一台设备上**同时**运行 IPv4 和 IPv6 两种协议。它要求整条路径上的所有设备都支持双协议。题目问的是如何在“IPv4 基础设施”(即中间只有 IPv4)上跑 IPv6,双栈技术在中间设备不支持 IPv6 的情况下是行不通的。 * **L2TPv3 (Layer 2 Tunneling Protocol version 3):** * **解析:** 这是一种更复杂的二层隧道协议,通常用于在 IP 网络上传输数据链路层(如以太网、帧中继)的流量。虽然它也能做隧道,但对于 CCNA 考题中这种典型的“IPv6 跨越 IPv4”场景,6to4 是最标准的答案。 --- ### 📚 专业术语说明 为了帮助你打好基础,这里有几个考点中常见的名词解释: 1. **IPv4 (Internet Protocol version 4):** 目前的第四版互联网协议,地址长这样:`192.168.1.1`。因为地址快用完了,所以我们要换成 IPv6。 2. **IPv6 (Internet Protocol version 6):** 下一代互联网协议,地址非常长(128位),长这样:`2001:0db8:85a3:0000:0000:8a2e:0370:7334`。 3. **Tunneling (隧道技术):** 一种协议包装技术。把一种协议的数据包封装在另一种协议的数据包之中。 4. **Encapsulation (封装):** 就像写信。你的信件内容是“数据”,信封是“协议报头”。封装就是把信装进信封的过程。 5. **Infrastructure (基础设施):** 在网络中通常指路由器、交换机、光纤等构成的底层硬件和连接环境。 --- 希望这个解析能帮你轻松理解 **6to4 隧道** 的原理!如果还有其他疑问,欢迎随时提问。加油,祝你顺利通过 CCNA 考试!