Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Broadcast address

Direct 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.

When to use this

Use it when calculating the last address of a subnet, or when a host is wrongly given the broadcast address.

First 30 seconds

1. The broadcast address has all host bits set to 1.

2. Not usable for hosts.

3. Directed broadcasts are disabled by default on routers (no ip directed-broadcast).

4. Used by ARP and DHCP discovery (limited broadcast 255.255.255.255).

5. Calculate from prefix length.

Operational verification

prefix length → host bits → all ones → broadcast address

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commandtcpdump -ni eth0 broadcast
Scope / prerequisiteUse it when calculating the last address of a subnet, or when a host is wrongly given the broadcast address.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Seeing broadcasts Verify boundary
tcpdump -ni eth0 broadcast
show interfaces Gi1/0/1 | include broadcasts
storm-control broadcast level 1.00

Documented example, not captured output. High broadcast rates point to ARP storms, loops or chatty applications. Storm control limits damage on access ports.

Step 2 Common mistakes Narrow the fault
  • Configuring a host with the subnet's broadcast address.
  • Allowing directed broadcasts on router interfaces (ip directed-broadcast; off by default) — smurf amplification.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show ip interface <interface> — Broadcast address
  • Calculate: host bits all 1 (e.g. 192.168.1.0/24 → .255) — method
ReferenceWhat it is1 section · depth on demand

How it is used

All host bits set to 1. For 10.1.1.0/26 the broadcast is 10.1.1.63; for 172.16.32.0/20 it is 172.16.47.255.

A directed broadcast (to another subnet's broadcast address) is dropped by routers by default (no ip directed-broadcast) because it was used in smurf attacks. The limited broadcast 255.255.255.255 never leaves the local segment; DHCP Discover uses it, which is why a DHCP relay (ip helper-address) is needed across subnets.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Broadcast addresses and how routers treat them

IPv4 has two kinds of broadcast address, and routers handle them differently. RFC 1812 requires routers to treat packets sent to 255.255.255.255 as broadcasts and never to forward them outside the local network. This limited broadcast is what DHCP clients use before they have an address. A directed broadcast, the all-ones host part of a subnet such as 10.110.0.255/24, is addressed to every host on a specific subnet and can be routed towards it. RFC 1812 also says packets to 0.0.0.0, or to a subnet's all-zeros host address, should be discarded silently on receipt.

Broadcast types

TypeExampleCrosses routers?
Limited broadcast255.255.255.255Never (RFC 1812)
Directed (subnet) broadcast10.110.0.255 for 10.110.0.0/24Routed to the subnet; final delivery only if enabled
Layer 2 broadcastff:ff:ff:ff:ff:ffStays in the VLAN

Finding the broadcast address

PrefixNetworkBroadcastUsable hosts
192.168.10.0/24192.168.10.0192.168.10.255.1–.254
10.20.4.0/2210.20.4.010.20.7.25510.20.4.1–10.20.7.254
172.16.5.64/27172.16.5.64172.16.5.95.65–.94
10.0.12.0/31none (RFC 3021)noneboth addresses

Directed broadcasts and security

Forwarding directed broadcasts onto a LAN once made "smurf" amplification attacks possible. Modern Cisco IOS keeps no ip directed-broadcast as the interface default. Enable it only where it is needed, for example for Wake-on-LAN, and only for specific sources.

R1(config)# access-list 110 permit udp host 10.99.0.25 any eq 9
R1(config)# interface Vlan110
R1(config-if)# ip directed-broadcast 110
R1(config)# interface Vlan120
R1(config-if)# ip helper-address 10.20.0.15
R1# show ip interface Vlan110 | include broadcast
  Broadcast address is 255.255.255.255
  Directed broadcast forwarding is enabled - 110
host$ ip -4 addr show dev eth0 | grep brd
    inet 10.110.0.64/24 brd 10.110.0.255 scope global eth0

ip helper-address turns selected limited broadcasts, such as DHCP, into unicasts towards a server, so these services work across subnets without broadcasts being forwarded.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

The broadcast address reaches every host on the local subnet at once; ARP requests, DHCP discovery and some legacy discovery protocols rely on it. Because it is the last address in the block, it is always one less than the next subnet's network address — a quick sanity check when calculating ranges by hand. Broadcasts stop at routers, which is why each VLAN/subnet is its own broadcast domain and why very large subnets suffer from broadcast load.

The broadcast address is the last address of a subnet (all host bits 1); packets to it reach every host in the subnet. Example: 192.168.10.0/27 → broadcast 192.168.10.31.

Routers do not forward directed broadcasts by default (no ip directed-broadcast, default since IOS 12.0) because they enabled Smurf amplification attacks. DHCP relay (ip helper-address) converts local broadcasts to unicast instead.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 791

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv4 → Addressing → Broadcast address. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc791.html · confidence 94%
Confirmation

Confirm action

Continue?