IP 协议关键特性详解 | AI生成和翻译
Question: Which of the following best describes the characteristics of the IP protocol?
A. Connection-oriented, reliable packet delivery protocol
B. Connection-oriented, unreliable packet delivery protocol
C. Connectionless, reliable packet delivery protocol
D. Connectionless, unreliable packet delivery protocol
Answer:
The correct answer is D. Connectionless, unreliable packet delivery protocol
Detailed Explanation:
IP protocol (Internet Protocol) 具有以下基本特性:
-
Connectionless (面向无连接)
IP 在发送数据之前不需要建立连接。
每个 IP datagram (数据报) 都是独立发送的,并携带完整的目的地址。
与 TCP 不同,它没有握手过程,没有建立连接阶段,也没有释放连接阶段。 -
Unreliable (不可靠)
IP 提供 best-effort (尽力而为) 的交付尝试,但 不保证:- 数据包一定会到达
- 数据包会按正确顺序到达
- 数据包到达时没有重复
- 数据包没有损坏
- 数据包不会丢失
IP 协议本身 不执行 以下操作:
- 丢失数据包的 retransmission (重传)
- 乱序数据包的 reordering (重排序)
- 重复检测
- flow control (流量控制)
- congestion control (拥塞控制)
所有这些可靠性功能(如果需要的话)都由更高层的协议提供 —— 最常见的是 TCP。
Quick comparison of common protocols:
| Protocol | Connection-oriented? | Reliable? | Main responsibility | Layer |
|---|---|---|---|---|
| IP | No | No | Addressing & best-effort routing | Network (Layer 3) |
| TCP | Yes | Yes | Reliable, ordered, error-checked delivery | Transport (Layer 4) |
| UDP | No | No | Simple, fast, connectionless datagram | Transport (Layer 4) |
Why the other options are wrong:
- A. Connection-oriented, reliable → 这是对 TCP 的描述,而非 IP。
- B. Connection-oriented, unreliable → 没有主流协议以这种方式工作(建立连接但不保证可靠性几乎没有意义)。
- C. Connectionless, reliable → 在标准 TCP/IP 协议栈中不存在(可靠性几乎总是需要连接状态来跟踪序列号、确认应答和重传等)。
Key exam takeaway (very frequently tested):
IP = connectionless + unreliable (best-effort)
TCP = connection-oriented + reliable
UDP = connectionless + unreliable
Correct answer: D
References:
- None (standard definition from RFC 791 – Internet Protocol and common networking textbooks)