cn
cn
cn
Theory:
ipconfig: It is a command-line tool used in Windows to display the network
configuration of the system. It shows details such as the IP address, subnet mask,
and default gateway for each network interface on your machine.
$ ipconfig
ftp: It transfers files between a client and a server over a TCP-based network.
Can upload/download files to/from an FTP server.
$ ftp <IP address/domain name>
traceroute: It is a network diagnostic tool used to track the path data packets
take from your computer to a remote host across the internet. It shows each hop
along the way (routers or network nodes), along with the response time from
each hop. This can help identify where delays or failures occur in a network
connection.
$ traceroute <IP address/domain name>
Experiment No.2
Theory:
1. Transmission Media:
Coaxial Cable:
Crimping Tool:
A crimping tool is used to attach the RJ-45 connector to the UTP cable.
The crimping tool pushes the metal contacts in the RJ-45 connector into
the wires of the cable, ensuring a proper electrical connection.
It also crimps the plastic housing of the connector onto the cable for a
secure fit.
RJ-45 Connector:
The RJ-45 connector is used with UTP cables to connect devices like
switches, routers, and computers in a network.
It consists of eight metal pins that correspond to the eight wires in the UTP
cable.
Use the crimping tool to remove about 1-2 inches of the outer insulation
from both ends of the UTP cable, exposing the twisted wire pairs inside.
Untwist the wire pairs and arrange them according to the wiring standard
you are using:
For straight-through cables, both ends should use the T568B standard.
For crossover cables, one end should use T568A and the other end should
use T568B.
Evenly trim the ends of the wires so they are aligned and ready to be
inserted into the RJ45 connector.
Insert the wires into the RJ45 connector with the clip facing away from
you, ensuring each wire goes into the correct slot.
Step 6: Crimp the Connector
Place the connector into the crimping tool and squeeze the handle to secure
the connector onto the cable, driving the metal pins into the wires for
proper connection.
Repeat the above steps for the other end of the cable.
Experiment No.3
Objective: Build a simple network topology with routers, switches, and end
devices such as PCs or laptops. Configure IP addresses and confirm connectivity
between the devices using Packet Tracer.
Procedure:
Direct Connection Between End Devices:
Step 1: Setting Up Network Devices
In Cisco Packet Tracer, place the PCs following the topology diagram.
Connect the devices using crossover cables as needed.
On each PC, open the Command Prompt and use the ping command to
verify successful communication, as shown in image.
Direct Connection Between End Devices Using a Switch and Router:
Assign IPs:
o On each PC, go to the Desktop tab > IP Configuration and assign
IP addresses.
o Example for PC1: IP = 192.168.30.10, Subnet Mask =
255.255.255.0, Default Gateway = the router’s IP for that LAN.
o Example for PC2: IP = 192.168.30.12, Subnet Mask =
255.255.255.0, Default Gateway = the router’s IP for that LAN.
Set Default Gateways:
Ping to Test:
o Open the Command Prompt on PC1.
o Run the ping command to check the connection with a PC on the
other LAN.
o A successful ping will confirm that the two LANs are properly
connected.
Experiment No.5
Procedure:
Step 1: Device Setup and Connections
Procedure:
Step 1: Set Up the Devices
1. Open Packet Tracer.
2. Add the following devices to the workspace:
3 End Devices (e.g., PCs)
1 Switch
2 Server
Step 2: Assign a static IP address to the server
Click on the server, open the “Config” tab, and then select
“Settings.”
Set the IPv4 Address to 192.168.2.1.
Ensure the Subnet Mask is 255.255.255.0.