askvity

What is an example of a subnet mask and IP address?

Published in Network Addressing 1 min read

An example of a subnet mask and IP address is 192.168.22.187/24, where 192.168.22.187 is the IP address and /24 indicates the subnet mask.

Here's a breakdown:

  • IP Address: 192.168.22.187. This is a unique numerical identifier assigned to a device on a network.

  • Subnet Mask: Represented by /24. This is a shorthand notation. A full subnet mask is 255.255.255.0.

    • The "/24" means the first 24 bits of the IP address represent the network portion, and the remaining bits represent the host portion.
    • In binary, 255.255.255.0 is 11111111.11111111.11111111.00000000. The 24 ones represent the network portion.

Here's a table summarizing the example:

Property Value Description
IP Address 192.168.22.187 Unique identifier for a device on a network.
Subnet Mask (CIDR Notation) /24 Indicates the number of bits used for the network portion of the IP address.
Subnet Mask (Decimal) 255.255.255.0 Equivalent of /24 in decimal format.
Network Address 192.168.22.0 The base address of the network.
Host Range 192.168.22.1 - 192.168.22.254 Usable IP addresses within the network.
Broadcast Address 192.168.22.255 Address used to send data to all devices on the network.

Related Articles