From the course: Learning Subnetting

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Converting decimal numbers to binary

Converting decimal numbers to binary

From the course: Learning Subnetting

Converting decimal numbers to binary

- [Instructor] In our previous video, we took a look at how to take a binary number and convert it to a corresponding decimal number. Now we're going to go on the opposite direction, we're going to take a decimal number, and convert it to a binary number, and in this example let's use a decimal number of 167. And by the way, when you're doing this on your own and you're doing you're own practice, make sure that for your IP version four practice, you pick a number that's in the range of zero through 225. Those are the only numbers that we can represent with eight bits, you cannot represent 256 or higher with eight bits. So if you're looking at the oct 10th value of an IP version four address, or the oct 10th value of a subnet mask, it's never going to be outside of that range of zero through 225. So over our conversion practice we might want to focus there. Here though we have a decimal number of 167, and to be honest, it's…

Contents