Anda di halaman 1dari 25

CALCULATE THE IP ADDRESS

1 HOST IP ADDRESS 172.30.1.33


2 SUBNET MASK 255.255.255.0
3 NUMBER OF SUBNET BITS 8 BITS
4 NUMBER OF SUBNET 2 = 256
5 NUMBER OF HOST BITS PER SUBNET 8 BITS
6 NUMBER OF USABLE HOSTS PER SUBNET 2 = 256 -2 = 254
7 SUBNET ADDRESS FOR THIS IP ADDRESS 172.30.1.0
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET 172.30.1.1
9 IP ADDRESS OF LAST ON THIS SUBNET 172.30.1.254
10 BROADCAST ADDRESS FOR THIS SUBNET 172.30.1.255

To know the class of ip address

NETWORK HOST

CLASS A : 0-127 1 3
CLASS B : 128-191 2 2
3 1
CLASS C : 192-223

PROBLEM 1

1. 172. 30. 1. 33 IP ADDRESS

2. 255. 255. 255. 0 SUBNET MASK

Decide the class of problem.

To know what of the class 172. 30 . 1. 33


ip address.(class B) 255.255.255.0
Decide the network and host.

NETWORK HOST
The network and host have a
172. 30. 1. 33 different type of class

255. 255. 255 .0

Convert the decimal to binary number.


Can use a
172. 30. 1. 33.
calculator or
hand drawing

10101100 00011110 00000001 00100001

255. 255 255 0.

11111111 11111111 1111111 00000000

In hand write

128 64 32 16 8 4 2 1

1 0 1 0 1 1 0 0

Little example to convert


128+32 8+4 Decimal to binary
128+32+8+4 =172

128 64 32 16 8 4 2 1

0 0 0 1 1 1 1 0

16+8 4+4

16+8+4+2 =30

128 64 32 16 8 4 2 1
0 0 0 1 1 1 1 0
3. Now, calculate number of (1) of subnet mask in host.

NETWORK HOST

172. 30. 1. 33.

10101100 00011110 00000001 00100001

255. 255 255 0.

11111111 11111111 11111111 00000000

Formula of
Number of (1) =8 bits 2 power to get
the answer.
4. Number of subnet ANSWER 2=256

5. Then, calculate number of (0) on subnet mask in host.

NETWORK HOST

172. 30. 1. 33.

10101100 00011110 00000001 00100001

255. 255 255 0.

11111111 11111111 11111111 00000000

Number of (0) =8 bits

6. Usable host per subnet ANSWER : 2=256-2=254


7. To solve the SUBNET IP ADDRESS.

10101100 00011110 00000001 00100001

11111111 11111111 11111111 00000000 Change the binary


10101100 00011110 00000001 000000000 number to decimal with
calculator of hand
write.

172 30 1 0

THE SUBNET ANSWER = 172.30.1.0

8. Take a BINARY FIRST HOST IN subnet mask.

10101100 00011110 00000001 00000000 Binary of ip address.

00000001 Add a binary formula to get


the subnet address.
10101100 00011110 00000001 00000001

Change the binary


172 30 1 1 number to decimal with
calculator of hand
FIRST HOST ANSWER =172.30.1.1
write.
In decimal calculate :-

172 30 1 0

172 30 1 1 = 172.30.1.1
9. Solve the LAST HOST IN SUBNET.

10101100 00011110 00000001 00000000 Binary of ip address.

11111110 Binary of usable host

10101100 00011110 00000001 11111110

Last host subnet in decimal


172 30 1 254

LAST HOST ANSWER =172.30.1.254

In decimal calculate:-

172 30 1 0 The origin of number ip


address
254

172 30 1 254

10.Solve the BROADCAST IN SUBNET.

10101100 00011110 00000001 11111110 Binary of last host mask.

00000001 Formula Binary of


broadcast subnet
10101100 00011110 00000001 11111111

Decimal of broadcast
172 30 1 255
number

BROADCAST ANSWER = 172.30.1.255

In decimal calculate :-

