全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Prefix?

又称: prefix (IP)

Definition 18.1 University Computer Science — Year 2 · 第 18 章 — The Network Layer: IP and Routing

A prefix a/pa/p, with 0≤p≤320 \le p \le 32, is the set of addresses whose first pp bits are those of aa. Its mask is the 32-bit number made of pp ones then 32−p32 - p zeros. An address xx belongs to a/pa/p exactly when x&mask=a&maskx \mathbin{\&} \text{mask} = a \mathbin{\&} \text{mask}; that common value is the network address, and the address with the 32−p32 - p last bits all ones is the broadcast address.

The address 203.0.113.77 in the prefix /26: the first 26 bits name the network, the last 6 a machine in it. The mask is 255.255.255.192.
The address 203.0.113.77 in the prefix /26: the first 26 bits name the network, the last 6 a machine in it. The mask is 255.255.255.192.
在原文中阅读 →