Sunteți pe pagina 1din 18

ASSIGMENT 1

TASK 1
CODE/COURSE:KFC 2144/SKN 2A
NAME: MUHAMAD HAZIM BIN AHMAD
IZUDDIN

PROBLEM 1

Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
Network Address: 172.30.0.0

172.30.1.33
255.255.0.0
172.30.1.0
172.30.255.255
216
216-2 =65534

This is no way to read binary on to no decimal.we start with 172 .

27
26
128
64
1
0
128+32+8+4=172

25
32
1

24
16
0

23
8
1

22
4
1
172.30.0.0

21
2
0

20
1
0

This is no way to read up to no decimal in binary,30 is converted to decimal.

27
26
128
64
0
0
16+8+4+2=30

25
32
0

24
16
1

23
8
1

22
4
1
172.30.0.0

21
2
1

20
1
0

This is no way to read up to no decimal in binary, 0 is converted to decimal.

27
26
25
128
64
32
0
0
0
0+0+0+0+0+0+0+0=0

24
16
0

23
8
0

22
4
0
172.30.0.0

21
2
0

20
1
0

This is no way to read up to no decimal in binary, 0 is converted to decimal.

27
26
25
128
64
32
0
0
0
0+0+0+0+0+0+0+0=0

24
16
0

23
8
0

22
4
0
172.30.0.0

21
2
0

20
1
0

Formula: Perform a bit-wise and operation on the ip address and the subnet
mask

1 and
1=1
1 and
0=0
0 and
0=0

convert the host ip address and network mask to binary number:


33

172

30

Ip address = 10101100

00011110

00000001

Net mask =

11111111

00000000

11111111
=

255

255

This is the calculation of network address:


Ip address =

10101100

00011110

00000001

Sub mask =

11111111

11111111

00000000

Net address = 10101100

00011110

00000000

172

30

172.30.0.0
This is calculation of Network Broadcast Address:
Net address = 10101100 00011110 00000000
Net mask =

11111111

11111111 00000000

Broadcast =

10101100

00011110

255

172

11111111

30

255

172.30.255.255
This is the formula to calculate the number of host bits 2 n-2:
216 =65536
216-2 =65534

PROBLEM 2
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
Network Address= 172.30.1.0

172.30.1.33
255.255.255.0
172.30.1.0/24
172.30.1.255
28
28-2=254

This is no way to read up to no decimal in binary, 172 is converted to decimal.

27
26
128
64
1
0
128+32+8+4=172

25
32
1

24
16
0

23
22
8
4
1
1
172.30.1.0

21
2
0

20
1
0

This is no way to read up to no decimal in binary, 30 is converted to decimal.

27
26
128
64
0
0
16+8+4+2=30

25
32
0

24
16
1

23
22
8
4
1
1
172.30.1.0

21
2
1

20
1
0

This is no way to read up to no decimal in binary,1 is converted to decimal.

27
26
25
128
64
32
0
0
0
0+0+0+0+0+0+0+1=1

24
16
0

23
22
8
4
0
0
172.30.1.0

21
2
0

20
1
1

This is no way to read up to no decimal in binary, 0 is converted to decimal.

27
26
25
128
64
32
0
0
0
0+0+0+0+0+0+0+0=0

24
16
0

23
22
8
4
0
0
172.30.1.0

21
2
0

20
1
0

Formula: Perform a bit-wise and operation on the ip address and the subnet
mask

1 and
1=1
1 and
0=0
0 and
0=0

convert the host ip address and network mask to binary number:


33

172

30

Ip address = 10101100

00011110

00000001

Net mask =

11111111

11111111

11111111
=

255

255

255

This is the calculation of network address:


Ip address =

10101100

00011110

00000001

Sub mask =

11111111

11111111

11111111

Net address = 10101100

00011110

00000001

172

30

172.30.1.0
This is calculation of Network Broadcast Address:
Net address = 10101100 00011110 00000000
Net mask =

