0% found this document useful (0 votes)
375 views2 pages

Subnetting Exercises Solution

The document discusses IP addressing classes and subnetting. It provides the default subnet masks for Class A, B, and C addresses. It defines the ranges of the first octet for each class - Class A is 1-126, Class B is 128-191, Class C is 192-223. For given IP addresses, it identifies the class and provides the default Class C subnet mask of 255.255.255.0. It also lists the three private IP address blocks recommended by IANA as 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.

Uploaded by

Waqas Yasir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
375 views2 pages

Subnetting Exercises Solution

The document discusses IP addressing classes and subnetting. It provides the default subnet masks for Class A, B, and C addresses. It defines the ranges of the first octet for each class - Class A is 1-126, Class B is 128-191, Class C is 192-223. For given IP addresses, it identifies the class and provides the default Class C subnet mask of 255.255.255.0. It also lists the three private IP address blocks recommended by IANA as 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.

Uploaded by

Waqas Yasir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

IP Addressing and Subnetting

Exercise
1. Write the default subnet Masks for the Class A, Class B and Class C IP addresses.
Answer:
IP Address
Class

Total #of Bits for


network/ Host ID

Default Subnet Mask


First
Octet

Second
Octet

Third
Octet

Fourth
Octet

Class A

(08)(24)

11111111 00000000 00000000 00000000


(255)
(0)
(0)
(0)

Class B

16 / 16

11111111
(255)

00000000 00000000 00000000


(255)
(0)
(0)

Class C

24 / 8

11111111
(255)

11111111 11111111
(255)
(255)

00000000
(0)

2. How we can distinguish Class A, Class B, Class C, Class D and Class E IP addresses from each
other. Write the range of first octet in binary and decimal for all the 5 IP address classes.
Answer:
IP Address First Octet Lowest Value
Highest
Range of Octets in Theoretical
Class
of IP
of First Octet
Value of First Octet Network IP Address
Address
(binary)
First Octet
Values
ID / Host
Range
(binary)
(decimal)
ID
Class A

0xxx xxxx

0000 0001

0111 1110

1 to 126

1/3

1.0.0.0 to
126.255.25
5.255

Class B

10xx xxxx

1000 0000

1011 1111

128 to 191

2/2

128.0.0.0 to
191.255.25
5.255

Class C

110x xxxx

1100 0000

1101 1111

192 to 223

3/1

192.0.0.0 to
223.255.25
5.255

Class D

1110 xxxx

1110 0000

1110 1111

224 to 239

224.0.0.0 to
239.255.25
5.255

3.

Write the default subnet Masks for the following IP addresses.

Answer:
a)

100.100.225.100 Class C

Subnet Masks

255.255.255.0

b)

200.0.0.2

Class C

Subnet Masks

255.255.255.0

c)

190.47.115.0

Class C

Subnet Masks

255.255.255.0

d) 192.11.39.2

Class C

Subnet Masks

255.255.255.0

e)

Class C

Subnet Masks

255.255.255.0

101.7.80.0

4. Write down the three available ranges for assigning Private IP addresses recommended by IANA
(Internet Assigned Number Authority).

You might also like