You are on page 1of 16

Lab

Data Communication & Networks

SUB NETTING
By: Hassan Bashir
Table of content
• Classification of IP address
• Sub netting
• Connect the computers in Local Area Network
using Packet Tracer
• Sub netting Lab task
Classification of IP address
Class Address Range Supports
Class A 1.0.0.1 to 126.255.255.254 Supports 16 million hosts on each of
127 networks.

Class B 128.1.0.1 to 191.255.255.254 Supports 65,000 hosts on each of


16,000 networks.

Class C 192.0.1.1 to 223.255.254.254 Supports 254 hosts on each of 2


million networks.

Class D 224.0.0.0 to 239.255.255.255 Reserved for multicast groups.

Class E 240.0.0.0 to 254.255.255.254 Reserved.


Sub netting
A subnetwork or subnet is a logical subdivision of
an IP network. The practice of dividing a network
into two or more networks is called sub netting.
Example 1:

We have a big single network having IP Address


200.1.2.0
We want to do sub netting and divide this network
into 2 subnets
Example 2

• Clearly, the given network belongs to class C.


Example

• For 1st Subnet-


 IP Address of the subnet = 200.1.2.0

• Total number of IP Addresses = 27 = 128

• Total number of hosts that can be configured = 128 – 2 = 126

• Range of IP Addresses = [200.1.2.00000000, 200.1.2.01111111] = [200.1.2.0, 200.1.2.127]

• Broadcast Address = 200.1.2.01111111 = 200.1.2.127


Example

• For 2nd Subnet- 


• IP Address of the subnet = 200.1.2.128
Total number of IP Addresses = 27 = 128
• Total number of hosts that can be configured = 128 – 2 = 126
• Range of IP Addresses = [200.1.2.10000000, 200.1.2.11111111] =
[200.1.2.128, 200.1.2.255]
• Direct Broadcast Address = 200.1.2.11111111 = 200.1.2.255
Classless Addressing
Example:

• An organization is granted a block of addresses starting


with 17.12.14.0/26 (64 addresses).
• The organization needs to have three sub-blocks of
addresses to use in its three subnets:
• one subblock of 32 addresses,
• and two sub-blocks of 16 addresses each.

Design the sub-blocks and find out how many addresses


are still available after these allocations.
Connect the computers in Local Area Network
Lab Task
An organization is granted a block of addresses with the beginning
address 14.24.74.0/24 . There are 2^(32-24)= 256
addresses in this block. The organization needs to have 11 subnets
as shown below:
a. Two subnets, each with 64 addresses.
b. Two subnets, each with 32 addresses.
c. Three subnets, each with 16 addresses.
d. Four subnets, each with 4 addresses.
Design subnet
&
Create four networks(use min five pc in each network and assign 4
different subnets IPs address ) These networks connect with each
other via Lan/WAN links.

You might also like