Sie sind auf Seite 1von 20

ASSIGNMENT

| KFC 2044 NETWORK FUNDAMENTAL |


UNIT 1:
COMPUTER NETWORKING FUNDAMENTALS
NO.

TITLE

IP ADDRESS CLASSES CALCULATION

PROBLEM 1

PROBLEM 2

PROBLEM 3

PROBLEM 4

PROBLEM 5

PROBLEM 6

SUBNETTING CALCULATION

PROBLEM 1

10

PROBLEM 2

11

PROBLEM 3

12

PROBLEM 4

13

PROBLEM 5

14

PROBLEM 6

15

REFERENCE

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

IP ADDRESS

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

IP ADDRESS CLASSES

Calculation for IP address classes


Task 1: For given IP address, Determine Network Information.
Given:
Host IP Address

172.25.114.250

Network Mask

255.255.0.0 (/16)

Find:
Network Address
Network Broadcast
Total Number of Host Bits
Number of Host

172.25.0.0
172.25.255.255
65534
16

Step 1: Translate Host IP address and network mask into binary notation.
210
1024

29
512

28
256

27
128

26
64

25
32

24
16

23
8

22
4

21
2

20
1

Convert the host IP address and network mask to library:


172
10101100
26
0

25
00011001
5
2
24
1
0
32

26
0

25
0

24
1
16

23
1
8

25
1
32

24
1
16

23
0

IP Address
27
1
128
128 + 32 + 8 + 4 = 172
27
0

114
0111001
23
1
8

250
11111010
22
1
4

21
0

20
0

22
0

21
0

20
1
1

22
0

21
1
2

20
0

16 + 8 + 1 = 25
27
0

26
1
64
64 + 32 + 16 + 2 = 114

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

27
26
25
1
1
1
128
64
32
128 + 64 + 32 + 16 + 8 + 2 = 250

24
1
16

23
1
8

22
0

21
1
2

20
0

Step 2: Determine the Network Address.

IP Address

172
10101100

25
00011001

114
01110010

250
11111010

Subnet Mask

11111111

11111111

00000000

00000000

Network Address

10101100

00011001

00000000

00000000

172

25

Step 3: Determine the broadcast address for the network address


172

25

Network Address

10101100

00011001

00000000

00000000

Mask

11111111

11111111

00000000

00000000

Broadcast

10101100

00011001

11111111

11111111

172

25

255

255

By counting the number of host bits, we can determine the total number of usable hosts for this
network.
Host bits: 16
Total number of hosts:
216 = (2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2) = 65,536
65,536 2 = 65,534 .
Host IP Address

172.25.114.250

Network Mask

255.255.0.0 (/16)

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

172.25.0.0
172.25.255.255
65,536
216

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Task 2: Challenge.
Problem 1
Host IP Address

172.30.1.33

Network Mask

255.255.0.0

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

Answer and How to solve:


Host IP Address

172.30.1.33

Network Mask

255.255.0.0

Network Address

172.30.0.0

Network Broadcast Address

172.30.255.255

Total Number of Host Bits

65,534

Number of Hosts

216

Network Address 172.30.0.0

27

26

25

24

23

22

21

20

128 64

32

16

128+32+8+4 = 172

16+8+4+2 = 30

DECIMAL

0=0
0=0
172.30.0.0

BINARY NUMBER

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Network Broadcast Address 172.30.255.255


26

25

24

23

22

21

20

128 64

32

16

128+32+8+4 = 172

16+8+4+2 = 30

DECIMAL

128+64+32+16+8+4+2+1 =
255
128+64+32+16+8+4+2+1 =
255
172.30.255.255

BINARY NUMBER

Host bits: 16
Total number of host:
216 (2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2) = 65,536
65,536 2 = 65,534

Problem 2
Host IP Address

172.30.1.33

Network Mask

255.255.255.0

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

Answer and How to solve:


Host IP Address

172.30.1.33

Network Mask

255.255.255.0

Network Address

172.30.1.0

Network Broadcast Address

172.30.1.255

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Total Number of Host Bits

254

Number of Hosts

28

Network Address 172.30.1.0


27

26

25

24

23

22

21

20

128 64

32

16

128+32+8+4 = 172

