Skip to main content
Version: 2.0

CIDR Notation

WeConfig frequently makes use of so called CIDR notation, which is a way of writing an IP address coupled with a netmask in the format IP/BitCount, where IP is the full IP address (either IPv4 or IPv6) and BitCount is the number of bits from the start of the netmask that are 1.

Examples

CIDR NotationIP AddressNetmaskNetmask (Bitwise)Subnet
10.12.13.14/810.12.13.14255.0.0.011111111 00000000 00000000 0000000010.0.0.0
172.123.234.1/16172.123.234.1255.255.0.011111111 11111111 00000000 00000000172.123.0.0
192.168.1.2/24198.168.1.2255.255.255.011111111 11111111 11111111 00000000192.168.1.0
1.2.3.4/321.2.3.4255.255.255.25511111111 11111111 11111111 111111111.2.3.4
13.13.13.13/1313.13.13.13255.248.0.011111111 11111000 00000000 0000000013.8.0.0
1.10.20.40/171.10.20.40255.255.12811111111 11111111 10000000 000000001.10.0.0