Docsity

Computer networks for electrical and software engineering students, Lecture notes of Electrical Engineering

Toggle sidebar
bg1
Computer Networks Lab (CS-322L) Page 1
International Islamic University,
Islamabad
Computer Networks LAB
EXPERIMENT # 02: Setting up a small Network
Name of Student: …………………………………..
Roll No.: ……………………………………………
Date of Experiment: ………………………………..
Report submitted on: ………………………………..
Marks obtained: ……………………………………
Remarks: ……………………………………………
Instructor’s Signature: ……………………………...
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Computer networks for electrical and software engineering students and more Lecture notes Electrical Engineering in PDF only on Docsity!

International Islamic University,

Islamabad

Computer Networks LAB

EXPERIMENT # 02: Setting up a small Network

Name of Student: …………………………………..

Roll No.: ……………………………………………

Date of Experiment: ………………………………..

Report submitted on: ………………………………..

Marks obtained: ……………………………………

Remarks: ……………………………………………

Instructor’s Signature: ……………………………...

Setting up a small Network

1. Objective This lab exercise is designed to demonstrate and help in learning & understanding of the procedure of setting up a small network (that can be used in homes too). 2. Resources Required - Straight & Cross Cat5 UTP cables – (made in last lab) - Computers - A Switch/Hub (if network size is to be increased) - A Router (if communication is to be done with WAN/Internet) 3. Introduction This lab introduces NIC ( N etwork I nterface C ontroller/ C ard), Switch/Hub & Router. Before going to the procedure, firstly a small introduction of the devices is given.

3.1 NIC (Network Interface Card) A network interface controller is a computer hardware component that connects a computer to a computer network. The controller may also be referred to as a network adapter, or a LAN adapter. Also known as a network interface card, network card or LAN card. It is both an OSI layer 1 (physical layer) and layer 2 (data link layer) device , as it provides physical access to a networking medium and provides a low-level addressing system through the use of MAC addresses. It allows users to connect to each other either by using cables or wirelessly.

4. Network Commands (Testing) The widely used commands for testing network connectivity are PING, TRACERT & TELNET. (Just remember these commands are not case sensitive so PING is same as ping or PinG)

4.1 PING Ping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer.

ping target_name/target_IP

4.2 TRACERT Tracert determines the path taken to a destination by sending Internet Control Message Protocol (ICMP) Echo Request messages to the destination with incrementally increasing Time to Live (TTL) field values. The path displayed is the list of near-side router interfaces of the routers in the path between a source host and a destination. The near-side interface is the interface of the router that is closest to the sending host in the path. This utilty is available as traceroute in some operating systems.

tracert target_name/target_IP

4.3 TELNET Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communications facility using a virtual terminal connection. Historically, Telnet provided access to a command-line interface (usually, of an operating system) on a remote host. Most network equipment and operating systems with a TCP/IP stack support a Telnet service for remote configuration (including systems based on Windows NT). Because of security issues with Telnet, its use for this purpose has waned in favor of SSH ( S ecure SH ell).

telnet target_name/target_IP

MS DOS command window showing use of ping

5a. Procedure to setup Network (For this lab only - consider the switch & router automatically configured)

  1. Connect devices to each other with the correct UTP (straight/cross) cables and power them ON.
  2. Use Control Panel/Network Connections (or Properties in Context Menu of My Network Places) to display Network Connections Window. Then use Properties in Context Menu of Local Area Connection to display Local Area Connection Properties Window. Select the TCP/IP protocol from the Configuration Tab and click on properties. Check the IP Address and Subnet mask for both workstations on the IP Address Tab.

6. Home Task Try the games tested in lab on your home network along with file sharing and give your comments (how was the experience, problems faced). 1-2 pages max

Note: a) This assignment must be submitted before the next lab. b) The assignment submitted must be in proper format as instructed by the teacher to get maximum marks. c) Marks will be deducted on late submissions. d) Cheating or using any unfair means will award ZERO marks.