Task 2: Ip Address Classes

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

IP ADDRESS CLASSES

Task 2
Problem 1
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number Of Host Bits
Number Of Hosts

172.30.1.33
255.255.0.0

Network Address
172 to Binary Number is 10101100 , the solution is like below .
172 2 = 86 remainder = 0
86 2 = 43
remainder = 0
43 2 = 21
remainder = 1
21 2 = 10
remainder = 1
10 2 = 5
remainder = 0
5 2 =2
remainder = 1
2 2 =1
remainder = 0
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

30 to Binary Number is 000111110 , the solution is like below . You must put 0 to the
front to make it become 8 digit .
30 2 = 15
remainder = 0
15 2 = 7
remainder = 1
7 2 =3
remainder = 1
3 2 =1
remainder = 1
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

So , the Network Address is 10101100 . 00011110 . 00000000 . 00000000 ( 172 . 30 . 0 . 0


).
Network Broadcast Address
00000000 = 11111111
11111111 to standard number is 255 , the solution is like below .
( 1 x 20 ) + ( 1 x 2 1 ) + ( 1 x 2 2 ) + ( 1 x 2 3 ) + ( 1 x 2 4 ) + ( 1 x 2 5 ) + ( 1 x 2 6 ) + ( 1 x 2 7 ) +
( 1 x 28 ) =
= 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 = 255
So the standard number of Network Broadcast Address is 172 . 30 . 255 . 255

Host Bit
Total number of Host Bit .
The total number of Host Bit is 131070 .
Formula : 2n - 2
217 2 =
131072 2 = 131070
Number Of Host
32 17 = 15

Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number Of Host Bits
Number Of Hosts

Answer
172.30.1.33
255.255.0.0
172.30.0.0
172.30.255.255
131070
15

Problem 2
Host IP Address
Network Mask
Network Address
Network Broadcast Address

172.30.1.33
255.255.255.0

Total Number Of Host Bits


Number Of Hosts
Network Address
172 to Binary Number is 10101100 , the solution is like below .
172 2 = 86 remainder = 0
86 2 = 43
remainder = 0
43 2 = 21
remainder = 1
21 2 = 10
remainder = 1
10 2 = 5
remainder = 0
5 2 =2
remainder = 1
2 2 =1
remainder = 0
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

30 to Binary Number is 000111110 , the solution is like below . You must put 0 to the
front to make it become 8 digit .
30 2 = 15
remainder = 0
15 2 = 7
remainder = 1
7 2 =3
remainder = 1
3 2 =1
remainder = 1
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

1 to Binary Number is 00000001 , the solution is like below .


( 1 x 20 ) = 00000001

Put 0 before 1 to make it become 8 digit number .

So , the Network Address is 10101100 . 00011110 . 00000001 . 00000000 ( 172 . 30 . 1 . 0


).
Network Broadcast Address
00000000 = 11111111
11111111 to standard number is 255 , the solution is like below .
( 1 x 20 ) + ( 1 x 21 ) + ( 1 x 22 ) + ( 1x 23 ) + ( 1 x 24 ) + ( 1 x 25 ) + ( 1 x 26 ) + ( 1 x 27 ) +
( 1 x 28 ) =
= 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 = 255
So the standard number of Network Broadcast Address is 172 . 30 . 1 . 255
Host Bit
Total number of Host Bit .
The total number of Host Bit is 254 .
Formula : 2n - 2
28 2 =
256 2 = 254

Number Of Host
Number of Host is 24 , the solution is like below .
32 8 = 24
Answer
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number Of Host Bits
Number Of Hosts

172.30.1.33
255.255.255.0
172.30.1.0
172.30.1.255
254
24

Problem 3
Host IP Address
Network Mask
Network Address
Network Broadcast Address

192.168.10.234
255.255.255.0

Total Number Of Host Bits


Number Of Hosts
Network Address
192 to Binary Number is 11000000 , the solution is like below .
192 2 = 96 remainder = 0
96 2 = 48
remainder = 0
48 2 = 24
remainder = 0
24 2 = 12
remainder = 0
12 2 = 6
remainder = 0
6 2 =3
remainder = 0
3 2 =1
remainder = 1
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

