Pcornel
Networking · IP Fundamentals › IPv4 › Addressing

Broadcast address

Cheat sheet · https://pcornel.dk/topic.php?topic=925

Back to the Topic

Answer

The broadcast address is the last address of an IPv4 subnet (all host bits 1, for example 192.168.1.255/24); a packet sent to it reaches every host in that subnet.

Remember

  • Prefix length and mask describe the same boundary
  • Network and directed-broadcast addresses are not ordinary host addresses
  • Hosts per traditional subnet are 2^(host bits)-2, with point-to-point exceptions
  • VLSM allocates largest requirements first and must avoid overlap.

First checks

  • show ip interface <interface> — Broadcast address
  • Calculate: host bits all 1 (e.g. 192.168.1.0/24 → .255) — method

Commands

ip helper-address
ip directed-broadcast

Verify in this order

prefix length → host bits → all ones → broadcast address

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=925

Confirmation

Confirm action

Continue?