Convert mac address into ip address3/24/2024 ![]() ![]() The positional notation method is the easiest one to use without a calculator. I have personally used this method on my CCNA exam. In the following animation, we are going to show how you can easily convert decimal numbers to binary using the technique we have just seen. Converting a decimal number 4 to a Binary The following figure shows how we convert the decimal number 4 into binary. Converting a decimal number 244 to a Binary ![]() The following figure shows how we convert the decimal number 55 into binary. The following figure shows how we convert the decimal number 244 into binary. ![]() Let's now make some more exercises to master this concept. Figure 3 illustrates the process graphically. Then we subtract the column value from the original number and repeat the process until the original number becomes zero. We start with the decimal number we want to convert and look for the highest column value that goes into the decimal. Decimal to BinaryĬonverting decimal numbers to binary uses the same logic. Figure 2. Binary to Decimal Examplesīinary arithmetic is pretty easy once you know what's going on. The following animation shows a few examples of converting binary numbers into decimals using the power of two tables. So for the binary value in the table, 11100011, we add together 128+64+32+2+1 to get the number 227. As mentioned before, calculating the value of a binary number means totaling all the values for the "on" bits. The table above shows that the bits with the values 128, 64, 32, 2, and 1 are all turned on. The sum of all these column values for each digit gives the decimal representation of the binary number. The value of each digit in a binary number is determined by its position in the table. Each successive bits on the left represent twice the value. Therefore, the rightmost bit represents 2 0, the second most-right bit represents 2 1, and so on, as is shown in the table below. In binary numbers, each successive bit within a group represents a power of two and the values ascend from right to left. In this lesson, we will learn a technique called the positional notation method. However, computers work with binary, so to really understand subnetting, we must be able to convert a dotted-decimal IP representation into a binary one. ![]() It's obviously much easier for humans to work with the decimal version of the IP address space. We refer to this IP address representation as a dotted-decimal format. That is why we work and write IP addresses in decimal representation that looks like this: 192.168.1.45 However, we humans find it hard to work and remember binary numbers. An IP addressĪn IP address is a 32-bit long binary number divided into four octets, as shown in figure 1 below. There are only two possible unique digits in the binary numeral system:Īll other binary numbers are created using these two digits. On the other hand, routers, switches, and computers use a base-2 numbering system called binary. Combining these ten digits creates all other possible numbers. We humans use the base-10 decimal system, which indicates that there are only ten unique digits, 0 through 9. The base determines how many unique digits the system has. Numeral systems for expressing numbers have a base. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |