Data Communication and Networking Lab
CEL-222
Mid Term Assignment
Student’s Name: Arsalan Ishtiaq
Enrolment number(s): 01-134182-013
Class: BS (CS) – 4B
Department of Computer Sciences
BAHRIA UNIVERSITY, ISLAMABAD
Question # 1 (7)
Explain and configure TFTP server in storing the configuration of Router. You have to
design the one router connected with 5 switches and one TFTP Server in packet tracer.
TFTP Server
TFTP, or Trivial File Transfer Protocol, is a simple high-level protocol for transferring data
servers use to boot diskless workstations, X-terminals, and routers by using User Data
Protocol (UDP).Although it may sound similar, TFTP works differently than FTP (File
Transfer Protocol) and HTTP (Hypertext Transfer Protocol). Although TFTP is also based
in FTP technology, TFTP is an entirely different protocol. Among the differences is that
TFTP’s transport protocol uses UDP which is not secure while FTP uses Transmission
Control Protocol (TCP) to secure information.
Network Diagram
Configuration of TFTP Server
Sending file
Retrieving file
Output:
Question # 2 (6)
Design and Implement the VLAN between 5 switches each witch have 10 VLAN.
Configure and ping same VLAN on 5 different switches
Network Diagram
VLAN Configuration
Switch 1
Switch 2
Switch 3
Switch 4
Switch 5
Trunk Mode
Note: This configuration is applicable to first four switches only; last switch would be
automatically configured.
Pinging PC
Output
Question # 3(7)
What is IP addressing in networking. Why we need subnetting in IP addressing. Suppose
you have IP of 187.3.2.4/23. create at least 10 networks using router, switches in packet
tracer according to this IP.
IP addressing
An IP address (internet protocol address) is a numerical representation that uniquely
identifies a specific interface on the network. IP stands for Internet Protocol and describes
a set of standards and requirements for creating and transmitting data packets, or
datagrams, across networks. The Internet Protocol (IP) is part of the Internet layer of the
Internet protocol suite. In the OSI model, IP would be considered part of the network layer.
An IP address is an address used in order to uniquely identify a device on an IP network.
The address is made up of 32 binary bits, which can be divisible into a network portion
and host portion with the help of a subnet mask.
Subnetting
Subnetting allows you to create multiple logical networks that exist within a single Class
A, B, or C network. If you do not subnet, you are only able to use one network from your
Class A, B, or C network, which is unrealistic. Each data link on a network must have a
unique network ID, with every node on that link being a member of the same network. If
you break a major network (Class A, B, or C) into smaller subnetworks, it allows you to
create a network of interconnecting subnetworks. Each data link on this network would
then have a unique network/subnetwork ID. Any device, or gateway, that connects n
networks/subnetworks has n distinct IP addresses, one for each network / subnetwork
that it interconnects.
Class B
Subnetting of IP: 187.3.2.4/23
Subnet Mask: 255.255.254.0
Number of Networks = 128
Number of Hosts Id’s = 510
Block Size = 2
S.No of Network Ids Subnet IPs
1 187.3.2.0
2 187.3.4.0
3 187.3.6.0
4 187.3.8.0
5 187.3.10.0
6 187.3.12.0
7 187.3.14.0
8 187.3.16.0
9 187.3.18.0
10 187.3.20.0
Network Diagram
Router IP Configuration
Output: