+ 1

I know this website is code based but can someone help me with Subnetting please.

Could someone give me an IP address, state how much hosts are wanted and how many subnets are needed as well. Then could you provide the answer without the calculations, so that i could work through it.

10th Apr 2017, 11:58 AM
Mogammad Shameer Losper
Mogammad Shameer Losper - avatar
7 Réponses
+ 8
Ok so, Subnetting is the process of segmentation of large network into number of subnets, So that the network congestion can be controlled. Let us consider an IP of class C, IP= 194.16.1.174 and a given subnet mask= 255.255.255.192 Now we have to find out the- number of subnets, number of address/subnet and number of hosts/subnet. Answer- 4 subnets, 64 addr/subnet, 62 hosts/subnet. Shall I do or you do it by self? For help, check this out- http://www.computernetworkingnotes.com/ccna-study-guide/subnetting-tutorial-subnetting-explained-with-examples.html
10th Apr 2017, 5:41 AM
Sachin Artani
Sachin Artani - avatar
+ 8
Yes you are correct in a way of calculating bit by bit. But for rapid calculations, I suggest you to just find out the default mask of any given IP, say for above, default mask is- 255.255.255.0 In given IP, last byte is- 192 means in binary, 11000000 that means the given subnet mask have 2 extra 1 as compared to it's default mask. Hence, there will be 2^2 subnets. (2^(Number of extra 1's in subnet mask, than in default mask)) And the number of zero's in subnet as compared to default mask in power of 2 are address/subnetwork, i.e. 2^6=64 addr/subnet and according to the formula you know, 2^6-2= 62 hosts/subnet
10th Apr 2017, 12:34 PM
Sachin Artani
Sachin Artani - avatar
+ 7
IP of which class? Tell me what exactly you want?
9th Apr 2017, 6:53 PM
Sachin Artani
Sachin Artani - avatar
+ 6
😊
10th Apr 2017, 12:38 PM
Sachin Artani
Sachin Artani - avatar
+ 1
Any class from class a,b or c.The IP should be IPV4 as well. Thanks for helping out!
9th Apr 2017, 11:18 PM
Mogammad Shameer Losper
Mogammad Shameer Losper - avatar
0
Are my calculations correct? Since the subnet mask given is 255.255.255.192 i converted the octet 192 into binary - which is 1 1 0 0 0 0 0 0 From this is i determined that there are 6 hosts(h=6 since there are 6 zeros) Then i used the following formula to determine how many hosts/network= 2^h-2 , which is (2^6)-2 = 62 hosts/network Then i calculated b(number of bits borrowed) using the following formula b= 32-(n+h) which is b=32-(24+6) Therefore b= 2 // the reason n is 24 - since the IP is class c, it is /24 . Then my answer is 2. Thus, there 2 borrowed bits. Then i calculated the number of new networks using the following formula =2^b which is 2^2, which equals 4. Is this the correct way to do it?
10th Apr 2017, 11:56 AM
Mogammad Shameer Losper
Mogammad Shameer Losper - avatar
0
Thanks for the help!
10th Apr 2017, 12:38 PM
Mogammad Shameer Losper
Mogammad Shameer Losper - avatar