0% found this document useful (0 votes)
188 views11 pages

IP Address Task 2 Assignment 2

The document details five networking problems involving IP addresses and subnetting. Each problem outlines the host IP address, subnet mask, calculations for subnets, usable hosts, first and last host IPs, and broadcast addresses. It includes binary translations and bitwise operations to determine subnet addresses and host counts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
188 views11 pages

IP Address Task 2 Assignment 2

The document details five networking problems involving IP addresses and subnetting. Each problem outlines the host IP address, subnet mask, calculations for subnets, usable hosts, first and last host IPs, and broadcast addresses. It includes binary translations and bitwise operations to determine subnet addresses and host counts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Task 2: Challenge

Problem 1:
Host IP Address

[Link]

Subnet Mask

[Link]

Number of Subnet Bits

8 Bits or 28 or 256 total hosts

Number of Subnets

28 = 256

Number of Host Bits per Subnet

28

Number of Usable Host per Subnet

256 2 = 254 usable hosts

Subnet Address for this IP Address

[Link]

IP Address for First Host on this Subnet

[Link]

IP Address of Last Host on this Subnet

[Link]

Broadcast Address for this Subnet

[Link]

Step 1 : Translate the Host IP Address and Subnet Mask into Binary Notation.
IP Address
Subnet Mask
Subnet Address

=
=
=
=

172
10101100
11111111
10101100
172

30
00011110
11111111
00011110
30

1
00000001
11111111
00000001
1

33
00100001
00000000
00000000
0

Step 2 : Determine the network (or Subnet) where this host Address belongs.
1. Perform a bit-wise AND operation on the IP Address and the Subnet Mask.
Note: 1 AND 1 results is 1. But 0 AND Anything is 0.
2. Express the result in dotted decimal notation.
3. The result is the Subnet Address of this Subnet, is [Link]
Step 3 : Calculate the Number of Hosts Bits.
1. Given the Subnet Masks is [Link], or 11111111 11111111 11111111 00000000.
The total 0 in the Subnet Masks is 8, so automatically 28 or 2x2x2x2x2x2x2x2 is equal to
256.
Step 4 : Determine the number of Subnets.
1. The number of subnets is determined by how many bits are in the subnet counting range.
Use the formula 2n, where n is the number of bits in the subnet counting range.
a. 28 = 256
Subnet
Address

10101100

00011110

00000001

00000000

*The red number is Major Divide (M.D), The Blue number is Subnet Divide (S.D)
Step 4 : Determine the number usable hosts per Subnet.
1. The Number of hosts per Subnet is determined by the number of host bits and minus by
2.
a. 28 - 2 = 256 2 = 254 Hosts per Subnet.
Step 5 : Determine the First Host and Last Host in this subnet.
1. In the host partition (to the right of the S.D), make the host bits all 0s except for the rightmost bit (or least significant bit), which you make a 1. This will give you The First Host
IP address.
[Link] = [Link]
2. In the host partition (to the right of the S.D), make the host bits all 1s except for the rightmost bit (or least significant bit), which you make a 0. This will give you The First Host
IP address.
Subnet Address = 10101100
00011110
00000001
00000000
Last Hosts
= 10101100
00011110
00000001
11111110
=
172
30
1
254
Step 6 : Determine the Broadcast Address for the subnet.
1. In the host partion (to the right of the S.D) make the host bits all 1s.
Subnet Address = 10101100
00011110
00000001
00000000
Broadcast Address= 10101100
00011110
00000001
11111111
=
172
30
1
255
Problem 2 :
Host IP Address

[Link]

Subnet Mask

[Link]

Number of Subnet Bits

2 bits or 22 or 4 total host

Number of Subnets

22 = 4

Number of Host Bits per Subnet

22

Number of Usable Host per Subnet

4 -2 = 2 usable host

Subnet Address for this IP Address

[Link]

IP Address for First Host on this Subnet

[Link]

IP Address of Last Host on this Subnet

[Link]

Broadcast Address for this Subnet

[Link]

Step 1 : Translate the Host IP Address and Subnet Mask into Binary Notation.

IP Address
Subnet Mask
Subnet Address

=
=
=
=

172
10101100
11111111
10101100
172

30
00011110
11111111
00011110
30

1
00000001
11111111
00000001
1

33
00100001
11111100
00100000
32

