Configure an IP segment under win2008 IP security policy

  • 2020-05-15 02:55:31
  • OfStack

You can specify a single IP address or a subnet of IPv4 or IPv6 addresses. To specify a subnet, enter the IP address using a syntax similar to the following:

192.168.1.0/24

The number after the forward slash (/) represents the number of bits in the subnet mask. It could be 32 bits. In this example, 24 means that the first three hexadecimal Numbers are subnet addresses, and the last hexadecimal number is the host ID in the subnet. Means that the bit of host ID must be 0. The subnet mask for this example is 255.255.255.0.

For the IPv6 address, use the same syntax. The number following the forward slash represents the number of bits in the subnet mask. Maybe 128 bits. The bit representing host ID must be 0. Such as:

2001:8e6c:6456:1c99::/64

The corresponding table of IP segment is attached below

IP总数 子网掩码 C段个数
/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.224 1/8
/26 64 255.255.255.192 1/4
/24 256 255.255.255.0 1
/23 512 255.255.254.0 2
/22 1024 255.255.252.0 4
/21 2048 255.255.248.0 8
/20 4096 255.255.240.0 16
/19 8192 255.255.224.0 32
/18 16384 255.255.192.0 64
/17 32768 255.255.128.0 128
/16 65536 255.255.0.0 256


Related articles: