Which of the following address belongs class A?a)121.12.12.248b)130.12...
Explanation:
In IP address, the first octet represents the network class. The range of the first octet determines the class of the IP address. The classes of IP addresses are Class A, Class B, Class C, Class D, and Class E.
- Class A: The range of the first octet in Class A IP address ranges from 1 to 126. The IP address in class A has the format of a.b.c.d where a is the network ID and b, c, and d are the host ID.
- Class B: The range of the first octet in Class B IP address ranges from 128 to 191. The IP address in class B has the format of a.b.c.d where a and b are the network ID and c and d are the host ID.
- Class C: The range of the first octet in Class C IP address ranges from 192 to 223. The IP address in class C has the format of a.b.c.d where a, b, and c are the network ID and d is the host ID.
In the given options, the first octet of option A is 121 which falls in the range of Class A IP address. Therefore, the correct answer is option A.
HTML formatted answer:
Explanation:
In IP address, the first octet represents the network class. The range of the first octet determines the class of the IP address. The classes of IP addresses are Class A, Class B, Class C, Class D, and Class E.
- Class A: The range of the first octet in Class A IP address ranges from 1 to 126. The IP address in class A has the format of a.b.c.d where a is the network ID and b, c, and d are the host ID.
- Class B: The range of the first octet in Class B IP address ranges from 128 to 191. The IP address in class B has the format of a.b.c.d where a and b are the network ID and c and d are the host ID.
- Class C: The range of the first octet in Class C IP address ranges from 192 to 223. The IP address in class C has the format of a.b.c.d where a, b, and c are the network ID and d is the host ID.
In the given options, the first octet of option A is 121 which falls in the range of Class A IP address. Therefore, the correct answer is option A.