11111111

11111111 00000000

Broadcast =

10101100

00011110

255

172

11111111

30

255

172.30.1.255
This is the formula to calculate the number of host bits 2 n-2:
28=256
28-2=254

PROBLEM 3
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
Network Address= 192.168.10.234

192.168.10.234
255.255.255.0
192.168.10.255
192.168.10.255
28
28-2 = 254

This is no way to read up to no decimal in binary, 192 is converted to decimal.

27
26
128
64
1
1
128+64=192

25
32
0

24
16
0

23
22
8
4
0
0
192.168.10.0

21
2
0

20
1
0

This is no way to read up to no decimal in binary,168 is converted to decimal.

27
26
128
64
1
0
128+32+8=168

25
32
1

24
16
0

23
22
8
4
1
0
192.168.10.0

21
2
0

20
1
0

This is no way to read up to no decimal in binary,10 is converted to decimal.

27
128
0
8+2=10

26
64
0

25
32
0

24
16
0

23
22
8
4
1
0
192.168.10.0

21
2
1

20
1
0

This is no way to read up to no decimal in binary,0 is converted to decimal.

27
26
25
128
64
32
0
0
0
0+0+0+0+0+0+0+0=0

24
16
0

23
22
8
4
0
0
192.168.10.0

21
2
0

20
1
0

Formula: Perform a bit-wise and operation on the ip address and the subnet
mask

1 and
1=1
1 and
0=0
0 and
0=0

convert the host ip address and network mask to binary number:


234

192

168

Ip address = 11000000
Net mask =
0

11111111
=

255

10101000
11111111

10
00001010
11111111

255

255

This is the calculation of network address:


Ip address =

10101100

00011110

00000001

Sub mask =

11111111

11111111

11111111

Net address = 10101100

00011110

00000001

168

10

192

192.168.10.0
This is calculation of Network Broadcast Address:
Net address = 11000000 10101000

00001010

Net mask =

11111111

11111111

11111111

Broadcast =

11000000

10101000

00001010

255

192

168

10

192.168.10.255
This is the formula to calculate the number of host bits 2 n-2:
28 = 256
28-2 = 254

PROBLEM 4

Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
Network Address:172.17.0.0

172.17.99.71
255.255.0.0
172.17.0.0/16
172.17.255.255
216
65536-2=65534

This is no way to read up to no decimal in binary, 172 is converted to decimal.

27
26
128
64
1
0
128+32+8+4=172

25
32
1

24
16
0

23
22
8
4
1
1
172.17.0.0

21
2
0

20
1
0

This is no way to read up to no decimal in binary, 17 is converted to decimal.

27
128
0
16+1=17

26
64
0

25
32
0

24
16
1

23
22
8
4
0
0
172.17.0.0

21
2
0

20
1
1

This is no way to read up to no decimal in binary, 0 is converted to decimal.

27
26
128
64
0
0
0+0+0+0+0+0+0=0

25
32
0

24
16
0

23
22
8
4
0
0
172.17.0.0

21
2
0

20
1
0

This is no way to read up to no decimal in binary, 0 is converted to decimal.

27
26
128
64
0
0
0+0+0+0+0+0+0=0

25
32
0

24
16
0

23
8
0

22
4
0
172.17.0.0

21
2
0

20
1
0

Formula: Perform a bit-wise and operation on the ip address and the subnet
mask

1 and
1=1
1 and
0=0
0 and
0=0

convert the host ip address and network mask to binary number:


71

172

17

99

Ip address = 10101100 00010001


Net mask =
0

11111111
=

255

01100011

11111111 00000000
255

This is the calculation of network address:


Ip address =

10101100

00010001

01100011

Sub mask =

11111111

11111111

00000000

Net address = 10101100 00010001


0

172

00000000
17

172.17.0.0
This is calculation of Network Broadcast Address:
Net address = 10101100 00010001

01100011

Net mask =