168 to Binary Number is 10111000 , the solution is like below . You must put 0 to the
front to make it become 8 digit .
168 2 = 84 remainder = 0
84 2 = 42
remainder = 0
42 2 = 21
remainder = 0
21 2 = 10
remainder = 1
10 2 = 5
remainder = 1
52=2
remainder = 1
22=1
remainder = 0
12=0
remainder = 1

Then , we take the remainder number from down to up .

10 to Binary Number is 00001010 , the solution is like below .


10 2 = 5
52=2
22=1
12=0

remainder = 0
remainder = 1
remainder = 0
remainder = 1

Put 0 before 1 to make it become 8 digit number .

So , the Network Address is 11000000 . 10111000 . 00001010 . 00000000 ( 192 . 168 .


10 . 0 ) .

Network Broadcast Address


00000000 = 11111111
11111111 to standard number is 255 , the solution is like below .
( 1 x 20 ) + ( 1 x 21 ) + ( 1 x 22 ) + ( 1x 23 ) + ( 1 x 24 ) + ( 1 x 25 ) + ( 1 x 26 ) + ( 1 x 27 ) +
( 1 x 28 ) =

= 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 = 255
So the standard number of Network Broadcast Address is 192 . 168 . 10 . 255
Host Bit
Total number of Host Bit .
The total number of Host Bit is 510 .
Formula : 2n - 2
29 2 =
512 2 = 510
Number Of Host
Number of Host is 23 , the solution is like below .
32 9 = 23
Answer
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number Of Host Bits
Number Of Hosts

192.168.10.234
255.255.255.0
192.168.10.0
192.168.10.255
510
23

Problem 4
Host IP Address
Network Mass
Network Address
Network Broadcast Address

172.17.99.71
255.255.0.0

Total Number Of Host Bits


Number Of Hosts
Network Address
172 to Binary Number is 10101100 , the solution is like below .
172 2 = 86 remainder = 0
86 2 = 43
remainder = 0
43 2 = 21
remainder = 1
21 2 = 10
remainder = 1
10 2 = 5
remainder = 0
5 2 =2
remainder = 1
2 2 =1
remainder = 0
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

30 to Binary Number is 00010001 , the solution is like below . You must put 0 to the
front to make it become 8 digit .
17 2 = 8
remainder = 1
82=4
remainder = 0
4 2 =2
remainder = 0
2 2 =1
remainder = 0
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

So , the Network Address is 10101100 . 00010001 . 00000000 . 00000000 ( 172 . 17 . 0 . 0


).
Network Broadcast Address
00000000 = 11111111
11111111 to standard number is 255 , the solution is like below .
( 1 x 20 ) + ( 1 x 21 ) + ( 1 x 22 ) + ( 1x 23 ) + ( 1 x 24 ) + ( 1 x 25 ) + ( 1 x 26 ) + ( 1 x 27 ) +
( 1 x 28 ) =
= 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 = 255
So the standard number of Network Broadcast Address is 172 . 17 . 255 . 255

Host Bit
Total number of Host Bit .
The total number of Host Bit is 65534 .
Formula : 2n - 2
216 2 =
65536 2 = 65534

Number Of Host
Number of Host is 16 , the solution is like below .
32 16 = 16
Answer
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number Of Host bits
Number Of Hosts

172.17.99.71
255.255.0.0
172.17.0.0
172.17.255.255
65534
16

Problem 5
Host IP Address
Network Mask
Network Address

192.168.3.219
255.255.0.0

Network Broadcast Address


Total Number Of Host bits
Number Of Hosts
Network Address
192 to Binary Number is 11000000 , the solution is like below .
192 2 = 96 remainder = 0
96 2 = 48
remainder = 0
48 2 = 24
remainder = 0
24 2 = 12
remainder = 0
12 2 = 6
remainder = 0
6 2 =3
remainder = 0
3 2 =1
remainder = 1
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

168 to Binary Number is 10111000 , the solution is like below . You must put 0 to the
front to make it become 8 digit .
168 2 = 84 remainder = 0
84 2 = 42
remainder = 0
42 2 = 21
remainder = 0
21 2 = 10
remainder = 1
10 2 = 5
remainder = 1
52=2
remainder = 1
22=1
remainder = 0
12=0
remainder = 1

