Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 21

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.
172
33
IP Address
Subnet Mask

30

10101100 00011110 00000001 00100001


11111111 11111111 11111111 00000000
255
255
255

Number of Subnet Bits

IP Address
Subnet Mask

172

30

33

10101100 00011110 00000001 00100001


11111111 11111111 11111111 00000000
255
255
255

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

172

30

33

10101100 00011110 00000001 00100001


11111111 11111111 11111111 00000000
255
255
255

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


IP Address
Subnet Mask

172

30

33

10101100 00011110 00000001 00100001


11111111 11111111 11111111 00000000
255
255
255

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 2 n
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
00000000

10101100 00011110 00000001 00100001


X
11111111 11111111 11111111
10101100 00011110 00000001 00000000
172
30
1
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 00011110 00000001 00000000


172

30

We Change it to 1 :
10101100 00011110 00000001 00000001
172

30

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
00000001

10101100 00011110 00000001


172

30

1
Change it to :
10101100 00011110 00000001 11111110
172

30

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
11111110

10101100 00011110 00000001


172

30

254
Change to :
10101100 00011110 00000001 11111111
172

30

255
So the Broadcast Adress for this subnet is 172.30.1.255

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

172.30.1.33
255.255.255.252
14 bits
16384

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
Problem 2

4
2
172.30.1.32
172.30.1.33
172.30.1.34
172.30.1.35

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


notation.
172
33
IP Address
Subnet Mask

30

10101100 00011110 00000001 00100001


11111111 11111111 11111111 11111100
255
255
255

252

Number of Subnet Bits

IP Address
Subnet Mask

172

30

33

10101100 00011110 00000001 00100001


11111111 11111111 11111111 11111100
255
255
255

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

Number of Subnet .
IP Address
Subnet Mask

172

30

33

10101100 00011110 00000001 00100001


11111111 11111111 11111111 11111100

255

255

255

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
Subnet Mask

172

30

33

10101100 00011110 00000001 00100001


11111111 11111111 11111111 11111100
255
255
255

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 2 n
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
11111100

10101100 00011110 00000001 00100001


X
11111111 11111111 11111111
10101100 00011110 00000001 00100000
172
30
1
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 00011110 00000001 00100000


172

30

32

We Change it to 1 :
10101100 00011110 00000001 00100001
172

30

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 00011110 00000001 00100000


172

30

32
Change it to :
10101100 00011110 00000001 00100010
172

30

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 00011110 00000001


172

30

00100000
1

34
Change to :
10101100 00011110 00000001 00100011
172

30

255
So the Broadcast Adress for this subnet is 172.30.1.35

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

192.192.10.234
255.255.255.0
8
256
256
254
192.192.10.0
192.192.10.1
192.192.10.254
192.192.10.255

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


notation.
192
234
IP Address
Subnet Mask

192

10

11000000 11000000 00001010 11101010


11111111 11111111 11111111 00000000
255
255
255

Number of Subnet Bits

IP Address
Subnet Mask

192

192

10

234

11000000 11000000 00001010 11101010


11111111 11111111 11111111 00000000
255
255
255

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

234

11000000 11000000 00001010 11101010


11111111 11111111 11111111 00000000
255
255
255

For Number of subnet we take 0 in subnet mask . So total number of


subnet is (28 = 256)

Number of Host Bits per Subnet


IP Address
Subnet Mask

192

192

10

234

11000000 11000000 00001010 11101010


11111111 11111111 11111111 00000000
255
255
255

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 2 n
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
00000000

11000000 11000000 00001010 11101010


X
11111111 11111111 11111111
11000000 11000000 00001010 00000000
192
192
10
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 11000000 00001010 11101010


192
234

192

10

We Change it to 1 :
11000000 11000000 00001010 00000001
192

192

10

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


00000001

11000000 11000000 00001010


192

192

10

1
Change it to :
11000000 11000000 00001010 11111110
192

192

10

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
11111110

11000000 11000000 00001010


192

192

254
Change to :
10101100 11000000 00001010 11111111
192

192

255
So the Broadcast Adress for this subnet is 192.192.10.255

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

65536

1
65534
172.17.0.0
172.17.0.1

IP Adress of Last Host on this


Subnet
Broadcast Adress for this Subnet
Problem 4

172.17.255.254
172.17.255.255

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


notation.
172
71
IP Address
Subnet Mask

