Exercise regarding to working with IP Addresses
Questions
1.    
What are
two main components of an IP address?
2.    
In  a 
block  of  addresses, 
we  know  the 
IP  address  of  one  host 
is 25.34.12.56/16. What is the network address, first address and the last
address in the block?
3.    
Find the
range of address in following blocks.
                                                      
I.           
17.34.16.0/23
                                                   
II.           
180.34.64.64/30
                                                
III.           
123.56.77.32/29
                                               
IV.           
200.17.21.128/27
4.    
You are
given the network address 175.200.0.0; you are required to have 4 subnets. What
is the minimum number of Host Bits can you take in to the Network Bits for this
purpose? Write down the addresses of 4 subnets. 
Write the subnet mask for the network.
5.    
An
organization is granted the block 16.0.0.0 in class A. The administrator wants
to create 500 subnets.
                              
I.           
Find the subnet
mask.
                           
II.           
Find the
number of addresses in each subnet.
                        
III.           
Find the
first and last address in the first subnet.
                       
IV.           
Find the
first and last address in the last subnet.
6.    
An
organization is granted the block 130.56.0.0 in class B. The administrator
wants to create 1024 subnets.
                              
I.           
Find the
subnet mask.
                           
II.           
 Find the number of addresses in each subnet.
                        
III.           
Find the
first and last address in the first subnet.
                       
IV.           
Find the
first and last address in the last subnet (subnet 1024).
7.    
An
organization is granted the block 211.17.180.0 in class C. The administrator
wants to create 32 subnets.
                              
I.           
Find the
subnet mask.
                           
II.           
 Find the number of addresses in each subnet.
                        
III.           
Find the
first and the last address in the first subnet.
                       
IV.           
Find the
first and the last address in the last subnet (subnet 32).
Answers
1.    
Network
part and Host Part
2.    
Network
address- 25.34.0.0/16, 
3.    
 
                      I.           
 Subnet mask             
                     II.           
Subnet
mask
                    III.           
 Subnet mask             
                     IV.           
Subnet
mask             
4.    
      175.200.00000000.00000000
        Network part                                               Host part
5.    
    
            
I.           
 
 
  
  
  
  
  
  
  
  
  
  
  
  
              
 
 
    
 
  
       500 subnets, 9 bits should be taken from
host part.
         
II.           
 
  
Number of host bits remain=24-9=15
      
III.           
First address,
first subnet
              
Last address, first subnet
     
IV.           
First
address, last subnet
             Last address, last subnet
6.    
 
            
I.           
 
  
1024 subnets, 10 bits should be taken from
host part.
         
II.           
 
  
Number of host bits remain=16-10=6
      
III.           
First
address, first subnet
              
Last address, first subnet
     
IV.           
 First address, last subnet
            
Last address, last subnet
7.    
 
            
I.           
 
  
32 subnets, 5 bits should be taken from host
part.
         
II.           
 
  
Number of host bits remain=8-5=3
      
III.           
 
First address, first subnet
             
Last address, first subnet
     
IV.           
 First address, last subnet
            
Last address, last subnet
