全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Network mask, prefix?

又称: network mask · prefix

Definition 15.2 High School Computer Science · 第 15 章 — Network Layers and Protocols

The network mask of a network is a 3232-bit number made of ones followed by zeros: the bits under the ones are the network part of each address, the others the machine’s part. The number nn of ones is the prefix length, written after a slash: 192.0.2.0/24 is the network whose addresses share their first 2424 bits with 192.0.2.0. Two machines are on the same network when the AND of their address with the mask gives the same result.

The header of an IPv4 packet, 32 bits per row, 20 bytes without options. Each router lowers the time to live by one and drops the packet at zero, so a packet lost in a loop does not travel for ever.
The header of an IPv4 packet, 3232 bits per row, 2020 bytes without options. Each router lowers the time to live by one and drops the packet at zero, so a packet lost in a loop does not travel for ever.
在原文中阅读 →