Step 2 : Determine the network (or Subnet) where this host Address belongs.
4. Perform a bit-wise AND operation on the IP Address and the Subnet Mask.
Note: 1 AND 1 results is 1. But 0 AND Anything is 0.
5. Express the result in dotted decimal notation.
6. The result is the Subnet Address of this Subnet, is [Link]
Step 3 : Calculate the Number of Hosts Bits.
2. Given the Subnet Masks is [Link], or 11111111 11111111 11111111
11111100
The total 0 in the Subnet Masks is 8, so automatically 22 or 2x2 is equal to 4.
Step 4 : Determine the number of Subnets.
2. The number of subnets is determined by how many bits are in the subnet counting range.
Use the formula 2n, where n is the number of bits in the subnet counting range.
b. 22 = 4
Subnet
10101100
00011110
00000001
00100000
Address
*The red number is Major Divide (M.D), The Blue number is Subnet Divide (S.D)
Step 4 : Determine the number usable hosts per Subnet.
2. The Number of hosts per Subnet is determined by the number of host bits and minus by
2.
b. 22 - 2 = 4 2 = 2 Hosts per Subnet.
Step 5 : Determine the First Host and Last Host in this subnet.
3. In the host partition (to the right of the S.D), make the host bits all 0s except for the rightmost bit (or least significant bit), which you make a 1. This will give you The First Host
IP address.
[Link]= [Link]

4. In the host partition (to the right of the S.D), make the host bits all 1s except for the rightmost bit (or least significant bit), which you make a 0. This will give you The First Host
IP address.
Subnet Address = 10101100
00011110
00000001
00100000
Last Hosts
= 10101100
00011110
00000001
00100010

172

30

34

Step 6 : Determine the Broadcast Address for the subnet.


2. In the host partion (to the right of the S.D) make the host bits all 1s.
Subnet Address = 10101100
00011110
00000001
00100000
Broadcast Address= 10101100
00011110
00000001
00100011
=
172
30
1
35
Problem 3 :
Host IP Address

[Link]

Subnet Mask

[Link]

Number of Subnet Bits

8 bits or 28 or 256 total host.

Number of Subnets

28 = 256

Number of Host Bits per Subnet

28

Number of Usable Host per Subnet

256 2 = 254

Subnet Address for this IP Address

[Link]

IP Address for First Host on this Subnet

[Link]

IP Address of Last Host on this Subnet

[Link]

Broadcast Address for this Subnet

[Link]

Step 1 : Translate the Host IP Address and Subnet Mask into Binary Notation.
IP Address
Subnet Mask
Subnet Address

=
=
=
=

192
11000000
11111111
11000000
192

192
11000000
11111111
11000000
192

10
00001010
11111111
00001010
10

234
11101010
00000000
00000000
0

Step 2 : Determine the network (or Subnet) where this host Address belongs.
7. Perform a bit-wise AND operation on the IP Address and the Subnet Mask.
Note: 1 AND 1 results is 1. But 0 AND Anything is 0.
8. Express the result in dotted decimal notation.
9. The result is the Subnet Address of this Subnet, is [Link].
Step 3 : Calculate the Number of Hosts Bits.
3. Given the Subnet Masks is [Link], or 11111111 11111111 11111111 00000000
The total 0 in the Subnet Masks is 8, so automatically 28 or 2x2x2x2x2x2x2x2 is equal to
256.

Step 4 : Determine the number of Subnets.


3. The number of subnets is determined by how many bits are in the subnet counting range.
Use the formula 2n, where n is the number of bits in the subnet counting range.
c. 28 = 256
Subnet
10101100
00011110
00001010
00000000
Address
*The red number is Major Divide (M.D), The Blue number is Subnet Divide (S.D)
Step 4 : Determine the number usable hosts per Subnet.
3. The Number of hosts per Subnet is determined by the number of host bits and minus by
2.
c. 28 - 2 = 256 2 = 254 Hosts per Subnet.
Step 5 : Determine the First Host and Last Host in this subnet.
5. In the host partition (to the right of the S.D), make the host bits all 0s except for the rightmost bit (or least significant bit), which you make a 1. This will give you The First Host
IP address.
[Link] = [Link]

6. In the host partition (to the right of the S.D), make the host bits all 1s except for the rightmost bit (or least significant bit), which you make a 0. This will give you The First Host
IP address.
Subnet Address = 11000000
11000000
00001010
00000000
Last Hosts
= 11000000
11000000
00001010
11111110
=
192
192
10
254
Step 6 : Determine the Broadcast Address for the subnet.
3. In the host partion (to the right of the S.D) make the host bits all 1s.
Subnet Address = 11000000
11000000
00001010
00000000
Broadcast Address= 11000000
11000000
00001010
11111111
=
192
192
10
255

