I was watching a tutorial video on Lynda.com. The presenter said:

  • Class A: First octet between 1 and 126.
  • Class B: First octet between 128 and 191.
  • Class C: First octet between 192 and 223.

I did some Google searching, and according to Wikipedia,

  • Class A starts from and ends with
  • Class B starts from and ends with
  • Class C starts from and ends with
  • Class D starts from and ends with
  • Class E starts from and ends with

I found another similar course on Udemy. The presenter said:

  • Class Address Range
  • A to
  • B to
  • C to
  • D to
  • E to

I cannot ask the presenters directly, so my questions are:

  • Should 127 be included in Class A or not?
  • Why does the address range vary (sometimes from, sometimes from, as well as end with 254 or 255)? Which one is correct?

I am surprised that this classful addressing must have been around for years, why there is not a unified definition? Sorry about the wordy questions and thanks in advance.

3 Answers 3


Yes, 127.x.x.x should be included as a Class A address. - is the correct entire network block for a /24 network. - are the correct usable hosts for a /24 network. is your network. is your broadcast address.

You will sometime see the first IP ( and last IP ( left off when documenting the usable host addresses.

  • Thank you for providing such a succinct yet detailed answer. Now I understand why variations exist in different versions.
    – Pesticide
    Jan 26, 2017 at 4:01

Classful networking is dead, and it has been for over 20 years, killed in 1993 by RFCs 1518 and 1519, which defined CIDR (Classless Inter-Domain Routing). Please, let it rest in peace. Modern networking does not use classes.

If you insist on using outdated, obsolete classes, IPv4 addresses are 32-bit integers. If you remember RFC 870, ASSIGNED NUMBERS:

  • Class A networks have the first bit as 0.
  • Class B networks have the first two bits as 10.
  • Class C networks have the first three bits as 110.
  • Class D networks have the first four bits as 1110.
  • Class E networks have the first four bits as 1111.

You should be able to figure out the old network class for any address with the above information, not that it means anything, anymore.

  • Thank you so much for editing my post and answering my questions. I will let it go and just learn about CIDR.
    – Pesticide
    Jan 25, 2017 at 2:18
  • If this answers your question, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer.
    – Ron Maupin
    Jan 25, 2017 at 2:26
  • I didn't realize I should accept an answer. Sorry about not closing the question sooner, and I want to choose the other one. It just addresses my questions more specifically. Thank you for taking the time to reply and letting me know what I was supposed to do after a question was responded.
    – Pesticide
    Jan 26, 2017 at 3:56
  • That is fine, as long as your question is answered. We aim to please, but a question will keep popping up to the top as long as it doesn't have an accepted answer. If we haven't answered, you can comment and ask for clarification.
    – Ron Maupin
    Jan 26, 2017 at 3:59

I think the gap is for a reason, IP address is there for local host and called loopback address. It is for communicating with host itself. Many times used for testing purposes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.