Вы находитесь на странице: 1из 18

ASSIGNMENT SHEET

TASK 2 : CHALLENGE
Problem 1
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnet

172.30.1.33
255.255.255.0
8 bits
28=256 subnets

Number of Host Bits per Subnet


Number of Usable Hosts per Subnet
Subnet Address for this IP Adress
IP Adress of First Host on this Subnet
IP Adress of Last Host on this Subnet
Broadcast Adress for this Subnet

256
28-2=256-2=254 per host subnet
172.30.1.0
172.30.1.1
172.30.1.254
172.30.1.255

Step 1 : Translate host IP address and subnet mask into binary notation.

IP Address
Subnet Mask

172
10101100
11111111
255

30
00011110
11111111
255

1
00000001
11111111
255

33
00100001
00000000
0

Number of Subnet Bits

172
IP Address
Subnet Mask

10101100
11111111
255

30
00011110
11111111
255

1
00000001
11111111
255

33
00100001
00000000
0

For Number Subnet Bits we take 1 in Subnet mask . So the subnets bits is 8 bits.

Number of Subnet .

172
IP Address
Subnet Mask

10101100
11111111
255

30
00011110
11111111
255

1
00000001
11111111
255

33
00100001
00000000
0

For Number of subnet we take 0 in subnet mask . So total number of subnet is (28 = 256)

Number of Host Bits per Subnet

172
IP Address
Subnet Mask

30

10101100
11111111
255

00011110
11111111
255

33

00000001
11111111
255

00100001
00000000
0

For Number of Host Bits per Subnet we take 0 in subnet mask . so , the total number of host bits
per subnet are 8Bits .

Number of Usable Hosts per Subnet


To get Number of Usable Hosts per Subnet , we must use the formula 2n 2 . So, the calculation :
28-2= 254
So the total Number of Usable Host per Subnet is 254

Subnet Adress for this IP Address


For Subnet Adres s for this IP Adress we must Multiply IP Address with Subnet Mask like this :
IP Address
Subnet Mask

10101100
11111111
10101100
172

00011110
11111111
00011110
30

00000001
11111111
00000001
1

00100001
00000000
00000000
0

So, the Subnet Adress for this IP Adress is 172.30.1.0.

IP Adress of First Host on this Subnet


For IP Adress of First Host , We need to Change the Last binary number 0 of 4th octect to 1
Example :
Subnet Mask

10101100
172

00011110
30

00000001
1

00000000
0

We Change it to 1 :
10101100

00011110

172

00000001

30

00000001

So the IP Address of First Host on this subnet is 172.30.1.1

IP Address of Last Host on this Subnet


For IP Adress Of Last Host , we just need to take from IP Adress of Frist Host and change the Last
Binary Number from 0 to 1 and From 1 to 0 .
Example :
IP Adress of First Host

10101100
172

00011110
30

00000001
1

00000001
1

Change it to :
10101100
172

00011110
30

00000001
1

11111110
254

So the IP address of Last Host on this subnet is 172.30.1.254

Broadcast Adress for this Subnet


Determining Broadcast by replacing all the number 0 on the Last host subnet range to number 1.
Last IP Adress

10101100
172

00011110
30

00000001
1

11111110
254

Change to :
10101100
172

00011110
30

So the Broadcast Adress for this subnet is 172.30.1.255

00000001
1

11111111
255

Problem 2
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnet

172.30.1.33
255.255.255.252
14 bits

Number of Host Bits per Subnet


Number of Usable Hosts per Subnet
Subnet Address for this IP Adress
IP Adress of First Host on this Subnet
IP Adress of Last Host on this Subnet
Broadcast Adress for this Subnet

4
2
172.30.1.32
172.30.1.33
172.30.1.34
172.30.1.35

16384

Step 1 : Translate host IP address and subnet mask into binary notation.

IP Address
Subnet Mask

172
10101100
11111111
255

30
00011110
11111111
255

1
00000001
11111111
255

33
00100001
11111100
252

Number of Subnet Bits

172
IP Address
Subnet Mask

10101100
11111111
255

30
00011110
11111111
255

1
00000001
11111111
255

33
00100001
11111100
252

For Number Subnet Bits we take 1 in Subnet mask . So the subnet bits is 14 bits.

Number of Subnet .

172
IP Address
Subnet Mask

10101100
11111111
255

30
00011110
11111111
255

1
00000001
11111111
255

33
00100001
11111100
252

For Number of subnet we take 1 in subnet mask . So total number of subnet is (214= 16384)

Number of Host Bits per Subnet

172
IP Address
Subnet Mask

30

10101100
11111111
255

00011110
11111111
255

33

00000001
11111111
255

00100001
11111100
252

For Number of Host Bits per Subnet we take 0 in subnet mask . so , the total number of host bits
per subnet are 4Bits .( 22=4)

