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 2 of 2.
                
                        Manik said: 
                         
                        9 years ago
                
                Same doubt as Piyush, please explain us @Prabhash Singh.
                
                        Piyush said: 
                         
                        1 decade ago
                
                How is that three 1's coming in the end?
                
                        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
                        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.
                Post your comments here:
 
            
        Quick links
                            Quantitative Aptitude
                                    
                                    Verbal (English)
                                    
                                    Reasoning
                                    
                                Programming
                                    
                                    Interview
                                    
                                     Placement Papers