The 32-Bit View
Lesson 6 of 46 in Coddy's IP Addressing and Subnetting course.
Going the other way, from dotted decimal to binary, is the skill you will use constantly when subnetting. Convert one octet at a time and keep all eight bits, including the leading zeros: 10 is 00001010, not 1010. Every octet must be exactly eight bits wide or the 32-bit picture falls apart.
Try it on 10.0.0.1 in your head before the task: three of its four octets are trivial, and that is typical. Real addresses are mostly small numbers with the occasional interesting byte.
Challenge
BeginnerConvert 10.0.0.1 to binary. Print each octet on its own line, all eight bits, in address order.
Expected output:
00001010
00000000
00000000
00000001Try it yourself
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