Practicals(DCN)
Name- gourav yadav
Roll no-24107023
Course- bvoc software devlopment
1. Installation of Cisco Packet Tracer
Downloaded from Cisco Networking Academy ([Link]), installed and logged in
successfully.
2. Connecting Two PCs
Placed two PCs in workspace and connected them using Copper Cross-Over cable
via Fast-Ethernet ports.
Result:
Communication between two PCs was successful.
3. IP Configuration and Commands
Assigned IP addresses:
PC0: [Link]
PC1: [Link]
Commands executed:
- ipconfig (to view IP)
- ping [Link] (successful connectivity)
- tracert [Link] (path traced)
4. Piconet
A small wireless Bluetooth network consisting of one master device and multiple
slave devices.
-Implementation:
Added one central device (master)
Connected multiple devices (slaves)
Formed a star-like structure
-Output:
All devices were successfully connected to the central device.
-Result:
Piconet structure was successfully created and demonstrated
5. Scatternet
Multiple interconnected piconets forming a larger wireless network.
6. Bus Topology
Devices connected through a single backbone cable.
7. Star Topology
All devices connected to a central switch.
8. Ring Topology
Devices connected in a circular manner.
9. Mesh Topology
Each device connected to every other device.
10. Tree Topology
Combination of star and bus topology.
11. Hybrid Topology
Combination of multiple topologies.
12. Initial Switch Configuration
Initial configuration of a switch was performed in Cisco Packet Tracer using the CLI
interface. Basic settings like hostname and passwords were configured to prepare
the switch for network use.
-Configuration Steps:
[Link] a switch to the workspace.
[Link] the CLI (Command Line Interface).
[Link] configuration mode.
[Link] hostname and passwords for secure access
-Commands used:
Enable
configure terminal
hostname S1
enable password cisco
line console 0
password 1234
login
exit
line vty 0 4
password 1234
login
exit
write memory
-Output:
The switch accepted all commands successfully and configuration was saved.
-Result:
Initial switch configuration was successfully completed and verified.
13. Initial Router Configuration
Initial configuration of a router is performed in Cisco Packet Tracer using the CLI
interface. While similar to a switch, routers often include an initial setup prompt and
require manual interface activation to route traffic.
Initial Router Configuration
Configuration Steps:
1. Added a router 2911 to the workspace.
2. Opened the CLI (Command Line Interface).
3. Declined the initial configuration dialog to enter manual setup.
4. Entered configuration mode.
5. Set hostname, passwords, and activated the management interface.
Commands used:
no
enable
configure terminal
hostname R1
enable secret cisco
line console 0
password cisco
login
exit
line vty 0 4
password cisco
login
exit
interface Giga0/0
ip address [Link] [Link]
no shutdown
exit
write
Output: The router accepted all commands successfully. The interface status
changed to "up" and the configuration was saved to NVRAM.
14. Two pc and a Router Configuration
o configure two PCs connected to a single router, each PC must be on a different
network (subnet). The router acts as the gateway that allows communication
between these two separate networks.
Two PC and One Router Configuration
Configuration Steps:
1. Added a Router (e.g., 2911) and two PCs to the workspace.
2. Connected PC0 to GigabitEthernet0/0/0 and PC1 to
GigabitEthernet0/0/1 using Copper Cross-Over cables.
3. Configured static IP addresses and Default Gateways on both PCs.
4. Opened the Router CLI to configure the interfaces.
5. Assigned IP addresses to the router ports and activated them.
Commands used (on Router):
no (at initial prompt)
enable
configure terminal
hostname R1
interface GigabitEthernet0/0/0
ip address [Link] [Link]
no shutdown
exit
interface GigabitEthernet0/0/1
ip address [Link] [Link]
no shutdown
exit
write memory
PC Settings (via Desktop > IP Configuration):
o PC0: IP: [Link] | Subnet: [Link] | Gateway: [Link]
o PC1: IP: [Link] | Subnet: [Link] | Gateway: [Link]
Output: The router interfaces changed to "up" (green lights). A ping from PC0
to PC1 was successful, confirming that the router is correctly moving traffic
between the two networks.
15. Client-Server architecture Configuration
To configure a Client-Server architecture in Cisco Packet Tracer, a Server is
used to provide services (like HTTP or DNS) to a Client PC. They are typically
connected via a Switch, and both require static IP addresses within the same
subnet to communicate.
Client-Server Architecture Configuration
Configuration Steps:
1. Added a Server-PT, a 2960 Switch, and a PC-PT to the workspace.
2. Connected both the Server and the PC to the Switch using Copper
Straight-Through cables.
3. Configured a static IP address on the Server and enabled the
HTTP service.
4. Configured a static IP address on the Client PC within the same
subnet.
5. Verified the architecture by accessing the Server's web page from
the Client's web browser.
Commands used (Server & PC Desktop Settings):
For Server:
Navigate to Desktop > IP Configuration
o IP Address: [Link]
o Subnet Mask: [Link]
Navigate to Services > HTTP
o Ensure HTTP and HTTPS are set to On
For Client PC:
Navigate to Desktop > IP Configuration
o IP Address: [Link]
o Subnet Mask: [Link]
Output:
The link lights turned green for all devices. When the Server's IP
([Link]) was entered into the Client PC's Web Browser, the default
"Cisco Packet Tracer" welcome page loaded successfully, confirming the
architecture is functional.