Search Subnet Calculator Top Organizations Commercial Plans Supporter Portal API Reference
Sign In Get API Key

2.16.21.16/28

Public Internet Routable
Subnet Engineering Calculator
Real-time bitmask calculator
Adjust Prefix Length: /28 Range: /0 to /32

Subnet Mask Octet Architecture

Network Bits (28) Host Bits (4)
Octet 1 0xFF
255
1
1
1
1
1
1
1
1
8 Net 0 Host
Octet 2 0xFF
255
1
1
1
1
1
1
1
1
8 Net 0 Host
Octet 3 0xFF
255
1
1
1
1
1
1
1
1
8 Net 0 Host
Octet 4 0xF0
240
1
1
1
1
0
0
0
0
4 Net 4 Host
Bit 1 (MSB) Boundary: /28 Bit 32 (LSB)

Addressing Specifications

Network Address
2.16.21.16
Broadcast Address
2.16.21.31
Usable Host Range
2.16.21.17 — 2.16.21.30
Subnet Netmask
255.255.255.240
Wildcard Inverted Mask
0.0.0.15
6to4 Prefix (RFC 3056)
2002:0210:1510::/48
Reverse DNS Zone
21.16.2.in-addr.arpa

Subnet Classification

Usable IPv4 Hosts 14 hosts
Total Subnet Capacity 16 addresses
Prefix Length /28
Hexadecimal Mask 0xFFFFFFF0
Legacy Class Class A
Network Scope Public Internet Routable

Host Subnet Validator

Verify whether an IP address belongs to this subnet

Subnet Partitioning (VLSM)

Subdivide 2.16.21.16/28 into smaller contiguous blocks
Partition Size Subnet Mask Subnets Created Total Block Capacity Usable Hosts Sample Subnet Blocks Action
/29 255.255.255.248 2 subnets 8 6 Calculate →
/30 255.255.255.252 4 subnets 4 2 Calculate →
/31 255.255.255.254 8 subnets 2 2 Calculate →
/32 255.255.255.255 16 subnets 1 1 Calculate →

Router Configuration Snippets

Deployment commands for Network Engineers
Cisco IOS Access Control List (ACL):
access-list 100 permit ip 2.16.21.16 0.0.0.15 any
Cisco Interface Configuration:
ip address 2.16.21.17 255.255.255.240
Linux ip route:
sudo ip route add 2.16.21.16/28 dev eth0
Linux iptables:
sudo iptables -A INPUT -s 2.16.21.16/28 -j ACCEPT
nftables Rule:
ip saddr 2.16.21.16/28 accept

IPv4 Subnet Mask Reference Table

Standardized RFC Specifications (/0 to /32)
CIDR Subnet Mask Total Addresses Usable Hosts Class Equivalent Typical Use Case Action
/32 255.255.255.255 1 1 Single Host Loopback Host Route Load
/31 255.255.255.254 2 2 RFC 3021 Point-to-Point Link Load
/30 255.255.255.252 4 2 Sub-Class C Point-to-Point Link (Legacy) Load
/29 255.255.255.248 8 6 Sub-Class C Small Branch WAN Block Load
/28 255.255.255.240 16 14 Sub-Class C Small Business Infrastructure Load
/27 255.255.255.224 32 30 Sub-Class C Departmental VLAN Load
/26 255.255.255.192 64 62 Sub-Class C Office Floor VLAN Load
/25 255.255.255.128 128 126 Sub-Class C Medium Enterprise VLAN Load
/24 255.255.255.0 256 254 1 Class C Standard Local LAN Default Load
/23 255.255.254.0 512 510 2 Class C Large Enterprise LAN Load
/22 255.255.252.0 1,024 1,022 4 Class C Campus Network Block Load
/21 255.255.248.0 2,048 2,046 8 Class C ISP Small Aggregation Load
/20 255.255.240.0 4,096 4,094 16 Class C Regional ISP Allocation Load
/19 255.255.224.0 8,192 8,190 32 Class C Regional Data Center Load
/18 255.255.192.0 16,384 16,382 64 Class C Cloud Provider Region Load
/17 255.255.128.0 32,768 32,766 128 Class C Large Cloud Region Load
/16 255.255.0.0 65,536 65,534 1 Class B Corporate Global VPC Load
/15 255.254.0.0 131,072 131,070 2 Class B Carrier Core Backbone Load
/14 255.252.0.0 262,144 262,142 4 Class B Carrier Allocation Load
/13 255.248.0.0 524,288 524,286 8 Class B National Backbone Block Load
/12 255.240.0.0 1,048,576 1,048,574 16 Class B RFC 1918 Class B Pool Load
/11 255.224.0.0 2,097,152 2,097,150 32 Class B Tier-1 Transit Provider Load
/10 255.192.0.0 4,194,304 4,194,302 64 Class B Carrier Grade NAT (RFC 6598) Load
/9 255.128.0.0 8,388,608 8,388,606 128 Class B Global Transit Block Load
/8 255.0.0.0 16,777,216 16,777,214 1 Class A RFC 1918 Class A Block Load
/0 0.0.0.0 4,294,967,296 4,294,967,294 All IPv4 Internet Default Route (0.0.0.0/0) Load