CN Libe File
CN Libe File
SCHOOL OF ENGINEERING
DEPARTMENT OF COMPUTER SCIENCE & TECHNOLOGY
LAB FILE
6.
7.
8.
9.
10.
Lab: 1
Network Cables:
Network cables are essential components that connect devices within a network, enabling data
transmission and communication. The primary types of network cables include coaxial cables, twisted
pair cables, and fiber optic cables, each with distinct characteristics and applications.
1. Coaxial Cables
Coaxial cables feature a central conductor (usually copper) surrounded by an insulating layer, a
metallic shield, and an outer insulating sheath. This construction provides protection against
electromagnetic interference (EMI), making them suitable for transmitting high-frequency
signals.
o RG-6: Commonly used in cable television and internet services, RG-6 cables have a
larger conductor and better shielding, allowing for higher bandwidth and longer distances
compared to older coaxial cables.
o RG-59: Typically used for low-frequency transmissions, such as analog video signals.
RG-59 cables have a smaller conductor and less shielding, making them less suitable for
high-frequency data transmission.
o RG-11: Designed for long-distance signal transmission, RG-11 cables have a thicker
conductor and superior shielding, reducing signal loss over extended runs.
2. Twisted Pair Cables
Twisted pair cables consist of pairs of insulated copper wires twisted together. The twisting
reduces electromagnetic interference and crosstalk between pairs, enhancing signal quality. These
cables are widely used in Ethernet networks and are categorized based on performance
characteristics.
o Cat5e (Category 5e): Supports data rates up to 1 Gbps over distances up to 100 meters;
commonly used in residential and commercial networks.
o Cat6 (Category 6): Supports data rates up to 10 Gbps over shorter distances (up to 55
meters); features improved shielding and tighter twists compared to Cat5e.
o Cat6a (Category 6a): Enhanced version of Cat6; supports 10 Gbps over distances up to
100 meters; better shielding reduces crosstalk and EMI.
o Cat7 (Category 7): Supports data rates up to 10 Gbps over 100 meters; features
extensive shielding and is designed for high-performance applications.
Fiber optic cables transmit data as light pulses through strands of glass or plastic fibers, enabling
high-speed data transmission over long distances with minimal signal loss. They are immune to
electromagnetic interference, making them ideal for environments with high EMI or for long-
distance communication.
Difference between Coaxial vs. Twisted Pair vs. Fiber Optic Cables
Cable Structure
Each Ethernet cable contains eight wires, organized as four twisted pairs. These wires are color-coded
for identification and proper arrangement during termination.
The RJ45 connector is used to terminate Ethernet cables and comes in two standards: T568A and
T568B. Each standard defines the wiring arrangement, where pins work as input (IN) and output (OUT)
for Ethernet data transfer. The main difference between T568A and T568B is the wiring of the green
and orange pairs.
T568A Standard
T568A is commonly used for Ethernet cables. It is backward compatible with one-pair and two-pair
USOC (Universal Service Ordering Code) wiring.
T568B Standard
T568B offers better protection from noise and better signal isolation compared to T568A. However, it
is only backward compatible with a one-pair USOC wiring scheme.
A straight-through cable has the same wiring standard on both ends (either T568A to T568A or
T568B to T568B). It is used for connecting different types of devices, such as a computer to a switch
or router.
Steps:
A crossover cable has T568A on one end and T568B on the other end. It is used for connecting
similar devices, such as computer to computer or switch to switch without a hub.
Steps:
Lab: 3
Network commands help troubleshoot, configure, and analyze networks. They let users check
connectivity, get system details, and fix network issues. Whether you're a beginner or an IT professional,
understanding these commands makes network management easier.
Some of the most useful network commands, along with their descriptions and syntax:
1. IPCONFIG
The ipconfig command displays IP address information of a computer. It shows details like IP address,
subnet mask, and default gateway.
Syntax: ipconfig
Common Uses:
Additional Options:
ipconfig /all → Shows detailed information, including MAC address and DNS details.
ipconfig /release → Releases the current IP address (used with DHCP).
ipconfig /renew → Requests a new IP address from the DHCP server.
ipconfig /flushdns → Clears the DNS cache, fixing certain connectivity issues.
2. NSLOOKUP
The nslookup command checks domain name system (DNS) records. It helps find the IP address of a
domain or verify DNS settings.
Common Uses:
3. HOSTNAME
Syntax: hostname
Common Uses:
4. PING
The ping command checks if a device or website is reachable on a network. It sends small packets and
measures the response time.
Common Uses:
5. TRACERT
The tracert command shows the path data takes from your device to a website or server.
Example:
Common Uses:
6. NETSTAT
The netstat command provides details about active network connections, including ports and protocols
used.
Syntax: netstat
Common Uses:
Additional Options:
The arp command manages the mapping of IP addresses to MAC addresses in a local network.
Syntax: arp -a
Common Uses:
8. SYSTEMINFO
The systeminfo command displays detailed system information, including network settings.
Syntax: systeminfo
Common Uses:
Get details about the operating system, including hotfixes and BIOS info.
Check network-related system settings.
9. PATHPING
The pathping command is like a mix of ping and tracert. It checks packet loss at each hop along the route.
Common Uses:
10. ROUTE
The route command displays or modifies the IP routing table, which controls how network traffic is
directed.
Common Uses:
Lab: 4
2. Bus Topology
In bus topology, all devices are connected to a single central cable (backbone).
3. Ring Topology
In ring topology, each device is connected to two neighboring devices, forming a closed loop.
4. Mesh Topology
A hybrid topology combines two or more standard topologies (e.g., Star + Bus).