Pacific-Design.com

    
Home Index

1. Linux

2. Network

+ Apache

+ CRC

+ Internet TV

+ Mapping Network

+ Named

+ Performance

+ Propagation Delay

Linux / Network /

Network IP / Subnet Mask / Network Range


  Find the subnet (Network ID) and valid host ID range for 
  the following pairs of IP address and subnet mask.

        73.128.10.5 / 255.192.0.0
   
    Class "A" Network (starts with 0)
    |
    01001001.10000000.00001010.00000101  =  73.128.10.5 (IP Address)
    11111111.11000000.00000000.00000000  =  255.192.0.0 (Subnet Mask)
  ------------------------------------------------------------------------
    01001001.10000000.00000000.00000000  =  73.128.0.0 Network ID
              |000000.00000000.00000000  =  2^22-2 = 4,194,302 hosts 
      Start: 10000000.00000000.00000001  =  73.128.0.1
       End : 10111111.11111111.11111110  =  73.191.255.254

  Network ID   : 73.128.0.0
  Network Range: 73.128.0.1 ... 73.191.255.254


   Find the subnet mask for each of the networks
   with a Class A network with 510 subnets

   log2(510+2) = 9
   9 + 8 (Class A)
   11111111>.11111111.10000000.00000000
      255      255      128     0 

      255.255.128.0 : Subnet Mask


   Find the subnet mask for each of the networks
   with a Class C network with 10 subnets

   log2(10+2) = 4
   4 + 24 (Class C)
   11111111.11111111.11111111.11110000
      255      255      255     240 

      255.255.128.0 : Subnet Mask