8/28/2021
90
  • The Netmask/CIDR tool is for network administrators or network engineers or webmasters who need to generate a list of IP Addresses and network Addresses that falls into the category of the input IP and netmask/CIDR. The user need to input an IP along with netmask or CIDR to generate the list of IP Addresses and network addresses.
  • Netmask to IPv4 Conversion CIDR is the short for Classless Inter-Domain Routing, an IP addressing scheme that replaces the older system based on classes A, B, and C. A single IP address can be used to designate many unique IP addresses with CIDR.
  • The DNS Made Easy Subnet mask cheat sheet was designed by sys admins, for sys admins. We hope you find it as useful as we do.
  • Further subnetting separates the host part of an IP address into a subnet and host address if additional subnetwork is needed. This IP subnetting calculator is designed considering the ease of use to the user.
Netmask

The netmask is used to specify the IP range a 'network' starts and stops at. This range is arbitrary. For example, with the IP address 192.168.0.140: With the netmask of 255.255.255.0 (/24 in cidr notation) the IP range would be 192.168.0.1 - 192.168.0.254.

There are plenty of these netmask references out there, but I prefer myown: hence this Tech Tip. We've never seen anybody use a network largerthan a /4 (256M hosts), so we've truncated the table at that point.

Netmask Quick Reference
# bits # hosts Usable
hosts
netmask Cisco mask
/4 268435456 268435454 240.0.0.0 15.255.255.255
/5 134217728 134217726 248.0.0.0 7.255.255.255
/6 67108864 67108862 252.0.0.0 3.255.255.255
/7 33554432 33554430 254.0.0.0 1.255.255.255
/8 16777216 16777214 255.0.0.0 class A network 0.255.255.255
/9 8388608 8388606 255.128.0.0 0.127.255.255
/10 4194304 4194302 255.192.0.0 0.63.255.255
/11 2097152 2097150 255.224.0.0 0.31.255.255
/12 1048576 1048574 255.240.0.0 0.15.255.255
/13 524288 524286 255.248.0.0 0.7.255.255
/14 262144 262142 255.252.0.0 0.3.255.255
/15 131072 131070 255.254.0.0 0.1.255.255
/16 65536 65534 255.255.0.0 class B network 0.0.255.255
/17 32768 32766 255.255.128.0 0.0.127.255
/18 16384 16382 255.255.192.0 0.0.63.255
/19 8192 8190 255.255.224.0 0.0.31.255
/20 4096 4094 255.255.240.0 0.0.15.255
/21 2048 2046 255.255.248.0 0.0.7.255
/22 1024 1022 255.255.252.0 0.0.3.255
/23 512 510 255.255.254.0 0.0.1.255
/24 256 254 255.255.255.0 class C network 0.0.0.255
/25 128 126 255.255.255.128 0.0.0.127
/26 64 62 255.255.255.192 0.0.0.63
/27 32 30 255.255.255.224 0.0.0.31
/28 16 14 255.255.255.240 0.0.0.15
/29 8 6 255.255.255.248 0.0.0.7
/30 4 2 255.255.255.252 0.0.0.3
/31 point to point links only
/32 1 1 255.255.255.255 single IP address use host notation

All devices on a local network have a unique IP address, but eachaddress is inherently divided into two parts, a shared network part,and a unique host part, and this information is used by the TCP/IP stackfor routing. When sending traffic to a machine with a different networkpart, it must be sent through a router for final delivery.

How To Connect MetaMask Wallet To Binance Smart Chain (BSC)

The dividing line between the network and host parts is determinedby the subnet mask, and it's often seen in 255.255.255.0notation. It looks like an IP address, and it uses a '1' bit toselect, or 'mask' the network part.

Find out what my netmask is14.04):

In this case, the netmask of 255.255.255.248 represents 29bits of network and 3 bits of host (totalling 32 bits, of course),and this give 8 possible IP addresses in this range. The first andlast of the range are reserved addresses, giving 6 usable addressesthat may be assigned to a device.

216.39.106.160 zero broadcast
216.39.106.161 available
216.39.106.162 available
216.39.106.163 available
216.39.106.164 available
216.39.106.165 available
216.39.106.166 available
216.39.106.167 ones broadcast

When creating ACLs for Cisco routers,one specifies networks using a base IP address and what looks like an invertednetmask: rather than set a one bit for each part of the address that's a network,they set a one bit for each part that's a host. Xbox one fm21.

Many consider this quite annoying, as it's one more thing to have to remember.

First published: 2005/07/17

This calculator returns a variety of information regarding Internet Protocol version 4 (IPv4) and IPv6 subnets including possible network addresses, usable host ranges, subnet mask, and IP class, among others.

Mask?

Networking - How Do I Find My Network IP Address, Netmask ..

IPv4 Subnet Calculator


IPv6 Subnet Calculator


Netmask
RelatedBandwidth Calculator Binary Calculator

A subnet is division of an IP network (internet protocol suite), where an IP network is a set of communications protocols used on the Internet and other similar networks. It is commonly known as TCP/IP (Transmission Control Protocol/Internet Protocol).

The act of dividing a network into at least two separate networks is called subnetting, and routers are devices that allow traffic exchange between subnetworks, serving as a physical boundary. IPv4 is the most common network addressing architecture used, though the use of IPv6 has been growing since 2006.

An IP address is comprised of a network number (routing prefix) and a rest field (host identifier). A rest field is an identifier that is specific to a given host or network interface. A routing prefix is often expressed using Classless Inter-Domain Routing (CIDR) notation for both IPv4 and IPV6. CIDR is a method used to create unique identifiers for networks, as well as individual devices. For IPv4, networks can also be characterized using a subnet mask, which are sometimes expressed in dot-decimal notation, as shown in the 'Subnet' field in the calculator. All hosts on a subnetwork have the same network prefix, unlike the host identifier which is a unique local identification. In IPv4, these subnet masks are used to differentiate the network number and host identifier. In IPv6, the network prefix performs a similar function as the subnet mask in IPv4, with the prefix length representing the number of bits in the address.

Prior to the introduction of CIDR, IPv4 network prefixes could be directly obtained from the IP address based on the class (A, B, or C, which vary based on the range of IP addresses they include) of the address and the network mask. Since CIDRs introduction however, assigning an IP address to a network interface requires both an address and its network mask.


Below is a table providing typical subnets for IPv4.

Prefix sizeNetwork maskUsable hosts per subnet
/1128.0.0.02,147,483,646
/2192.0.0.01,073,741,822
/3224.0.0.0536,870,910
/4240.0.0.0268,435,454
/5248.0.0.0134,217,726
/6252.0.0.067,108,862
/7254.0.0.033,554,430
Class A
/8255.0.0.016,777,214
/9255.128.0.08,388,606
/10255.192.0.04,194,302
/11255.224.0.02,097,150
/12255.240.0.01,048,574
/13255.248.0.0524,286
/14255.252.0.0262,142
/15255.254.0.0131,070
Class B
/16255.255.0.065,534
/17255.255.128.032,766
/18255.255.192.016,382
/19255.255.224.08,190
/20255.255.240.04,094
/21255.255.248.02,046
/22255.255.252.01,022
/23255.255.254.0510
Class C
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
/31255.255.255.2540
/32255.255.255.2550