10.0.2.120/30

Private (RFC 1918) RFC 1918

Class A — /30 prefix — 2 usable hosts

Network Address
10.0.2.120
Broadcast Address
10.0.2.123
Subnet Mask
255.255.255.252
Usable Hosts
2
First Usable IP
10.0.2.121
Last Usable IP
10.0.2.122
Total IPs
4
Prefix Length
/30

Network address — the base address of the block (10.0.2.120). All devices in this subnet share this prefix. Cannot be assigned to a host.

Broadcast address — packets sent to 10.0.2.123 are delivered to every device in the subnet. Also reserved — not assignable.

Usable hosts — the 2 addresses between those two that you can assign to servers, VMs, or interfaces.

Subnet mask255.255.255.252 is the dotted-decimal equivalent of /30. Older tools and Cisco configs use this format instead of CIDR slash notation.

Full Details

CIDR Notation 10.0.2.120/30
Network Address 10.0.2.120
Broadcast Address 10.0.2.123
Subnet Mask 255.255.255.252
Wildcard Mask 0.0.0.3
Prefix Length /30
IP Address Class Class A
Total IP Addresses 4
Usable Host Addresses 2
First Usable IP 10.0.2.121
Last Usable IP 10.0.2.122
Network (Hex) 0x0A000278
Broadcast (Hex) 0x0A00027B
Governing RFC RFC 1918
Address Type Private (RFC 1918)

Binary Representation

Network Address
00001010.00000000.00000010 00001010.00000000.00000010.01111000
Subnet Mask
11111111.11111111.11111111.11111100

The first 30 bits (1s in the mask) identify the network. The remaining 2 bits identify hosts within the network.

All 4 IP Addresses in this Range

10.0.2.120 net
10.0.2.121
10.0.2.122
10.0.2.123 bcast

/30 Subnet Reference

Total IPs 4
Usable Hosts 2
Subnet Mask 255.255.255.252
Wildcard 0.0.0.3

Calculate Another