Zero and Broadcast
Lesson 32 of 46 in Coddy's IP Addressing and Subnetting course.
Two more addresses with special jobs:
0.0.0.0means "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.255is 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
BeginnerTwo questions, two lines:
- Which address does a server bind to when it wants to listen on every interface?
- Which address does a packet use to reach everyone on the local network?
Expected output:
0.0.0.0
255.255.255.255Try it yourself
Terminal
All lessons in IP Addressing and Subnetting
10Capstone - The Office
The Floor PlanSizing Each TeamCarving the BlockThe Router's ViewRecap - Ship the PlanPractice on your own: Terminal playground