16+8+4+2 = 30

DECIMAL

1=1
0=0
172.30.1.0

BINARY NUMBER

Network Broadcast Address 172.30.1.255


27

26

25

24

23

22

21

20

128 64

32

16

128+32+8+4 = 172

16+8+4+2 = 30

DECIMAL

1=1
128+64+32+16+8+4+2+1 =
255
172.30.1.255

BINARY NUMBER

Host bits: 8
Total number of host:
28 (2x2x2x2x2x2x2x2) = 256
256 2 = 254

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Problem 3
Host IP Address

192.168.10.234

Network Mask

255.255.255.0

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

Answer and How to solve:


Host IP Address

192.168.10.234

Network Mask

255.255.255.0

Network Address

192.168.10.0

Network Broadcast Address

192.168.10.255

Total Number of Host Bits

254

Number of Hosts

28

Network Address 192.168.10.0


27

26

25

24

23

22

21

20

128 64

32

16

128+64 = 192

128+32+8 = 168

DECIMAL

8+2 = 10
0=0
192.168.10.0

BINARY NUMBER

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Network Broadcast Address 192.168.10.255


27

26

25

24

23

22

21

20

128 64

32

16

128+64 = 192

128+32+8 = 168

DECIMAL

8+2 = 10
128+64+32+16+8+4+2+1 =
255
192.168.10.255

BINARY NUMBER

Host bits: 8
Total number of host:
28 (2x2x2x2x2x2x2x2) = 256
256 2 = 254

Problem 4
Host IP Address

172.17.99.71

Network Mask

255.255.0.0

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

Answer and How to solve:


Host IP Address

172.17.99.71

Network Mask

255.255.0.0

Network Address

172.17.0.0

Network Broadcast Address

172.17.255.255

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Total Number of Host Bits

65534

Number of Hosts

216

Network Address 172.17.0.0


27

26

25

24

23

22

21

20

128 64

32

16

128+32+8+4 = 172

16+1 = 17

DECIMAL

0=0
0=0
172.17.0.0

BINARY NUMBER

Network Broadcast Address 172.17.255.255


27

26

25

24

23

22

21

20

128 64

32

16

128+32+8+4 = 172

16+1 = 17

BINARY NUMBER

DECIMAL

128+64+32+16+8+4+2+1 =
255
128+64+32+16+8+4+2+1 =
255
172.17.255.255

Host bits: 16
Total number of host:
216 (2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2) = 65,536
65,536 2 = 65,534

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Problem 5
Host IP Address

192.168.3.219

Network Mask

255.255.0.0

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

Answer and How to solve:


Host IP Address

192.168.3.219

Network Mask

255.255.0.0

Network Address

192.168.0.0

Network Broadcast Address

192.168.255.255

Total Number of Host Bits

65534

Number of Hosts

216
Network Address 192.168.0.0

27

26

25

24

23

22

21

20

128 64

32

16

128+64 = 192

128+32+8 = 168

DECIMAL

0=0
0=0
192.168.0.0

BINARY NUMBER

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Network Broadcast Address 192.168.255.255


27

26

25

24

23

22

21

20

128 64

32

16

128+64 = 192

128+32+8 = 168

DECIMAL

128+64+32+16+8+4+2+1 =
255
128+64+32+16+8+4+2+1 =
255
192.168.255.255

BINARY NUMBER

Host bits: 16
Total number of host:
216 (2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2) = 65,536
65,536 2 = 65,534

Problem 6
Host IP Address

192.168.3.219

Network Mask

255.255.255.224

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

Answer and How to solve:


Host IP Address

192.168.3.219

Network Mask

255.255.255.224

Network Address

192.168.3.192

Network Broadcast Address

192.168.3.223

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Total Number of Host Bits

30

Number of Hosts

25

Network Address 192.168.3.192


27

26

25

24

23

22

21

20

128 64

32

16

128+64 = 192

128+32+8 = 168

DECIMAL

2+1 = 3
128+64 = 192
192.168.3.192

BINARY NUMBER

Network Broadcast Address 192.168.255.255


27

26

25

24

23

22

21

20

128 64

32

16

128+64 = 192

128+32+8 = 168

BINARY NUMBER

DECIMAL