Problem 4 :
Host IP Address

[Link]

Subnet Mask

[Link]

Number of Subnet Bits

16 bits or 216 or 65,536 total host

Number of Subnets

216 = 65,536

Number of Host Bits per Subnet

216

Number of Usable Host per Subnet

65,536 2 =65,534 usable host

Subnet Address for this IP Address

[Link]

IP Address for First Host on this Subnet

[Link]

IP Address of Last Host on this Subnet

[Link]

Broadcast Address for this Subnet

[Link]

Step 1 : Translate the Host IP Address and Subnet Mask into Binary Notation.
IP Address
Subnet Mask
Subnet Address

=
=
=
=

172
10101100
11111111
10101100
172

17
00010001
11111111
00010001
17

99
01100011
00000000
00000000
0

71
01000111
00000000
00000000
0

Step 2 : Determine the network (or Subnet) where this host Address belongs.
10. Perform a bit-wise AND operation on the IP Address and the Subnet Mask.
Note: 1 AND 1 results is 1. But 0 AND Anything is 0.
11. Express the result in dotted decimal notation.
12. The result is the Subnet Address of this Subnet, is [Link].
Step 3 : Calculate the Number of Hosts Bits.
4. Given the Subnet Masks is [Link], or 11111111 11111111 00000000 00000000
The total 0 in the Subnet Masks is 16 , so automatically 216 or
2x2x2x2x2x2x2x2x2x2x2x2x2x2x2x2 is equal to 65,536.
Step 4 : Determine the number of Subnets.
4. The number of subnets is determined by how many bits are in the subnet counting range.
Use the formula 2n, where n is the number of bits in the subnet counting range.
d. 216 = 65,536.
Subnet
Address

10101100

00010001

00000000

00000000

*The red number is Major Divide (M.D), The Blue number is Subnet Divide (S.D)
Step 4 : Determine the number usable hosts per Subnet.
4. The Number of hosts per Subnet is determined by the number of host bits and minus by
2.
d. 216 - 2 = 65,536 2 = 65,534 Hosts per Subnet.
Step 5 : Determine the First Host and Last Host in this subnet.
7. In the host partition (to the right of the S.D), make the host bits all 0s except for the rightmost bit (or least significant bit), which you make a 1. This will give you The First Host
IP address.
[Link] = [Link]

8. In the host partition (to the right of the S.D), make the host bits all 1s except for the rightmost bit (or least significant bit), which you make a 0. This will give you The First Host
IP address.
Subnet Address = 10101100
00010001
00000000
00000000
Last Hosts
= 10101100
00010001
11111111
11111110
=
172
17
255
254
Step 6 : Determine the Broadcast Address for the subnet.
4. In the host partion (to the right of the S.D) make the host bits all 1s.
Subnet Address = 10101100
00010001
00000000
00000000
Broadcast Address= 10101100
00010001
11111111
11111111
=
172
17
255
255
Problem 5 :
Host IP Address

[Link]

Subnet Mask

[Link]

Number of Subnet Bits

8 bits or 28 or 256 total host

Number of Subnets

28 = 256

Number of Host Bits per Subnet

28

Number of Usable Host per Subnet

256 2 =254 usable host

Subnet Address for this IP Address

[Link]

IP Address for First Host on this Subnet

[Link]

IP Address of Last Host on this Subnet

[Link]

Broadcast Address for this Subnet

[Link]

Step 1 : Translate the Host IP Address and Subnet Mask into Binary Notation.
IP Address
Subnet Mask
Subnet Address

=
=
=
=

192
11000000
11111111
11000000
192

168
10101000
11111111
10101000
168

3
00000011
11111111
00000011
3

219
11011011
00000000
00000000
0

