Octet in Decimal and Binary For All The 5 IP Address Classes?

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

Q#01. Write the default Masks for the Class A, Class B and Class C IP addresses.

Ans:-

Class A networks use a default subnet mask of 255.0.0.0 and have 0-127 as their first octet. The address 10.52.36.11 is a
class A address. Its first octet is 10, which is between 1 and 126, inclusive.

Class B networks use a default subnet mask of 255.255.0.0 and have 128-191 as their first octet. The address 172.16.52.63 is
a class B address. Its first octet is 172, which is between 128 and 191, inclusive.

Class C networks use a default subnet mask of 255.255.255.0 and have 192-223 as their first octet. The address
192.168.123.132 is a class C address. Its first octet is 192, which is between 192 and 223, inclusive.

Q#02. 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 decimal and Binary for all the 5 IP address classes?
Ans:-
Class Address Ending Addrees
A 1.0.0.0 172.255.255.255
B 128.0.0.0 191.255.255.255
C 192.0.0.0 233.255.255.255
D 224.0.0.0 239.255.255.255
E 240.0.0.0 255.255.255.255

Q#03. Write the default subnet Masks for the following IP addresses:
a. 179.65.225.4 b. 222.35.20.18 c. 111.7.80.0
Ans:-
IP Address Default Subnet class
179.65.225.4 255.255.255.0 B
222.35.20.18 255.255.255.0 C
111.7.80.0 255.0.0.0 A

Q#04:-Write down the three available ranges for assigning Private IP addresses recommended by IANA (Internet Assigned Number
Authority).
Ans:-
IP address Private IP address Class
10.0.0.0 10.255.255.255 A
172.16..0.0 172.31.255.255 B
192.168.0.0 192.168.255.255 C
Q#05:- A broadcast address is the one that addresses to all the hosts in any network. State that to create a broadcast
address, all the bits of network ID portion or all the bits of host ID portion are set to 1? Write down the broadcast
addresses of the networks to which the following IP addresses belong, write network addresses and ranges of their valid IP
address too. (No subnetting)
a. 129.65.225.4 b. 211.35.20.18 c. 180.47.115.6
Ans:-
IP address Network Address Broadcast ID
129.65.225.4 129.65.0.0 129.65.225.255
211.35.20.18 211.35.0.0 211.35.225.255
180.45.115.0 180.45.0.0 180.45.225.255
Q#06:- Subnet Mask or Custom mask tells us that how many bits are used for Subnet ID portion and how many for host ID
portion. Identify how many bits are used for subnetting in the following IP address using its subnet mask:
a. IP Address: 135.65.225.4 Subnet Mask: 255.255.240.0
b. IP Address: 210.35.20.18 Subnet Mask: 255.255.255.248
c. IP Address: 190.47.115.6 Subnet Mask: 255.255.254.0
Ans:-
IP Address Binary Subnet Mask Subnet ID bits Host ID bits
135.65.225.4 255.255.11110000.0 255.255.240.0

You might also like