Number of Usable Hosts per Subnet


To get Number of Usable Hosts per Subnet , we must use the formula 2n 2 . So, the calculation :
28-2= 254
So the total Number of Usable Host per Subnet is 254

Subnet Adress for this IP Address


For Subnet Adres s for this IP Adress we must Multiply IP Address with Subnet Mask like this :
IP Address
Subnet Mask

10101100
11111111
10101100
172

00011110
11111111
00011110
30

00000001
11111111
00000001
1

00100001
11111100
00100000
32

So, the Subnet Adress for this IP Adress is 172.30.1.32.

IP Adress of First Host on this Subnet


For IP Adress of First Host , We need to Change the Last binary number 0 of 4th octect to 1
Example :
Subnet Mask

10101100
172

00011110
30

00000001
1

00100000
32

We Change it to 1 :
10101100

00011110

172

00000001

30

00100001

33

So the IP Address of First Host on this subnet is 172.30.1.33

IP Address of Last Host on this Subnet


For IP Adress Of Last Host , we just need to take from Subnet Address and change the to Binary
Number from 0 to 1 and but the last bits is fixed as 0 .
Example :
Subtnet Address

10101100
172

00011110
30

00000001
1

00100000
32

Change it to :
10101100
172

00011110
30

00000001
1

00100010
34

So the IP address of Last Host on this subnet is 172.30.1.34

Broadcast Adress for this Subnet


Determining Broadcast by replacing the number 0 on the Last host subnet range to number 1.
Subnet Address

10101100
172

00011110
30

00000001
1

00100000
34

Change to :
10101100
172

00011110
30

So the Broadcast Adress for this subnet is 172.30.1.35

00000001
1

00100011
255

Problem 3
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnet

192.192.10.234
255.255.255.0
8

Number of Host Bits per Subnet


Number of Usable Hosts per Subnet
Subnet Address for this IP Adress
IP Adress of First Host on this Subnet
IP Adress of Last Host on this Subnet
Broadcast Adress for this Subnet

256
254
192.192.10.0
192.192.10.1
192.192.10.254
192.192.10.255

256

Step 1 : Translate host IP address and subnet mask into binary notation.

IP Address
Subnet Mask

192
11000000
11111111
255

192
11000000
11111111
255

10
00001010
11111111
255

234
11101010
00000000
0

Number of Subnet Bits

192
IP Address
Subnet Mask

11000000
11111111
255

192

10

11000000
11111111
255

00001010
11111111
255

234
11101010
00000000
0

For Number Subnet Bits we take 1 in Subnet mask . So the subnets bits is 8 bits.

Number of Subnet .

IP Address
Subnet Mask

192

192

10

11000000
11111111
255

11000000
11111111
255

00001010
11111111
255

234
11101010
00000000
0

For Number of subnet we take 0 in subnet mask . So total number of subnet is (28 = 256)

Number of Host Bits per Subnet

192
IP Address
Subnet Mask

11000000
11111111
255

192

10

11000000
11111111
255

00001010
11111111
255

234
11101010
00000000
0

For Number of Host Bits per Subnet we take 0 in subnet mask . so , the total number of host bits
per subnet are 8Bits . ( 28=256)

Number of Usable Hosts per Subnet


To get Number of Usable Hosts per Subnet , we must use the formula 2n 2 . So, the calculation :
28-2= 254
So the total Number of Usable Host per Subnet is 254

Subnet Address for this IP Address


For Subnet Adres s for this IP Adress we must Multiply IP Address with Subnet Mask like this :
IP Address
Subnet Mask

11000000
11111111
11000000
192

11000000
11111111
11000000
192

00001010
11111111
00001010
10

11101010
00000000
00000000
0

So, the Subnet Adress for this IP Adress is 192.192.10.0

IP Adress of First Host on this Subnet


For IP Adress of First Host , We need to Change the Last binary number 0 of 4th octect to 1
Example :
Subnet Mask

11000000
192

11000000
192

00001010

11101010

10

234

We Change it to 1 :
11000000

11000000

00001010

00000001

192

10

192

So the IP Address of First Host on this subnet is 192.192.10.1

IP Address of Last Host on this Subnet


For IP Adress Of Last Host , we just need to take from IP Adress of Frist Host and change the Last
Binary Number from 0 to 1 and From 1 to 0 .
Example :
IP Adress of First Host

11000000
192

11000000

00001010

00000001

10

11000000

00001010

11111110

192

10

192

Change it to :
11000000
192

254

So the IP address of Last Host on this subnet is 192.192.10.254

Broadcast Adress for this Subnet


Determining Broadcast by replacing all the number 0 on the Last host subnet range to number 1.
Last IP Adress

11000000
192

11000000

00001010

192

11000000

00001010

11111110
254

Change to :
10101100
192

192