128+64+32+16+8+4+2+1 =
255
128+64+32+16+8+4+2+1 =
255
192.168.255.255

Host bits: 5
Total number of host:
25 (2x2x2x2x2) = 32
32 2 = 30

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

SUBNETTING

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

TASK 2.
Problem 1.
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnets
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 Address for this Subnet

172.30.1.33
255.255.255.0
8 Bits
28 = 256
8 Bits
28 2 = 256 2 = 254
172.30.1.0
172.30.1.1
172.30.1.254
172.30.1.255

Number of Subnet Bits


IP Address : 172.30.1.33
Subnet Mask : 255.255.255.0 = 11111111,11111111,11111111,0000000
Network Host : 28 (2x2x2x2x2x2x2x2) = 256
256-2 = 254
Number of Host Bits Per Subnet
28 = 256
Number of Usable Host Per Subnet
256-2 = 254
IP Address
Subnet Mask
Subnet Add.

IP Address
Subnet Mask
Subnet Add.
First Host
Last Host
Broadcast

172.30.1.33
255.255.255.0
172.30.1.0

172.30.1.33
255.255.255.0
172.30.1.0
172.30.1.1
172.30.1.254
172.30.1.255

10101100
11111111
10101100

10101100
11111111
10101100
10101100
10101100
10101100

00011110
11111111
00011110

00000001
11111111
00000001

00011110
11111111
00011110
00011110
00011110
00011110

00000001
11111111
00000001
00000001
00000001
00000001

00100001
00000000
00000000

00100001
00000000
00000000
00000001
11111110
11111111

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Problem 2.
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnets
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 Address for this Subnet

172.30.1.33
255.255.255.252
14 Bits
214 = 16384
14 Bits
214 2 = 16384 2 = 16382
172.30.1.32
172.30.1.33
172.30.1.62
172.30.1.63

Number of Subnet Bits


IP Address : 172.30.1.33
Subnet Mask : 255.255.255.252 = 11111111,11111111,11111111,11111100
Network Host : 214 (2x2x2x2x2x2x2x2x2x2x2x2x2x2) = 16384
16384-2 = 16382

Number of Host Bits Per Subnet


214 = 16384
Number of Usable Host Per Subnet
16384 2 = 16382

IP Address
Subnet Mask
Subnet Add.
IP Address
Subnet Mask
Subnet Add.
First Host
Last Host
Broadcast

172.30.1.33
255.255.255.252
172.30.1.32
172.30.1.33
255.255.255.252
172.30.1.32
172.30.1.33
172.30.1.62
172.30.1.63

10101100
11111111
10101100
10101100
11111111
10101100
10101100
10101100
10101100

00011110
11111111
00011110

00000001
11111111
00000001

00011110
11111111
00011110
00011110
00011110
00011110

00000001
11111111
00000001
00000001
00000001
00000001

00100001
11111100
00100000
00100001
11111100
00100000
00100001
00111110
00111111

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Problem 3.
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnets
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 Address for this Subnet

192.192.10.234
255.255.255.0
8 Bits
28 = 256
8 Bits
28 2 = 256 2 = 254
192.192.10.0
192.192.10.1
192.192.10.254
192.192.10.255

Number of Subnet Bits


IP Address : 192.192.10.234
Subnet Mask : 255.255.255.0 = 11111111,11111111,11111111,00000000
Network Host : 28 (2x2x2x2x2x2x2x2) = 256
256 2 = 254

Number of Host Bits Per Subnet


28 = 256
Number of Usable Host Per Subnet
256 2 = 254

IP Address
Subnet Mask
Subnet Add.
IP Address
Subnet Mask
Subnet Add.
First Host
Last Host
Broadcast

192.192.10.234
255.255.255.0
192.192.10.0
192.192.10.234
255.255.255.0
192.192.10.0
192.192.10.1
192.192.10.254
192.192.10.255

11000000
11111111
11000000
11000000
11111111
11000000
11000000
11000000
11000000

11000000
11111111
11000000

00001010
11111111
00001010

11000000
11111111
11000000
11000000
11000000
11000000

00001010
11111111
00001010
00001010
00001010
00001010