172 30 1 254

172 30 1 255 = 172.30.1.255


CALCULATE THE IP ADDRESS

1 HOST IP ADDRESS 172.30.1.33


2 SUBNET MASK 255.255.255.224
3 NUMBER OF SUBNET BITS 11 BITS
4 NUMBER OF SUBNET = 2048
5 NUMBER OF HOST BITS PER SUBNET 5 BITS
6 NUMBER OF USABLE HOSTS PER SUBNET = 32-2 = 30
7 SUBNET ADDRESS FOR THIS IP ADDRESS 172.30.1.32
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET 172.30.1.33
9 IP ADDRESS OF LAST ON THIS SUBNET 172.30.1.62
10 BROADCAST ADDRESS FOR THIS SUBNET 172.30.1.63

To know the class of ip address

NETWORK HOST

CLASS A : 0-127 1 3
CLASS B : 128-191 2 2
3 1
CLASS C : 192-223

PROBLEM 2

1. 172. 30. 1. 33 IP ADDRESS

2. 255. 255. 255. 224 SUBNET MASK

Decide the class of problem.

To know what of the class 172. 30 . 1. 33


ip address.(class B) 255.255.255.0
Decide the network and host.

NETWORK HOST
The network and host have a
172. 30. 1. 33 different type of class

255. 255. 255 224

Convert the decimal to binary number.


Can use a
172. 30. 1. 33.
calculator or
hand drawing

10101100 00011110 00000001 00100001

255. 255 255 224.

11111111 11111111 1111111 11100000

In hand write

128 64 32 16 8 4 2 1

1 0 1 0 1 1 0 0

Little example to convert


128+32 8+4 Decimal to binary
128+32+8+4 =172

128 64 32 16 8 4 2 1

0 0 0 1 1 1 1 0

16+8 4+4

16+8+4+2 =30

128 64 32 16 8 4 2 1
0 0 0 1 1 1 1 0
3. Now, calculate number of (1) of subnet mask in host.

NETWORK HOST

172. 30. 1. 33.

10101100 00011110 00000001 00100001

255. 255 255 224.

11111111 11111111 11111111 111 00000

Formula of
Number of (1) =11 bits 2 power to get
the answer.
4. Number of subnet ANSWER =2048

5. Then, calculate number of (0) on subnet mask in host.

NETWORK HOST

172. 30. 1. 33.

10101100 00011110 00000001 00100001

255. 255 255 224.

11111111 11111111 11111111 111 00000

Number of (0) =5 bits

6. Usable host per subnet ANSWER : =32-2=30


7. To solve the SUBNET IP ADDRESS.

10101100 00011110 00000001 00100001

11111111 11111111 11111111 00100000 Change the binary


10101100 00011110 00000001 00100000 number to decimal with
calculator of hand
write.

172 30 1 32

THE SUBNET ANSWER = 172.30.1.32

8. Take a BINARY FIRST HOST IN subnet mask.

10101100 00011110 00000001 00100000 Binary of ip address.

00000001 Add a binary formula to get


the subnet address.
10101100 00011110 00000001 00100001

Change the binary


172 30 1 1 number to decimal with
calculator of hand
FIRST HOST ANSWER =172.30.1.33
write.
In decimal calculate :-

172 30 1 32

172 30 1 33 = 172.30.1.33
9. Solve the LAST HOST IN SUBNET.

10101100 00011110 00000001 00011110 Binary of ip address.

00100000 Binary of usable host

10101100 00011110 00000001 00111110

Last host subnet in decimal


172 30 1 62

LAST HOST ANSWER =172.30.1.62

In decimal calculate:-

172 30 1 33 The origin of number ip


address
32

172 30 1 62 =172.30.1.62

10.Solve the BROADCAST IN SUBNET.

10101100 00011110 00000001 00111110 Binary of last host mask.

00000001 Formula Binary of


broadcast subnet
10101100 00011110 00000001 0011111

Decimal of broadcast
172 30 1 63
number
BROADCAST ANSWER = 172.30.1.63

