Vous êtes sur la page 1sur 14

Assingment 1

Muhammad Nasrullah Bin Muhamad


Kashfullah
SKN 2A

Task 2

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
216
65,534 are use of bits

Step 1: Convert Host IP Address and Network Mask into binary


numbers.
IP Address
= 10101100
00011110 00000001 00100001
Network mask
= 11111111 11111111 11111111
00000000
Network address
= 10101100
00011110 00000000 00000000
Nework Broadcast = 10101100 00011110 11111111
11111111
Address
172
30
1
33
Step 2: Determine the Subnet Address.
= Use an operator AND on IP Address and Subnet Mask.
172

30

33

IP Address = 10101100

00011110

00000001

00100001

Subnet Mask= 11111111

11111111

11111111

11111111

Network = 10101100 00011110

00000001 00100001

Address
Subnet Address = 10101100
00100001
172
33

00011110
30

00000001
1

Step 3:Calculate using manual.


3
1
3
17
3
0
2
2 1 1
2 1=000000
86 0
6
2 0143 0
2 8 0
2 21 1
2 4 0
2 10 1
30=111
2 2 0
2 5
0
10
2 1 0
33=1000
2 2
1
01 0 1
2 1
0
0
1
172=10101
100
Step 4 : I will show you how to calculate Number of Host.
2 1the0total number of host bits 2 power 16. 65,536 minus
= Take
5
2
2 7 1
3 calculate
1
And 2then
you get the answer =65,534.
2 1 1
0 1
2
0 1

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
28
254 are use of bits

Step 1: Convert Host IP Address and Network Mask into binary


numbers.
IP Address
= 10101100
00011110 00000001 00100001
Network mask
= 11111111 11111111 11111111
00000000
Network address
= 10101100
00011110 00000000 00000000
Nework Broadcast = 10101100 00011110 00000001
11111111
Address
172
30
1
255
Step 2: Determine the Subnet Address.
= Use an operator AND on IP Address and Subnet Mask.
172

30

33

IP Address = 10101100

00011110

00000001

00100001

Subnet Mask= 11111111

11111111

11111111

11111111

Network = 10101100 00011110


Address

00000001 00100001

Subnet Address = 10101100


00100000
172

00011110
30

00000001
1

32

Step 3:Calculate using manual.

30=111
10
192=1010
1100

3
17
20
2 86 0
2 43 0
1=000000
2 21 1
2 10 1
2 5
0
2 2
1
2 1
0
0
1

3
3
2 1 0
6
2 8 0
2 4 0
2 2 0
2 1 0
33=10000
0 1
0

2 1 0
5
1 show you how to calculate Number of Host.
Step24 7
: I will
2 3 1
= Take
2 1the1 total number of host bits 2 power 8. 256 minus 2
0 1
And then calculate you get the answer =254
2
0

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.0
192.168.10.255
28
254 are use of bits

Step 1: Convert Host IP Address and Network Mask into binary


numbers.
IP Address
= 11000000 10101000 00001010
11101010
Network mask
= 11111111 11111111 11111111
00000000
Network address
= 11000000 10101000 00001010
00000000
Nework Broadcast = 11000000 10101000 00001010
11111111
Address
192
168
10
255

Step 2: Determine the Subnet Address.


= Use an operator AND on IP Address and Subnet Mask.
192

168

10

234

IP Address = 11000000 10101000 00001010 11101010


Subnet Mask= 11111111 11111111 11111111 11111111
Network = 11000000 10101000 00001010 11101010
Address
Subnet Address = 11000000 10101000 00001010 11101010
192

168

10

234

Step 3:Calculate using manual.


1
9
16
2
8
2 96 0
2 84
2 48 0
2 42
2 24 0
2 21
2 12 0
2 10
2 6
0
2 5
2 3
0
2 2
2 1
1
2 1
0
1
192=11000 Step04 :
000

2
3
4
2
0
2 11 0
0
2
1
0
7
2
0
0
2 58 1
10=10
1
1
2 29 0
10
0
2 14 1
1
2 7
0
0
2 3
1
168=10101
234=11101
I1000
will show you how to calculate Number010
Host.1
2of 1
0
1
= Take the total number of host bits 2 power 8. 256 minus 2
1
0
5
2
1
0