So the Broadcast Adress for this subnet is 192.192.10.255

11111111
255

Problem 4
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnet

172.17.99.71
255.255.0.0
0

Number of Host Bits per Subnet


Number of Usable Hosts per Subnet
Subnet Address for this IP Adress
IP Adress of First Host on this Subnet
IP Adress of Last Host on this Subnet
Broadcast Adress for this Subnet

65536
65534
172.17.0.0
172.17.0.1
172.17.255.254
172.17.255.255

Step 1 : Translate host IP address and subnet mask into binary notation.

IP Address
Subnet Mask

172
10101100
11111111
255

17
00010001
11111111
255

99
01100011
00000000
0

71
01000111
00000000
0

17
00010001
11111111
255

99
01100011
00000000
0

71
01000111
00000000
0

Number of Subnet Bits


IP Address
Subnet Mask

172
10101100
11111111
255

For Number Subnet Bits we take 1 in Subnet mask . So the subnet bits is 0 bits.

Number of Subnet .

IP Address
Subnet Mask

172
10101100
11111111
255

17
00010001
11111111
255

99
01100011
00000000
0

71
01000111
00000000
0

For Number of subnet we take 1 in subnet mask . So total number of subnet is (20= 1)

Number of Host Bits per Subnet

IP Address
Subnet Mask

172
10101100
11111111
255

17
00010001
11111111
255

99
01100011
00000000
0

71
01000111
00000000
0

For Number of Host Bits per Subnet we take 0 in subnet mask . so , the total number of host bits
per subnet are 16Bits .( 216=65536)

Number of Usable Hosts per Subnet


To get Number of Usable Hosts per Subnet , we must use the formula 2n 2 . So, the calculation :
216-2= 65534
So the total Number of Usable Host per Subnet is 65534

Subnet Adress for this IP Address


For Subnet Adres s for this IP Adress we must Multiply IP Address with Subnet Mask like this :
IP Address
Subnet Mask

10101100
11111111
10101100
172

00010001
11111111
00010001
17

01100011
00000000
00000000
0

01000111
00000000
00000000
0

So, the Subnet Adress for this IP Adress is 172.17.0.0.

IP Adress of First Host on this Subnet


For IP Adress of First Host , We need to Change the Last binary number 0 of 4th octect to 1
Example :

Subnet Address

172
10101100

17
00010001

0
00000000

0
00000000

We Change it to 1 :
10101100

00010001

172

00000000

17

000000001

So the IP Address of First Host on this subnet is 172.17.0.1

IP Address of Last Host on this Subnet


For IP Adress Of Last Host , we just need to take from Subnet Address and change the to Binary
Number from 0 to 1 and but the last bits is fixed as 0 .
Example :
Subnet Address

10101100
172

00010001
17

00000000
0

00000000
0

Change it to :
10101100
172

00010001
17

11111111
255

11111110
254

So the IP address of Last Host on this subnet is 172.17.255.254

Broadcast Adress for this Subnet


Determining Broadcast by replacing the number 0 on the Last host subnet range to number 1.
Subnet Address

10101100
172

00010001

1111111

00000000

17

255

255

00010001

11111111

00000001

255

255

Change to :
10101100
172

17

So the Broadcast Adress for this subnet is 172.17.255.255

PROBLEM 5
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnet

192.168.3.219
255.255.255.0
8

Number of Host Bits per Subnet


Number of Usable Hosts per Subnet
Subnet Address for this IP Adress
IP Adress of First Host on this Subnet
IP Adress of Last Host on this Subnet
Broadcast Adress for this Subnet

256
254
192.168.3.0
192.168.3.1
192.168.3.254
192.168.3.255

256

Step 1 : Translate host IP address and subnet mask into binary notation.

IP Address
Subnet Mask

192
11000000
11111111
255

168
10101000
11111111
255

3
00000011
11111111
255

219
11011011
00000000
0

168
10101000
11111111
255

3
00000011
11111111
255

219
11011011
00000000
0

Number of Subnet Bits


IP Address
Subnet Mask

192
11000000
11111111
255

For Number Subnet Bits we take 1 in Subnet mask . So the subnet bits is 8 bits.

Number of Subnet .

IP Address
Subnet Mask

192
11000000
11111111
255

168
10101000
11111111
255

3
00000011
11111111
255

219
11011011
00000000
0

For Number of subnet we take 1 in subnet mask . So total number of subnet is (28= 256)

Number of Host Bits per Subnet

IP Address
Subnet Mask

192
11000000
11111111
255

168
10101000
11111111
255

3
00000011
11111111
255

219
11011011
00000000
0

For Number of Host Bits per Subnet we take 0 in subnet mask . so , the total number of host bits
per subnet are 8Bits .( 28=256)

Number of Usable Hosts per Subnet