00000000

Broadcast =
255

11111111
10101100
172

11111111
00010001

11111111

17

255

172.17.255.255
This is the formula to calculate the number of host bits 2 n-2:
216 = 256
216-2 = 254

PROBLEM 5

Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
Network Address:192.168.3.219

192.168.3.219
255.255.0.0
192.168.0.0
192.168.255.255
216
65536-2 = 65534

This is no way to read up to no decimal in binary, 192 is converted to decimal.

27
26
128
64
1
1
128+64=192

25
32
0

24
16
0

23
8
0

22
4
0
192.168.3.219

21
2
0

20
1
0

This is no way to read up to no decimal in binary, 168 is converted to decimal.

27
26
128
64
1
0
128+32+8=168

25
32
1

24
16
0

23
8
1

22
21
4
2
0
0
192.168.3.219

20
1
0

This is no way to read up to no decimal in binary, 3 is converted to decimal.

27
128
0
2+1=3

26
64
0

25
32
0

24
16
0

23
8
0

22
21
4
2
0
1
192.168.3.219

20
1
1

This is no way to read up to no decimal in binary,219 is converted to decimal.

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

24
16
1

23
8
1

22
21
4
2
0
1
192.169.3.219

20
1
1

Formula: Perform a bit-wise and operation on the ip address and the subnet
mask

1 and
1=1
1 and
0=0
0 and
0=0

convert the host ip address and network mask to binary number:


219

192

168

Ip address = 11000000 10101000


Net mask =
0

11111111
=

255

01100011

11111111 00000000
255

This is the calculation of network address:


Ip address =

11000000

Sub mask =

11111111

11111111

00000000

Net address = 11000000

10101000

00000000

192

10101000

00000011

168

192.168.0.0
This is calculation of Network Broadcast Address:
Net address = 11000000 10101000
Net mask =
Broadcast =

11111111
11000000

255

192

11111111
10101000

00000011
00000000
11111111

168

255

192.168.255.255
This is the formula to calculate the number of host bits 2 n-2:
216 =65536
65536-2 = 65534

PROBLEM 6

Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
Network Address:192.168.3.219

192.168.3.219
255.255.255.224
192.168.3.192
192.168.3.223
25
32-2=30

This is no way to read up to no decimal in binary, 192 is converted to decimal.

27
26
128
64
1
1
128+64=192

25
32
0

24
16
0

23
8
0

22
4
0
192.168.3.219

21
2
0

20
1
0

This is no way to read up to no decimal in binary, 168 is converted to decimal.

27
26
128
64
1
0
128+32+8=168

25
32
1

24
16
0

23
8
1

22
21
4
2
0
0
192.168.3.219

20
1
0

This is no way to read up to no decimal in binary, 3 is converted to decimal.

27
128
0
2+1=3

26
64
0

25
32
0

24
16
0

23
8
0

22
21
4
2
0
1
192.168.3.219

20
1
1

This is no way to read up to no decimal in binary,219 is converted to decimal.

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

24
16
1

23
8
1

22
21
4
2
0
1
192.169.3.219

20
1
1

Formula: Perform a bit-wise and operation on the ip address and the subnet
mask

1 and
1=1
1 and
0=0
0 and
0=0

convert the host ip address and network mask to binary number:


219

192

168

Ip address = 11000000 10101000


Net mask =

11111111

224

255

01100011

11111111 11111111
255

255

This is the calculation of network address:


Ip address =

11000000

Sub mask =

11111111

11111111

11111111

Net address = 11000000

10101000

00000011

192

10101000

00000011

168

192.168.0.0
This is calculation of Network Broadcast Address:
Net address = 11000000 10101000
Net mask =
Broadcast =
255

11111111
11000000
192

11111111
10101000

00000011
11111111
11111111

168

255

192.168.255.255
This is the formula to calculate the number of host bits 2 n-2:
25=32
32-2=30

S-ar putea să vă placă și