In decimal calculate :-

172 30 1 62

172 30 1 63 = 172.30.1.63
CALCULATE THE IP ADDRESS

1 HOST IP ADDRESS 192.192.10.234


2 SUBNET MASK 255.255.255.128
3 NUMBER OF SUBNET BITS 1 BITS
4 NUMBER OF SUBNET =2
5 NUMBER OF HOST BITS PER SUBNET 7 BITS
6 NUMBER OF USABLE HOSTS PER SUBNET =128-2=126
7 SUBNET ADDRESS FOR THIS IP ADDRESS 192.192.10.128
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET 192.192.10.129
9 IP ADDRESS OF LAST ON THIS SUBNET 192.192.10.254
10 BROADCAST ADDRESS FOR THIS SUBNET 192.192.10.255

To know the class of ip address

NETWORK HOST

CLASS A : 0-127 1 3
CLASS B : 128-191 2 2
3 1
CLASS C : 192-223

PROBLEM 3

1. 192. 192. 10. 234 IP ADDRESS

2. 255. 255. 255. 128 SUBNET MASK

Decide the class of problem.

To know what of the class 192. 192 .10. 234


ip address.(class c) 255. 255. 255. 128
Decide the network and host.

NETWORK HOST
The network and host have a
192. 192. 10. 234 different type of class

255. 255. 255 128

Convert the decimal to binary number.


Can use a
192. 192. 10. 234.
calculator or
hand drawing

11000000 1100000 00001010 11101010

255. 255 255 128

11111111 11111111 1111111 10000000

In hand write

128 64 32 16 8 4 2 1

1 1 0 0 0 0 0 0

Little example to convert


128+64 Decimal to binary
128+64=192

128 64 32 16 8 4 2 1

0 0 0 0 1 0 1 0

8+2

8+2 =10

128 64 32 16 8 4 2 1
0 0 0 1 1 1 1 0
3. Now, calculate number of (1) of subnet mask in host.

NETWORK HOST

192. 192. 10. 234.

11000000 11000000 00001010 1110101

255. 255 255 128

11111111 11111111 11111111 10000000

Formula of
Number of (1) =1 bits 2 power to get
the answer.
4. Number of subnet ANSWER =2

5. Then, calculate number of (0) on subnet mask in host.

NETWORK HOST

192. 192 10. 234.

11000000 1100000 00001010 1110101

255. 255 255 128.

11111111 11111111 11111111 1 0000000

Number of (0) =7 bits

6. Usable host per subnet ANSWER : =128-2=126


7. To solve the SUBNET IP ADDRESS.

1100000 1100000 000001010 1110101

11111111 11111111 11111111 1000000 Change the binary


11000000 1100000 00001010 10000000 number to decimal with
calculator of hand
write.

192 192 10 128

THE SUBNET ANSWER = 192.192.10.128

8. Take a BINARY FIRST HOST IN subnet mask.

1100000 1100000 00001010 1110101 Binary of ip address.

00000001 Add a binary formula to get


the subnet address.
1100000 1100000 00001010 1000000

Change the binary


192 192 10 129 number to decimal with
calculator of hand
FIRST HOST ANSWER =192.192.10.129
write.
In decimal calculate :-

192 192 10 128

192 192 10 129 = 192.192.10.129


9. Solve the LAST HOST IN SUBNET.

11000000 11000000 00001010 10000000 Binary of ip address.

011111110 Binary of usable host

11000000 11000000 00001010 10011010

Last host subnet in decimal


192 192 10 254

LAST HOST ANSWER =192.192.10.254

In decimal calculate:-

192 192 10 128 The origin of number ip


address
126

192 192 10 254

10.Solve the BROADCAST IN SUBNET.

11000000 11000000 00001010 10011010 Binary of last host mask.

00000001 Formula Binary of


broadcast subnet
11000000 1100000 00001010 11111111

Decimal of broadcast
192 192 10 255
number
BROADCAST ANSWER = 192.192.10.255

In decimal calculate :-

1792 192 10 254

