Black Friday sale: an extra 40% off every course until Monday, November 30.New Year sale: an extra 30% off every course until Friday, January 1.Memorial Day sale: an extra 25% off every course until Monday, May 31.SysAdmin Day sale: an extra 25% off every course until Sunday, August 1.Back to School sale: an extra 25% off every course until Sunday, August 22.Labor Day sale: an extra 25% off every course until Monday, September 6.Black Friday sale: an extra 40% off every course until Monday, November 29.New Year sale: an extra 30% off every course until Saturday, January 1.Choose your certification →

Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

2.6.1. Address Structure

IPv4 Packet Header:

The TTL field decrements at each hop (router)—when it reaches 0, the packet is dropped and an ICMP "Time Exceeded" is sent back. This is how traceroute works.

IPv4 Address Structure

IP Address:    192.168.1.100
Binary:        11000000.10101000.00000001.01100100

Subnet Mask:   255.255.255.0  (or /24)
Binary:        11111111.11111111.11111111.00000000
               |------Network------|--Host--|

Subnetting Quick Reference

CIDR to Subnet Mask:
CIDRSubnet MaskHosts per SubnetBlock Size
/22255.255.252.01,0224 (third octet)
/23255.255.254.05102 (third octet)
/24255.255.255.0254256
/25255.255.255.128126128
/26255.255.255.1926264
/27255.255.255.2243032
/28255.255.255.2401416
/29255.255.255.24868
/30255.255.255.25224

Formula: Hosts per subnet = 2^(host bits) - 2 (subtract network and broadcast)

Classful ranges (still tested, though routing is classless today) are set by the first octet: Class A 1–126 (default /8), B 128–191 (/16), C 192–223 (/24), D 224–239 (multicast), E 240–255 (experimental); 127 is reserved for loopback.

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•26 professional certifications earned