Tribhuvan University Institute of Engineering, Pulchowk Campus Lalitpur, Nepal
Tribhuvan University Institute of Engineering, Pulchowk Campus Lalitpur, Nepal
11th July
Submitted by:
Bijay Shrestha
Requirements:
Exercises:
I. Observe and note down the output of each of the above-mentioned tasks and
comment on the result by explaining the reason in detail.
Activity A:
After changing the subnet mask to 255.255.255.224, the ping between PC1 and PC2
was successful but the ping between PC3 and PC4 with other PC were not successful.
This is because PC1 and PC2 lie in the same subnet, but PC3 and PC4 lie in different
subnet.
After changing the subnet mask to 255.255.255.240, the ping was not successful from
any PC to another PC. This is because all of the PC belong to different subnet.
Activity B:
Setting up all of these, the ping was successful from all the PC to all other PC.
Activity C:
The network from Activity A was modified by changing the IP address of each PC.
The network is as follows:
The ping was not successful from any of the PC to any other PC. This is because each
PC belongs to different subnet.
As we reduced the subnet mask, it was able to address more PC, in this case PC1-3
formed a subnet while PC4 was isolated. So, the ping was successful among PC1-
PC3, but PC4 ping was not successful.
Now, the subnet mask for every PC was set to 255.255.248.0. With this subnet mask,
all PC belongs to the same subnet, and so the ping from every PC was successful to
every other PC.
Activity C:
The given IP address 202.20.20.0/24 from the ISP was successful allocated to the
network with four different departments: A, B, C, D and two networks E and F. The
following is the required network:
The range of IP address that are not used are 202.20.20.192/27 and 202.20.20.224/27
Router 0:
Router 3:
Router 6:
Activity E:
Router 0:
Router 3:
Router 6:
II. Explain subnetting and VLSM with their importance in networking with
suitable examples.
VLSM stands for Variable Length Subnet Mask where the subnet design uses more
than one mask in the same network which means more than one mask is used for
different subnets. It is used to increase the usability of subnets as they can be of variable
size. It is also defined as the process of subnetting of a subnet.
For each segment select the block size that is greater than or equal to the actual
requirement which is the sum of host addresses, broadcast addresses and network
addresses. Make a list of subnets possible:
Notation Hosts
/24 254
/25 126
/26 62
/27 30
/28 14
/29 6
/30 2
Arrange all the segments in descending order based on the block size that is from
highest to lowest requirement.
III. What is classless routing? Why is it used in the Internet system? Explain with
suitable examples.
Classless Routing imports subnet mask and in this, triggered updates are used. In
classless routing, VLMS (Variable Length Subnet Mask) is supported and also CIDR
(Classless Inter-Domain Routing). In classless routing, hello messages are used for
checking status. In classless routing, subnet mask is not same throughout, it may vary
for all devices, we can see it in the given picture.
Classless routing is used in the Internet system because classless addressing provides
efficient address space as compared to the classful addressing. Memory is allocated in
the form of bits and bytes rather than a chunk of contiguous memory. Classless
addressing eliminates any class imbalance. There are no separate entities for subnetting
in classless addressing. Examples of classless routing protocols include RIPv2, EIGRP,
OSPF, and IS-IS.
Discussion
We set up network in Cisco packet Tracer. The commands were executed using terminal of router
present in the software. We used the terminal for setting up IP and default gateway.
The ping command was executed in the terminal of various simulated PC in cisco packet tracer. The
static route was configured in all of the routers, next the route address was reduced by using
the default route address. The given IP address was allocated for various departments.
Conclusion
In this lab, we became familiar with subnetting, its use, VLSM and CIDR. The network was
setup and simulated using a program called Cisco Packet Tracker. Cisco Packer Tracer is a free
program for network simulation. The IP address and subnet mask was setup in the router, the
IP address and default gateway was setup in the virtual PC, the given IP address was allocated
for various subnets according to the number of hosts required in each network and the network
was simulated.