Computer Science - Networking - Discussion
Discussion Forum : Networking  - Section 2 (Q.No. 33)
                   
                                       
                                33.
You are working with a network that has the network ID 192.168.10.0. What subnet should you use that supports up to 25 hosts and a maximum number of subnets?
 
                                    Discussion:
14 comments Page 1 of 2.
                
                        Praveen said: 
                         
                        1 decade ago
                
                How it is possible? What is the logic behind this? Can anyone explain this? This kind of questions are frequently asking in gate.
                
                        Prabhash Singh said: 
                         
                        1 decade ago
                
                For 25 hosts you need minimum 5 bit i.e 2^5 = 32.
Therefore, the 5 bit of the last octet in ip address would be reserved for host and the remaining would act as subnet.
So, in bit wise it would be 11111111.11111111.11111111.111*****
Which is 255.255.255.224
                Therefore, the 5 bit of the last octet in ip address would be reserved for host and the remaining would act as subnet.
So, in bit wise it would be 11111111.11111111.11111111.111*****
Which is 255.255.255.224
                        Piyush said: 
                         
                        1 decade ago
                
                How is that three 1's coming in the end?
                
                        Manik said: 
                         
                        9 years ago
                
                Same doubt as Piyush, please explain us @Prabhash Singh.
                
                        Abhishek said: 
                         
                        9 years ago
                
                Nice explanation, Thank you all.
                
                        Sibasish said: 
                         
                        9 years ago
                
                We required 25 subnets.
2^4<100<2^5 OR 16<100<32.
no of subnets are 2^5 = 32 (no of 1's are 5).
Since default subnet mask of class c is 255.255.255.0.
i.e. 11111111.11111111.11111111.00000000 so 5 more 1 will get add so it will be;
11111111.11111111.11111111.11111000 i.e. 255.255.255.248.
                2^4<100<2^5 OR 16<100<32.
no of subnets are 2^5 = 32 (no of 1's are 5).
Since default subnet mask of class c is 255.255.255.0.
i.e. 11111111.11111111.11111111.00000000 so 5 more 1 will get add so it will be;
11111111.11111111.11111111.11111000 i.e. 255.255.255.248.
                        Jyothi said: 
                         
                        9 years ago
                
                Yes, Option D is correct.
                
                        Jumth said: 
                         
                        8 years ago
                
                The correct answer is option D.
                
                        Kailas Naik said: 
                         
                        8 years ago
                
                Right answer is D.
                
                        Geetha said: 
                         
                        7 years ago
                
                Yes, D is the correct answer.
                Post your comments here:
 
            
        Quick links
                            Quantitative Aptitude
                                    
                                    Verbal (English)
                                    
                                    Reasoning
                                    
                                Programming
                                    
                                    Interview
                                    
                                     Placement Papers