Docsity

LAB MANUAL for Computer Network, Schemes and Mind Maps of Topology

Partial preview of the text

Download LAB MANUAL for Computer Network and more Schemes and Mind Maps Topology in PDF only on Docsity!

LAB MANUAL

for

Computer Network

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING

SRI JAYACHAMARAJENDRA COLLEGE OF ENGINEERING

Mysore - 570006

S.No Experiment

Study of different types of Network cables and Practically implement

the cross-wired cable and straight through cable using clamping tool.

2 Study of Network Devices in Detail.

3 Study of network IP.

4 Connect the computers in Local Area Network.

Study of basic network command and Network configuration

commands.

6 Performing an Initial Switch Configuration

7 Performing an Initial Router Configuration

8 Configuring and Troubleshooting a Switched Network

9 Connecting a Switch

10 Configuring WEP on a Wireless Router

11 Using the Cisco IOS Show Commands

12 Examining WAN Connections

13 Interpreting Ping and Traceroute Output

14 Demonstrating Distribution Layer Functions

15 Placing ACLs

16 Exploring Different LAN Switch Options

17 Implementing an IP Addressing Scheme

18 Examining Network Address Translation (NAT)

19 Observing Static and Dynamic Routing

20 Configuring Ethernet and Serial Interfaces

21 Configuring a Default Route

22 Configuring Static and Default Routes

23 Configuring RIP

24 Planning Network-based Firewalls

25 Configuring a Cisco Router as a DHCP Server

Diagram shows you how to prepare straight through wired connection