Step 2 : Determine the network (or Subnet) where this host Address belongs.
13. Perform a bit-wise AND operation on the IP Address and the Subnet Mask.
Note: 1 AND 1 results is 1. But 0 AND Anything is 0.
14. Express the result in dotted decimal notation.
15. The result is the Subnet Address of this Subnet, is [Link].
Step 3 : Calculate the Number of Hosts Bits.
5. Given the Subnet Masks is [Link], or 11111111 11111111 11111111 00000000
The total 0 in the Subnet Masks is 8 , so automatically 28 or 2x2x2x2x2x2x2x2 is equal to
256.
Step 4 : Determine the number of Subnets.
5. The number of subnets is determined by how many bits are in the subnet counting range.
Use the formula 2n, where n is the number of bits in the subnet counting range.
e. 28 = 256 .
Subnet
11000000
10101000
00000011
00000000
Address
*The red number is Major Divide (M.D), The Blue number is Subnet Divide (S.D)
Step 4 : Determine the number usable hosts per Subnet.
5. The Number of hosts per Subnet is determined by the number of host bits and minus by
2.
e. 28 - 2 = 256 2 = 254 Hosts per Subnet.
Step 5 : Determine the First Host and Last Host in this subnet.
9. In the host partition (to the right of the S.D), make the host bits all 0s except for the rightmost bit (or least significant bit), which you make a 1. This will give you The First Host
IP address.
[Link] .= [Link]

10. In the host partition (to the right of the S.D), make the host bits all 1s except for the rightmost bit (or least significant bit), which you make a 0. This will give you The First Host
IP address.
Subnet Address = 11000000
10101000
00000011
00000000
Last Hosts
= 11000000
10101000
00000011
11111110
=
192
168
3
254
Step 6 : Determine the Broadcast Address for the subnet.
5. In the host partion (to the right of the S.D) make the host bits all 1s.
Subnet Address
= 11000000
10101000
00000011
00000000
Broadcast Address= 11000000
10101000
00000011
11111111
=
192
168
3
255

Problem 6 :
Host IP Address

[Link]

Subnet Mask

[Link]

Number of Subnet Bits

2 bits or 22 or 4 total host

Number of Subnets

22 = 4

Number of Host Bits per Subnet

22

Number of Usable Host per Subnet

4 2 = 2 usable host

Subnet Address for this IP Address

[Link]

IP Address for First Host on this Subnet

[Link]

IP Address of Last Host on this Subnet

[Link]

Broadcast Address for this Subnet

[Link]

Step 1 : Translate the Host IP Address and Subnet Mask into Binary Notation.
IP Address
Subnet Mask
Subnet Address

=
=
=
=

192
11000000
11111111
11000000
192

168
10101000
11111111
10101000
168

3
00000011
11111111
00000011
3

219
11011011
11111100
11011000
216

Step 2 : Determine the network (or Subnet) where this host Address belongs.
16. Perform a bit-wise AND operation on the IP Address and the Subnet Mask.
Note: 1 AND 1 results is 1. But 0 AND Anything is 0.
17. Express the result in dotted decimal notation.

18. The result is the Subnet Address of this Subnet, is [Link].


Step 3 : Calculate the Number of Hosts Bits.
6. Given the Subnet Masks is [Link], or 11111111 11111111 11111111 11111100
The total 0 in the Subnet Masks is 2 , so automatically 22 or 2x2 is equal to 4.
Step 4 : Determine the number of Subnets.
6. The number of subnets is determined by how many bits are in the subnet counting range.
Use the formula 2n, where n is the number of bits in the subnet counting range.
f. 22 = 4 .
Subnet
11000000
10101000
00000011
11011000
Address
*The red number is Major Divide (M.D), The Blue number is Subnet Divide (S.D)
Step 4 : Determine the number usable hosts per Subnet.
6. The Number of hosts per Subnet is determined by the number of host bits and minus by
2.
f. 22 - 2 = 4 2 = 2 Hosts per Subnet.
Step 5 : Determine the First Host and Last Host in this subnet.
11. In the host partition (to the right of the S.D), make the host bits all 0s except for the rightmost bit (or least significant bit), which you make a 1. This will give you The First Host
IP address.
[Link] = [Link]

12. In the host partition (to the right of the S.D), make the host bits all 1s except for the rightmost bit (or least significant bit), which you make a 0. This will give you The First Host
IP address.
Subnet Address = 11000000
10101000
00000011
11011000
Last Hosts
= 11000000
10101000
00000011
11011110
=
192
168
3
222
Step 6 : Determine the Broadcast Address for the subnet.
6. In the host partion (to the right of the S.D) make the host bits all 1s.
Subnet Address
= 11000000
10101000
00000011
11011000
Broadcast Address= 11000000
10101000
00000011
11011111
=

192

168

223

You might also like