Menu
Coddy logo textTech

Zero and Broadcast

Lesson 32 of 46 in Coddy's IP Addressing and Subnetting course.

Two more addresses with special jobs:

  • 0.0.0.0 means "no address in particular". A server listening on it accepts connections on every interface the machine has, which is why you see it constantly in server configs.
  • 255.255.255.255 is the limited broadcast: it reaches every machine on the local network and is never forwarded by routers. DHCP discovery uses it, because a machine with no address yet has to shout.

Neither can ever be assigned to a machine.

challenge icon

Challenge

Beginner

Two questions, two lines:

  1. Which address does a server bind to when it wants to listen on every interface?
  2. Which address does a packet use to reach everyone on the local network?

Expected output:

0.0.0.0
255.255.255.255

Try it yourself

Terminal

All lessons in IP Addressing and Subnetting

Practice on your own: Terminal playground