┌───────────────┬───────────────┬───────────────┬───────────────┐
│ Octet 1 │ Octet 2 │ Octet 3 │ Octet 4 │
│ (8 bits) │ (8 bits) │ (8 bits) │ (8 bits) │
├───────────────┼───────────────┼───────────────┼───────────────┤
│ Network Part │ Network/Host │ Host Part │ Host Part │
│ (depends on │ (depends on │ │ │
│ subnet mask) │ subnet mask) │ │ │
└───────────────┴───────────────┴───────────────┴───────────────┘
This diagram shows the four octets of an IPv4 address and how the network and host parts are divided depending on the subnet mask.