8 binary bits enables us to represent 2 to the eight different decimal numbers. Because there’s a 1 in each position this would result in adding together 2 to the seven, 2 to the six, 2 to the five, 2 to the four, 2 to the three, 2 to the two, 2 to the one and 2 to the zero giving 255.īut there’s a quicker way than this. Or we could calculate it ourselves using the weighting system I discussed in Part 1 of this session. What would this be in decimal? We could go for the easy way of answering this question which would be to use a binary-to-decimal converter – maybe one of those I showed you in Part 2 of this session. What’s the highest decimal number we can represent using 8 bits? Well, the highest 8-bit number has a 1 in every place. A group of 8 bits is often referred to as an octet. When representing an IP address as a decimal number, we actually deal with these groups in pairs. You can see how difficult it is to read this number, so for convenience I’ll show the 32 binary numbers in groups of four bits. To a computer, this would look like this.
#HOW TO CONVERT MAC ADDRESS TO DECIMAL SERIES#
Remember we started off this session in Part 1 with a reminder of what an IP address and a MAC address look like.Ĭomputers can only recognise these addresses as a series of zeros and ones, but humans find long strings of zeros and ones difficult to read and interpret so this is why we represent them in this way.Īn IPv4 address is in fact a 32-bit binary number which, as you know from Part 1, provides nearly 4 million 3 hundred different addresses.īut let’s just focus on the IP address. In this video I’ll look at IP addresses, specifically IP version 4 addresses and in the next video I’ll look at MAC addresses. Now you’re familiar with the idea of representing numbers with different number bases, we’ll have a closer look at how network addresses are represented.