255.255.255.255 Broadcast Address
Learn about the limited broadcast address 255.255.255.255 and directed broadcast addresses. Understand how broadcast works at the network layer.
IPv4 Special
Detailed Explanation
The Broadcast Address: 255.255.255.255
255.255.255.255 is the IPv4 limited broadcast address. Packets sent to this address are delivered to all hosts on the local network segment and are never forwarded by routers.
Limited vs Directed Broadcast
| Type | Address | Scope |
|---|---|---|
| Limited Broadcast | 255.255.255.255 | Local segment only |
| Directed Broadcast | e.g., 192.168.1.255 (/24) | Specific subnet (may be forwarded) |
How Broadcast Works
1. Host sends packet to 255.255.255.255
2. Network interface transmits as Ethernet broadcast (FF:FF:FF:FF:FF:FF)
3. All devices on the local segment receive the frame
4. Each device's TCP/IP stack processes the packet
5. Routers do NOT forward 255.255.255.255 broadcasts
Binary Representation
255.255.255.255:
11111111.11111111.11111111.11111111
All 32 bits are set to 1.
Common Uses of Broadcast
| Protocol | Purpose |
|---|---|
| DHCP Discover | Client broadcasts to find DHCP servers |
| ARP Request | "Who has IP x.x.x.x? Tell x.x.x.x" |
| NetBIOS | Windows name resolution (legacy) |
| Wake-on-LAN | Magic packet to wake sleeping computers |
Directed Broadcast Example
For the network 192.168.1.0/24:
- Network address: 192.168.1.0
- Broadcast address: 192.168.1.255
- Usable hosts: 192.168.1.1 – 192.168.1.254
The directed broadcast 192.168.1.255 reaches all hosts on that specific /24 subnet. Most modern routers disable directed broadcast forwarding (RFC 2644) to prevent Smurf attacks.
Use Case
A newly connected device without an IP address sends a DHCP Discover message to 255.255.255.255 to locate a DHCP server on the local network and obtain an IP configuration.