What is the purpose of a broadcast address in IPv4?
Answer
With the broadcast address you reach all network devices of the local network (subnet) at the same time, without knowing their individual addresses.
It is the last address of a subnet – all host bits are 1 (e.g. 192.168.30.255 in 192.168.30.0/24). The first address is the network address.
It exists only once per network and cannot be assigned to a host – that is why you subtract 2 when calculating usable hosts (network + broadcast).
Broadcasts are limited to the local network; routers do not forward them by default.
The limited broadcast 255.255.255.255 is used, e.g., by a DHCP client that does not have an IP address yet.
Diagram
Key vocabulary
Term
Meaning
Example
network address
the first address of a subnet
192.168.30.0 is the network address.
broadcast address
the last address of a subnet
The broadcast address of a /24 ends in .255.
host bits
the part of the address for devices
In the broadcast address all host bits are 1.
usable
possible to use
A /24 network has 254 usable addresses.
local network
the devices in one subnet
Broadcasts stay in the local network.
limited broadcast
255.255.255.255, reaches the local network
A DHCP client sends to the limited broadcast address.
Useful phrases
all host bits set to 1The broadcast address has all host bits set to 1.
cannot be assigned to a hostThe broadcast address cannot be assigned to a host.
minus twoUsable hosts = 2ⁿ minus two.
to stay within the subnetBroadcasts stay within the subnet.
Talk about it
What is the broadcast address of 10.0.5.0/26? Explain how you calculated it.
Why do we subtract 2 when we calculate the number of usable hosts?
Why would it be a problem if routers forwarded broadcasts into the internet?
IHK hint
German: Broadcast-Adresse: letzte Adresse eines Subnetzes (alle Hostbits = 1), erreicht alle Geräte im lokalen Netz, nicht als Host-Adresse nutzbar (−2), wird nicht geroutet.