Appendix B: IP Addresses from Decimal to Binary
Follow the example below to convert the IP addresses to binary numbers. Use the
calculator on the computer for conversion. The calculator can be found under this path:
Start> All Programs> Accessories> Calculator. For Windows XP and Windows Vista,
click <View> on the calculator and click <Scientific>. For Windows 7 and Windows 8, click
<View> on the calculator and click <Programmer>. Then follow the steps in the following
example to convert the IP addresses.
The example below shows how to convert 192.168.2.81 to binary numbers.
Step 1: On the left of the calculator, select <Dec>. Then enter the first decimal number of
the IP address, “192”. Select <Bin> and the number will be converted to binary
number. Repeat the same procedure with the rest of decimal numbers. Remember
to select <Dec> before entering the next decimal number. Otherwise a decimal
number cannot be entered. The table below shows the binary number of each
decimal number.
Step 2: Each binary number should have eight digits. If a binary number does not have
eight digits, please add 0 in front of it until it does. The binary number of each
decimal number should be as follow.
Step 3: Therefore, the binary numbers of IP address 192.168.2.81 is
11000000.10101000.00000010.01010001.