INSTITUT KEMAHIRAN MARA LUMUT
KFC 2044 NETWORK FAUNDAMENTAL
SYED MUHAMMAD ASYRAF BIN SYED MOKHTAR
950916-08-6449
1401124
EN.MOHD SHUKRI BIN MUHAMMAD HUSSIN
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
ASSIGMENT
KFC 2044 NETWORK FOUNDAMENTAL
TABLE OF CONTENTS
NO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
TITLE
IP ADDRESS
CLASSES
CALCULATION
PROBLEM 1
PROBLEM 2
PROBLEM 3
PROBLEM 4
PROBLEM 5
PROBLEM 6
SUBNETTIN
CALCULATION
PROBLEM 1
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
PROBLEM 2
PROBLEM 3
PROBLEM 4
PROBLEM 5
PROBLEM 6
PAGE
3-5
6
7
8
9
10
11
12
13
14
15
16
17
18
IP ADDRESS
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
IP ADDRESS CLASSES
STEP TO CALCULATE IP ADDRESS CLASSES
TASK 1 : For given ip address , Determine Network
Information
Given :
Host IP
Address
Network
Mask
172.25.114.250
255.255.0.0
(/16)
Find :
Network Address
172.25.114.25
0
172.25.255.25
5
16
Network Broadcast
Address
Total Number of Host
Bits
Number of Hosts
65534
STEP 1 : Tanslate host ip address and network mask into
binary notation
Convert the host IP Address and network mask to binary
DECIMAL
NUMBER (IP
ADDRESS)
128+32+8+4=1
72
16+8+1=25
00000000
00000000
172.30.0.0
27
26
25
24
22
21
20
12
8
1
0
1
1
64
32
16
0
0
1
1
1
0
1
1
Binar
y
0
1
1
1
Numb
er
1
1
1
1
1
0
1
1
0
0
1
0
1
1
STEP 2 : Determine
the network address
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
27
26 25 24
12
8
1
0
1
1
6
4
0
0
1
1
2
3
2
2
3 1 8 4
2 6
1 0 1 1
0 1 1 0
1 1 1 1
1 1 1 1
Binary number
0
0
1
1
04
1
1
1
HOW TO DETERMINE THE ID AND HOST ID AND HOST ID
NUMBER
Steps as follows :
1. Aware of Any IP Address Classes will we find the host, the aim is to
determind
the amount of net bits or id host id (a)
2. to know the subnet bits, can be determind by
2n = subnet
3. now that you know a lot of bits used subnet, then we find a lot of
bits used to calculated the number of host id, by the way : host id bits
minus the number of bits subnet
b = a-n
4 formulas total host id = 2b 2
okay, after knowing the steps needed to find and count the
number of host, it is time to find the answer
Q : IP Address : 192.168.1.0 subnet there are 4 diket : class C
JML bit host id = 8 bits
JML bit subnet : 2n = 4 , n = 2 bits
JML bit of waste : 8 -2 = 6 , then b = 6
Host bits : 216
Total number of host :
216 = 65 , 536
65 ,536 2 = 65 , 534
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
TASK 2 : CHALLENGE
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.0.0
172.30.255.255
65 , 536
216
NETWORK ADDRESS : 172.30.0.0
27
26
25
24
22
21
20
12
8
1
0
0
0
64
32
16
0
0
0
0
1
0
0
0
0
1
0
0
1 1
0
0
1 1
1
0
0 0
0
0
0 0
0
0
Binary Number
DECIMAL
NUMBER (IP
ADDRESS)
128+32+8+4
=172
16+4+2 = 30
0=0
0=0
172.30.0.0
NETWORK BROADCAST ADDRESS : 172.30.255.255
`27
26
25
24
20
12
8
1
0
1
6
4
0
0
1
3
2
1
0
1
1
6
0
1
1
1
1
1
1
1
1
0
1
1
0
0
1
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
DECIMAL NUMBER
(IP ADREESS)
128+32+8+4 =172
16+4+2 = 30
128+64+32+16+8+4+2+
1 = 255
128+64+32+16+8+4+2+
1 = 255
172.30.255.255
1 1 1 1
1
Binary Number
Host bits : 216
Total Number of host : 216 = 65,536
65,536 2 = 65,534
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.0.0
172.30.1.255
65,536
216
NETWORK ADDRESS : 172.30.0.0
`27
26
25
24
22
21
20
12
8
1
0
0
0
64
32
16
0
0
0
0
1
0
0
0
0 1 1 0
1 1 1 1
0 0 0 0
0 0 0 0
Binary Number
0
0
0
0
DECIMAL
NUMBER (IP
ADDRESS)
128+32+8+4
=172
16+4+2 = 30
0=0
0=0
172.30.0.0
NETWORK BROADCAST ADDRESS :172.30.1.255
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
`27
26
25
24
12
8
1
0
0
1
6
4
0
0
0
1
32
1 8
6
0 1
1 1
0 0
1 1
Binary
1
0
0
1
2
3
20
Host bits : 216
Total Number of host : 216
= 65,536
1 0
0
1 1
0
0 0
1
1 1
1
Number
65,536 2 = 65,534
PROBLEM 3
Host IP Address
Network Mask
Network Address
Network Broadcast
address
Total Number
Number Of Host
192.168.10.234
255.255.255.0
192.168.10.0
192.168.10.255
254
28
NETWORK ADDRESS : 192.30.10.0
`27
26
25
24
22
21
12
8
1
1
0
0
64
32
16
1
0
0
0
0
1
0
0
0 0 0 0
0 1 0 0
0 1 0 1
0 0 0 0
Binary Number
0
0
0
0
DECIMAL
NUMBER (IP
ADDRESS)
128+64+192
128+32+8=168
8+2=10
0=0
192.30.10.0
NETWORK BROADCAST ADDRESS : 192.168.10.255
`27
26
25
24
2
3
22
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
21
20
DECIMAL NUMBER
(IP ADDRESS)
128+64+192
128+32+8=168
8+2=10
8
128+64+32+16+8+2+
1=255
192.30.10.255
12
8
1
1
0
0
64
32
1
0
0
0
0
1
0
0
16
0 0 0 0
0 1 0 0
0 1 0 1
0 0 0 0
Binary Number
0
0
0
0
Host Bits : 28
Total Number Host: 28 : 256
:
256-2=254
PROBLEM 4
Host IP Address
Network Mask
Network Address
Network Broadcast
Address
Total Number Of Host
Bits
Number Of Bits
172.17.99.71
255.255.0.0
172.17.0.0
172.17.255.255
65534
216
NETWORK ADDRESS : 172.17.0.0
`27
26
25
24
22
21
20
12
8
1
0
0
0
64
32
16
0
0
0
0
1
0
0
0
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
DECIMAL NUMBER
(IP ADREESS)
128+32+8+4 =172
16+1 = 17
0=0
0=0
172.30.0.0
Binary Number
NETWORK BROADCAST ADDRESS : 172.17.255.255
`27
26
25
24
22
21
20
12
8
1
0
1
1
64
32
16
0
0
1
1
1
0
1
1
0 1 1 0
1 0 0 0
1 1 1 1
1 1 1 1
Binary Number
0
1
1
1
DECIMAL NUMBER
(IP ADREESS)
128+32+8+4 =172
16+1 = 17
128+64+32+16+8+4+2+1
=255
128+64+32+16+8+4+2+1
=255
172.17.255.255
Hots Bits : 216
Total Number Of Host : 216 = 65536
: 65536-2 = 65534
PROBLEM 5
Host IP Address
Network Mask
Network Address
Network Broadcast
Address
Total Number Of Host
Bits
Number Of Bits
192.168.3.219
255.255.0.0
192.168.0.0
192.168.255.255
65534
216
NETWORK ADDRES : 192.168.0.0
`27
26
25
24
22
21
12
8
64
32
16
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
DECIMAL
NUMBER (IP
ADDRESS)
128+64+192
128+32+8=16
8
0=0
0=0
192.30.0.0
10
1
1
0
0
1
0
0
0
0
1
0
0
0 0 0 0
0 1 0 0
0 0 0 0
0 0 0 0
Binary Number
0
0
0
0
NETWORK BROADCAST ADDRESS : 192.168.255.255
`27
26
25
24
22
21
12
8
1
1
1
1
64
32
16
DECIMAL NUMBER
(IP ADDRESS)
1
0
1
1
0
1
1
1
0 0 0 0
0 1 0 0
1 1 1 1
1 1 1 1
Binary Number
0
0
1
1
128+64+192
128+32+8=168
128+64+32+16+8+4
+2+1
128+64+32+16+8+4
+2+1
192.168.255.255
Hots Bits : 216
Total Number Of Host : 216 = 65536
: 65536-2 = 65534
PROBLEM 6
Host IP Address
Network Mask
Network Address
Network Broadcast
Address
Total Number Of Host
Bits
Number Of Bits
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
192.168.3.219
255.255.255.224
192.168.3.192
192.168.3.223
30
25
11
NETWORK ADDRESS : 192.168.3.219
`27
26
25
24
22
21
12
8
1
1
0
1
64
32
16
DECIMAL NUMBER
(IP ADDRESS)
1
0
0
1
0
1
0
0
0 0 0 0
0 1 0 0
0 0 0 1
1 1 0 1
Binary Number
0
0
1
1
128+64=192
128+32+8=168
2+1=3
128+64+16+8+2+1
=219
192.168.255.255
NETWORK BROADCAST ADDRESS : 192.168.3.223
`27
26
25
24
22
21
12
8
1
1
0
1
64
32
16
1
0
0
1
0
1
0
0
0 0 0 0
0 1 0 0
0 0 0 1
1 1 1 1
Binary Number
0
0
1
1
DECIMAL NUMBER
(IP ADDRESS)
128+64+192
128+32+8=168
2+1=3
128+64+16+8+4+2
+1
192.168.255.255
Hots Bits : 25
Total Number Of Host : 25 = 32
: 32-2 = 30
SUBNETTING
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
12
TASK 2
PROBLEM 1
Host IP Address
Subnet Mask
Number Of Subnet Bits
Number Of Subnet
Number of Host Bits Per
Subnet
Number Of Usable Host Per
Subnet
Subnet Address for This IP
Address
IP Address of First Host Of
Subnet
IP Address of Last Host on This
Subnet
Broadcast Address for this
subnet
172.30.1.33
255.255.255.0
8 bits
2^8 = 256
256 bits
2^8 = 256-2 = 254
172.30.1.0
172.30.1.1
172.30.1.254
172.30.1.255
NUMBER OF SUBNET BITS
172.30.1.33
255
255
255
0
11111111.11111111.11111111.00000000
Network : 2^8 = 256
Host
: 2^8 = 256-2 = 254
NUMBER OF HOST BITS PER SUBNET
8 bits
NUMBER OF USABLE HOST PER SUBNET
2^8 = 256-2 =254
IP
172.30.1.3
Address
3
Net Mask 255.255.25
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
101011
00
111111
000111
10
111111
000000
01
111111
001000
01
000000
13
Network
Broadcas
t
First
Host
Last Host
5.0
172.30.1.0
172.30.1.2
55
172.30.1.1
172.30.1.2
54
11
101011
00
101011
00
101011
00
101011
00
11
000111
10
000111
10
000111
10
000111
10
11
000000
01
000000
01
000000
01
000000
01
PROBLEM 2
Host IP Address
Subnet Mask
Number Of Subnet Bits
Number Of Subnet
Number of Host Bits Per
Subnet
Number Of Usable Host Per
Subnet
Subnet Address for This IP
Address
IP Address of First Host Of
Subnet
IP Address of Last Host on This
Subnet
Broadcast Address for this
subnet
172.30.1.33
255.255.255.252
14
2^14 = 16,384
4
2^2 = 4 2 =2
172.30.1.32
172.30.1.33
172.30.254.34
172.30.254.35
NUMBER OF SUBNET BITS
172.30.1.33
255
255
255
252
11111111.11111111.11111111.11111100
Network : 2^14 = 16,384
Host
: 2^2 = 4 -2 =2
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
14
00
000000
00
111111
11
000000
01
111111
10
NUMBER OF HOST BITS PER SUBNET
2^14
NUMBER OF USABLE HOSTS PER SUBNET
2^ 2 = 4 -2 =2
IP
172.30.1.33
Address
Net Mask 255.255.255.2
52
Network
172.30.1.32
Broadcas 172.30.1.35
t
First
172.30.1.33
Host
Last Host 172.30.1.34
101011
00
111111
11
101011
00
101011
00
101011
00
101011
00
000111
10
111111
11
000111
10
000111
10
000111
10
000111
10
000000
01
111111
11
000000
01
000000
01
000000
01
000000
01
001000
01
111111
00
001000
00
001000
11
001000
01
001000
10
PROBLEM 3
Host IP Address
Subnet Mask
Number Of Subnet Bits
Number Of Subnet
Number of Host Bits Per
Subnet
Number Of Usable Host Per
Subnet
Subnet Address for This IP
Address
IP Address of First Host Of
Subnet
IP Address of Last Host on This
Subnet
Broadcast Address for this
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
192.192.10.234
255.255.255.0
8 bits
2^8 = 256
8 bits
2^8 = 256 2 =254
192.192.10.0
192.192.10.1
192.192.10.254
192.192.10.255
15
subnet
NUMBER OF SUBNET BITS
192.168.10.234
255
255
255
0
11111111.11111111.11111111.00000000
NETWORK : 2^8 = 256
HOST
: 2^8 = 256 2 =254
NUMBER OF HOST BITS PER SUBNET
2^8
NUMBER OF USABLE HOST PER SUBNET
2^8 = 256-2 =254
IP
192.192.10.23
Address
4
Net Mask 255.255.255.2
52
Network
192.192.10.0
Broadcas
t
First
Host
Last Host
192.192.10.25
5
192.192.10.1
192.192.10.25
4
110000
00
111111
11
110000
00
110000
00
110000
00
110000
00
110000
00
111111
11
110000
00
110000
00
110000
00
110000
00
000010
10
111111
11
000010
10
000010
10
000010
10
000010
10
111010
10
000000
00
000000
00
111111
11
000000
01
111111
10
PROBLEM 4
Host IP Address
Subnet Mask
Number Of Subnet Bits
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
172.17.99.71
255.255.0.0
0 bits
16
Number Of Subnet
Number of Host Bits Per
Subnet
Number Of Usable Host Per
Subnet
Subnet Address for This IP
Address
IP Address of First Host Of
Subnet
IP Address of Last Host on This
Subnet
Broadcast Address for this
subnet
2^0 = 1
16 bits
2^16 = 65536 -2 =
65534
172.17.0.0
172.17.0.1
172.17.255.254
172.17.255.255
NUMBER OF SUBNET BITS
172.17.99.71
255
255
0
0
11111111.11111111.00000000.00000000
NETWORK : 2^0 = 1
HOST
: 2^16 = 65536 -2 = 65534
NUMBER OF HOST BITS PER SUBNET
2^8
NUMBER OF USABLE HOST PER SUBNET
2^8 = 256-2 =254
IP
172.17.99.71
Address
Net Mask 255.255.0.0
Network
172.17.0.0
Broadcas
t
First
Host
172.17.255.25
5
172.17.0.1
101011
00
111111
11
101011
00
101011
00
101011
00
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
000100
01
111111
11
000100
01
000100
01
000100
01
011000
11
000000
00
000000
00
111111
11
000000
00
010001
11
000000
00
000000
00
111111
11
000000
01
17
Last Host 172.17.255.25
4
101011
00
000100
01
111111
11
111111
10
PROBLEM 5
Host IP Address
Subnet Mask
Number Of Subnet Bits
Number Of Subnet
Number of Host Bits Per
Subnet
Number Of Usable Host Per
Subnet
Subnet Address for This IP
Address
IP Address of First Host Of
Subnet
IP Address of Last Host on This
Subnet
Broadcast Address for this
subnet
192.168.3.219
255.255.255.0
8 bits
2^8 = 256
8 bits
2^8 = 256 -2 = 254
192.168.3.0
192.168.3.1
192.168.3.254
192.168.3.255
NUMBER OF SUBNET BITS
192.168.33.219
255
255
255
0
11111111.11111111.11111111.00000000
NETWORK : 2^8 = 256
HOST
: 2^8 = 256 -2 = 254
NUMBER OF HOST BITS PER SUBNET
2^8
NUMBER OF USABLE HOST PER SUBNET
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
18
2^8 = 256-2 =254
IP
192.168.3.219
Address
Net Mask 255.255.255.0
Network
192.168.3.0
Broadcas 192.168.3.255
t
First
192.168.3.1
Host
Last Host 192.168.3.254
110000
00
111111
11
110000
00
110000
00
110000
00
110000
00
101010
00
111111
11
101010
00
101010
00
101010
00
101010
00
000000
11
111111
11
000000
11
000000
11
000000
11
000000
11
110110
11
000000
00
000000
00
111111
11
000000
01
111111
10
PROBLEM 6
Host IP Address
Subnet Mask
Number Of Subnet Bits
Number Of Subnet
Number of Host Bits Per
Subnet
Number Of Usable Host Per
Subnet
Subnet Address for This IP
Address
IP Address of First Host Of
Subnet
IP Address of Last Host on This
Subnet
Broadcast Address for this
subnet
192.168.3.219
255.255.255.252
14 bits
2^14 = 16,384
2 bits
2^2 =4 -2 =2
192.168.3.216
192.168.3.217
192.168.3.218
192.168.3.219
NUMBER OF SUBNET BITS
192.168.33.219
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
19
255
255
255
252
11111111.11111111.11111111.11111100
NETWORK : 2^14 = 16,384
HOST
: 2^14= 16,384 -2 = 16,382
NUMBER OF HOST BITS PER SUBNET
: 2 Bits
NUMBER OF USABLE HOST PER SUBNET
: 2^2 =4 -2 =2
IP
192.168.3.219
Address
Net Mask 255.255.255.2
52
Network
192.168.3.219
Broadcas 192.168.3.219
t
First
192.168.3.217
Host
Last Host 192.168.3.218
110000
00
111111
11
110000
00
110000
00
110000
00
110000
00
SYED MUHAMMAD ASYRAF BIN SYED
MOKHTAR
101010
00
111111
11
101010
00
101010
00
101010
00
101010
00
000000
11
111111
11
000000
11
000000
11
000000
11
000000
11
110110
11
111111
00
110110
11
110110
11
110110
01
110110
10
20