Question:
what ip address would you give your network with only 10 computers? networking assignment help?
Shahid Z
2012-04-23 03:39:29 UTC
a small company have just opened a new office and want to network the two offices together
both the offices have 10 computers, a server, a printer a switch and are connected to the internet with a router

the last bit of my assignment is to give out ip address to the computers in the network

can anyone help me out here
its the last bit of my assignment then i can hand it in

an example of how to go about doing this would be great :)
Three answers:
2012-04-23 05:31:59 UTC
The router is shared between the two offices, and is traditional number as item "1" on the first segment. So it would be 192.168.1.1. (There would be no 192.168.2.1 since there is not a second router on the second segment.) They I would assign the switches as 192.168.1.2 and 192.168.2.2, the servers as 192.168.1.3 and 192.168.2.3, and the printers as 192.168.1.4 and 192.168.2.4. That makes it easy to remember them should you need to access the server or the printer in the other office. You only have to change the third number to get the other device. You set these IP addresses at the devices themselves so that they do not change.
dewcoons
2012-04-23 03:51:40 UTC
Not all the information we need it included in your posting....



But given what you have, I am going to assume that you are using private IP addressing. The numbers you use will be internal to your company. So I would use the 192.168.xxx.xxx range of numbers. (They are reserved and never used for public IP addresses so you can not end up conflicting someone else's numbering.)



I would then divide the offices into two segements. That way when you look at the addresses you will immediately which of the two offices the equipment is in. I would assign the first office the range 192.168.1.xxx and the second 192.168.2.xxx.



The router is shared between the two offices, and is traditional number as item "1" on the first segment. So it would be 192.168.1.1. (There would be no 192.168.2.1 since there is not a second router on the second segment.) They I would assign the switches as 192.168.1.2 and 192.168.2.2, the servers as 192.168.1.3 and 192.168.2.3, and the printers as 192.168.1.4 and 192.168.2.4. That makes it easy to remember them should you need to access the server or the printer in the other office. You only have to change the third number to get the other device. You set these IP addresses at the devices themselves so that they do not change.



Finally I would skip a few numbers and actual begin number the PCs at 192.168.1.10 and ...2.10. This gives you room to expand and add additional devices in the future, such as a second printer or another server. You can either use DHCP on each of the servers to hand out these numbers or you can hard code them at the PCs.



You can now easily tell what a device is and in which office it is located by looking at its IP address.
shane0613
2016-01-22 12:43:13 UTC
IP addresses are made up of four 8 bit octets. For ten computers you'd need ten ip addresses. So you'd use the last octet which is basically those 8 bits (11111111 if turned on or 00000000 if not turned on). They bit positions represent 128,64,32,16,8,4,2,1. So for ten computers you have to recognize 16 is the number bigger than ten plus you have to throw out 2 IP addresses for the network address and broadcast address. You always need 2 more IPs than your problem calls for hence the formula 2N-2. Because you have to use the bit position that holds the 16 your subnet would be 192.168.1.0-192.168.1.15 with the .0 & .15 being unusable for network and broadcast addressing. You could also use the second subnet which starts with 16 (192.168.1.16-192.168.1.31).



The other answers would work but are obviously answered by amateurs who have no real world network design skills. Learn VLSM, CiDR, network math and you'll understand.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...