IPv4 Addressing(IPv4編址) <<
Previous Next >> Assigning an IP Address(分配IP網址)
IPv4 Address Classes(IPv4網址類別)

英.As you can see, when the subnet mask has a 255 in it, it is defining the network portion of the address. In class A addresses, the first octet defines the network, and the last three define the host. In class B addresses, the first two octets define the network, the last two define the host. In class C addresses, the first three octets define the network, the last one defines the host.
中.如您所見,當子網掩碼中包含255時,它定義了網址的網絡部分。 在A類網址中,第一個八位位組定義網絡,最後三個八位位組定義主機。 在B類網址中,前兩個八位位組定義網絡,後兩個定義主機。 在C類網址中,前三個八位位組定義網絡,最後一個八位位組定義主機。
| IP address (in decimal) |
10 |
1 |
2 |
3 |
| IP address (in binary) |
00001010 |
00000001 |
00000010 |
00000011 |
| Subnet mask (in decimal) |
255 |
0 |
0 |
0 |
| Subnet mask (in binary) |
11111111 |
00000000 |
00000000 |
00000000 |
|
Network bits |
Host bits |
Host bits |
Host bits |
英.Subnet masks are used to define the specific network we are referencing. A standard class A subnet mask of 255.0.0.0 is used for all networks where the first octet starts with a number between 1 and 126. Recall from the subnet table below, our network was 10.0.0.0.
中.子網掩碼用於定義我們要引用的特定網絡。 255.0.0.0的標準A類子網掩碼適用於所有第一個八位位組以1到126之間的數字開頭的網絡。從下面的子網表中調用,我們的網絡為10.0.0.0。
| Address Class |
Value in First Octet |
Classful Mask (Dotted Decimal) |
Classful Mask (Prefix Notation) |
| Class A |
1 – 126 |
255.0.0.0 |
/8 |
| Class B |
128 – 191 |
255.255.0.0 |
/16 |
| Class C |
192 – 223 |
255.255.255.0 |
/24 |