0% found this document useful (0 votes)
43 views3 pages

Experiment 3 - Classification of IP

This document discusses IP addressing and classification. It describes how IP addresses are assigned to network interfaces and divided into classes A, B, C, D and E based on the binary values in the first octet. Class A uses the first octet for network identification and the remaining for host identification. Class B uses the first two octets for network identification and the last two for host. Class C uses the first three octets for network and the last for host. The default subnet masks for each class are also provided. The document includes exercises asking the reader to determine the IP address class, network ID, and subnet mask for their computer.

Uploaded by

Fizza Irfan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views3 pages

Experiment 3 - Classification of IP

This document discusses IP addressing and classification. It describes how IP addresses are assigned to network interfaces and divided into classes A, B, C, D and E based on the binary values in the first octet. Class A uses the first octet for network identification and the remaining for host identification. Class B uses the first two octets for network identification and the last two for host. Class C uses the first three octets for network and the last for host. The default subnet masks for each class are also provided. The document includes exercises asking the reader to determine the IP address class, network ID, and subnet mask for their computer.

Uploaded by

Fizza Irfan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

EXPERIMENT 3 – CLASSIFICATION OF IP

Objective
• Study and implement
. concepts of IP in windows.
Time Required : 3 hrs
Programming Language : NIL
Software Required : NIL
Hardware Required :
• Computer with administrative rights

Introduction to IP addressing
Each Network Interface Card (NIC or Network card) present in a PC is assigned one Network address called
as IP address [or Network address or Logical address]. This IP address is assigned by the administrator of
the network. No two PCs can have the same IP address.

There is a burned-in address on the NIC called as Physical Address [or MAC address or Hardware address].
The MAC address of a network card indicates the vendor of that card and a unique serial number.

Rules of IPv4 addressing


IP address format: IPv4 is made up of four parts, in the pattern as w. x. y. z. Each part has 8 binary bits and
the values in decimal can range from 0 to 255.

IP address classes: IP addresses are divided into different classes. These classes determine the maximum
number of hosts per network ID. Only three classes are actually used for network connectivity. The
following table lists all of the address class.

Grouping of IP addresses into different classes.


• Class A, B, C, D, E
• Class A: first bit in w is 0 and others can be anything
§ 0.0.0.0 to 127.255.255.255
§ ii. First bits are used for network part and the remaining for host part.
• Class B: First bit in w is1 and second bit is 0.
§ 128.0.0.0 to 191.255.255.255
§ ii. First 16 bits for network part and remaining host part
• Class C: first bit in w is 1, second bit in w is 1 and third bit is 0
§ 192.0.0.0 to 223.255.255.255
§ ii. First 24 bits for network part and last 8 bits for host part.
• Class D: first, second, third bits in w are 1 and fourth bit is 0; used for multicast.
§ i. 224.0.0.0 to 247.255.255.255
• Class E: future use or experimental purposes.

Default Subnet mask: It is used to identify the network part from the host part. Put binary one for the
parts that represent network part and zero for the part that represent host part.
• Class A: 255.0.0.0
• Class B: 255.255.0.0
10 Experiment 3 – Classification of IP
• Class C: 255.255.255.0
Note:- We can’t have mix of 1s and 0s in subnet mask. Only consecutive 1s is followed by consecutive 0s

The following table lists the default subnet masks for each available class of TCP/IP networks.

Exercise 3.1: [2]


What is the IP address of your computer, and to which class it belongs?

Exercise 3.2: [2]


What is the subnet mask for 3.1?

Exercise 3.3: [2]


What is the Network ID for 3.1?

11 Experiment 3 – Classification of IP
Exercise 3.4: [2]
What is the subnet mask for 3.3?

Exercise 3.5 [2]


Write the address class next to each IP address.

Web Resources
http://www.wikihow.com/Make-a-Network-Cable
http://fcit.usf.edu/network/chap4/chap4.htm

Videos Resources
http://www.youtube.com/watch?v=q6wZ9vwKSEs
http://www.youtube.com/watch?v=bfp7oskfDXY
http://www.youtube.com/watch?v=iyZ9nEA_vCQ

12 Experiment 3 – Classification of IP

You might also like