And then calculate you get the answer =254

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.0.0
172.17.0.0
172.17.255.255
216
65,534 are use of bits

Step 1: Convert Host IP Address and Network Mask into binary


numbers.
IP Address
01000111
Network mask
00000000
Network address
00000000

= 10101100 00010001 01100011


= 11111111 11111111 11111111
= 10101100 00010001 01100011

Nework Broadcast = 10101100 00010001 00000000


11111111
Address
172
17
99

255

Step 2: Determine the Subnet Address.


= Use an operator AND on IP Address and Subnet Mask.

IP Address = 10101100 00010001 01100011 01000111


Subnet Mask= 11111111 11111111 11111111 11111111
Network = 10101100 00010001 01100011 01000111
Address
Subnet Address = 10101100 00010001 01100011 01000111
172

17

99

71

Step 3:Calculate using manual.


9
1
7
17
9
7
21
2 8 1 2 4 1 2 86 0
2 4 0
2 43 0
9
2 2 0 2 2 1 2 21 1
2 1 0
2 10 1
4
17=100
0 1 2 1 0 2 5
0
01
2 2
1
71=10001
2 99=110001
0
11
2 6 10 2 1
0
1
2 3 0
172=10101
2 1 1
100
0 1 2 3 1
Step 4 : I will show you how to calculate Number of Host.
5
2 of1 host
1 bits 2 power 16. 65,534 minus
= Take the total number
7
2
2 8 1
2 4 0
2 2 0
2 1 0
0 1

And then calculate you get the answer =254

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.0
192.168.255.255
216
65,534 are use of bits

Step 1: Convert Host IP Address and Network Mask into binary


numbers.
IP Address
11011011
Network mask
00000000

= 11000000 10101000 00000011


= 11111111 11111111 11111111

Network address
= 11000000 10101000 00000011
00000000
Nework Broadcast = 11000000 10101000 00000011
11111111
Address
192
168
3
255

Step 2: Determine the Subnet Address.


= Use an operator AND on IP Address and Subnet Mask.

IP Address = 11000000 10101000 00000011 11011011


Subnet Mask= 11111111 11111111 11111111 11111111
Network = 11000000 10101000 00000011 11011011
Address
Subnet Address = 11000000 10101000 00000011 11011011
192

168

219

Step
2
2
168 2
2 84 20
2 42 20
2 21 0
2
2 10 1
2
168=101010
2 5
0
3=1
192=11000
00
1
12 2
000
2 1
0
0
2
1

3:Calculate using manual.


3
192
96
0
21
48
0
9
24
0
2
12
0 109 1
2
1
6
0 54
2
27
0
3
0
2
13
1
1 219=11011
1
6
1
011 2
0
1
2
3
0
2
1
1
0
1
1
1
0

Step 4 : I will show you how to calculate Number of Host.


= Take the total number of host bits 2 power 16. 65,534 minus
2
And then calculate you get the answer =254

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.255.224
192.168.3.0
192.168.3.224
25
30 are use of bits

Step 1: Convert Host IP Address and Network Mask into binary


numbers.
IP Address
11011011
Network mask
11100000
Network address
00000000

= 11000000 10101000 00000011


= 11111111 11111111 11111111
= 11000000 10101000 00000011

Nework Broadcast = 11000000 10101000 00000011


11100000
Address
192
168
3
224

Step 2: Determine the Subnet Address.


= Use an operator AND on IP Address and Subnet Mask.

IP Address = 11000000 10101000 00000011 11011011


Subnet Mask= 11111111 11111111 11111111 11111111
Network = 11000000 10101000 00000011 11011011
Address
Subnet Address = 11000000 10101000 00000011 11011011
192

168

219

Step 3:Calculate using manual.

168
2 84
2 42
2 21
2 10
168=101010
2 5
3=1
192=11000
00
12 2
000
2 1
0

2
2
0
2
0
20
21
20
21
0
1

3
192
21
96
0
9
48
0
2
109
24
0
2
54
12
0
2
27
6
0 13
2
219=11011
3 011 2
0 6
2
1
1 3
2
0
1 1
0

2 1

1
1
0
1
1
0
1
1

Step 4 : I will show you how to calculate Number of Host.


= Take the total number of host bits 2 power 32 minus 2
And then calculate you get the answer =254

Vous aimerez peut-être aussi