Professional Documents
Culture Documents
CCN Lab 6
CCN Lab 6
College Of Engineering
Sub Netting:
To create a subnet address, a network administrator borrows bits from the original host portion and
designates them as the subnet field.
In a Class C address, only 8 bits are available for defining the hosts. Remember that subnet bits start at
the left and go to the right, without skipping bits. This means that the only Class C subnet masks can be
the following:
How many hosts per subnet? 2y– 2 = number of hosts per subnet. y is the number of unmasked bits, or
the 0s. For example, in 11000000, the number of zeros gives us 26 – 2 hosts. In this example, there are
62 hosts per subnet. You need to subtract two for the subnet address and the broadcast address, which
are not valid
What are the valid subnets? 256 – Subnet mask = block size, or increment number. An example would
be 256 – 192 = 64. The block size of a 192 mask is always 64. Start counting at zero in blocks of 64
until you reach the subnet mask value and these are your subnets. 0, 64, 128, 192.
What’s the broadcast address for each subnet? Since we counted our subnets in the last section as 0,
64, 128, and 192, the broadcast address is always the number right before the next subnet. For example,
the 0 subnet has a broadcast address of 63 because the next subnet is 64. The 64 subnet has a broadcast
address of 127 because the next subnet is 128, etc. The broadcast of the last subnet is always 255 for
Class C.
What are the valid hosts? Valid hosts are the numbers between the subnets, omitting all the 0s and all
1s. For example, if 64 is the subnet number and 127 is the broadcast address, then 65–126 is the valid
host range—it’s always the numbers between the subnet address and the broadcast address. hosts.
Example:
Number of Subnets: 4
Supernetting:
Supernetting is the process of combining several IP networks with a common network prefix.
Supernetting was introduced as a solution to the problem of increasing size in routing tables.
Supernetting also simplifies the routing process. For example, the subnetworks 192.60.2.0/24 and
192.60.3.0/24 can be combined in to the supernetwork denoted by 192.60.2.0/23. In the supernet, the
first 23 bits are the network part of the address and the other 9 bits are used as the host identifier. So,
one address will represent several small networks and this would reduce the number of entries that
should be included in the routing table. Typically, supernetting is used for class C IP addresses
(addresses beginning with 192 to 223 in decimal), and most of the routing protocols support
supernetting. Examples of such protocols are Border Gateway Protocol (BGP) and Open Shortest Path
First (OSPF). But, protocols such as Exterior Gateway Protocol (EGP) and the Routing Information
Protocol (RIP) do not support supernetting.
2) 192.168.10.192/26
11000000.10101000.00001010.11000000
11111111.11111111.11111111.11000000
Lab Task:
Assign IP addresses to Routers and PC’s using subnetting technique. (Marks: 5.5)
• Network Address: 192.168.10.0
• Number of subnet: 6
Home Task:
1. Given a Class C network address 192.168.10.0 (/24). Divide it into three sub-networks each with unequal
number of hosts requirement as shown below:
Subnet A: 90 Hosts, Subnet B: 23 Hosts, Subnet C: 7 Hosts.
Summarize the results in a table. (For each subnet, list required hosts, possible hosts and N/W Address)
(Marks: 3.5)