17

99

10101100 00010001 01100011 01000111


11111111 11111111 00000000 00000000
255
255
0

Number of Subnet Bits


172

17

99

71
IP Address
Subnet Mask

10101100 00010001 01100011 01000111


11111111 11111111 00000000 00000000
255
255
0

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


bits is 0 bits.

Number of Subnet .
172
71
IP Address
Subnet Mask

17

99

10101100 00010001 01100011 01000111


11111111 11111111 00000000 00000000
255
255
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


172
71
IP Address
Subnet Mask

17

99

10101100 00010001 01100011 01000111


11111111 11111111 00000000 00000000
255
255
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 2 n
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
00000000

10101100 00010001 01100011 01000111


X
11111111 11111111 00000000
10101100 00010001 00000000 00000000
172
17
0
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 :
172
0
Subnet Address

17

10101100 00010001 00000000

00000000

We Change it to 1 :
10101100 00010001 00000000 000000001
172

17

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 00010001 00000000 00000000


172

17

0
Change it to :
10101100 00010001 11111111 11111110
172

17

255

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 00010001 1111111


172

17

00000000
255

255
Change to :
10101100 00010001 11111111 00000001

172

17

255

255
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
256

Number of Host Bits per Subnet


256
Number of Usable Hosts per
254
Subnet
Subnet Address for this IP Adress
192.168.3.0
IP Adress of First Host on this
192.168.3.1
Subnet
IP Adress of Last Host on this
192.168.3.254
Subnet
Broadcast Adress for this Subnet
192.168.3.255
Step 1 : Translate host IP address and subnet mask into binary
notation.
192
219
IP Address
Subnet Mask

168

11000000 10101000 00000011 11011011


11111111 11111111 11111111 00000000
255
255
255

Number of Subnet Bits


192

168

219
IP Address
Subnet Mask
0

11000000 10101000 00000011 11011011


11111111 11111111 11111111 00000000
255
255
255

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


bits is 8 bits.

Number of Subnet .
192
219
IP Address
Subnet Mask

168

11000000 10101000 00000011 11011011


11111111 11111111 11111111 00000000
255
255
255

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


192
219
IP Address
Subnet Mask

168

11000000 10101000 00000011 11011011


11111111 11111111 11111111 00000000
255
255
255

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 2 n
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

11000000 10101000 00000011 11011011

Subnet Mask
00000000

11111111 11111111 11111111

11000000 10101000 00000011 00000000


192
168
3
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 :
192
0
Subnet Address

168

11000000 10101000 00000011

00000000

We Change it to 1 :
11000000 10101000 00000011 000000001
192

168

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 10101000 00000011 00000000


192

168

0
Change it to :
10101100 00011110 00000011 11111110

192

168

254
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


192

168

00000000
3

0
Change to :
1100000

10101000 00000011 11111111

192

168

255
So the Broadcast Adress for this subnet is 192.168.3.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

16384
2
192.168.3.216
192.168.3.217
192.168.3.218
192.168.3.219

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


notation.
192
219
IP Address
Subnet Mask

168

11000000 10101000 00000111 11011011


11111111 11111111 11111111 11111100
255
255
255

252

Number of Subnet Bits


192
219
IP Address
Subnet Mask

168

11000000 10101000 00000111 11011011


11111111 11111111 11111111 11111100
255
255
255

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

Number of Subnet .
192
219
IP Address
Subnet Mask

168

11000000 10101000 00000111 11011011


11111111 11111111 11111111 11111100
255
255
255

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


192
219
IP Address
Subnet Mask
252

168

11000000 10101000 00000111 11011011


11111111 11111111 11111111 11111100
255
255
255

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 2 n
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
11111100

11000000 10101000 00000011 11011011


X
11111111 11111111 11111111
11000000 10101000 00000011 11011000
192
168
3
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 :
192
216
Subnet Address

168

11000000 10101000 00000011

11011000

We Change it to 1 :
11000000 10101000 00000011
192

168

11011001
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 :
192

168

216
Subnet Address
11011000

11000000 10101000 00000011

Change it to :
11000000 10101000 0000001
192

168

11011010
3

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.
192

168

216
Subnet Address
11011000

11000000 10101000 00000011

Change it to :
11000000 10101000 0000001
192

168

219

So the Broadcast Address for this subnet is 192.168.3.219

11011011
3

You might also like