assignment networking fundamentals - task 2
TRANSCRIPT
-
7/24/2019 Assignment Networking Fundamentals - Task 2
1/25
Assignment IP Address
Problem 1
IP Address - 172.30.1.33
Network Mask - 255.255.0.0
Network Address - ?
Change IP Address and Network Mask into Binary Number
IP Address, 172 = 10101100, 30 = 00011110, 1 = 00000001, 33 = 00100001
By using Short Division by 2 with remainder you can convert a decimal number into binary number,
take the binary number from bottom to up.
172 / 2 = 86 (0) 30 / 2 = 15 (0) 1 / 2 = 0.5 (1) 33 / 2 = 16.5 (1)
86 / 2 = 43 (0) 15 / 2 = 7.5 (1) 16 / 2 = 8 (0)
43 / 2 = 21.5 (1) 7 / 2 = 3.5 (1) 8 / 2 = 4 (0)
21 / 2 = 10.5 (1) 3 / 2 = 1.5 (1) 4 / 2 = 2 (0)
10 / 2 = 5 (0) 1 / 2 = 0.5 (1) 2 / 2 = 0 (0)
5 / 2 = 2.5 (1)
2 / 2 = 1 (0)
1 / 2 = 0.5 (1)
-
7/24/2019 Assignment Networking Fundamentals - Task 2
2/25
Network Mask, 255 = 11111111, 255 = 11111111, 0 = 00000000, 0 = 00000000
255 / 2 = 127.5 (1)
127 / 2 = 63.5 (1)
63 / 2 = 31.5 (1)
31 / 2 = 15.5 (1)
15 / 2 = 7.5 (1)
7 / 2 = 3.5 (1)
3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1)
Inverse Number of Network Mask -> 00000000.00000000.11111111.11111111
Inverse Number is when you change 0 to 1 and 1 to 0.
Network Mask 11111111 11111111 00000000 00000000
Inverse
Network Mask
00000000 00000000 11111111 11111111
And then do Logical AND Gate between 2 binary number, whereas;
1 AND 1 = 1
1 AND 0 = 0
0 AND 0 = 0
IP Address
X
10101100 00011110 00000001 00100001
Network Mask 11111111 11111111 00000000 00000000
Network
Address
10101100 00011110 00000000 00000000
-
7/24/2019 Assignment Networking Fundamentals - Task 2
3/25
Convert the binary number into decimal to get the Network Address
10101100 = 172, 00011110 = 30, 00000000 = 0, 0000000 = 0
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 1 0 0
128+ 0+ 32+ 0+ 8+ 4+ 0+ 0
172
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 1 1 1 1 0
0+ 0+ 0+ 16+ 8+ 4+ 2+ 0
30
-
7/24/2019 Assignment Networking Fundamentals - Task 2
4/25
Network Broadcast Address - ?
Use the IP Address binary number and the Inverse Number of Network Mask
And then do Logical OR Gate between 2 binary number whereas;
1 OR 1 = 1
0 OR 1 = 1
0 OR 0 = 0
IP Address
+
10101100 00011110 00000001 00100001
Inverse
Network
Mask
00000000 00000000 11111111 11111111
Network
Broadcast
Address
10101100 00011110 11111111 11111111
Convert the binary number into decimal to get the Network Broadcast Address
10101100 = 172 , 00011110 = 30, 11111111 = 255, 11111111 = 255
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 1 0 0
128+ 0+ 32+ 0+ 8+ 4+ 0+ 0
172
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 1 1 1 1 0
0+ 0+ 0+ 16+ 8+ 4+ 2+ 030
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 1 1 1 1 1 1
128+ 64+ 32+ 16+ 8+ 4+ 2+ 1
255
-
7/24/2019 Assignment Networking Fundamentals - Task 2
5/25
Total Number of Host Bits - ?
You can get the Total Bits by counting the 1 in the Inverse Number of Network Mask
00000000.00000000.11111111.11111111 (Inverse Number of Network Mask)
We have 16 1
Number of Host - ?
FORMULA : 2n- 2 = number of host (n = total number of host bits)
2162 = 65534
-
7/24/2019 Assignment Networking Fundamentals - Task 2
6/25
Problem 2
IP Address - 172.30.1.33
Network Mask - 255.255.255.0
Network Address - ?
Change IP Address and Network Mask into Binary Number
IP Address, 172 = 10101100, 30 = 00011110, 1 = 00000001, 33 = 00100001
By using Short Division by 2 with remainder you can convert a decimal number into binary number
172 / 2 = 86 (0) 30 / 2 = 15 (0) 1 / 2 = 0.5 (1) 33 / 2 = 16.5 (1)
86 / 2 = 43 (0) 15 / 2 = 7.5 (1) 16 / 2 = 8 (0)
43 / 2 = 21.5 (1) 7 / 2 = 3.5 (1) 8 / 2 = 4 (0)
21 / 2 = 10.5 (1) 3 / 2 = 1.5 (1) 4 / 2 = 2 (0)
10 / 2 = 5 (0) 1 / 2 = 0.5 (1) 2 / 2 = 1 (0)
5 / 2 = 2.5 (1) 1 / 2 = 0.5 (1)
2 / 2 = 1 (0)
1 / 2 = 0.5 (1)
Network Mask, 255 = 11111111, 255 = 11111111, 255 = 11111111, 0 = 00000000
255 / 2 = 127.5 (1)
127 / 2 = 63.5 (1)
63 / 2 = 31.5 (1)
31 / 2 = 15.5 (1)
15 / 2 = 7.5 (1)
7 / 2 = 3.5 (1)
3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1)
-
7/24/2019 Assignment Networking Fundamentals - Task 2
7/25
Inverse Number of Network Mask -> 00000000.00000000.00000000.11111111
Network Mask 11111111 11111111 11111111 00000000
InverseNetwork Mask 00000000 00000000 00000000 11111111
And then do Logical AND Gate between 2 binary number, whereas;
1 AND 1 = 1
1 AND 0 = 0
0 AND 0 = 0
IP Address
X
10101100 00011110 00000001 00100001
Network Mask 11111111 11111111 11111111 00000000
Network
Address
10101100 00011110 00000001 00000000
Convert the binary number into decimal to get the Network Address
10101100 = 172, 00011110 = 30, 00000001 = 1, 0000000 = 0
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 1 0 0
128 + 0+ 32 + 0+ 8 + 4+ 0+ 0
172
2
7
= 128 2
6
= 64 2
5
= 32 2
4
= 16 2
3
= 8 2
2
= 4 2
1
= 2 2
0
= 10 0 0 1 1 1 1 0
0 + 0 + 0 + 16 + 8 + 4 + 2 + 0
30
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 0 0 0 0 1
0+ 0+ 0+ 0+ 0+ 0+ 0+ 1
1
-
7/24/2019 Assignment Networking Fundamentals - Task 2
8/25
Network Broadcast Address - ?
Use the IP Address binary number and the Inverse Number of Network Mask
And then do Logical OR Gate between 2 binary number whereas;
1 OR 1 = 1
0 OR 1 = 1
0 OR 0 = 0
IP Address
+
10101100 00011110 00000001 00100001
Inverse
NetworkMask
00000000 00000000 00000000 11111111
Network
Broadcast
Address
10101100 00011110 00000001 11111111
Convert the binary number into decimal to get the Network Broadcast Address
10101100 = 172, 00011110 = 30, 00000001 = 1, 11111111 = 255
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 1 0 0
128 + 64+ 32 + 0+ 8 + 4+ 0+ 0+
172
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 1 1 1 1 0
0+ 0+ 0+ 16 + 8 + 4 + 2+ 0
30
-
7/24/2019 Assignment Networking Fundamentals - Task 2
9/25
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 0 0 0 0 1
0 + 0 + 0 + 0 + 0 + 0 + 0 + 1
1
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 1 1 1 1 1 1
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1
255
Total Number of Host Bits - ?
You can get the Total Bits by counting the 1 in theInverse Number of Network Mask
00000000.00000000.00000000.11111111
We have 8 1
Number of Host - ?
By using the formula 2n
- 2 = number of host (n = total number of host bits)
282 = 254
-
7/24/2019 Assignment Networking Fundamentals - Task 2
10/25
Problem 3
IP Address = 192.168.10.234
Network Mask = 255.255.255.0
Network Address = ?
IP Address, 192 = 11000000, 168 = 10101000, 10 = 00001010, 234 = 11101010
192 / 2 = 96 (0) 168 / 2 = 84 (0) 10 / 2 = 5 (0) 234 / 2 = 117 (0)
96 / 2 = 48 (0) 84 / 2 = 42 (0) 5 / 2 = 2.5 (1) 117 / 2 = 58.5 (1)
48 / 2 = 24 (0) 42 / 2 = 21 (0) 2 / 2 = 1 (0) 58 / 2 = 29 (0)
24 / 2 = 12 (0) 21 / 2 = 10.5 (1) 1 / 2 = 0.5 (1) 29 / 2 = 14.5 (1)
12 / 2 = 6 (0) 10 / 2 = 5 (0) 14 / 2 = 7 (0)
6 / 2 = 3 (0) 5 / 2 = 2.5 (1) 7 / 2 = 3.5 (1)
3 / 2 = 1.5 (1) 2 / 2 = 1 (0) 3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1) 1 / 2 = 0.5 (1) 1 / 2 = 0.5 (1)
Network Mask, 255 = 11111111, 255 = 11111111, 255 = 11111111, 0 = 00000000
255 / 2 = 127.5 (1)
127 / 2 = 63.5 (1)
63 / 2 = 31.5 (1)
31 / 2 = 15.5 (1)
15 / 2 = 7.5 (1)
7 / 2 = 3.5 (1)
3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1)
-
7/24/2019 Assignment Networking Fundamentals - Task 2
11/25
Inverse Number of Network Mask -> 00000000.00000000.00000000.11111111
Network Mask 11111111 11111111 11111111 00000000
InverseNetwork Mask 00000000 00000000 00000000 11111111
And then do Logical AND Gate between 2 binary number, whereas;
1 AND 1 = 1
1 AND 0 = 0
0 AND 0 = 0
IP Address
X
11000000 10101000 00001010 11101010
Network Mask 11111111 11111111 11111111 00000000
Network
Address
11000000 10101000 00001010 00000000
11000000 = 192, 10101000 = 168, 00001010 = 10, 00000000 = 0
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 0 0 0 0 0 0
128+ 64+ 0 0 0 0 0 0
192
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 0 0 0
128+ 0+ 32+ 0+ 8+ 0+ 0+ 0+168
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 0 1 0 1 0
0+ 0+ 0+ 0+ 8+ 0+ 2+ 0
10
-
7/24/2019 Assignment Networking Fundamentals - Task 2
12/25
Network Broadcast Address - ?
Use the IP Address binary number and the Inverse Number of Network Mask
And then do Logical OR Gate between 2 binary number whereas;
1 OR 1 = 1
0 OR 1 = 1
0 OR 0 = 0
IP Address
+
11000000 10101000 00001010 11101010
Inverse Network
Address
00000000 00000000 00000000 11111111
Network Broadcast
Address
11000000 10101000 00001010 11111111
11000000 = 192, 10101000 = 168, 00001010 = 10, 11111111 = 255
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 0 0 0 0 0 0
128+ 64+ 0+ 0+ 0+ 0+ 0+ 0
192
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 0 0 0
128+ 0+ 32+ 0+ 8+ 0+ 0+ 0
168
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 10 0 0 0 1 0 1 0
0+ 0+ 0+ 0+ 8+ 0+ 2+ 0
10
-
7/24/2019 Assignment Networking Fundamentals - Task 2
13/25
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 1 1 1 1 1 1
128+ 64+ 32+ 16+ 8+ 4+ 2+ 1
255
Total Number of Host Bits - ?
You can get the Total Bits by counting the 1 in the Inverse Number of Network Mask
00000000.00000000.00000000.11111111
We have 8 1
Number of Host - ?
By using the formula 2n- 2 = number of host (n = total number of host bits)
282 = 254
-
7/24/2019 Assignment Networking Fundamentals - Task 2
14/25
Problem 4
IP Address = 172.17.99.71
Network Mask = 255.255.0.0
Network Address - ?
Change IP Address and Network Mask into Binary Number
IP Address, 172 = 10101100, 17 = 00010001, 99 = 01100011, 71 = 01000111
By using Short Division by 2 with remainder you can convert a decimal number into binary number
172 / 2 = 86 (0) 17 / 2 = 8.5 (1) 99 / 2 = 49.5 (1) 71 / 2 = 35.5 (1)
86 / 2 = 43 (0) 8 / 2 = 4 (0) 49 / 2 = 24.5 (1) 35 / 2 = 17.5 (1)
43 / 2 = 21.5 (1) 4 / 2 = 2 (0) 24 / 2 = 12 (0) 17 / 2 = 8.5 (1)
21 / 2 = 10.5 (1) 2 / 2 = 1 (0) 12 / 2 = 6 (0) 8 / 2 = 4 (0)
10 / 2 = 5 (0) 1 / 2 = 0.5 (1) 6 / 2 = 3 (0) 4 / 2 = 2 (0)
5 / 2 = 2.5 (1) 3 / 2 = 1.5 (1) 2 / 2 = 1 (0)
2 / 2 = 1 (0) 1 / 2 = 0.5 (1) 1 / 2 = 0.5 (1)
1 / 2 = 0.5 (1)
Network Mask, 255 = 11111111, 255 = 11111111, 0 = 00000000, 0 = 00000000
255 / 2 = 127.5 (1)
127 / 2 = 63.5 (1)
63 / 2 = 31.5 (1)
31 / 2 = 15.5 (1)
15 / 2 = 7.5 (1)
7 / 2 = 3.5 (1)
3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1)
-
7/24/2019 Assignment Networking Fundamentals - Task 2
15/25
Inverse Number of Network Mask -> 00000000.00000000.11111111.11111111
Inverse Number is when you change 0 to 1 and 1 to 0.
Network Mask 11111111 11111111 00000000 00000000
Inverse
Network Mask
00000000 00000000 11111111 11111111
And then do Logical AND Gate between 2 binary number, whereas;
1 AND 1 = 1
1 AND 0 = 0
0 AND 0 = 0
IP Address
X
10101100 00010001 01100011 01000111
Network Mask 11111111 11111111 00000000 00000000
Network
Address
10101100 00010001 00000000 00000000
10101100 = 172, 00010001 = 17, 00000000 = 0, 00000000 = 0
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 1 0 0
128+ 0+ 32+ 0+ 8+ 4+ 0+ 0+
172
27
= 128 26
= 64 25
= 32 24
= 16 23
= 8 22
= 4 21
= 2 20
= 10 0 0 1 0 0 0 1
0+ 0+ 0+ 16+ 0 0 0 1
17
-
7/24/2019 Assignment Networking Fundamentals - Task 2
16/25
Network Broadcast Address - ?
Use the IP Address binary number and the Inverse Number of Network Mask
And then do Logical OR Gate between 2 binary number whereas;
1 OR 1 = 1
0 OR 1 = 1
0 OR 0 = 0
IP Address
+
10101100 00010001 01100011 01000111
Inverse
NetworkMask
00000000 00000000 11111111 11111111
Network
Broadcast
Address
10101100 00010001 11111111 11111111
10101100 = 172, 00010001 = 17, 11111111 = 255, 11111111 = 255
27
= 128 26
= 64 25
= 32 24
= 16 23
= 8 22
= 4 21
= 2 20
= 11 0 1 0 1 1 0 0
128+ 0+ 32+ 0+ 8+ 4+ 0+ 0+
172
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 1 0 0 0 1
0+ 0+ 0+ 16+ 0+ 0+ 0+ 1
17
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 1 1 1 1 1 1
128+ 64+ 32+ 16+ 8+ 4+ 2+ 1+
255
-
7/24/2019 Assignment Networking Fundamentals - Task 2
17/25
Total Number of Host Bits - ?
You can get the Total Bits by counting the 1 in the Inverse Number of Network Mask
00000000.00000000.11111111.11111111 (Inverse Number of Network Mask)
We have 16 1
Number of Host - ?
FORMULA : 2n- 2 = number of host (n = total number of host bits)
2162 = 65534
-
7/24/2019 Assignment Networking Fundamentals - Task 2
18/25
Problem 5
IP Address192.168.3.219
Network Mask255.255.0.0
Network Address = ?
IP Address, 192 = 11000000, 168 = 10101000, 3 = 00000011, 219 = 11011011
192 / 2 = 96 (0) 168 / 2 = 84 (0) 3 / 2 = 1.5 (1) 219 / 2 = 109.5 (1)
96 / 2 = 48 (0) 84 / 2 = 42 (0) 1 / 2 = 0.5 (1) 109 / 2 = 54.5 (1)
48 / 2 = 24 (0) 42 / 2 = 21 (0) 54 / 2 = 27 (0)
24 / 2 = 12 (0) 21 / 2 = 10.5 (1) 27 / 2 = 13.5 (1)
12 / 2 = 6 (0) 10 / 2 = 5 (0) 13 / 2 = 6.5 (1)
6 / 2 = 3 (0) 5 / 2 = 2.5 (1) 6 / 2 = 3 (0)
3 / 2 = 1.5 (1) 2 / 2 = 1 (0) 3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1) 1 / 2 = 0.5 (1) 1 / 2 = 0.5 (1)
Network Mask, 255 = 11111111, 255 = 11111111, 0 = 00000000, 0 = 00000000
255 / 2 = 127.5 (1)
127 / 2 = 63.5 (1)
63 / 2 = 31.5 (1)
31 / 2 = 15.5 (1)
15 / 2 = 7.5 (1)
7 / 2 = 3.5 (1)
3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1)
-
7/24/2019 Assignment Networking Fundamentals - Task 2
19/25
Inverse Number of Network Mask -> 00000000.00000000.11111111.11111111
Inverse Number is when you change 0 to 1 and 1 to 0.
Network Mask 11111111 11111111 00000000 00000000
Inverse
Network Mask
00000000 00000000 11111111 11111111
And then do Logical AND Gate between 2 binary number, whereas;
1 AND 1 = 1
1 AND 0 = 0
0 AND 0 = 0
IP Address
X
11000000 10101000 00000011 11011011
Network Mask 11111111 11111111 00000000 00000000
Network
Address
11000000 10101000 00000000 00000000
11000000 = 192, 10101000 = 168, 00000000 = 0, 00000000 = 0
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 0 0 0 0 0 0
128+ 64+ 0 0 0 0 0 0
192
27
= 128 26
= 64 25
= 32 24
= 16 23
= 8 22
= 4 21
= 2 20
= 11 0 1 0 1 0 0 0
128+ 0+ 32+ 0+ 8+ 0+ 0+ 0+
168
-
7/24/2019 Assignment Networking Fundamentals - Task 2
20/25
Network Broadcast Address - ?
Use the IP Address binary number and the Inverse Number of Network Mask
And then do Logical OR Gate between 2 binary number whereas;
1 OR 1 = 1
0 OR 1 = 1
0 OR 0 = 0
IP Address
+
11000000 10101000 00000011 11011011
Inverse
Network
Mask
00000000 00000000 11111111 11111111
Network
Broadcast
Address
11000000 10101000 11111111 11111111
11000000 = 192, 10101000 = 168, 11111111 = 255, 11111111 = 255
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 0 0 0 0 0 0
128+ 64+ 0 0 0 0 0 0
192
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 0 0 0
128+ 0+ 32+ 0+ 8+ 0+ 0+ 0+
168
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 1 1 1 1 1 1
128+ 64+ 32+ 16+ 8+ 4+ 2+ 1+
255
-
7/24/2019 Assignment Networking Fundamentals - Task 2
21/25
Total Number of Host Bits - ?
You can get the Total Bits by counting the 1 in the Inverse Number of Network Mask
00000000.00000000.11111111.11111111 (Inverse Number of Network Mask)
We have 16 1
Number of Host - ?
FORMULA : 2n- 2 = number of host (n = total number of host bits)
2162 = 65534
-
7/24/2019 Assignment Networking Fundamentals - Task 2
22/25
Problem 6
IP Address192.168.3.219
Network Mask255.255.255.224
Network Address = ?
IP Address, 192 = 11000000, 168 = 10101000, 3 = 00000011, 219 = 11011011
192 / 2 = 96 (0) 168 / 2 = 84 (0) 3 / 2 = 1.5 (1) 219 / 2 = 109.5 (1)
96 / 2 = 48 (0) 84 / 2 = 42 (0) 1 / 2 = 0.5 (1) 109 / 2 = 54.5 (1)
48 / 2 = 24 (0) 42 / 2 = 21 (0) 54 / 2 = 27 (0)
24 / 2 = 12 (0) 21 / 2 = 10.5 (1) 27 / 2 = 13.5 (1)
12 / 2 = 6 (0) 10 / 2 = 5 (0) 13 / 2 = 6.5 (1)
6 / 2 = 3 (0) 5 / 2 = 2.5 (1) 6 / 2 = 3 (0)
3 / 2 = 1.5 (1) 2 / 2 = 1 (0) 3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1) 1 / 2 = 0.5 (1) 1 / 2 = 0.5 (1)
Network Mask, 255 = 11111111, 255 = 11111111, 255 = 11111111, 224 = 11100000
255 / 2 = 127.5 (1) 224 / 2 = 112 (0)
127 / 2 = 63.5 (1) 112 / 2 = 56 (0)
63 / 2 = 31.5 (1) 56 / 2 = 28 (0)
31 / 2 = 15.5 (1) 28 / 2 = 14 (0)
15 / 2 = 7.5 (1) 14 / 2 = 7 (0)
7 / 2 = 3.5 (1) 7 / 2 = 3.5 (1)
3 / 2 = 1.5 (1) 3 / 2 = 1.5 (1)
1 / 2 = 0.5 (1) 1 / 2 = 0.5 (1)
-
7/24/2019 Assignment Networking Fundamentals - Task 2
23/25
Inverse Number of Network Mask -> 00000000.00000000.00000000.00011111
Inverse Number is when you change 0 to 1 and 1 to 0.
Network Mask 11111111 11111111 11111111 11100000
Inverse
Network Mask
00000000 00000000 00000000 00000000
And then do Logical AND Gate between 2 binary number, whereas;
1 AND 1 = 1
1 AND 0 = 0
0 AND 0 = 0
IP Address
X
11000000 10101000 00000011 11011011
Network Mask 11111111 11111111 11111111 11100000
Network
Address
11000000 10101000 00000011 11000000
11000000 = 192, 10101000 = 168, 00000011 = 3, 11000000 = 192
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 0 0 0 0 0 0
128+ 64+ 0 0 0 0 0 0
192
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 11 0 1 0 1 0 0 0
128+ 0+ 32+ 0+ 8+ 0+ 0+ 0
168
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 0 0 0 1 1
0+ 0+ 0+ 0+ 0+ 0+ 2+ 1
3
-
7/24/2019 Assignment Networking Fundamentals - Task 2
24/25
Network Broadcast Address - ?
Use the IP Address binary number and the Inverse Number of Network Mask
And then do Logical OR Gate between 2 binary number whereas;
1 OR 1 = 1
0 OR 1 = 1
0 OR 0 = 0
IP Address
+
11000000 10101000 00000011 11011011
Inverse
NetworkMask
00000000 00000000 00000000 00011111
Network
Broadcast
Address
11000000 10101000 00000011 11011111
11000000 = 192, 10101000 = 168, 00000011 = 3, 11011111 = 223
27
= 128 26
= 64 25
= 32 24
= 16 23
= 8 22
= 4 21
= 2 20
= 11 1 0 0 0 0 0 0
128+ 64+ 0 0 0 0 0 0
192
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 0 1 0 1 0 0 0
128+ 0+ 32+ 0+ 8+ 0+ 0+ 0
168
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
0 0 0 0 0 0 1 1
0+ 0+ 0+ 0+ 0+ 0+ 2+ 1
27= 128 26= 64 25= 32 24= 16 23= 8 22= 4 21= 2 20= 1
1 1 0 1 1 1 1 1
128+ 64+ 0+ 16+ 8+ 4+ 2+ 1
223
-
7/24/2019 Assignment Networking Fundamentals - Task 2
25/25
Total Number of Host Bits - ?
You can get the Total Bits by counting the 1 in the Inverse Number of Network Mask
00000000.00000000.00000000.00011111 (Inverse Number of Network Mask)
We have 5 1
Number of Host - ?
FORMULA : 2n- 2 = number of host (n = total number of host bits)
252 = 30