To get Number of Usable Hosts per Subnet , we must use the formula 2n 2 . So, the calculation :
28-2= 254
So the total Number of Usable Host per Subnet is 254

Subnet Adress for this IP Address


For Subnet Adres s for this IP Adress we must Multiply IP Address with Subnet Mask like this :
IP Address
Subnet Mask

11000000
11111111
11000000
192

10101000
11111111
10101000
168

00000011
11111111
00000011
3

11011011
00000000
00000000
0

So, the Subnet Adress for this IP Adress is 192.168.3.0.

IP Adress of First Host on this Subnet


For IP Adress of First Host , We need to Change the Last binary number 0 of 4th octect to 1
Example :

Subnet Address

We Change it to 1 :

192
11000000

168
10101000

3
00000011

0
00000000

11000000

10101000

00000011

000000001

168

192

So the IP Address of First Host on this subnet is 192.168.3.1

IP Address of Last Host on this Subnet


For IP Adress Of Last Host , we just need to take from Subnet Address and change the to Binary
Number from 0 to 1 and but the last bits is fixed as 0 .
Example :
Subtnet Address

11000000
192

10101000

00000011

00000000

00011110

00000011

11111110

168

254

168

Change it to :
10101100
192

So the IP address of Last Host on this subnet is 192.168.3.254

Broadcast Adress for this Subnet


Determining Broadcast by replacing the number 0 on the Last host subnet range to number 1.
Subnet Address

11000000

10101000

00000011

00000000

192

168

1100000

10101000

00000011

11111111

192

168

Change to :

So the Broadcast Adress for this subnet is 192.168.3.255

255

PROBLEM 6
Host IP Address
Subnet Mask
Number of Subnet Bits
Number of Subnet

192.168.3.219
255.255.255.252
14

Number of Host Bits per Subnet


Number of Usable Hosts per Subnet
Subnet Address for this IP Adress
IP Adress of First Host on this Subnet
IP Adress of Last Host on this Subnet
Broadcast Adress for this Subnet

4
2
192.168.3.216
192.168.3.217
192.168.3.218
192.168.3.219

16384

Step 1 : Translate host IP address and subnet mask into binary notation.

IP Address
Subnet Mask

192
11000000
11111111
255

168
10101000
11111111
255

3
00000111
11111111
255

219
11011011
11111100
252

168
10101000
11111111
255

3
00000111
11111111
255

219
11011011
11111100
252

Number of Subnet Bits


IP Address
Subnet Mask

192
11000000
11111111
255

For Number Subnet Bits we take 1 in Subnet mask . So the subnet bits is 14 bits.

Number of Subnet .

IP Address
Subnet Mask

192
11000000
11111111
255

168
10101000
11111111
255

3
00000111
11111111
255

219
11011011
11111100
252

For Number of subnet we take 1 in subnet mask . So total number of subnet is (214=16384)

Number of Host Bits per Subnet

IP Address

192
11000000

168
10101000

3
00000111

219
11011011

Subnet Mask

11111111
255

11111111
255

11111111
255

11111100
252

For Number of Host Bits per Subnet we take 0 in subnet mask . so , the total number of host bits
per subnet are 2Bits .( 22=4)

Number of Usable Hosts per Subnet


To get Number of Usable Hosts per Subnet , we must use the formula 2n 2 . So, the calculation :
22-2= 2
So the total Number of Usable Host per Subnet is 2

Subnet Adress for this IP Address


For Subnet Adres s for this IP Adress we must Multiply IP Address with Subnet Mask like this :
IP Address
Subnet Mask

11000000
11111111
11000000
192

10101000
11111111
10101000
168

00000011
11111111
00000011
3

11011011
11111100
11011000
216

So, the Subnet Adress for this IP Adress is 192.168.3.216.

IP Adress of First Host on this Subnet


For IP Adress of First Host , We need to Change the Last binary number 0 of 4th octect to 1
Example :
Subnet Address

192
11000000

168
10101000

3
00000011

216
11011000

11000000

10101000

00000011

11011001

We Change it to 1 :

192

168

217

So the IP Address of First Host on this subnet is 192.168.3.217

IP Address of Last Host on this Subnet


For IP Adress Of Last Host , we just need to take from Subnet Address and change the to Binary
Number from 0 to 1 and but the last bits is fixed as 0 .
Example :

Subnet Address

192
11000000

168
10101000

3
00000011

216
11011000

11000000

10101000

0000001

11011010

Change it to :

192

168

218

So the IP address of Last Host on this subnet is 192.168.3.218

Broadcast Adress for this Subnet


Determining Broadcast by replacing the number 0 on the Last host subnet range to number 1.

Subnet Address

192
11000000

168
10101000

3
00000011

216
11011000

11000000

10101000

0000001

11011011

Change it to :

192

168

So the Broadcast Address for this subnet is 192.168.3.219

219

Вам также может понравиться