LOGBOOK

HELP

Quiz Entry - updated: 2026.07.14

What are the two parts of an IPv4 address and how does the subnet mask determine them?

An IPv4 address has a network portion and a host portion; the subnet mask marks which bits are which — 1s mark network bits, 0s mark host bits.

Subnet mask splits an IPv4 address into network and host portions

* The mask's 1-bits mark the network portion, its 0-bits the host portion. *

IPv4 Address Structure:

Part Description
Network portion Identifies the network; same for all devices on that network
Host portion Identifies the specific device on that network

The subnet mask determines which bits belong to which portion:

  • Subnet mask bits set to 1 = Network portion
  • Subnet mask bits set to 0 = Host portion

Example:

  • IP: 192.168.10.10
  • Subnet mask: 255.255.255.0
  • Network portion: 192.168.10 (first 24 bits)
  • Host portion: .10 (last 8 bits)

Key insight: The subnet mask is essential - without it, you cannot determine which portion is network vs host.

Go deeper:

From Quiz: NETW1 / IPv4 Addressing | Updated: Jul 14, 2026