Subnetting

Just remember the 128 and divide it to half untill you get 1.

128 64 32 16 8 4 2 1

If we want to create and IP we must

use a combination with the numbers below so the sum of those numbers must give us the number we want.

Every number can use 8 bits to represent the sum we need. So every number is like _ _ _ _ _ _ _ _

This is 1 octet.

For the creation of an IP we must use 4 Octets separated with . (dot)

The IP will be like that _ _ _ _ _ _ _ _ . _ _ _ _ _ _ _ _ . _ _ _ _ _ _ _ _ . _ _ _ _ _ _ _ _

Lets say that we want to create the IP 192.168.1.1

for 192 we will use the 1st Octet .So for the number 192 we need to plus 128+64 .As you can see, the first 2 places represent the number 128 and 64.We will mark the digit 1 at the first 2 places of the Octet and for the rest we will put zero. So

1 1 0 0 0 0 0 0

128 64 32 16 8 4 2 1

For number 168 we need numbers 128+32+8 which sum giving us 168 so

1 0 1 0 1 0 0 0

128 64 32 16 8 4 2 1

For 3rd and 4th octet we need a sum 1 so we need only the last bit. So

0 0 0 0 0 0 0 1

128 64 32 16 8 4 2 1

All those octets in order giving us the IP 192.168.1.1 which is very common at home routers.Full IP is look like that 11000000.10101000.00000001.00000001

Just remember the 128 and divide it to half untill you get 1.

128 64 32 16 8 4 2 1

If we want to create and IP we must

use a combination with the numbers below so the sum of those numbers must give us the number we want.

Every number can use 8 bits to represent the sum we need. So every number is like _ _ _ _ _ _ _ _

This is 1 octet.

For the creation of an IP we must use 4 Octets separated with . (dot)

The IP will be like that _ _ _ _ _ _ _ _ . _ _ _ _ _ _ _ _ . _ _ _ _ _ _ _ _ . _ _ _ _ _ _ _ _

Lets say that we want to create the IP 192.168.1.1

for 192 we will use the 1st Octet .So for the number 192 we need to plus 128+64 .As you can see, the first 2 places represent the number 128 and 64.We will mark the digit 1 at the first 2 places of the Octet and for the rest we will put zero. So

1 1 0 0 0 0 0 0

128 64 32 16 8 4 2 1

For number 168 we need numbers 128+32+8 which sum giving us 168 so

1 0 1 0 1 0 0 0

128 64 32 16 8 4 2 1

For 3rd and 4th octet we need a sum 1 so we need only the last bit. So

0 0 0 0 0 0 0 1

128 64 32 16 8 4 2 1

All those octets in order giving us the IP 192.168.1.1 which is very common at home routers.Full IP is look like that 11000000.10101000.00000001.00000001

## No comments:

## Post a Comment