In classful addressing, an IP address 123.23.156.4 belongs to ______ class format.
UGC NET - 2012,
Answer: A
In classful addressing the class is decided by the first octet. The range 1 to 126 is class A, 128 to 191 class B, 192 to 223 class C and 224 to 239 class D. The address 123.23.156.4 has first octet 123, which lies in 1 to 126, so it belongs to class A. It is not class B, which would need a first octet of 128 or more, nor class C or D. The keyed answer is A.
Please log in or register to report this question.