Question #12
Refer to the exhibit.
Drag and drop the networking parameters from the left onto the correct values on the right.
English
This question requires you to interpret common Linux networking command outputs (`ip route` and `ip addr show eth1`) to identify specific network parameters. This is a fundamental skill for network professionals, as these commands are used to troubleshoot and configure network interfaces on Linux-based systems.
Let's break down each networking parameter and explain how to find its corresponding value in the provided output.
### Technical Terms Explained for Beginners:
* **IP Address (Internet Protocol Address):** A unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. It serves two main functions: host or network interface identification and location addressing.
* **Default Gateway:** The router that acts as an access point to other networks. When a device wants to send data to an IP address that is not on its local network, it sends that data to its default gateway.
* **NIC (Network Interface Card):** A hardware component that connects a computer to a computer network.
* **MAC Address (Media Access Control Address):** A unique physical address assigned to each network adapter by its manufacturer. It operates at the Data Link Layer (Layer 2) of the OSI model. MAC addresses are typically displayed in hexadecimal format, often separated by colons or hyphens (e.g., `00:0C:22:83:79:A3`).
* **OUI (Organizationally Unique Identifier):** The first three octets (the first six hexadecimal digits) of a MAC address. This part of the MAC address identifies the manufacturer of the network interface card.
* **Subnet Mask:** A 32-bit number that divides an IP address into network and host portions. It helps devices determine whether a destination IP address is on the local network or a remote network.
* **CIDR (Classless Inter-Domain Routing) Notation:** A method for specifying IP addresses and their associated routing prefixes. It's written as an IP address followed by a slash and a number (e.g., `192.168.1.200/26`). The number after the slash indicates the number of bits in the network portion of the IP address, which effectively defines the subnet mask.
---
### Detailed Analysis and Mapping:
Let's examine the output of the commands:
**Command 1: `ip route`**
```
default via 192.168.1.193 dev eth1 proto static
192.168.1.0/26 dev eth1 proto kernel scope link src 192.168.1.200 metric 1
```
**Command 2: `ip addr show eth1`**
```
eth1: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0C:22:83:79:A3 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.200/26 brd 192.168.1.255 scope global eth1
inet6 fe80::20c:29ff:fe89:79b3/64 scope link
valid_lft forever preferred_lft forever
```
Now, let's match the draggable items to their correct values:
1. **Default gateway**
* **Explanation:** The `ip route` command shows routing table entries. The line starting with `default` indicates the default gateway.
* **Found in output:** `default via **192.168.1.193** dev eth1 proto static`
* **Correct Value:** `192.168.1.193`
2. **Host IP address**
* **Explanation:** The `ip addr show eth1` command displays the IP addresses assigned to the `eth1` interface. The `inet` line shows the IPv4 address.
* **Found in output:** `inet **192.168.1.200**/26 brd 192.168.1.255 scope global eth1`
* **Correct Value:** `192.168.1.200`
3. **NIC MAC address**
* **Explanation:** The `ip addr show eth1` command also displays the hardware (MAC) address of the interface. This is typically shown on the `link/ether` line.
* **Found in output:** `link/ether **00:0C:22:83:79:A3** brd ff:ff:ff:ff:ff:ff`
* **Correct Value:** `00:0C:22:83:79:A3`
4. **NIC Vendor OUI**
* **Explanation:** The OUI is the first three octets (or six hexadecimal characters) of the MAC address. We extract this from the full MAC address found above.
* **Derived from:** `00:0C:22:83:79:A3`
* **Correct Value:** `00:0C:22`
5. **Subnet mask**
* **Explanation:** The `ip addr show eth1` command shows the IP address followed by a CIDR notation (`/26`). This number indicates the number of bits in the network portion of the IP address. To convert `/26` to a dotted-decimal subnet mask:
* A full IPv4 address has 32 bits.
* `/26` means 26 bits are network bits.
* The remaining `32 - 26 = 6` bits are host bits.
* In binary, the subnet mask will have 26 ones followed by 6 zeros:
`11111111.11111111.11111111.11000000`
* Converting this to decimal:
* `11111111` = `255`
* `11111111` = `255`
* `11111111` = `255`
* `11000000` = `128 + 64 = 192`
* **Derived from:** `192.168.1.200/26`
* **Correct Value:** `255.255.255.192`
---
### Final Mapping Summary:
* **Default gateway** -> `192.168.1.193`
* **Host IP address** -> `192.168.1.200`
* **NIC MAC address** -> `00:0C:22:83:79:A3`
* **NIC Vendor OUI** -> `00:0C:22`
* **Subnet mask** -> `255.255.255.192`
日本語
ご提示いただいた問題は、Cisco認定試験(CCNA/CCNPなど)で頻出する「ドラッグ&ドロップ形式」のサブネット計算に関する問題です。
展示画像(Exhibit)の内容が具体的に示されていませんが、この種の問題で一般的に問われる**「192.168.10.0/28」**というシナリオを例に、専門的な解析結果をMarkdown形式で出力します。
---
# ネットワークパラメータのマッチング問題:詳細解析
## 1. 問題の概要
この問題は、与えられたIPアドレスとサブネットマスク(プレフィックス長)から、ネットワークの境界値(サブネットID、ホスト範囲、ブロードキャストアドレス)を正確に算出する能力を問うものです。
## 2. 解析対象のシナリオ(例)
* **対象ネットワーク:** `192.168.10.16/28`
* **目的:** 各パラメータ(左側)を正しい値(右側)にマッピングする。
---
## 3. 正解の組み合わせ(解答)
| ネットワークパラメータ (Left) | 正しい値 (Right) | 解説 |
| :--- | :--- | :--- |
| **Subnet Mask** | `255.255.255.240` | /28をドット付き十進数に変換 |
| **Subnet ID** | `192.168.10.16` | ネットワーク自体の識別子 |
| **First Host Address** | `192.168.10.17` | サブネットID + 1 |
| **Last Host Address** | `192.168.10.30` | ブロードキャスト - 1 |
| **Broadcast Address** | `192.168.10.31` | 次のサブネットの直前のアドレス |
---
## 4. 技術的解説(ステップ・バイ・ステップ)
### ステップ1:サブネットマスクの算出
プレフィックス長が `/28` の場合、先頭から28ビットが「1」となります。
* バイナリ: `11111111.11111111.11111111.11110000`
* 十進数変換: `255.255.255.240`
### ステップ2:ブロックサイズの特定
第4オクテットに注目します。`256 - 240 = 16` となり、このネットワークの**ブロックサイズは 16** です。
サブネットは 0, 16, 32, 48... と 16 刻みで増加します。
### ステップ3:各アドレスの特定
計算対象が `192.168.10.16/28` の場合:
1. **Subnet ID (Network Address):** `192.168.10.16`
* ブロックの開始地点です。
2. **First Usable Host:** `192.168.10.17`
* Subnet ID の次のアドレスです。
3. **Next Subnet ID:** `192.168.10.32`
* 16 + 16 = 32 となります。
4. **Broadcast Address:** `192.168.10.31`
* 次のサブネット ID (32) から 1 を引いた値です。
5. **Last Usable Host:** `192.168.10.30`
* Broadcast Address から 1 を引いた値です。
---
## 5. 試験対策アドバイス (Cisco Expert Insights)
* **「/24」以降の計算を暗記する:**
Cisco試験では、`/25` から `/30` までのサブネット計算が非常に多く出題されます。特に `/28 (240)` や `/29 (248)` は頻出です。
* **「0」と「最後」のアドレスの除外:**
ホストアドレスとして使用できるのは、常に **Subnet ID と Broadcast Address の間**であることを忘れないでください。
* **ドラッグ&ドロップの注意点:**
実際の試験画面では、似たような数字(例:.15 と .16)が並びます。計算が合っていても、配置ミスによる失点が多いため、最後に必ず整合性を確認してください。
---
**解析担当:** Ciscoテクニカルエキスパート
**ステータス:** 解析完了
繁體中文
這是一題典型的 Cisco CCNA/CCNP 認證考試中的 **IPv4 子網劃分 (Subnetting)** 拖放題。這類題目旨在測試考生對於 IP 位址結構、子網遮罩計算以及網路邊界(網路位址與廣播位址)的理解。
由於您未提供具體的圖片(Exhibit),我將以這類題型中最常見的**經典案例**進行專業解析。
---
### 題目場景假設 (Typical Scenario)
假設 Exhibit 顯示一台主機的配置如下:
* **IP Address:** `192.168.10.45`
* **Prefix:** `/27` (或 Subnet Mask: `255.255.255.224`)
* **Default Gateway:** 該子網的第一個可用 IP
---
### 專業解析:網路參數計算
要解出這類題目,我們必須先從 **Subnet Mask (子網遮罩)** 入手,推算出整個網路的結構。
#### 1. 子網遮罩 (Subnet Mask)
* **Prefix:** `/27`
* **二進制表示:** `11111111.11111111.11111111.11100000`
* **十進制計算:** 前三個位元組為 `255.255.255`。最後一個位元組為 $128+64+32 = 224$。
* **結果:** `255.255.255.224`
#### 2. 區段大小 (Block Size / Magic Number)
* 計算公式:$256 - 224 = 32$。
* 這代表子網是以 **32** 為單位進行跳動。
#### 3. 網路位址 (Network Address)
* 我們尋找包含 `45` 且最接近的 32 倍數。
* 倍數:0, 32, 64...
* **45** 落在 **32** 這個區段內。
* **結果:** `192.168.10.32`
#### 4. 廣播位址 (Broadcast Address)
* 廣播位址是下一個子網位址減 1。
* 下一個子網是 `32 + 32 = 64`。
* $64 - 1 = 63$。
* **結果:** `192.168.10.63`
#### 5. 預設閘道 (Default Gateway)
* 通常題目會指定為「第一個可用位址 (First Usable IP)」。
* 網路位址 + 1 = $32 + 1 = 33$。
* **結果:** `192.168.10.33`
---
### 拖放配對結果 (Match Table)
根據上述計算,正確的對應關係如下:
| 左側參數 (Networking Parameters) | 右側數值 (Values) |
| :--- | :--- |
| **IP Address** | `192.168.10.45` |
| **Subnet Mask** | `255.255.255.224` |
| **Network Address** | `192.168.10.32` |
| **Broadcast Address** | `192.168.10.63` |
| **Default Gateway** | `192.168.10.33` |
---
### 考點核心總結 (Key Exam Concepts)
1. **Magic Number 法則**:快速用 256 減去子網遮罩最後一個非零位元組,得出區段大小,這是定位網路位址最快的方法。
2. **可用主機範圍 (Usable Host Range)**:
* 起始:Network Address + 1
* 結束:Broadcast Address - 1
3. **預設閘道 (Default Gateway)**:必須與主機位在**同一個子網**內。如果選錯子網,主機將無法跨網段通訊。
4. **注意 Prefix (/n)**:考試中常以 `/26`, `/27`, `/28`, `/29` 作為考點,建議熟記這些對應的十進制數值(192, 224, 240, 248)。
**如果您有具體的數值或圖片,歡迎提供,我可以為您進行更精確的計算。**
简体中文
由于您未提供具体的图片(Exhibit),我将基于 Cisco CCNA/CCNP 考试中最常见的**“IPv4 子网划分与参数匹配”**典型考题,为您提供一份专业的深度解析模板。
这类题目通常要求将网络参数(如 Subnet ID, Broadcast Address 等)拖放到对应的 IP 地址值上。
---
# 📝 Cisco 考题专业解析:IPv4 子网参数匹配
### 1. 题目背景 (Scenario)
在 Cisco 认证考试中,此类题目旨在考察考生对 **CIDR(无类域间路由)**、**子网掩码(Subnet Mask)**、**网络地址(Network ID)**及**主机范围**的快速计算能力。
假设题目给出的已知条件为:**IP 地址 `192.168.10.35`,掩码为 `/27`**。
---
### 2. 核心参数计算过程 (Technical Calculation)
要完成匹配,我们需要进行以下步骤的逻辑拆解:
#### 第一步:确定子网掩码 (Subnet Mask)
* **前缀长度:** `/27`
* **二进制表示:** `11111111.11111111.11111111.11100000`
* **十进制转换:** `255.255.255.224`
#### 第二步:计算块大小 (Block Size)
* **计算公式:** `256 - 掩码最后一位非0数值`
* **计算:** `256 - 224 = 32`。这意味着子网是以 32 为增量跳跃的(0, 32, 64, 96...)。
#### 第三步:确定所属子网 (Subnet ID)
* 已知 IP 是 `.35`。
* 在 32 的倍数中,35 落在 **32** 到 **63** 之间。
* **Subnet ID (网络地址):** `192.168.10.32`
#### 第四步:确定广播地址 (Broadcast Address)
* **计算公式:** 下一个子网 ID 减 1。
* **计算:** `64 - 1 = 63`。
* **Broadcast Address:** `192.168.10.63`
#### 第五步:确定可用主机范围 (Host Range)
* **第一个可用主机 (First Usable Host):** Subnet ID + 1 = `192.168.10.33`
* **最后一个可用主机 (Last Usable Host):** Broadcast - 1 = `192.168.10.62`
---
### 3. 正确匹配结果 (Final Matching)
根据上述计算,拖拽匹配的结果如下表所示:
| 网络参数 (Networking Parameters) | 对应数值 (Correct Values) |
| :--- | :--- |
| **Subnet Mask** | `255.255.255.224` |
| **Subnet ID** | `192.168.10.32` |
| **First Usable Host Address** | `192.168.10.33` |
| **Last Usable Host Address** | `192.168.10.62` |
| **Broadcast Address** | `192.168.10.63` |
---
### 4. 专家解题技巧 (Expert Tips)
1. **快速定位“块大小”:** 记住常用的 CIDR 对应值。例如 `/27` 对应 `32`,`/28` 对应 `16`,`/29` 对应 `8`。
2. **二进制逻辑与 (ANDing):** 如果时间充裕,可以通过将 IP 地址和子网掩码进行二进制逐位“与”运算来推导网络地址,这是最稳妥的方法。
3. **排除法:**
* **Subnet Mask** 永远是以 `255` 开头且末尾通常是 `128, 192, 224, 240, 248, 252` 等数值。
* **Broadcast Address** 在子网划分中通常是奇数(除非掩码非常短)。
* **Subnet ID** 在子网划分中通常是偶数。
---
**如果您能提供具体的截图或数值,我可以为您进行针对该题目的精确分析。**