You are on page 1of 13

Assisgment Sheet 1

Code / Course :KFC 2144 / Network Fundamental

Lecture :MOHD SHUKRI BIN MUHAMMAD HUSIN

Intruction :
When Given an Ip Address and network mask , you will be able to Determine

Total Number of host Bits
Number of Hosts

Problem 1
Total Number of host Bits
Number of Host

172.30.1.33
255.255.0.0
172.30.1.33
172.30.1.255
16
65536

Binary

10101100.00011110.00000001.00100
001
11111111.11111111.00000000.00000
000
10101100.00011110.00000001.
00100001
10101100.00011110.00000001.11111
111
2^16
65536

Total Number of Host Bits
Number of Host

Perform a bit-wise AND operation on the IP address and the subnet
Note: 1 AND 1 results in a 1;0 AND anything results in a 0
Express the result in dotted decimal notation

The result is the network address for this host IP address , Which is THE
172

10101100

30
00011110

11111111
10101100

1
00000001

11111111

00011110

33
00100001

00000000

00000000

00000000

00000000

Ini adalah Secara Manual Binary :172.30.1.33

2
2
2
2
2
2
2

17
2
86
43
21
10
5
2
1

0
0
1
1
0
1
0
1

2
2
2
2

3
0
1
5
7
3
1

2
2

2
2

1
1
1
1
1
1
1
1

0
0
1

3
3
1
6
8
4
2

1
0
0
0
0
1

172

10101100

30
00011110

11111111

1
00000001

11111111

33
00100001

00000000

00000000

Networ
k

