This article mainly introduces how to configure an IP segment under the win2008 IPsecurity policy. Friends who need it can refer to it
You can specify a single IP address or an IPv4 or IPv6 address. subnet. To specify a subnet, enter the IP address using syntax similar to the following:
192.168.1.0/24
The number after the forward slash (/) represents the number in the subnet mask number of digits. Possibly 32-bit. In this example, 24 means that the first three octets are the subnet address and the last octet is the host ID within the subnet. The bit representing the host ID must be 0. The corresponding subnet mask for this example is 255.255.255.0.
For IPv6 addresses, use the same syntax. The number after the forward slash represents the number of bits in the subnet mask. Probably 128 bits. The bit representing the host ID must be 0. For example:
2001:8e6c:6456:1c99::/64
Attached is the IP segment correspondence table
Total number of IPs | Subnet mask | Number of C segments | |
/30 | 4 | 255.255.255.252 | 1/64 |
/29 | 8 | 255.255.255.248 | 1/32 |
/28 | 16 | 255.255.255.240 | 1/16 |
/27 | 32 | ##255.255.255.2241/8 | |
64 | 255.255.255.192 | 1/4 | |
256 | 255.255.255.0 | 1 | |
512 | 255.255.254.0 | 2 | |
1024 | 255.255.252.0 | 4 | |
2048 | 255.255.248.0 | 8 | |
4096 | 255.255.240.0 | 16 | |
8192 | 255.255. 224.0 | 32 | |
16384 | 255.255.192.0 | 64 | |
32768 | 255.255.128.0 | 128 | |
65536 | 255.255.0.0 | 256 |
The above is the detailed content of Detailed explanation of how to configure an IP segment under win2008 IP security policy. For more information, please follow other related articles on the PHP Chinese website!