Subnet Mask to Wildcard Mask

Subnet Mask to Wildcard Mask Converter..

IPv4 Validator

Validate if an ip is a valid ipv4 addres..

What is my IP Address

Find out your IP address..

IP to Binary

IP to Binary Converter..

IPv6 Validator

Validate if an IP is a valid IPv6 addres..

IP Class Checker

Check to see the class of an ip address...

Generate Random Ip

Generates a random ip address..

Subnet Calculator

Calculate How Many Subnets you need



What is a Subnet

Subnetting is when the network is broken into different block sections using logical addresses to segregate each block. Internet Protocol (IP) has two parts a network address and a host address. Subnet mask is used to determine how many bits will be used to represent the network address. Subnetting is great to split up the network into more manageable sections or different departments. Subnet masks are 32 bits in length the network bits are in all “1” s and the host bits are in “0” s. In each subnet two addresses are reserved for the network address which ends in 0 and the broadcast address which ends in 1. These reserved addresses cannot be used for the hosts on each subnet the rest of the addresses in the subnet can be used. This enables network administrators to better utilize the available address and helps have more realistic host limits that is not restrained to A, B and C class limits.

CIDR Conversion Table

CIDR HostsNetmask BinarySubnet Mask
/24 254 11111111 11111111 11111111 00000000255.255.255.0
/25 128 11111111 11111111 11111111 10000000255.255.255.128
/26 64 11111111 11111111 11111111 11000000255.255.255.192
/27 32 11111111 11111111 11111111 11100000255.255.255.224
/28 16 11111111 11111111 11111111 11110000255.255.255.240
/29 8 11111111 11111111 11111111 11111000255.255.255.248
/30 4 11111111 11111111 11111111 11111100255.255.255.252

Subnet

Can be created using any of the IP classes A, B and C but these can have limitation due to the fixed network ID length such as 8, 16 and 24. Subnet gives the ability to have the network ID of any length of our choosing. Subnet mask is used to determine how long the network ID length is and how many bits is allocated to the network ID and host ID and tells the router which part of the address network ID and host ID.

CIDR

CIDR stands for (Classes Inter-Domain Routing) is used to represent an IP address range and the network mask for example “xxx.xxx.xxx.xxx/n” where the x’s represent the IP address of the CIDR and “n” being the network prefix.

Subnet Table

CIDRSubnet MaskTotal Addresses Usable Addresses
/32255.255.255.25511
/31255.255.255.25420
/30255.255.255.25242
/29255.255.255.24886
/28255.255.255.2401614
/27255.255.255.2243230
/26255.255.255.1926462
/25255.255.255.128128126
/24255.255.255.0256254
/23255.255.254.0512510
/22255.255.252.010241022
/21255.255.248.020482046
/20255.255.240.040964094
/19255.255.224.081928190
/18255.255.192.016,38416,382
/17255.255.128.032,76832,766
/16255.255.0.065,53665,534
/15255.254.0.0131,072131,070
/14255.252.0.0262,144262,142
/13255.248.0.0524,288524,286
/12255.240.0.01,048,5761,048,574
/11255.224.0.02,097,1522,097,150
/10255.192.0.04,194,3044,194,302
/9255.128.0.08,388,6088,388,606
/8255.0.0.016,777,21616,777,214
/7254.0.0.033,554,43233,554,430
/6252.0.0.067,108,86467,108,862
/5248.0.0.0134,217,728134,217,726
/4240.0.0.0268,435,456268,435,454
/3224.0.0.0536,870,912536,870,910
/2192.0.0.01,073,741,8241,073,741,822
/1128.0.0.02,147,483,6482,147,483,646
/00.0.0.04,294,967,2964,294,967,294