Hos
t
By Countingthe number of host bits , e can determine the total number of usable
hostsfor this network.
Host bit : 8
Total Number of Hosts :
2^16 = 65536
65536 2 = 65534 ( Address that cannot use the all Os Address , Network

Problem 2
Total Number of Host Bits
Number of Host

172.30.1.33
255.255.255.0
172.30.1.33
172.30.1.255
8
256

Binary

10101100.00011110.00000001.00100
001
11111111.11111111.11111111.00000
000
10101100.00011110.00000001.
00100001
10101100.00011110.00000001.11111
111
8
256

Total Number of Host bits
Number of Host

172

30

10101100

00011110

11111111

10101100

33

00000001

11111111

00011110

00100001

00000000

00000000

00000000

00000000

Ini adalah Secara Manual Binary :2

172.30.1.33

2
2

2
2
2
2

17
2
86
43
21
10
5
2
1

0
0
1
1
0
1
0
1

2
2
2
2

3
0
1
5
7
3

1
1
1

2
2

1
1
1
1
1
1
1
1

0
0
0

3
3
1
6
8
4

1
0
0
0
0
1

2
2
2

172

10101100

30
00011110

11111111

Networ
k

1
00000001

11111111

33
00100001

00000000

00000000

Hos
t

By Countingthe number of host bits , e can determine the total number of usable
hostsfor this network.
Host bit : 8
Total Number of Hosts :
2^8 = 256
256 2 = 254( Address that cannot use the all Os Address , Network

Problem 3
Total Number of Host Bits
Number of Host

192.168.10.234
255.255.255.0
192.168.10.234
192.168.10.225
8
256

Binary

11000000.10101000.00001010.11101
010
11111111.11111111.11111111.00000
000
11000000.10101000.00001010.11101
010
11000000.10101000.00001010.11111
111
8
256

Total Number of Host bits
Number of Host
192

168

11000000

10101000

11111111

11000000

10
00001010

11111111

10101000

234

11101010

00000000

00001010

00000000

00000000

Ini adalah Secara Manual Binary :172.168.10.234

2
2
2
2
2
2

19
2
96
48
24
12
6
3
1

0
0
0
0
0
0
1
1

2
2
2
2
2
2
2

1
6
8
8
4
4
2
2
1

0
0
0
1
0
1
0
1

2
2
2

1
0
5
2
1

0
1
0
1

2
2
2
2
2

2
3
4
1
1
7
5
8
2
9

0
1
0
1
0
1
1
1

192

168

10

234

11000000

10101000

11111111

Networ
k

00001010

11111111

11101010

00000000

00000000

Hos
t

By Countingthe number of host bits , e can determine the total number of usable
hostsfor this network.
Host bit : 8
Total Number of Hosts :
2^8 = 256
256 2 = 254( Address that cannot use the all Os Address , Network

Problem 4
Total Number of Host Bits
Number of Host

172.17.99.71
255.255.255.0
172.17.99.71
172.17.99.255
16
65536

Binary

10101100.00010001.01100011.01000
111
11111111.11111111.11111111.00000
000
10101100.00010001.01100011.01000
111
10101100.00010001.01100011.01000
111
16
65536

Total Number of Host bits
Number of Host

172

17

10101100

00010001

11111111
10101100

99
01100011

11111111

00010001

71
01000111

00000000

00000000

00000000

00000000

Ini adalah Secara Manual Binary :172.17.99.71

2
2
2
2
2
2
2

17
2
86
43
21
10
5
2
1

0
0
1
1
0
1
0
1

2
2
2
2

1
7
8
4
2
1

1
0
0
0
1

2
2
2
2
2
2
2

9
9
4
9
2
4
1
2
6

1
1
0
0
0
1
1

2
2
2
2
2

7
1
3
5
1
7
8
4
2

1
1
1
0
0
0
1

172

10101100

17
00010001

11111111

Networ
k

99
01100011

11111111

71

01000111

00000000

00000000

Hos
t

By Countingthe number of host bits , e can determine the total number of usable
hostsfor this network.

Host bit : 8
Total Number of Hosts :
2^16 = 65536
65536 2 = 65534 ( Address that cannot use the all Os Address , Network

Problem 5
Total Number of Host Bits
Number of Host

192.168.3.219
255.255.0.0
192.168.3.219
192.168.3.255
16
65536

Binary

11000000.10101000.00000011.11011
011
11111111.11111111.00000000.00000
000
11000000.10101000.00001010.11101
010
11000000.10101000.00001010.11111
111
16
65536

Total Number of Host bits
Number of Host

192

11000000

168
10101000

11111111
11000000

00000011

11111111

10101000

3
11011011

00000000

00000011

219

00000000

00000000

Ini adalah Secara Manual Binary :192.168.3.219

2
2
2
2
2
2
2

19
2
96
48
24
12
6
3
1

0
0
0
0
0
0
1
1

2
2
2
2
2
2
2

1
6
8
8
4
4
2
2
1
1

0
0
0
1
0
1
0
1

3
1

1
1

2
2
2
2

219
109
54
27
13
6
3
1

1
1
0
1
1
0
1
1

192

11000000

168
10101000

11111111

Networ
k

00000011

11111111

11101010

00000000

Hos
t

219

00000000

By Countingthe number of host bits , e can determine the total number of usable
hostsfor this network.
Host bit : 8
Total Number of Hosts :
2^16 = 65536
65536 2 = 65534 ( Address that cannot use the all Os Address , Network

Problem 6
Total Number of Host Bits
Number of Host

192.168.3.219
255.255.225.224
192.168.3.219
192.168.3.255
5
32

Binary

11000000.10101000.00000011.11011
011
11111111.11111111.11111111.11100
000
11000000.10101000.00001010.11101
010
11000000.10101000.00001010.11111
111
5
32

Total Number of Host bits
Number of Host

Ini adalah Secara Manual Binary :192.168.3.219

2
2
2
2
2
2
2

19
2
96
48
24
12
6
3
1

0
0
0
0
0
0
1
1

2
2
2
2
2
2
2

1
6
8
8
4
4
2
2
1
1

0
0
0
1
0
1
0
1

3
1

1
1

2
2
2
2
2

219
109
54
27
13
6
3
1

1
1
0
1
1
0
1
1

192

11000000

168
10101000

11111111

Networ
k

00000011

11111111

219

11101010

00000000

00000000

Hos
t

By Countingthe number of host bits , e can determine the total number of usable
hostsfor this network.
Host bit : 5
Total Number of Hosts :
2^5 = 32