Experiment - 2 Aim: Study of following Network Devices in Detail

  • Repeater
  • Hub
  • Switch
  • Bridge
  • Router
  • Gate Way Apparatus (Software): No software or hardware needed. Procedure: Following should be done to understand this practical.
  1. Repeater: Functioning at Physical Layer.A repeater is an electronic device that receives a signal and retransmits it at a higher level and/or higher power, or onto the other side of an obstruction, so that the signal can cover longer distances. Repeater have two ports ,so cannot be use to connect for more than two devices
  2. Hub: An Ethernet hub , active hub , network hub , repeater hub , hub or concentrator is a device for connecting multiple twisted pair or fiber optic Ethernet devices together and making them act as a single network segment. Hubs work at the physical layer (layer 1) of the OSI model. The device is a form of multiport repeater. Repeater hubs also participate in collision detection, forwarding a jam signal to all ports if it detects a collision.
  3. Switch: A network switch or switching hub is a computer networking device that connects network segments.The term commonly refers to a network bridge that processes and routes data at the data link layer (layer 2) of the OSI model. Switches that additionally process data at the network layer (layer 3 and above) are often referred to as Layer 3 switches or multilayer switches.
  4. Bridge: A network bridge connects multiple network segments at the data link layer (Layer
  1. of the OSI model. In Ethernet networks, the term bridge formally means a device that behaves according to the IEEE 802.1D standard. A bridge and switch are very much alike; a switch being a bridge with numerous ports. Switch or Layer 2 switch is often used interchangeably with bridge .Bridges can analyze incoming data packets to determine if the bridge is able to send the given packet to another segment of the network.
  1. Router: A router is an electronic device that interconnects two or more computer networks, and selectively interchanges packets of data between them. Each data packet contains address information that a router can use to determine if the source and destination are on the same network, or if the data packet must be transferred from one network to another. Where multiple routers are used in a large collection of interconnected networks, the routers exchange information about target system addresses, so that each router can build up a table showing the preferred paths between any two systems on the interconnected networks.
  2. Gate Way: In a communications network, a network node equipped for interfacing with

Aim: Study of network IP Experiment - 3

  • Classification of IP address
  • Sub netting
  • Super netting Apparatus (Software): NA Procedure: Following is required to be study under this practical.
  • Classification of IP address As show in figure we teach how the ip addresses are classified and when they are used.
  • Sub netting Why we Develop sub netting and How to calculate subnet mask and how to identify subnet address.
  • Super netting Why we develop super netting and How to calculate supernet mask and how to identify supernet address. Class Address Range Supports Class A 1.0.0.1 to 126.255.255.254 Supports 16 million hosts on each of 127 networks. Class B 128.1.0.1 to 191.255.255.254 Supports 65,000 hosts on each of 16,000 networks. Class C 192.0.1.1 to 223.255.254.254 Supports 254 hosts on each of 2 million networks. Class D 224.0.0.0 to 239.255.255.255 Reserved for multicast groups. Class E 240.0.0.0 to 254.255.255.254 Reserved.

Aim: Connect the computers in Local Area Network. Experiment- 4 Procedure: On the host computer On the host computer, follow these steps to share the Internet connection:

  1. Log on to the host computer as Administrator or as Owner.
  2. Click Start , and then click Control Panel.
  3. Click Network and Internet Connections.
  4. Click Network Connections.
  5. Right-click the connection that you use to connect to the Internet. For example, if you connect to the Internet by using a modem, right-click the connection that you want under Dial-up / other network available.
  6. Click Properties.
  7. Click the Advanced tab.
  8. Under Internet Connection Sharing , select the Allow other network users to connect through this computer's Internet connection check box.
  9. If you are sharing a dial-up Internet connection, select the Establish a dial-up connection whenever a computer on my network attempts to access the Internet check box if you want to permit your computer to automatically connect to the Internet.
  10. Click OK. You receive the following message: When Internet Connection Sharing is enabled, your LAN adapter will be set to use IP address 192.168.0. 1. Your computer may lose connectivity with other computers on your network. If these other computers have static IP addresses, it is a good idea to set them to obtain their IP addresses automatically. Are you sure you want to enable Internet Connection Sharing?
  11. Click Yes. The connection to the Internet is shared to other computers on the local area network (LAN). The network adapter that is connected to the LAN is configured with a static IP address of 192.168.0. 1 and a subnet mask of 255.255.255. On the client computer To connect to the Internet by using the shared connection, you must confirm the LAN adapter IP configuration, and then configure the client computer. To confirm the LAN adapter IP configuration, follow these steps:
  12. Log on to the client computer as Administrator or as Owner.
  13. Click Start , and then click Control Panel.

Aim: Study of basic network command and Network configuration commands. Experiment- 5 Apparatus (Software): Command Prompt And Packet Tracer. Procedure: To do this EXPERIMENT- follows these steps: In this EXPERIMENT- students have to understand basic networking commands e.g ping, tracert etc. All commands related to Network configuration which includes how to switch to privilege mode and normal mode and how to configure router interface and how to save this configuration to flash memory or permanent memory. This commands includes

  • Configuring the Router commands
  • General Commands to configure network
  • Privileged Mode commands of a router
  • Router Processes & Statistics
  • IP Commands
  • Other IP Commands e.g. show ip route etc. ping: ping(8) sends an ICMP ECHO_REQUEST packet to the specified host. If the host responds, you get an ICMP packet back. Sound strange? Well, you can “ping” an IP address to see if a machine is alive. If there is no response, you know something is wrong.

Traceroute: Tracert is a command which can show you the path a packet of information takes from your computer to one you specify. It will list all the routers it passes through until it reaches its destination, or fails to and is discarded. In addition to this, it will tell you how long each 'hop' from router to router takes.

configure connect copy To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space before the question mark. Router# configure? memory Configure from NV memory network Configure from a TFTP network host terminal Configure from the terminal You can also abbreviate commands and keywords by entering just enough characters to make the command unique from other commands. For example, you can abbreviate the show command to sh. Configuration Files Any time you make changes to the router configuration, you must save the changes to memory because if you do not they will be lost if there is a system reload or power outage. There are two types of configuration files: the running (current operating) configuration and the startup configuration. Use the following privileged mode commands to work with configuration files.

Experiment- 6 Performing an Initial Switch Configuration

Topology Diagram

Objectives

 Perform an initial configuration of a Cisco Catalyst 2960 switch.

Background / Preparation

In this activity, you will configure these settings on the customer Cisco Catalyst 2960 switch:  Host name  Console password  vty password  Privileged EXEC mode password  Privileged EXEC mode secret  IP address on VLAN1 interface  Default gateway Note: Not all commands are graded by Packet Tracer. Step 1: Configure the switch host name. a. From the Customer PC, use a console cable and terminal emulation software to connect to the console of the customer Cisco Catalyst 2960 switch. b. Set the host name on the switch to CustomerSwitch using these commands. Switch> enable Switch# configure terminal

b. Click the Check Results button at the bottom of this instruction window to check your work. Step 7: Verify the configuration. The Customer Switch should now be able to ping the ISP Server at 209.165.201.10. The first one or two pings may fail while ARP converges. CustomerSwitch(config)# end CustomerSwitch# ping 209.165.201. Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 209.165.201.10, timeout is 2 seconds: ..!!! Success rate is 60 percent (3/5), round-trip min/avg/max = 181/189/197 ms CustomerSwitch# Reflection a. What is the significance of assigning the IP address to the VLAN1 interface instead of any of the Fast Ethernet interfaces? b. What command is necessary to enforce password authentication on the console and vty lines? c. How many gigabit ports are available on the Cisco Catalyst 2960 switch that you used in the activity?

Experiment- 7 Performing an Initial Router Configuration

Topology Diagram

Objectives

 Configure the router host name.  Configure passwords.  Configure banner messages.  Verify the router configuration.

Background / Preparation

In this activity, you will use the Cisco IOS CLI to apply an initial configuration to a router, including host name, passwords, a message-of-the-day (MOTD) banner, and other basic settings. Note: Some of the steps are not graded by Packet Tracer. Step 1: Configure the router host name. a. On Customer PC, use the terminal emulation software to connect to the console of the customer Cisco 1841 ISR. Set the host name on the router to CustomerRouter by using these commands. Router> enable Router# configure terminal Router(config)# hostname CustomerRouter Step 2: Configure the privileged mode and secret passwords. a. In global configuration mode, set the password to cisco.

Test the banner and passwords. Log out of the router by typing the exit command twice. The banner displays before the prompt for a password. Enter the password to log back into the router. You may have noticed that when you enter a command incorrectly at the user or privileged EXEC prompt, the router pauses while trying to locate an IP address for the mistyped word you entered. For example, this output shows what happens when the enable command is mistyped. CustomerRouter> emable Translating "emable"...domain server (255.255.255.255) To prevent this from happening, use the following command to stop all DNS lookups from the router CLI. CustomerRouter(config)# no ip domain-lookup Save the running configuration to the startup configuration. CustomerRouter(config)# end CustomerRouter# copy run start Step 6: Verify the configuration. a. Log out of your terminal session with the Cisco 1841 customer router. b. Log in to the Cisco 1841 Customer Router. Enter the console password when prompted. c. Navigate to privileged EXEC mode. Enter the privileged EXEC password when prompted. d. Click the Check Results button at the bottom of this instruction window to check your work. Reflection Which Cisco IOS CLI commands did you use most?

How can you make the customer router passwords more secure?

Experiment- 8 Configuring and Troubleshooting a Switched Network

Topology Diagram

Objectives

 Establish console connection to the switch.  Configure the host name and VLAN1.  Use the help feature to configure the clock.  Configure passwords and console/Telnet access.  Configure login banners.  Configure the router.  Solve duplex and speed mismatch problems.  Configure port security.  Secure unused ports.  Manage the switch configuration file.

Background / Preparation

In this Packet Tracer Skills Integration Challenge activity, you will configure basic switch management, including general maintenance commands, passwords, and port security. This activity provides you an opportunity to review previously acquired skills.