11101010
00000000
00000000
11101010
00000000
00000000
00000001
11111110
11111111

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Problem 4.
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnets
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 Address for this Subnet

172.17.99.71
255.255.0.0
8 Bits
28 = 256
8 Bits
28 2 = 256 2 = 254 host
per subnet
171.17.0.0
171.17.0.1
171.17.255.254
171.17.255.255

Number of Subnet Bits


IP Address : 172.17.99.71
Subnet Mask : 255.255.0.0 = 11111111,11111111,00000000,00000000
Network Host : 28 = (2x2x2x2x2x2x2x2) = 256
256 2 = 254

Number of Host Bits Per Subnet


28 = 256
Number of Usable Host Per Subnet
256 2 = 254

IP Address
Subnet Mask
Subnet Add.

171.17.99.71
255.255.0.0
171.17.0.0

IP Address
Subnet Mask
Subnet Add.
First Host
Last Host
Broadcast

171.17.99.71
255.255.0.0
171.17.0.0
171.17.0.1
171.17.255.254
171.17.255.255

10101011
11111111
10101011

10101011
11111111
10101011
10101011
10101011
10101011

00010001
11111111
00010001

01100011
00000000
00000000

00010001
11111111
00010001
00010001
00010001
00010001

01100011
00000000
00000000
00000000
11111111
11111111

01000111
00000000
00000000

01000111
00000000
00000000
00000001
11111110
11111111

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Problem 5.
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnets
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 Address for this Subnet

192.168.3.219
255.255.255.0
8 Bits
28 = 256
8 Bits
28 2 = 256 2 = 254 host
per subnet
192.168.3.0
192.168.3.1
192.168.3.254
192.168.3.255

Number of Subnet Bits


IP Address : 192.168.3.219
Subnet Mask : 255.255.255.0 = 11111111,11111111,11111111,00000000
Network Host : 28 (2x2x2x2x2x2x2x2) = 256
256 2 = 254

Number of Host Bits Per Subnet


28 = 256
Number of Usable Host Per Subnet
256 2 = 254

IP Address
Subnet Mask
Subnet Add.

IP Address
Subnet Mask
Subnet Add.
First Host
Last Host
Broadcast

192.168.3.219
255.255.255.0
192.168.3.0

192.168.3.219
255.255.255.0
192.168.3.0
192.168.3.1
192.168.3.254
192.168.3.255

11000000
11111111
11000000

11000000
11111111
11000000
11000000
11000000
11000000

10101000
11111111
10101000

00000011
11111111
00000011

10101000
11111111
10101000
10101000
10101000
10101000

00000011
11111111
00000011
00000011
00000011
00000011

11011011
00000000
00000000

11011011
00000000
00000000
00000001
11111110
11111111

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ

Problem 6.
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnets
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 Address for this Subnet

192.168.3.219
255.255.255.252
14 Bits
214 = 16384
2 Bits
22 2 = 4 2 = 2 host per
subnet
192.168.3.216
192.168.3.217
192.168.3.222
192.168.3.223

Number of Subnet Bits


IP Address : 192.168.3.219
Subnet Mask : 255.255.255.252 = 11111111,11111111,11111111,11111100
Network Host : 214 (2x2x2x2x2x2x2x2x2x2x2x2x2x2) = 16384
16384 2 = 16382
Number of Host Bits Per Subnet
22 = 4
Number of Usable Host Per Subnet
22 2 = 4 2 = 2 host per subnet

IP Address
Subnet Mask
Subnet Add.

IP Address
Subnet Mask
Subnet Add.
First Host
Last Host
Broadcast

192.168.3.219
255.255.255.252
192.168.3.0

192.168.3.219
255.255.255.252
192.168.3.0
192.168.3.1
192.168.3.254
192.168.3.255

11000000
11111111
11000000

11000000
11111111
11000000
11000000
11000000
11000000

10101000
11111111
10101000

00000011
11111111
00000011

10101000
11111111
10101000
10101000
10101000
10101000

00000011
11111111
00000011
00000011
00000011
00000011

11011011
11111100
11011000

11011011
11111100
11011000
11011001
11011110
11011111

KFC 2044 NETWORK FUNDAMENTALS | MOHAMED ARIFF BIN MOHAMED AMIZ