You can specify a single IP address or a subnet for a IPv4 or IPV6 address. To specify a subnet, enter the IP address using a syntax similar to the following:
192.168.1.0/24
The number following the forward slash (/) represents the number of digits in the subnet mask. may be 32 digits. In this example, 24 indicates that the first three octal numbers are subnet addresses, and the last octal number is the host ID within the subnet. The bit that represents the host ID must be 0. This example corresponds to a subnet mask of 255.255.255.0.
For IPV6 addresses, use the same syntax. The number following the forward slash represents the number of digits in the subnet mask. may be 128 digits. The bit that represents the host ID must be 0. For example:
2001:8e6c:6456:1c99::/64
Attached below the IP segment corresponding table
|
Total IP |
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.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 |