192 192 10 255 = 192.192.10.255


CALCULATE THE IP ADDRESS

1 HOST IP ADDRESS 192.168.3.219


2 SUBNET MASK 255.255.255.192
3 NUMBER OF SUBNET BITS 2 BITS
4 NUMBER OF SUBNET =4
5 NUMBER OF HOST BITS PER SUBNET 6 BITS
6 NUMBER OF USABLE HOSTS PER SUBNET =64-2=62
7 SUBNET ADDRESS FOR THIS IP ADDRESS 192.168.3.192
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET 192.168.3.193
9 IP ADDRESS OF LAST ON THIS SUBNET 192.168.3.254
10 BROADCAST ADDRESS FOR THIS SUBNET 192.168.3.255

To know the class of ip address

NETWORK HOST

CLASS A : 0-127 1 3
CLASS B : 128-191 2 2
3 1
CLASS C : 192-223

PROBLEM 4

1. 192. 168. 3. 219 IP ADDRESS

2. 255. 255. 255. 192 SUBNET MASK

Decide the class of problem.

To know what of the class 192. 168 . 3. 219


ip address.(class c) 255. 255. 255. 192
Decide the network and host.

NETWORK HOST
The network and host have a
192. 168. 3 219 different type of class

255. 255. 255 192

Convert the decimal to binary number.


Can use a
192. 168. 3 219.
calculator or
hand drawing

11000000 10101000 00000011 11011011

255. 255 255 192

11111111 11111111 1111111 11000000

In hand write

128 64 32 16 8 4 2 1

1 1 0 0 0 0 0 0

Little example to convert


128+64 Decimal to binary
128+64=192

128 64 32 16 8 4 2 1

0 0 0 0 0 0 1 1

2+1

2+1 =3

128 64 32 16 8 4 2 1
0 0 0 1 1 1 1 0
3. Now, calculate number of (1) of subnet mask in host.

NETWORK HOST

192. 168. 3. 219.

11000000 10101000 00000011 11011011

255. 255 255 192

11111111 11111111 11111111 110000000

Formula of
Number of (1) =2 bits 2 power to get
the answer.
4. Number of subnet ANSWER =4

5. Then, calculate number of (0) on subnet mask in host.

NETWORK HOST

192. 168 3. 219

11000000 10101000 00000011 11011011

255. 255 255 192

11111111 11111111 11111111 11 0000000

Number of (0) =6 bits

6. Usable host per subnet ANSWER : =64-2=62


7. To solve the SUBNET IP ADDRESS.

1100000 10101000 00000011 11011011

11111111 11111111 11111111 11000000 Change the binary


11000000 10101000 00000011 11000000 number to decimal with
calculator of hand
write.

192 168 3 192

THE SUBNET ANSWER = 192.168.3.192

8. Take a BINARY FIRST HOST IN subnet mask.

1100000 10101000 00000011 11011011 Binary of ip address.

00000001 Add a binary formula to get


the subnet address.
1100000 1100000 00001010 11000001

Change the binary


192 168 3 193 number to decimal with
calculator of hand
FIRST HOST ANSWER =192.168.3.193
write.
In decimal calculate :-

192 168 3 192

192 168 3 193 = 192.168.3.193


9. Solve the LAST HOST IN SUBNET.

11000000 10101000 00000011 11011011 Binary of ip address.

00111110 Binary of usable host

11000000 10101000 00000011 11111110

Last host subnet in decimal


192 168 3 254

LAST HOST ANSWER =192.168.3.254

In decimal calculate:-

192 168 3 192 The origin of number ip


address
62

192 168 3 254

10.Solve the BROADCAST IN SUBNET.

11000000 10101000 00000011 11011011 Binary of last host mask.

00000001 Formula Binary of


broadcast subnet
11000000 10101000 00000011 11111111

Decimal of broadcast
192 168 3 255
number
BROADCAST ANSWER = 192.168.3.255

In decimal calculate :-

1792 168 3 254

192 168 3 255 = 192.168.3.255


CALCULATE THE IP ADDRESS

1 HOST IP ADDRESS 192.168.3.219


2 SUBNET MASK 255.255.255.252
3 NUMBER OF SUBNET BITS 6 BITS
4 NUMBER OF SUBNET = 64
5 NUMBER OF HOST BITS PER SUBNET 2 BITS
6 NUMBER OF USABLE HOSTS PER SUBNET =4-2=2
7 SUBNET ADDRESS FOR THIS IP ADDRESS 192.168.3.216
8 IP ADDRESS OF FIRST HOST ON THIS SUBNET 192.168.3.217
9 IP ADDRESS OF LAST ON THIS SUBNET 192.168.3.218
10 BROADCAST ADDRESS FOR THIS SUBNET 192.168.3.219

To know the class of ip address

NETWORK HOST

CLASS A : 0-127 1 3
CLASS B : 128-191 2 2
3 1
CLASS C : 192-223

PROBLEM 5

1. 192. 168. 3. 219 IP ADDRESS

2. 255. 255. 255. 252 SUBNET MASK

Decide the class of problem.

To know what of the class 192. 168 . 3. 219


ip address.(class c) 255. 255. 255. 252
Decide the network and host.

NETWORK HOST
The network and host have a
192. 168. 3 219 different type of class

255. 255. 255 252

Convert the decimal to binary number.


Can use a
192. 168. 3 219.
calculator or
hand drawing

11000000 10101000 00000011 11011011

255. 255 255 252

11111111 11111111 1111111 11111100

In hand write

128 64 32 16 8 4 2 1

1 1 0 0 0 0 0 0

Little example to convert


128+64 Decimal to binary
128+64=192

128 64 32 16 8 4 2 1

0 0 0 0 0 0 1 1

2+1

2+1 =3

128 64 32 16 8 4 2 1
0 0 0 1 1 1 1 0
3. Now, calculate number of (1) of subnet mask in host.

NETWORK HOST

192. 168. 3. 219.

11000000 10101000 00000011 11011011

255. 255 255 252

11111111 11111111 11111111 11111100

Formula of
Number of (1) =6 bits 2 power to get
the answer.
4. Number of subnet ANSWER =64

5. Then, calculate number of (0) on subnet mask in host.

NETWORK HOST

192. 168 3. 219

11000000 10101000 00000011 11011011

255. 255 255 252

11111111 11111111 11111111 11111100

Number of (0) =2 bits

6. Usable host per subnet ANSWER : =4-2=2


7. To solve the SUBNET IP ADDRESS.

1100000 10101000 00000011 11011011

11111111 11111111 11111111 11111100 Change the binary


11000000 10101000 00000011 11011000 number to decimal with
calculator of hand
write.

192 168 3 216

THE SUBNET ANSWER = 192.168.3.216

8. Take a BINARY FIRST HOST IN subnet mask.

1100000 10101000 00000011 11011000 Binary of ip address.

00000001 Add a binary formula to get


the subnet address.
1100000 1100000 00001010 11011001

Change the binary


192 168 3 217 number to decimal with
calculator of hand
FIRST HOST ANSWER =192.168.3.217
write.

In decimal calculate :-

192 168 3 216

192 168 3 217 = 192.168.3.217


9. Solve the LAST HOST IN SUBNET.

11000000 10101000 00000011 11011000 Binary of ip address.

00000010 Binary of usable host

11000000 10101000 00000011 11011010

Last host subnet in decimal


192 168 3 218

LAST HOST ANSWER =192.168.3.254

In decimal calculate:-

192 168 3 216 The origin of number ip


address
2

192 168 3 218

10.Solve the BROADCAST IN SUBNET.

11000000 10101000 00000011 11011010 Binary of last host mask.

00000001 Formula Binary of


broadcast subnet
11000000 10101000 00000011 11011011

Decimal of broadcast
192 168 3 219
number
BROADCAST ANSWER = 192.168.3.255

In decimal calculate :-

1792 168 3 218

192 168 3 219 = 192.168.3.219

Anda mungkin juga menyukai