Exactly what is a subnet mask?

What exactly is a Subnet Mask?

Subnet Mask

an internet protocol address features two parts, the system address and also the variety address. A subnet mask sets apart the ip into the host and network address contact information (<network><host>). Subnetting divides that are further variety element of an IP address into a subnet and variety target (<network><subnet><host>) if extra subnetwork required. Utilize the Subnet Calculator to recover subnetwork ideas from internet protocol address and Subnet Mask. It really is also known as a subnet mask since it is put to understand system target of an IP address by perfoming a operation and bitwise on the netmask.

A mask that is subnet a 32-bit wide variety that goggles an IP address, and splits the ip into circle address and host address. what is a subnet mask?Subnet Mask is manufactured by position system parts to all the “1”s and style host bits to all “0”s. Within a given community, two variety tackles is reserved for special-purpose, and should not end up being allotted to hosts. The “0” target is actually allocated a network address and “255” is allotted to a broadcast address, and so they may not be allotted to hosts.

what is a subnet mask

Types of commonly used netmasks for classed networks include 8-bits (Class A), 16-bits (Class B) and 24-bits (Class C), and classless sites are as pursue:

Lessons Target # of Offers Netmask (Binary) Netmask (Decimal)

CIDR /4 240,435,456 11110000 00000000 00000000 00000000 240.0.0.0

CIDR /5 134,217,728 11111000 00000000 00000000 00000000 248.0.0.0

CIDR /6 67,108,864 11111100 00000000 00000000 00000000 252.0.0.0

CIDR /7 33,554,432 11111110 00000000 00000000 00000000 254.0.0.0

A /8 16,777,216 11111111 00000000 00000000 00000000 255.0.0.0

CIDR /9 8,388,608 11111111 10000000 00000000 00000000 255.128.0.0

CIDR /10 4,194,304 11111111 11000000 00000000 00000000 255.192.0.0

CIDR /11 2,097,152 11111111 11100000 00000000 00000000 255.224.0.0

CIDR /12 1,048,576 11111111 11110000 00000000 00000000 255.240.0.0

CIDR /13 524,288 11111111 11111000 00000000 00000000 255.248.0.0

CIDR /14 262,144 11111111 11111100 00000000 00000000 255.252.0.0

CIDR /15 131,072 11111111 11111110 00000000 00000000 255.254.0.0

B /16 65,534 11111111 11111111 00000000 00000000 255.255.0.0

CIDR /17 32,768 11111111 11111111 10000000 00000000 255.255.128.0

CIDR /18 16,384 11111111 11111111 11000000 00000000 255.255.192.0

CIDR /19 8,192 11111111 11111111 11100000 00000000 255.255.224.0

CIDR /20 4,096 11111111 11111111 11110000 00000000 255.255.240.0

CIDR /21 2,048 11111111 11111111 11111000 00000000 255.255.248.0

CIDR /22 1,024 11111111 11111111 11111100 00000000 255.255.252.0

CIDR /23 512 11111111 11111111 11111110 00000000 255.255.254.0

C /24 256 11111111 11111111 11111111 00000000 255.255.255.0

CIDR /25 128 11111111 11111111 11111111 10000000 255.255.255.128

CIDR /26 64 11111111 11111111 11111111 11000000 255.255.255.192

CIDR /27 32 11111111 11111111 11111111 11100000 255.255.255.224

CIDR /28 16 11111111 11111111 11111111 11110000 255.255.255.240

CIDR /29 8 11111111 11111111 11111111 11111000 255.255.255.248

CIDR /30 4 11111111 11111111 11111111 11111100 255.255.255.252

 

Subnetting an internet protocol address system is always to split up a network that is big modest several communities for reorganization and safety needs. All nodes (offers) in a subnetwork read all packets transmitted by any node in a network. Results of a system was adversely affected under heavy traffic weight because of crashes and retransmissions.

Implementing a subnet mask to an IP address separates network target from host target. The network bits tend to be symbolized of the 1’s in the mask, while the variety bits become displayed by 0’s. Performing a bitwise reasonable AND operation from the ip together with the network is produced by the subnet mask target. As an example, using the Class C subnet mask to our IP address 216.3.128.12 creates the appropriate circle target:

IP:   1101 1000 . 0000 0011 . 1000 0000 . 0000 1100  (216.003.128.012)

Mask: 1111 1111 . 1111 1111 . 1111 1111 . 0000 0000  (255.255.255.000)

      1101 1000 . 0000 0011 . 1000 0000 . 0000 0000  (216.003.128.000)