#
The domain Memorize.com is for sale!
contact: craig AT memorize.com

# IP Addresses And Netmasking

rename
Updated
2007-02-02 23:31

## IP Addresses and Net Masking

These tables are meant to make converting IP Addresses and calculating netmasks easier.First thing to know is converting IP Address Octets to their binary counterparts. Each octet of an IP Address can be translated into an eight bit binary number. There are a lot of easy ways to remember this, and this is the method that is easiest for myself. Each position in the 8 bits represents a power of 2 (Binary is base 2, after all) In the eight bit numbers you will be working with you have the following powers

## Eight bit binary power flashcards

Position | Binary |
---|---|

00000000 | 0 (This is 2 ^ 0) |

00000001 | 1 (This is 2 ^ 1) |

00000010 | 2 (This is 2 ^ 2) |

00000100 | 4 (This is 2 ^ 3) |

00001000 | 8 (This is 2 ^ 4) |

00010000 | 16 (This is 2 ^ 5) |

00100000 | 32 (This is 2 ^ 6) |

01000000 | 64 (This is 2 ^ 7) |

10000000 | 128 (This is 2 ^ 8) |

You will notice that a "1" bit in each position represents a power of the base. In this case we are working in binary, or base 2, with 8 bits, so we have the powers of 0, 1, 2, 4, 8, 16, 32, 64, and 128.

Another good method to help with calculating IP address octet conversions, is to memorize the addition tables in multiples of the previously stated powers of 2. Here is a flashcard table to get you started on that.

## Basic addition in powers of base 2

Problem | Solution |
---|---|

128 + 64 | 192 |

128 + 32 | 160 |

128 + 16 | 144 |

128 + 8 | 136 |

128 + 4 | 132 |

128 + 2 | 130 |

128 + 1 | 129 |

64 + 32 | 96 |

64 + 16 | 80 |

64 + 8 | 72 |

64 + 4 | 68 |

64 + 2 | 66 |

64 + 1 | 65 |

32 + 16 | 48 |

32 + 8 | 40 |

32 + 4 | 36 |

32 + 2 | 34 |

32 + 1 | 33 |

16 + 8 | 24 |

16 + 4 | 20 |

16 + 2 | 18 |

16 + 1 | 17 |

8 + 4 | 12 |

8 + 2 | 10 |

8 + 1 | 9 |

4 + 2 | 6 |

4 + 1 | 5 |

2 + 1 | 3 |

That was easy. Lets move on to a more challenging topic. We are now going to jump right in and test your ability to translate IP Addresses to their eight bit binary representation. If you are not very good at this yet, don't worry. There is more practice to come, this is just a tester for your own sake, to get an idea of about where you are currently.

## Sample IP Address conversions

Below are a few examples of random IP Addresses for you to practice converting.

IP ADDRESS | Binary Representation |
---|---|

192.168.0.1 | 11000000.10101000.00000000.00000001 |

192.168.1.0 | 11000000.10101000.00000001.00000000 |

127.0.0.1 | 01111111.00000000.00000000.00000001 |

10.10.10.1 | 00001010.00001010.00001010.00000001 |

255.255.255.0 | 11111111.11111111.11111111.00000000 |

164.128.192.1 | 10100100.10000000.11000000.00000001 |

192.168.14.5 | 11000000.10101000.00001110.00000101 |

10.124.244.12 | 00001010.01111100.11110100.00001100 |

134.51.79.167 | 10000110.00110011.01001111.10100111 |

66.98.224.78 | 01000010.01100010.11100000.01001110 |

232.224.91.10 | 11101000.11100000.01011011.00001010 |

## Pages linking here (main versions)

No other main versions link to this page. See Linking Quickstart for more info.