Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Two portions of my Question:

1ST PORTION

As the internet grew, the original Classful addressing scheme became a limitation. The IP address space was being exhausted. (the question is how)

2ND PORTION

In case of classful addressing scheme, all networks had to choose one of three possible sizes, many addresses were unused (this sentence requires explanation)

What Is my point of view about this sentence, for example we have two networks using class c addressing scheme, in this case we can have 254 hosts , but we need to have only 12 hosts with our network. It means we only need 12 IP addresses, now in the second network we need to have 254 hosts, now we assign the IP addresses in sequence to these hosts (as the same suffix can be assigned to the computers on different networks because there network numbers are different so the IP addresses are unique).
Teacher says that if you need only 12 hosts in your network and you use class c Addressing scheme then you need only 4 bits in your suffix, but in case of class C you will assign the suffix portion to 12 computers and all the remaining possible IP addresses will be wasted. Question is what is the problem if they are wasted, I think they are not wasted we can use them in another network as I have described above.

Please note that i am a beginer not an expert like you people, therefore answer should be such that can be understood.

share|improve this question
sir its not homework, if you read the question you will know that i am trying to understand the concepts. – Zia ur Rahman Jul 26 '10 at 19:51
8  
Previous posts have tried again and again to point you to places where you can ready about the history of IP addressing. You have ignored them all. It's apparent you don't understand IP, and have willingly refused to read up on it. – Chris S Jul 26 '10 at 19:53
3  
This is not a place to start learning. You are asking for help, people are trying, and you are being rude. – Dan Jul 26 '10 at 19:55
2  
Being tagged as homework seems to point to this being same. Many patient peopletry to help and you dismiss them. Some Google searchs will point you to a wealth of information. Ask you instructor for additioanl information or reading material. – Dave M Jul 26 '10 at 20:03
1  
@Chris S, Networking questions and addressing questions fall withing the scope of SF. There is nothing directly wrong about asking homework questions. From the phrasing I doubt this is an actual question from an assignment, I think this is someone trying to learn a concept. See the discussion at meta.serverfault.com/questions/498/… – Zoredache Jul 26 '10 at 22:03
show 4 more comments

migrated from serverfault.com Jul 26 '10 at 20:18

5 Answers

Classful addressing, is simply a term used to describe how many hosts (aka the size of) are in a network segment, the newer term is slash-notation or CIDR. They mean roughly the same thing.

Heres a quick cheatsheet for converting them:

Classful Name    CIDR     subnet mask used
Class A          = /8     = 255.0.0.0
Class B          = /16    = 255.255.0.0
Class C          = /24    = 255.255.255.0

Obviously there are network segments of all sizes, see this wikipedia entry for more details.

share|improve this answer
totally unrelated answer, you did not read what i am asking about. so please don't post unrelated answers and comments, its my request to you. – Zia ur Rahman Jul 26 '10 at 19:49
Totally related. If you've only got 12 computers but have 254 slots reserved for you, they are then, by definition, "wasted". No one else can use them in their own network as they are routed to you. – Brian Knoblauch Jul 26 '10 at 19:52
6  
Well as written, your question doesn't make much sense and its hard to tell what you are looking for. – Nate Bross Jul 26 '10 at 19:52
Mr.Brian Knoblauch comment here does not make sense, i need explanation, as i have explained my confusion, according to me they are not wasted i have desribed it in my question , i know i am wrong but i need positive critisim on my explanation so that the concept can be understood. – Zia ur Rahman Jul 26 '10 at 19:57
5  
Think of IP addresses as a property LOT, and Class C network as a "city block". If you have the entire city block and only build a house on one LOT, you've "wasted" the rest of the block to everyone else. – Nate Bross Jul 26 '10 at 20:00

WHY are they still teaching about class-based addressing? It's gone. Obsolete as you said. Your question has no real merit, but the reason the addresses are wasted is because if you give me 255 addresses and I only use 3 of them, the other 252 can ONLY be used by me. I can't give them away to anyone else (OK, so they're not "wasted" because I CAN use them at a later time, but only I can use them. Nobody else. And that's like me buying 1/50th of every car on the planet and then I can't let anyone else us them. That's a waste).

The internet is fastly approaching the day when we run out of IPv4 addresses (that's another topic for another day, some believe we're already there), so we can't afford any wasteful allocations.

share|improve this answer

In response to #2: They are wasted because of ROUTING. Not because of Addressing. If you are assigned a /24 network (Class C), Internet Service Providers will forward ALL traffic going to that entire /24 to YOUR router. Since you only have your 12 hosts behind your router, the rest goes to waste, since nobody on the internet could get to them. With CIDR and the allowance of smaller pools of hosts, you can route to 10.1.1.16/26, 10.1.1.64/27 (pulling those out of nowhere, they're probably not right) instead of having to route to 10.1.1.0/24.

share|improve this answer

This information might help you - http://www.tcpipguide.com/free/t_ProblemsWithClassfulIPAddressing.htm

Summary of “Classful” Addressing Issues There are three main problems with “classful” addressing, which are somewhat related to each other (making them a bit harder to explain). Let's start with a quick summary of what these issues are:

Lack of Internal Address Flexibility: Big organizations are assigned large, “monolithic” blocks of addresses that don't match well the structure of their underlying internal networks.

Inefficient Use of Address Space: The existence of only three block sizes (classes A, B and C) leads to waste of limited IP address space.

Proliferation of Router Table Entries: As the Internet grows, more and more entries are required for routers to handle the routing of IP datagrams, which causes performance problems for routers. Attempting to reduce inefficient address space allocation leads to even more router table entries. "

share|improve this answer

Question is what is the problem if they are wasted, I think they are not wasted we can use them in another network as I have described above.

In the standard classful networking scheme, the following is true:

  • Boundaries that form address ranges are fixed
  • The different subnet sizes are tied to the network part of the address

Because of this, let's say you have a classful /8 from someone. It's impossible for you to split that amongst smaller networks. You can't change the network part of the address to change the class (as long as others are using that network address to send you traffic), and therefore the range of addresses you are working with.

CIDR removes both these limitations and allows you to "subnet" a range of IP addresses down to as little as 2 addresses.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.