Experiment No.
Title:- Configure and Understand working of network devices Hub, Switch, Routers
Objective :- Students will understand working of network devices
S/W Requirement :- Packet Tracer
H/W Requirement :-
• Processor – Any suitable Processor e.g. Celeron
• Main Memory - 128 MB RAM
• Hard Disk – minimum 20 GB IDE Hard Disk
• Removable Drives–1.44 MB Floppy Disk Drive
–52X IDE CD-ROM Drive
•PS/2 HCL Keyboard and Mouse
Method:-
1. Attach required devices (Hub/Switch/Router) in the packet tracer software.
2. Assign IP address to devices.
3. Select source and destination and drop packet from source to destination.
4. Go to Simulation mode and click capture/Play.
5. Simulation will start and packet will only be accepted by destination.
RESULT: Simulated working of Network Devices Hub, Switch, Router
Experiment No.4
Title:- Implement different network topologies like Star, Bus with thehelp of packet
tracer or NS2 software.
Objective :- To simulate Star, Bus Topology.
S/W Requirement :- Packet Tracer or NS2
H/W Requirement :-
• Processor– Any suitable Processor e.g. Celeron
• Main Memory - 128 MB RAM
• Hard Disk – minimum 20 GB IDE Hard Disk
• Removable Drives–1.44 MB Floppy Disk Drive
–52X IDE CD-ROM Drive
•PS/2 HCL Keyboard and Mouse
Method:-
"Bus" topology implementation in Cisco Packet Tracer is again a simple configuration that has to
be done. It is too simple to deal with the configuration here, in a way that all you need to do is to
configure router correctly.
Let's see how this works, following these steps:
You will have to connect the network management system
included. Now in order to configure the Router, we will follow this
procedure.
2811 Router that we have used, have 3 fastEthernet ports, named 0/0 and 0/1. Currently the
switch that has been attached to the router is along the fastEthernet 0/0 port.
Now, router on the other hand is connected to a PC directly via console cable, through console port
from where we shall actually be configuring the router. Actual routers configuration require us to
connect the routers through some programs like putty.
Here are router configurations:
Enter the "global configuration" mode in the router.
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Now, in order to configure the interface, enter the interface configuration mode as
follows. General syntax can be stated as:
Router(config)#interface fastEthernet
0/0 Router(config-if)#
As in the interface mode, you will have to configure a static IP for the interface, which shall
be acting as a "default gateway" to the entire network held by that interface.
Router(config-if)#ip address [Link] [Link]
By default, the interface is down. You can simply get the status of each and every interface of a
network management system, in packet tracer by hovering the mouse pointer over the [Link]
order to administratively turn the interface up/on, you must actually write-down following
command:
Router(config-if)#no shutdown
Router(config-if)#
The effect will be visible in the light that is blinking over the links.
And now, set the IP address for each and every work station, [Link] you do not want to
configure each and every work station's ip address statically, you will have to assign DHCP role
for the router. Well, configuring DHCP role for router has been explained again in the Core
Networking Labs section.
RESULT: Simulated Star and Bus Network topologies
Experiment No.5
Title:- Implement Mesh Topology with the help of packet tracer or NS2 software.
Objective :- To simulate Mesh Topology.
S/W Requirement :- Packet Tracer or NS2
H/W Requirement :-
• Processor– Any suitable Processor e.g. Celeron
• Main Memory - 128 MB RAM
• Hard Disk – minimum 20 GB IDE Hard Disk
• Removable Drives–1.44 MB Floppy Disk Drive
–52X IDE CD-ROM Drive
•PS/2 HCL Keyboard and Mouse
Method:
In the mesh topology of networking, each and every device sends its own signal to the other devices that
are present in the arrangement of the network.
Steps to Configure and Setup Ring Topology in Cisco Packet Tracer:
Step 1: First, open the Cisco packet tracer desktop and select the devices given below:
[Link] Device Model name
1. PC PC
2. Switch PT-switch
IP Addressing Table:
[Link] Device IPv4 Address Subnet Mask
1. pc0 [Link] [Link]
2. pc1 [Link] [Link]
[Link] Device IPv4 Address Subnet Mask
3. pc2 [Link] [Link]
4. pc3 [Link] [Link]
● Then, create a network topology as shown below the image.
● Use an Automatic connecting cable to connect the devices with others.
Step 2: Configure the PCs (hosts) with IPv4 address and Subnet Mask according to the IP addressing
table given above.
● To assign an IP address in PC0, click on PC0.
● Then, go to desktop and then IP configuration and there you will IPv4 configuration.
● Fill IPv4 address and subnet mask.
● Assigning IP address using the ipconfig command.
● Also, we can also assign an IP address with the help of a command.
● Go to the command terminal of the PC.
● Then, type ipconfig <IPv4 address><subnet mask><default gateway>(if needed)
Example: ipconfig [Link] [Link]
● Repeat the same procedure with other PCs to configure them thoroughly.
Step 3: Verify the connection by pinging the IP address of any host in PC0.
● Use the ping command to verify the connection.
● We will check if we are getting any replies or not.
● Here we get replies from a targeted node on both PCs.
● Hence the connection is verified.
● A simulation of the experiment is given below we have sent two PDU packets one targeted from PC0
to PC3 and another targeted from PC1 to PC2.
RESULT: Simulated Mesh Topology.
Experiment No.6
Title:- Implementing network topologies such as Star and Bus using network simulation software like Packet
Tracer or NS2 can be a valuable project for students to understand networking concepts and practical
implementation.
Objective
To connect two departments within a building or campus network, ensuring that devices in both departments
can communicate with each other and possibly share resources.
Components Needed
1. Departments: Each department will have its own set of devices.
2. Switches/Routers: To manage network traffic and interconnect devices within and between departments.
3. Cabling: To connect all devices and network hardware.
Network Diagram Layout
1. Identify the Components
● Department A: This department has multiple devices such as computers, printers, and possibly a departmental
server.
● Department B: Similar to Department A, with its own set of devices.
● Switches: Used within each department to connect devices.
● Router: Used to interconnect the two departments and manage traffic between them.
● Patch Panel (optional): For organized cabling.
2. Draw the Network Diagram
Network Diagram Using Packet Tracer or Drawing Tool:
1. Draw Two Departments
o Department A: Represent this with a box or labeled area.
o Department B: Represent this with another box or labeled area.
2. Add Devices to Each Department
o Inside Department A: Draw devices such as PCs, printers, and a departmental server.
o Inside Department B: Draw similar devices.
3. Add Switches
o Switch A: Connect it to the devices in Department A.
o Switch B: Connect it to the devices in Department B.
4. Connect Devices to Switches
o Draw lines from each device to Switch A in Department A.
o Draw lines from each device to Switch B in Department B.
5. Add a Router
o Place the router between the two departments.
o Label the router and indicate that it connects Switch A and Switch B.
6. Connect Switches to the Router
o Draw a line from Switch A to one port on the router.
o Draw a line from Switch B to another port on the router.
7. Add a Patch Panel (optional)
o Place the patch panel in a central location if you want to illustrate organized cabling.
o Connect devices to the patch panel, then the patch panel to the switches.
8. Label Connections
o Clearly label all connections (e.g., Ethernet cables) and components (e.g., "Router", "Switch A",
"Department A").
This network diagram provides a clear and organized view of how to connect two departments within a
network. It shows how devices in different departments can communicate through switches and a router.
By using this diagram, you can effectively plan and implement a network setup that meets the
connectivity needs of the departments.
Experiment No. 8
Title:- Configure DHCP server using Packet Tracer.
Objective :- Understand how DHCP works
S/W Requirement :- Packet Tracer
H/W Requirement :-
• Processor– Any suitable Processor e.g. Celeron
• Main Memory - 128 MB RAM
• Hard Disk – minimum 20 GB IDE Hard Disk
• Removable Drives–1.44 MB Floppy Disk Drive
–52X IDE CD-ROM Drive
•PS/2 HCL Keyboard and Mouse
1. Method: Build the network topology:
2. On the router, configure interface fa0/0 to act as the default gateway for our
LAN. Router>enable
Router(config)#int fa0/0
Router(config-if)#ip add [Link] [Link]
Router(config-if)#no shutdown
Router(config-if)#exit
3. Configure DHCP server on the Router. In the server we will define a DHCP pool of IP
addresses to be assigned to hosts, a Default gateway for the LAN and a DNS Server.
Router(config)#
Router(config)#ip dhcp pool MY_LAN
Router(dhcp-config)#network [Link] [Link]
Router(dhcp-config)#default-router [Link]
Router(dhcp-config)#dns-server [Link]
We can add ip dhcp excluded-address command to our configuration so as to configure the router
to exclude addresses [Link] through [Link] when assigning addresses to clients. The
ip dhcp excluded-address command may be used to reserve addresses that are statically assigned
to key hosts.
So add the above command under the global configuration mode.
Router(config)#ip dhcp excluded-address [Link] [Link]
4. Now go to every PC and on their IP configuration tabs, enable DHCP. Every PC should be
able to obtain an IP address, default gateway and DNS server, as defined in step 2.
For example, to enable DHCP on PC1:
Click PC1->Desktop->IP configuration. Then enable DHCP:
Do this for the other PCs.
You can test the configuration by pinging PC2 from PC1. Ping should
succeed. Now let’s do the same thing using a Generic server in place of a
router: Configuring DHCP service on a generic server in Packet Tracer.
1. Build the network topology in packet tracer
2. Configure static IP address on the server ([Link]/24).
3. Now configure DHCP service on the generic server.
To do this, click on the server, then click on Services tab. You will pick DHCP on the
menu. Then proceed to define the DHCP network parameters as follows:
Pool name: MY_LAN
Default Gateway: [Link]
DNS Server: [Link]
Start IP Address: [Link]
Subnet Mask: [Link]
Maximum Number of users:
256
Click on add then Save. The DHCP entry is included in the
list. Here are the configurations on the server:
Once you’ve configured everything, turn ON the DHCP service.
4. Finally, enable DHCP configuration on each PC. The three PCs should get
automatically configured.
As an example, here is the DHCP configuration on PC1:
You can define a DHCP server on one broadcast domain to serve hosts in a different broadcast
domain. If you want to do this, then you should consider using ip helper-address command.
Result: Students will understand concept of DHCP.
Experiment No. 10
Title:- Configuration of TCP/IP Protocols
Objective :- Understand how to assign IP address to computer
S/W Requirement :- Packet Tracer
H/W Requirement :-
• Processor– Any suitable Processor e.g. Celeron
• Main Memory - 128 MB RAM
• Hard Disk – minimum 20 GB IDE Hard Disk
• Removable Drives–1.44 MB Floppy Disk Drive
–52X IDE CD-ROM Drive
•PS/2 HCL Keyboard and Mouse
To set a static IP address in Windows 7, 8, and 10:
1. Click Start Menu > Control Panel > Network and Sharing Center or Network and Internet
> Network and Sharing Center.
2. Click Change adapter settings.
3. Right-click on Wi-Fi or Local Area Connection.
4. Click Properties.
5. Select Internet Protocol Version 4 (TCP/IPv4).
6. Click Properties.
7. Select Use the following IP address.
8. Enter the IP address, Subnet mask, Default gateway, and DNS server.
9. Click OK.
Your computer displays a static IP address.