Then , we take the remainder number from down to up .

So , the Network Address is 11000000 . 10111000 . 00000000 . 00000000 ( 192 . 168 . 0 .


0).
Network Broadcast Address
00000000 = 11111111
11111111 to standard number is 255 , the solution is like below .
( 1 x 20 ) + ( 1 x 21 ) + ( 1 x 22 ) + ( 1x 23 ) + ( 1 x 24 ) + ( 1 x 25 ) + ( 1 x 26 ) + ( 1 x 27 ) +
( 1 x 28 ) =
= 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 = 255
So the standard number of Network Broadcast Address is 192 . 168 . 255 . 255

Host Bit
Total number of Host Bit .
The total number of Host Bit is 524286 .
Formula : 2n - 2

219 2 =
524288 2 = 524286
Number Of Host
Number of Host is 13 , the solution is like below .
32 19 = 13
Answer
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number Of Host bits
Number Of Hosts

Problem 6
Host IP Address
Network Mask

192.168.3.219
255.255.0.0
192.168.0.0
192.168.255.255
524286
13

192.168.3.219
255.255.255.224

Network Address
Network Broadcast Address
Total Number Of Host bits
Number Of Hosts
Network Address
192 to Binary Number is 11000000 , the solution is like below .
192 2 = 96 remainder = 0
96 2 = 48
remainder = 0
48 2 = 24
remainder = 0
24 2 = 12
remainder = 0
12 2 = 6
remainder = 0
6 2 =3
remainder = 0
3 2 =1
remainder = 1
1 2 =0
remainder = 1

Then , we take the remainder number from down to up .

168 to Binary Number is 10111000 , the solution is like below . You must put 0 to the
front to make it become 8 digit .
168 2 = 84 remainder = 0
84 2 = 42
remainder = 0
42 2 = 21
remainder = 0
21 2 = 10
remainder = 1
10 2 = 5
remainder = 1
52=2
remainder = 1
22=1
remainder = 0
12=0
remainder = 1

Then , we take the remainder number from down to up .

3 to binary number is 00000011 , the solution is like below . You must put 0 to the
front to make it become 8 digit .
32=1
12=0

remainder = 1
remainder = 1

Then , we take the remainder number from down to up .

219 to binary number is 11011011 , the solution is like below .


219 2 = 109
109 2 = 54
54 2 = 27
27 2 = 13
13 2 = 6
62=3
32=1
12=0

remainder = 1
remainder = 1
remainder = 0
remainder = 1
remainder = 1
remainder = 0
remainder = 1
remainder = 1

Then , we take the remainder number from down to up .


So , the Network Address is 11000000 . 10111000 . 11111111 . 11100000 ( 192 . 168 . 3 .
219 ) .

Network Broadcast Address


255 to binary number is 11111111 , the solution is like below .
( 1 x 20 ) + ( 1 x 21 ) + ( 1 x 22 ) + ( 1x 23 ) + ( 1 x 24 ) + ( 1 x 25 ) + ( 1 x 26 ) + ( 1 x 27 ) +
( 1 x 28 ) =
= 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 = 255
224 to binary number is 11100000 , the solution is like below .
224 2 = 112
112 2 = 56
56 2 = 28
28 2 = 14
14 2 = 7
72=3
32=1
12=0

remainder = 0
remainder = 0
remainder = 0
remainder = 0
remainder = 0
remainder = 1
remainder = 1
remainder = 1

Then , we take the remainder number from down to up .

So , 11100000 to standard number is 224 .


So the standard number of Network Broadcast Address is 192 . 168 . 255 . 224 .
Host Bit
Total number of Host Bit .
The total number of Host Bit is 30 .
Formula : 2n - 2
25 2 =
32 2 = 30
Number Of Host
Number of Host is 27 , the solution is like below .
32 5 = 27
Answer
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number Of Host bits
Number Of Hosts

192.168.3.219
255.255.255.224
192.168.3.219
192.168.255.224
30
27

You might also like