Allocating different IP Addresses

Kevin_53

Reputable
Nov 23, 2015
14
0
4,510
I have 30 computers and it is separated into 5 different parts. How am I supposed to allocate IP Address to each computer?
Am I supposed to use Class C classification? I need help and opinions. Thank you.
 
Solution
You can statically assign each computer an IP address or have DHCP dynamically lease addresses. To logically separate these 5 different parts, the best way to do this would be to break down your class C network into smaller subnets. Here's an example:

Let's assume 192.168.1.0/24 is your Class C. Let's also assume you want this to be 5 separate but equal networks. A class C network is broken out like this: 192.168.1.1 - 192.168.1.255. .0 is your network address and .255 is your broadcast address. These are not usable as host addresses. So let's break this down into 5 separate but equal networks:

192.168.1.0/27
192.168.1.32/27
192.168.1.64/27
192.168.1.96/27
192.168.1.128/25 <--- You can leave the second half of the class C...
Whichever router you end up purchasing will have a default LAN subnet. Is typically 192.168.0.x or 192.168.1.x (x=anything) with a mask of 255.255.255.0 which gives you 254 IP to use. 192 is your Private C class and 254 devices is more than enough for your home or even small business use.
 

Matt_29

Reputable
Nov 28, 2015
6
0
4,520
You can statically assign each computer an IP address or have DHCP dynamically lease addresses. To logically separate these 5 different parts, the best way to do this would be to break down your class C network into smaller subnets. Here's an example:

Let's assume 192.168.1.0/24 is your Class C. Let's also assume you want this to be 5 separate but equal networks. A class C network is broken out like this: 192.168.1.1 - 192.168.1.255. .0 is your network address and .255 is your broadcast address. These are not usable as host addresses. So let's break this down into 5 separate but equal networks:

192.168.1.0/27
192.168.1.32/27
192.168.1.64/27
192.168.1.96/27
192.168.1.128/25 <--- You can leave the second half of the class C intact as a larger network, or you can break it down into 4 /27s if you wanted. Use the following link as a cheat sheet:

https://www.aelius.com/njh/subnet_sheet.html

Now, as far as making these logically separate, you would need to designate these separate networks as VLANs. This can get complicated as we're creeping into network infrastructure territory with all sorts of different variables like firewalls, ACLs, whether or not you want inter-VLAN communication, etc. But that's a different discussion so we won't get into that.

 
Solution

Kewlx25

Distinguished
If you're doing this for a real world network, I would recommend someone else doing it. You have a strange confusion of terms that indicates you know enough to be dangerous. If you're doing it for fun, the above posts are great.

Good Luck and happy holidays.
 

TRENDING THREADS