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
other information about the ip address such as :

Network address
Network Broadcast Address
Total Number of host Bits
Number of Hosts

Translate host IP Addressand network mask into binary notation.


Convert the Host ip address and network mask to binary

Problem 1
Host Ip Address
Network Mask
Network Address
Network Broadcast Address
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
Host Ip Address

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

Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Host

Determine the Network Address


Perform a bit-wise AND operation on the IP address and the subnet
mask.
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
PROBLEM 1 Ip Address.
172
IP Address
Subnet Mask
Network Address

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

Determine the broadcastaddress for the network address


172
IP Address

10101100

Subnet Mask

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
address , or the all 1st Address , Broadcast address )

Problem 2
Host Ip Address
Network Mask
Network Address
Network Broadcast Address
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
Host Ip Address

10101100.00011110.00000001.00100
001
11111111.11111111.11111111.00000
000
10101100.00011110.00000001.
00100001
10101100.00011110.00000001.11111
111
8
256

Network Mask
Network Address
Network Broadcast Address
Total Number of Host bits
Number of Host

Determine the Network Address


172
IP Address

30

10101100

Subnet Mask

00011110

11111111

Network Address

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

Determine the broadcastaddress for the network address


172
IP Address

10101100

Subnet Mask

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
address , or the all 1st Address , Broadcast address )

Problem 3
Host Ip Address
Network Mask
Network Address
Network Broadcast Address
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
Host Ip Address

11000000.10101000.00001010.11101
010
11111111.11111111.11111111.00000
000
11000000.10101000.00001010.11101
010
11000000.10101000.00001010.11111
111
8
256

Network Mask
Network Address
Network Broadcast Address
Total Number of Host bits
Number of Host
192
IP Address

168

11000000

Subnet Mask

10101000

11111111

Network Address

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

Determine the broadcastaddress for the network address


192

168

10

234
IP Address

11000000

Subnet Mask

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
address , or the all 1st Address , Broadcast address )

Problem 4
Host Ip Address
Network Mask
Network Address
Network Broadcast Address
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
Host Ip Address

10101100.00010001.01100011.01000
111
11111111.11111111.11111111.00000
000
10101100.00010001.01100011.01000
111
10101100.00010001.01100011.01000
111
16
65536

Network Mask
Network Address
Network Broadcast Address
Total Number of Host bits
Number of Host

Determine the Network Address


172
IP Address
Subnet Mask
Network Address

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

Determine the broadcastaddress for the network address


172
IP Address
Subnet Mask

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
address , or the all 1st Address , Broadcast address )

Problem 5
Host Ip Address
Network Mask
Network Address
Network Broadcast Address
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
Host Ip Address

11000000.10101000.00000011.11011
011
11111111.11111111.00000000.00000
000
11000000.10101000.00001010.11101
010
11000000.10101000.00001010.11111
111
16
65536

Network Mask
Network Address
Network Broadcast Address
Total Number of Host bits
Number of Host

192
IP Address
Subnet Mask
Network Address

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

Determine the broadcastaddress for the network address


192
IP Address
Subnet Mask

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
address , or the all 1st Address , Broadcast address )

Problem 6
Host Ip Address
Network Mask
Network Address
Network Broadcast Address
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
Host Ip Address

11000000.10101000.00000011.11011
011
11111111.11111111.11111111.11100
000
11000000.10101000.00001010.11101
010
11000000.10101000.00001010.11111
111
5
32

Network Mask
Network Address
Network Broadcast Address
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

Determine the broadcastaddress for the network address


192
IP Address

11000000

Subnet Mask

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
32 2 = 30 ( Address that cannot use the all Os Address , Network address
, or the all 1st Address , Broadcast address )