IP address calculator

Parse IP address and get all information about subnet

Netmask192.168.0.0/24
Network address192.168.0.0
Subnet mask255.255.255.0
Binary subnet mask11111111.11111111.11111111.00000000
CIDR/24
Wildcard mask0.0.0.255
Network Size256
First available192.168.0.1
Last available192.168.0.254
Broadcast address192.168.0.255
IP classC

About

An A class IP address refers to a four-digit number in the IP address, the first digit of which is the network number, and the remaining three digits are the number of the local computer. If the IP address is represented in binary, the A class IP address consists of 1 byte of network address and 3 bytes of host address, and the highest bit of the network address must be "0". The network identification length in A class IP address is 8 bits, and the host identification length is 24 bits.

A B class IP address refers to the first two digits of the four-digit number in the IP address as the network number. If the IP address is represented in binary, the B class IP address consists of 2 bytes of network address and 2 bytes of host address, and the highest bit of the network address must be "10". The network identification length in B class IP address is 16 bits, and the host identification length is 16 bits.

A C class IP address refers to the first three digits of the four-digit number in the IP address as the network number, and the remaining one digit as the number of the local computer. If the IP address is represented in binary, the C class IP address consists of 3 bytes of network address and 1 byte of host address, and the highest bit of the network address must be "110". The network identification length in C class IP address is 24 bits, and the host identification length is 8 bits.

Class A IP address The address range is from 1.0.0.1 to 127.255.255.254 (binary representation is: 00000001 00000000 00000000 00000001 - 01111111 11111111 11111111 11111110). The last one is the broadcast address.

Class B IP addresses range from 128.0.0.1-191.255.255.254 (binary representation: 10000000 00000000 00000000 00000001-10111111 11111111 11111111 11111110). The last one is the broadcast address.

Class C IP addresses range from 192.0.0.1-223.255.255.254 (binary representation: 11000000 00000000 00000000 00000001 - 11011111 11111111 11111111 11111110). The last one is the broadcast address.

The subnet mask of the Class A IP address is 255.0.0.0

The subnet mask for a Class B IP address is 255.255.0.0.

The subnet mask of the Class C IP address is 255.255.255.0

Class A is suitable for large networks. Class A network addresses are relatively small, with 126 networks, and each network supports a maximum of 256 to the third power minus 2 = 16777214 hosts;

Class B is suitable for medium-sized networks. Class B network addresses are moderate in number, with 16384 networks, and each network supports a maximum of 256 to the second power minus 2 = 65534 hosts;

Class C is suitable for small networks. Class C network addresses are relatively large, with more than 2.09 million networks, and are suitable for small-scale local area networks. Each network supports a maximum of 256 to the first power minus 2 = 254 hosts.