How to define which class of IP address to use on a given project?

Gracoprog

Reputable
May 12, 2014
23
0
4,520
Hello guys.

I would like to know how you people define which IP address class to use on a given project that you're developing from scratch.

For example: you have two separate networks with 3 hosts + 1 switch each. You must make them communicate with each other via 1 router, and you need to specify a network address for the router, addresses for the networks, subnet masks and addresses for each computer.

How would you do it?

Thanks in advance for any feedback.
 
Solution
You assign as many addresses as you need. If you are using private addresses it tend to better to allocate much bigger than you would ever use since almost no company runs out of privates and it is a huge pain to readdress things at a later date.

The concept of class does not really apply any more this was all done to reduce memory and cpu load on routers none of which matters any more.

Sure you can get some optimum size of subnets but it only really matters when you are dealing with real internet routable ips and then you do all kinds of strange stuff to conserve ip.

Most time the smallest that people allocate is /24 when using private just because it is easier. There is a huge difference between what you do in the real world...
You assign as many addresses as you need. If you are using private addresses it tend to better to allocate much bigger than you would ever use since almost no company runs out of privates and it is a huge pain to readdress things at a later date.

The concept of class does not really apply any more this was all done to reduce memory and cpu load on routers none of which matters any more.

Sure you can get some optimum size of subnets but it only really matters when you are dealing with real internet routable ips and then you do all kinds of strange stuff to conserve ip.

Most time the smallest that people allocate is /24 when using private just because it is easier. There is a huge difference between what you do in the real world compared to some class examples. Classes never factor in constant change you find in actual companies.
 
Solution

Skippy27

Distinguished
Nov 23, 2009
366
0
18,860
Well you need to learn how many host each address can handle. A full class C address can handle 252 host which is typically what is used because it limits the chatter on even large networks. They just use VLANs to keep them separate and communicating as needed.