Task 2
Task 2
QUESTION
IP Address 172.25.114.250
Network Mask 255.255.0.0
Network Address 172.25.0.0
Network Broadcast Address 172.25.255.255
Total Number Of Host Bit 65534
Number Of Host 16
ANSWER
172 to Binary Number = 10101100
Calculate
172 2
86 2
43 2
21 2
10 2
52
22
12
Answer
86
43
21
10
5
2
1
0
Binary Number
0
0
1
1
0
1
0
1
25 to Binary Number = 00011001. You must put 0 to the front to make it become 8 digit
Calculate
25 2
12 2
62
32
12
25 2 = 12
12 2 = 6
6 2 =3
3 2 =1
1 2 =0
Answer
12
6
3
1
0
Binary Number
1
0
0
1
1
remainder = 1
remainder = 0
remainder = 0
remainder = 1
remainder = 1
Task 2 : Challenge
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
172.30.0.0
172.30.255.255
65534
16
Answer
172 to Binary Number is = 10101100
Calculate
172 2
86 2
43 2
21 2
10 2
52
22
12
Answer
86
43
21
10
5
2
1
0
Binary Number
0
0
1
1
0
1
0
1
30 to Binary Number =00011110 You must put 0 to the front to make it become 8 digit
Calculate
30 2
15 2
72
32
12
30 2 = 15
15 2 = 7
7 2 =3
3 2 =1
1 2 =0
Answer
15
7
3
1
0
Binary Number
0
1
1
1
1
remainder = 0
remainder = 1
remainder = 1
remainder = 1
remainder = 1
Host Bit
Total number of Host Bit .
255=11111111.11111111.00000000.00000000
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
Problem 2
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
Answer
172 to Binary Number is = 10101100
Calculate
172 2
86 2
43 2
21 2
10 2
52
22
12
Answer
86
43
21
10
5
2
1
0
Binary Number
0
0
1
1
0
1
0
1
30 to Binary Number =00011110 You must put 0 to the front to make it become 8 digit
Calculate
30 2
15 2
72
32
12
30 2 = 15
15 2 = 7
7 2 =3
3 2 =1
1 2 =0
Binary Number
0
1
1
1
1
remainder = 0
remainder = 1
remainder = 1
remainder = 1
remainder = 1
Answer
15
7
3
1
0
Answer
0
Binary Number
1
Host Bit
Total number of Host Bit .
255=11111111.11111111.11111111.00000000
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
Problem 3
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
524
8
Answer
192 to Binary Number is = 11000000
Calculate
192 2
96 2
48 2
24 2
12 2
62
32
12
Answer
96
48
24
12
6
3
1
0
Binary Number
0
0
0
0
0
0
1
1
Answer
84
42
21
10
5
2
1
0
Binary Number
0
0
0
1
0
0
0
1
Answer
5
2
1
0
Binary Number
0
1
0
1
( 192 . 168 . 10 . 0 )
Network Broadcast Address
Question :
To find the Network Broadcast Address , you need to convert the number of 0 to 1 . The
number of Network Broadcast Address is 10101100 . 00011001 . 11111111 , 11111111 . The
number of Network Broadcast Address just need to convert the 0 to 1 .
Example :
00000000 . 00000000 = 11111111 . 11111111 . After convert to 1 , you need to convert it to
standard number .
Answer :
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 .
255=11111111.11111111.11111111.00000000
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
Problem 4
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
65,534
16
Answer
172 to Binary Number is = 10101100
Calculate
172 2
86 2
43 2
21 2
10 2
52
22
12
Answer
86
43
21
10
5
2
1
0
Binary Number
0
0
1
1
0
1
0
1
Answer
8
4
2
1
0
Binary Number
1
0
0
0
1
Host Bit
Total number of Host Bit .
The total number of Host Bit is 510 .
Formula : 2n - 2
216 2 =
65,536 2 = 65,534
Number Of Host
Number of Host is 16 , the solution is like below .
32 16 = 16
Problem 5
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
192.168.3.219
255.255.0.0
192.168.0.0
192.168.255.255
524,286
13
Answer
192 to Binary Number is = 11000000
Calculate
192 2
96 2
48 2
24 2
12 2
62
32
12
Answer
96
48
24
12
6
3
1
0
Binary Number
0
0
0
0
0
0
1
1
Answer
84
42
21
10
5
2
1
0
Binary Number
0
0
0
1
0
0
0
1
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
Problem 6
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.192
192.168.3.223
5
30
Answer
192 to Binary Number = 11000000
Calculate
192 2
96 2
48 2
24 2
12 2
62
32
12
Answer
96
48
24
12
6
3
1
0
Binary Number
0
0
0
0
0
0
1
1
Answer
84
42
21
10
5
2
1
0
Binary Number
0
0
0
1
0
0
0
1
Answer
1
0
Binary Number
1
1
Answer
109
54
27
13
6
3
1
0
Binary Number
1
1
0
1
1
0
1
1
SUBNETTING
Problem 1
IP ADDRESS
SUBNET MASK
172.30.1.33
255.255.255.0
IP ADDRESS
172
10101110
11111111
255
SUBNET
MASK
30
00011110
11111111
255
1
00000001
11111111
255
33
00100001
00000000
0
10101110
172
00011110
30
00000001
1
00000000
0
Network = 10101110.00011110.00000001.00000000
=172.30.1.0
BROADCAST =replace the number 0 to number 1 appearing on network
address
NETWORK
BROADCAST
10101110
172
10101110
172
00011110
30
00011110
30
00000001
1
00000001
1
00000000
0
11111111
255
First Host = replace the number 0 be the number 1 at 32 bits in the broadcast
BROADCAST
10101110
00011110
00000001
11111111
10101110
00011110
00000001
00000001
Last Host = replace the number 0 be the number 1 at 17-31 bits in the first host
FIRST HOST
LAST HOST
172
10101110
172
10101110
30
00011110
30
00011110
1
00000001
1
00000001
1
00000001
254
11111110
RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADRESS FOR THIS SUBNET
172.30.1.33
255.255.255.0
8 BITS
28 =256
256
28 =256-2 =254
172.30.1.0
172.30.1.1
172.30.1.254
172.30.1.255
Problem 2
IP ADDRESS
SUBNET MASK
IP ADDRESS
SUBNET
MASK
172.30.1.33
255.255.255.252
172
10101110
11111111
255
30
00011110
11111111
255
1
00000001
11111111
255
33
00100001
11111100
255
10101110
172
00011110
30
00000001
1
00100000
32
Network = 10101110.00011110.00000001.00100000
=172.30.1.32
FIRST HOST =replace the number 0 to number 1 appearing on network address
NETWORK
FIRST HOST
10101110
172
10101110
172
00011110
30
00011110
30
00000001
1
00000001
1
00100000
32
00100001
33
LAST HOST = replace the number 0 to 1 at 32 on the host range subnet add
except on the last bit remains 0
NETWORK
LAST HOST
10101110
172
172
10101110
00011110
30
30
00011110
00000001
1
1
00000001
00000011
33
34
00000001
172
10101110
172
10101110
30
00011110
30
00011110
1
00000001
1
00000001
0
00000000
35
00000011
RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADRESS FOR THIS SUBNET
172.30.1.33
255.255.255.252
14 BITS
214 =16384
4
Problem 3
IP ADDRESS
SUBNET MASK
IP ADDRESS
SUBNET
MASK
192.192.10.234
255.255.255.0
192
11000000
11111111
255
192
11000000
11111111
255
10
00001010
11111111
255
234
11101010
00000000
0
11000000
192
11000000
192
00001010
10
00000000
0
Network = 11000000.11000000.00001010.00000000
=192.192.10.234
FIRST HOST =replace the number 0 to number 1 appearing on network address
NETWORK
FIRST HOST
11000000
192
11000000
192
11000000
192
11000000
192
00001010
10
00001010
10
00000000
0
00000001
1
LAST HOST = replace the number 0 to 1 at 32 on the host range subnet add
except on the last bit remains 0
NETWORK
LAST HOST
11000000
192
11000000
192
11000000
192
11000000
192
00001010
10
00001010
10
00000000
0
11111110
254
192
11000000
192
11000000
10
00001010
10
00001010
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADRESS FOR THIS SUBNET
192.192.10.234
255.255.255.0
8 BITS
BROADCAST
192
11000000
192
11000000
0
00000000
255
11111111
RESULT
28 =256
8
Problem 4
IP ADDRESS
SUBNET MASK
IP ADDRESS
SUBNET
MASK
172.17.99.71
255.255.0.0
172
10101100
11111111
255
17
00010001
11111111
255
99
01100011
00000000
0
71
01000111
00000000
0
=11111111.11111111.00000000.00000000
= 20 =1
Number of Hosts Bits per Subnet
=16 bits
Number of Usable Hosts per Subnet
=hosts =216 2 =65536-2 =65534
NETWORK
10101100
172
00010001
17
00000000
0
00000000
0
Network = 10101100.00010001.00000000.00000000
=172.17.0.0
FIRST HOST =replace the number 0 to number 1 appearing on network address
NETWORK
FIRST HOST
10101100
172
10101100
172
00010001
17
00010001
17
00000000
0
00000000
0
00000000
0
00000001
1
LAST HOST = replace the number 0 to 1 at 32 on the host range subnet add
except on the last bit remains 0
NETWORK
LAST HOST
10101100
172
10101100
172
00010001
17
00010001
17
00000000
0
11111111
0
00000000
0
11111110
254
172
10101100
172
10101100
17
00010001
17
00010001
0
00000000
255
11111111
RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
172.17.99.71
255.255.0.0
0 BITS
0
00000000
255
11111111
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
20 =1
172.17.0.0
172.17.0.1
172.17.255.254
172.17.255.255
16 BITS
Problem 5
IP ADDRESS
SUBNET MASK
IP ADDRESS
SUBNET
MASK
192.168.3.219
255.255.255.0
192
11000000
11111111
255
168
10101000
11111111
255
3
00000011
11111111
255
219
11011011
00000000
0
NETWORK
11000000
192
10101000
168
Network = 11000000.10101000.00000011.00000000
00000011
3
00000000
0
=192.168.3.0
FIRST HOST =replace the number 0 to number 1 appearing on network address
NETWORK
FIRST HOST
11000000
192
11000000
192
10101000
168
10101000
168
00000011
3
00000011
3
00000000
0
00000001
1
LAST HOST = replace the number 0 to 1 at 32 on the host range subnet add
except on the last bit remains 0
NETWORK
LAST HOST
11000000
192
11000000
192
10101000
168
10101000
168
00000011
3
00000011
3
00000000
0
11111110
254
192
11000000
192
11000000
168
10101000
168
10101000
3
00000011
3
00000011
0
00000000
255
11111111
RESULT
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADRESS FOR THIS SUBNET
192.168.3.219
255.255.255.0
8 BITS
28 =256
8 BITS
Problem 6
IP ADDRESS
SUBNET MASK
192.168.3.219
255.255.255.252
IP ADDRESS
SUBNET
MASK
192
11000000
11111111
255
168
10101000
11111111
255
3
00000011
11111111
255
219
11011011
11111100
252
NETWORK
11000000
192
10101000
168
00000011
3
11011000
216
Network = 11000000.10101000.00000011.00000000
=192.168.3.0
FIRST HOST =replace the number 0 to number 1 appearing on network address
NETWORK
FIRST HOST
11000000
192
11000000
192
10101000
168
10101000
168
00000011
3
00000011
3
11011000
216
11011001
217
LAST HOST = replace the number 0 to 1 at 32 on the host range subnet add
except on the last bit remains 0
NETWORK
LAST HOST
11000000
192
11000000
192
10101000
168
10101000
168
00000011
3
00000011
3
11011000
216
11011010
218
192
11000000
168
10101000
3
00000011
216
11011000
BROADCAST
192
11000000
168
10101000
3
00000011
HOST IP ADDRESS
SUBNET MASK
NUMBER OF SUBNET BITS
NUMBER OF SUBNET
NUMBER OF HOST BITS PER SUBNET
NUMBER OF USABLE HOSTS PER SUBNET
SUBNET ADDRESS FOR THIS IP ADDRESS
IP ADDRESS OF FIRST HOST ON THIS SUBNET
IP ADDRESS OF LAST HOST ON THIS SUBNET
BROADCAST ADRESS FOR THIS SUBNET
192.168.3.219
255.255.255.252
14 BITS
219
11011011
RESULT
214 =16384
2 BITS