Pages

Thursday, 7 June 2012

DCN GTU Question

GTU Exam Dec. - 2011
Subject: Data Communication and Network       Date: 07/12/2011


Question -3 (b)         5 Mrks
What is IP Address? Explain different class of IP address and find the class of following IP address: 192.168.1.5

Answer
IP address:
                Internet Protocol Address (or IP Address) is 32 bit an unique address that computing devices use to identify itself and communicate with other devices in the Internet Protocol network. Any device connected to the IP network must have an unique IP address within its network.


Class of IP address:
                IP addressing supports five different address classes: A, B,C, D, and E. Only classes A, B, and C are available for commercial use.

From
To
Class – A
0.0.0.0
127.255.255.255
Class – B
128.0.0.0
191.255.255.255
Class – C
192.0.0.0
223.255.255.255
Class – D
224.0.0.0
239.255.255.255
Class - E
240.0.0.0
255.255.255.255


 
          Class A
        In class-A first number is network Id (N.H.H.H).For example  in IP address: 4.22.145.90 number - 4 is network Id.
        In class-A 0 not be used as Net ID.
        In class-A total 126 different network generate from 1-126.
        127 is reserved for loop back functions.
        Total 16,777,214 Hosts per one network and total 126 x 16,777,214 host in class – A.

          Class B
        In class-B first two numbers is network Id (N.N.H.H). For example  in IP address: 129.6.8.4 number – 129.4 is network Id.
        The rang of class – B is 128-191.
        The first IP Address is the NET ID.
        The last IP Address is the Broadcast Address
        In class – B 16,384 Different Networks
        Total 65543 Hosts per one network

          Class C
        In class-C first three numbers is network Id and last is hostid(N.N.N.H). For example in IP address: 197.76.9.23 number – 197.76.9 is network Id.
        The rang of Class – C is 192-223
        The first IP Address is the NET ID
        The last IP Address is the Broadcast Address
        In class – C 2,097,152 Different Networks
        254 Hosts per Network

          CLASS D – Used for multicast broadcasts
  • CLASS E – Experimental addresses not available to the public
IP address: 192.168.1.5 is in Class – C because first number 192 in range of class – C.


 Note: This also topic-1 of Chapter-7