Department Of Computer Science

Similar documents
Experiment 3: Protocol Visualization with Packet Tracer

Lab#01 - Introduction to Packet Tracer

Introduction to the Packet Tracer Interface using a Hub Topology

GAME100 Lab 5. Before beginning the lab, please download and install Cisco Packet Trace

Internetworking with Packet Tracer

Packet Tracer: Novice Session. Packet Tracer: Novice Session 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Packet Tracer: Novice Session 2007 Cisco Systems, Inc. All rights reserved. Cisco Public. Packet Tracer: Novice Session

Use of the TCP/IP Protocols and the OSI Model in Packet Tracer

CNPE Communications and Networks Lab Book: Data Transmission Over Digital Networks

Packet Tracer - Explore a Network

Packet Tracer Create a Simple Network Using Packet Tracer

NET323 D: NETWORKS PROTOCOLS

NETWORK LAB 2 Configuring Switch Desktop

NET323 D: NETWORKS PROTOCOLS

Packet Tracer - Investigating the TCP/IP and OSI Models in Action (Instructor Version Optional Packet Tracer)

NET323 D: NETWORKS PROTOCOLS

Packet Tracer Mini-Lab 04: Supplement Configuring 2 LANs and 2 Routers with Config in Packet Tracer

CNBK Communications and Networks Lab Book: Purpose of Hardware and Protocols Associated with Networking Computer Systems

Lab - Connect to a Router for the First Time

PreLab for CS356 Lab NIL (Lam) (To be submitted when you come for the lab)

Lab Correcting RIPv2 Routing Problems

CS356 Lab NIL (Lam) In this lab you will learn: Cisco 2600 Router Configuration Static Routing PartB 20 min Access Control Lists PartC 30 min Explore!

Device Interface IP Address Subnet Mask Default Gateway

Configuration and management of Networks LAB 1 Introduction to packet tracer

Activity Configuring Routers, Web, DHCP, DNS and FTP Servers

CS 326e Lab 2, Edmondson-Yurkanan, Spring 2004 Router Configuration, Routing and Access Lists

Chapter 10 - Configure ASA Basic Settings and Firewall using ASDM

Classful Address Subnet Mask Number of Hosts per Subnet (2 x 2)

Lab 7.5.1: Basic Wireless Configuration

Lab Viewing Wireless and Wired NIC Information

PT Activity 5.6.1: Packet Tracer Skills Integration Challenge Topology Diagram

Packet Tracer Simulation - TCP and UDP Communications

1. Which OSI layers offers reliable, connection-oriented data communication services?

CS 356 Lab #1: Basic LAN Setup & Packet capture/analysis using Ethereal

Lab - Configure a NIC to Use DHCP in Windows

Packet Tracer Mini-Lab 05: Supplement Configuring 2 LANs with 2 Routers using CLI in Packet Tracer

NET323 D: NETWORKS PROTOCOLS

Interconnecting Cisco Networking Devices Part1 ( ICND1) Exam.

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

Objective: Select the appropriate media, cables, ports, and connectors to connect switches to other network devices and hosts

Packet Tracer Mini-Lab 08: Supplement Configuring 2 LANs/2 Routers using Config, CLI, & RIPv2

NET323 D: NETWORKS PROTOCOLS

Packet Tracer - Connect a Router to a LAN (Instructor Version)

Network II Lab 01. Part 01: Interface Overview. Program interface

Activity Configuring and Securing a Wireless LAN in Packet Tracer

Lab 1. CLI Navigation. Scenario. Initial Configuration for R1

Introduction to Routing and Packet Forwarding

Packet Tracer - Using Traceroute to Discover the Network (Instructor Version)

LevelOne FBR User s Manual. 1W, 4L 10/100 Mbps ADSL Router. Ver

EXAM - HP0-Y52. Applying HP FlexNetwork Fundamentals. Buy Full Product.

Lab : Challenge OSPF Configuration Lab. Topology Diagram. Addressing Table. Default Gateway. Device Interface IP Address Subnet Mask

CCNA 1 Final Exam Answers UPDATE 2012 eg.1

Lab 9.6.3: EIGRP Troubleshooting Lab

Broadband Router DC-202. User's Guide

Networking Notes. Common Internet Speeds. Online Speed Test myspeed.visualware.com

Lab Using Wireshark to Examine Ethernet Frames

Lecture (02) Switch remote configuration peer2peer star network clients/server star network Traffic analysis using Packet Tracer

6.5.1: Packet Tracer Skills Integration Challenge Activity Topology Diagram

on the bottom left hand corner you will find all the devices you need.

Lab - Configure Wireless Router in Windows

Lab Applying a Logical Layered Model to a Physical Network

Antonio Cianfrani. Packet Tracer

Lab Using Wireshark to Examine Ethernet Frames

UIP1869V User Interface Guide

Lab 5.6.2: Challenge RIP Configuration

OSI Model with Protocols. Layer Name PDU Address Protocols Device

Lab IP Addresses and Network Communication

Smart Serial. Show interfaces. Shut down. logging synchronous

The following steps should be used when configuring a VLAN on the EdgeXOS platform:

Static Routing. Routing Protocols and Concepts Chapter 2. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

Lab 7.5.3: Troubleshooting the Wireless WRT300N

Lab DHCP Client Setup

Quick Installation Guide of Acer WLAN 11b Broadband Router

CCNA 1 v5.0 R&S ITN Final Exam 2014

Lab 1.3.2: Review of Concepts from Exploration 1 - Challenge

Lab : OSPF Troubleshooting Lab

CHAPTER 7 ADVANCED ADMINISTRATION PC

Hochschule Bremen Networking Lab

Troubleshooting Network analysis Software communication tests and development Education. Protocols used for communication (10 seconds capture)

Lab Troubleshooting LAN Connectivity

Lab Configuring an ISR with SDM Express

MiPDF.COM. 1. Convert the decimal number 231 into its binary equivalent. Select the correct answer from the list below.

Network II Lab 03 Part 01: Ping command in simula on mode

Lab 2.8.2: Challenge Static Route Configuration

Ch6 Packet Tracer Skills Integration Challenge Topology Diagram

CCNA 1 Final Exam Answers UPDATE 2012 eg.2

CCENT Practice Certification Exam # 2 - CCNA Exploration: Accessing the WAN (Version 4.0)

Broadband Router DC 202

PT Activity: Configuring a Zone-Based Policy Firewall (ZPF)

A+ Certification Guide. Chapter 16 (Part B) Networking

Using Packet Tracer to Build a Network

CCNA Security 1.0 Student Packet Tracer Manual

Lab Troubleshooting WAN Connectivity

Lab 9.6.2: Challenge EIGRP Configuration Lab

CCNA MCQS with Answers Set-1

OHLONE COLLEGE Ohlone Community College District OFFICIAL COURSE OUTLINE

Release Notes CCNA Exploration: Routing Protocols and Concepts Release

HOME AUTOMATION, INC. Model 93A00-1. Serial Server. User s Manual

Troubleshooting Can not access the router on

Cisco CCNA (ICND1, ICND2) Bootcamp

Transcription:

Department Of Computer Science Laboratory Manual Prepared By: Muhammad Nouman Farooq Lecturer and Course Coordinator Course: Computer Communication and Networks (CS-205) Page 1 of 43

Table of Contents Lab 1- Introduction and Getting Started.3-17 Lab 2- Network Simulation 18-36 2.1- Address Resolution Protocol (ARP) 2.2 Adding Routers and Installing Modules 2.3 Basic Router Configurations using Config Mode 2.4 - Creating a Copy of Existing Router 2.5 - Configuring the Wide Area Network (WAN) Link 2.6 - Configuring the Routing Protocol: Routing Information Protocol (RIP) 2.7 - Setting the default Gateway on the Personal Computers (PCs) 2.8 - Testing the Connectivity of the Build Network 2.9 Saving the Packet Tracer File Lab 3- Configuring DHCP & DNS & Web Server...37-44 Page 2 of 43

What is Packet Tracer? INSTITUTE OF SOUTHERN PUNJAB (ISP), Lab 1- Introduction and Getting Started Packet Tracer is a protocol simulator developed by Dennis Frezzo and his team at Cisco Systems. Packet Tracer (PT) is a powerful and dynamic tool that displays the various protocols used in networking, in either Real Time or Simulation mode. This includes layer 2 protocols such as Ethernet and PPP, layer 3 protocols such as IP, ICMP, and ARP, and layer 4 protocols such as TCP and UDP. Routing protocols can also be traced. Purpose: The purpose of this lab is to become familiar with the Packet Tracer interface. Learn how to use existing topologies and build your own. Requisite Knowledge: This lab assumes some understanding of the Ethernet protocol. At this point we have not discussed other protocols, but will use Packet Tracer in later labs to discuss those as well. Version: This lab is based on Cisco Packet Tracer 6.1 for Windows Student version. Page 3 of 43

Introduction to the Packet Tracer Interface using a Hub and making some Physical Topologies Step 1: Start Packet Tracer and Entering Real-time Mode Page 4 of 43

Step 2: Choosing Devices and Connections We will begin building our network topology by selecting devices and the media in which to connect them. Several types of devices and network connections can be used. For this lab we will keep it simple by using End Devices, Switches, Hubs, and Connections. Single click on each group of devices and connections to display the various choices Page 5 of 43

Step 3: Building the Topology Adding Hosts Single click on the End Devices Move the cursor into topology area. You will notice it turns into a plus + sign. Single click in the topology area and it copies the device. Add three more Hosts Page 6 of 43

Step 4: Building the Topology Connecting the Hosts to Hubs and Switches Adding a Hub Select a hub, by clicking once on Hubs and once on a Generic hub Perform the following steps to connect PC0 to Hub0: 1. Click once on PC0 2. Choose Fast Ethernet 3. Drag the cursor to Hub0 Page 7 of 43

4. Click once on Hub0 and choose Port 0 5. Notice the green link lights on both the PC0 Ethernet NIC and the Hub0 Port 0 showing that the link is active Page 8 of 43

Page 9 of 43

Perform the following steps to connect PC2 to Switch0: 1. Click once on PC2 2. Choose FastEthernet 3. Drag the cursor to Switch0 4. Click once on Switch0 and choose FastEthernet0/1 5. Notice the green link lights on PC2 Ethernet NIC and amber light Switch0 FastEthernet0/1 port The switch port is temporarily not forwarding frames, while it goes through the stages for the Spanning Tree Protocol (STP) process. 6. After a about 30 seconds the amber light will change to green indicating that the port has entered the forwarding stage. Frames can now forwarded out the switch port. Page 10 of 43

Step 5: Configuring IP Addresses and Subnet Masks on the Hosts Page 11 of 43

Also, notice this is where you can change the Bandwidth (speed) and Duplex of the Ethernet NIC (Network Interface Card). The default is Auto (auto negotiation), which means the NIC will negotiate with the hub or switch. The bandwidth and/or duplex can be manually set by removing the check from the Auto box and choosing the specific option. Bandwidth Auto If the host is connected to a hub or switch port which can do 100 Mbps, then the Ethernet NIC on the host will choose 100 Mbps (Fast Ethernet). Otherwise, if the hub or switch port can only do 10 Mbps, then the Ethernet NIC on the host will choose 10 Mbps (Ethernet) Page 12 of 43

Duplex - Auto Hub: INSTITUTE OF SOUTHERN PUNJAB (ISP), If the host is connected to a hub, then the Ethernet NIC on the host will choose Half Duplex. Switch: If the host is connected to a switch, and the switch port is configured as Full Duplex (or Auto negotiation), then the Ethernet NIC on the host will choose Full Duplex. If the switch port is configured as Half Duplex, then the Ethernet NIC on the host will choose Half Duplex. (Full Duplex is a much more efficient option.) The information is automatically saved when entered. Repeat these steps for the other hosts. Use the information below for IP Addresses and Subnet Masks. Page 13 of 43

Verify the Information: INSTITUTE OF SOUTHERN PUNJAB (ISP), To verify the information that you entered, move the Select tool (arrow) over each host. Deleting a Device or Link: To delete a device or link, choose the Delete tool and click on the item you wish to delete. Step 6: Connecting Hub0 to Switch0 To connect like-devices, like a Hub and a Switch, we will use a Cross-over cable. Click once the Cross-over Cable from the Connections options. Page 14 of 43

Page 15 of 43

Page 16 of 43

Lab Task: 1. Design the following Topologies for LAN using hub and switches and 15 PC s connected together a) Buss b) Star c) Tree d) Hybrid Topologies Home Task: 1. Briefly describe the Connections section of Packet Tracer. END OF LAB 1 Page 17 of 43

2. Network Simulation: Lab 2- Network Simulation In this part, we are going to use the simulator to simulate traffic between hosts. For this scenario, delete the switch and host PC3, then connect host PC2 to the hub from lab 1. Observe the flow of data from PC0 to PC1 by Creating Network Traffic. a) Switch to Simulation Mode by selecting the tab that is partially hidden behind the Real Time tab in the bottom right-hand corner. The tab has the icon of a stopwatch on it. NOTE: When Simulation Mode is chosen, a Simulation Panel will appear on the right side of the screen. This panel can be moved by moving the cursor at the top of the panel until it changes and then double-clicking on it. The panel can be restored to the original location by double-clicking on the Title bar. If the panel is closed, click on the Event List button. Page 18 of 43

b) Click on Edit Filters, and then select All/None to deselect every filter. Then choose ARP and ICMP and click in the workspace to close the Edit Filters window. c) Select a Simple PDU by clicking the closed envelope in the Common Tools Bar on the right. Move to PC0 and click to establish the source. Move to PC1 and click to establish the destination. Notice that two envelopes are now positioned beside PC0. This is referred to as a data traffic scenario. One envelope is an ICMP packet, while the other is an ARP packet. The Event List in the Simulation Panel will identify exactly which envelope represents ICMP and which represents an ARP. Page 19 of 43

A scenario may be deleted by clicking on the Delete button in the Scenario panel. Multiple scenarios can be created by clicking on the new button in the Scenario panel. The scenarios can then be toggled between without deleting. d) Select Auto Capture / Play from the Simulation Panel Play Controls. Below the Auto Capture / Play button is a horizontal bar, with a vertical button that controls the speed of the simulation. Dragging the button to the right will speed up the simulation, while dragging is to the left will slow down the simulation. e) Choose the Reset Simulation button in the Simulation window. Notice that the ARP envelope is no longer present. This has reset the simulation but has not cleared any configuration changes or MAC / ARP table entries. Page 20 of 43

f) Choose the Capture / Forward button. Notice that the ICMP envelope moved forward one device and stopped. The Capture / Forward button will allow you to move the simulation one step at a time. h) Choose the Power Cycle Devices button on the bottom left, above the device icons. Choose: Yes Notice that both the ICMP and ARP envelopes are now present. The Power Cycle Devices will clear any configuration changes not saved and clear the MAC / ARP tables. Page 21 of 43

2.1- Address Resolution Protocol (ARP) a) Choose the Auto Capture / Play button and allow the simulation to run completely. b) Click on PC-0 and select the Desktop tab. c) Select the Command Prompt and type the command: arp a d) Notice that the MAC address for PC2 is in the ARP table (to view the MAC address of PC2, click on PC2 and select the Config tab). Page 22 of 43

e) To examine the ARP tables for PC1 and PC2 in another way, click on the Inspect Tool. Then click on PC1 and the ARP table will appear in a new window. Note that PC2 does not have an entry in the ARP table yet. Close the ARP Table window. f) Click on PC2 to view the ARP table. Then close the ARP Table window. NOTE: To deactivate the Inspect Tool, click on the Select Tool Page 23 of 43

2.2 Adding Routers and Installing Modules a) In the Network Component Box, click on the Router b) Select an 1841 Router. c) Move the cursor to the Logical Workspace and click on the desired location. Page 24 of 43

NOTE: If multiple instances of the same device are needed press and hold the Ctrl button, click on the desired device, and then release the Ctrl button. A copy of the device will be created and can now be move to the desired location. d) Click on the router to bring up the Configuration Window. This window has three modes: Physical, Config, and CLI (Physical is the default mode). The Physical mode is used to add modules to a device, such as a WAN Interface Card (WIC). The Config mode is used for basic configuration. Commands are entered in a simple GUI format, with actual equivalent IOS commands shown in the lower part of the window. The CLI mode allows for advanced configuration of the device. This mode requires the user to enter the actual IOS commands just as they would on a live device. Page 25 of 43

e) In the Physical mode, click on the router power switch to turn the device off. f) Select the WIC-2T module and drag it to Slot 0 on the router. Then drag a WIC Cover to Slot 1. g) Power the device back on. Page 26 of 43

h) Click on the Network Component Box and select Connections. Then select a Copper Straight-through connection to connect the router to the hub. NOTE: The Smart Connection can be used to automatically select the appropriate cable type. However, the user will have no choice as to which interface the connection is assigned to; it will take the first available appropriate interface. Click on the hub and choose Port 3. Then click on the router and choose interface FastEthernet 0/0. Page 27 of 43

2.3 Basic Router Configurations using Config Mode a) Click on the Config mode tab of Router0 to begin configuring the device b) After the device has finished booting, change the display name of the router to CISCO_1. Changing the display name does not affect the configuration. NOTE: If the device hangs up in the booting process, save the activity. Then close the application and reopen the file c) Click in the Hostname field and type CISCO_1, then press the TAB key. Note the equivalent IOS command is entered in the lower portion of the window. d) Click on interface FastEthernet 0/0 and assign the IP address 192.168.1.1, then press the TAB key. Enter the subnet mask 255.255.255.0. Page 28 of 43

e) Click the Port Status to On to enable the port (no shutdown). Page 29 of 43

2.4 - Creating a Copy of Existing Router a) Make sure that the existing router is selected (it will be grayed out). b) In the Main Tool Bar click on the Copy tool. c) Click on the Paste tool and the copied device will appear in the work area. d) Drag the new device to the desired location. e) Click on the Network Component Box and select Connections. Then select the Serial DCE connection. f) Click on the CISCO_1 router and connect to the Serial 0/0/0 interface. Page 30 of 43

g) Click on the new router (copy CISCO_1) and connect to the Serial 0/0/0 interface. Page 31 of 43

2.5 - Configuring the Wide Area Network (WAN) Link a) Click on the CISCO_1 router and select the Config mode b) Select interface Serial 0/0/0 c) Configure the interface Serial 0/0/0 with the IP address 192.168.2.1, then press the TAB key and enter the subnet mask 255.255.255.0 on the interface. d) Set the clock rate to 56000 e) Click the Port Status to On to enable the port (no shutdown). f) Click on the new router and select the Config mode. g) Change the Display Name and Hostname to CISCO_2. h) Configure the interface Serial 0/0/0 with the IP address 192.168.2.2, then press the TAB key and enter the subnet mask 255.255.255.0 on the interface. i) Click the Port Status to On to enable the port (no shutdown). NOTE: The link lights on the serial link should change from red to green to indicate the link is active. Page 32 of 43

2.6 - Configuring the Routing Protocol: Routing Information Protocol (RIP) a) Click on the CISCO_1 router and select the Config tab. Then click on RIP and add the network address 192.168.1.0 and 192.168.2.0. b) Click on the CISCO_2 router and select the Config tab. Then click on RIP and add the network address 192.168.2.0. c) Go to each PC and set the Default Gateway to 192.168.1.1 Page 33 of 43

2.7 - Setting the default Gateway on the Personal Computers (PCs) a) Click on PC0 and select the Config tab. Enter the default gateway address 192.168.1.1. b) Click on PC1 and select the Config tab. Enter the default gateway address 192.168.1.1. c) Click on PC2 and select the Config tab. Enter the default gateway address 192.168.1.1. Page 34 of 43

2.8 Testing the Connectivity of the Build Network a) Click on the Simulation mode. b) Select a Simple PDU and click on PC-A as the source, then click on Cisco_2 as the destination. The ping should be successful. 2.9 Saving the Packet Tracer File a) Save the Packet Tracer file with the name: Your Name-Class-Semester-Section-lab2 END OF LAB 2 Page 35 of 43

Lab 3- Configuring DHCP & DNS & Web Server 1. Start Packet Tracer using Realtime mode. Options -> Preferences o Enable Show Link Lights o Disable Hide Device Label 2. Configuring the DHCP Server Add a server. Global Settings: Change the Display Name to DHCP Server Set the Gateway to 172.16.0.1 FastEthernet: Set the IP address to 172.16.0.10 Set the Subnet Mask to 255.255.0.0 HTTP: Set HTTP Service and HTTPS Service to Off DHCP: Set the Default Gateway to 172.16.0.1 Set the DNS Server to 172.16.0.11 Set the Start IP Address to 172.16.0.100 DNS: Set the Service to Off Page 36 of 43

2. Configuring the DNS Server Add a server. Global Settings: Change the Display Name to DNS Server Set the Gateway to 172.16.0.1 FastEthernet: Set the IP address to 172.16.0.11 Set the Subnet Mask to 255.255.0.0 HTTP: Set HTTP Service and HTTPS Service to Off DHCP: Set the Service to Off DNS: Entering the www.tsrb.edu Domain Name o Enter for the Domain Name www.tsrb.edu o Enter for IP Address 172.16.0.20 o Click Add Entering the www.internal.com Domain Name o Enter for the Domain Name www.internal.com o Enter for IP Address 172.16.0.30 o Click Add Page 37 of 43

3. Configuring the www.tsrb.edu Web Server Add a server. Global Settings: Change the Display Name to Web Server: www.tsrb.edu Set the Gateway to 172.16.0.1 FastEthernet: Set the IP address to 172.16.0.20 Set the Subnet Mask to 255.255.0.0 DHCP: Set the Service to Off DNS: Set the Service to Off HTTP Change the sentence, <hr>welcome to Packet Tracer 5.0, the best thing since... Packet Tracer 4.0. to <hr> Welcome to Tsrb's public web page! You may add other information as well. Page 38 of 43

4. Configuring the www.internal.com Web Server Add a server. Global Settings: Change the Display Name to Web Server: www.internal.com Set the Gateway to 172.16.0.1 FastEthernet: Set the IP address to 172.16.0.30 Set the Subnet Mask to 255.255.0.0 DHCP: Set the Service to Off DNS: Set the Service to Off Page 39 of 43

HTTP INSTITUTE OF SOUTHERN PUNJAB (ISP), Change the sentence, <hr>welcome to Packet Tracer 5.0, the best thing since... Packet Tracer 4.0. to <hr> This is the corporate internal network! You may add other information as well. 5. Configure Two Client Computers using DHCP Add two client computers. Global Settings: Change the Display Names to Dynamic 1 and to Dynamic 2 respectively Set the Gateway/DNS to DHCP FastEthernet: Set the IP Configuration to DHCP 6. Configure One Client Computers using Static IP Addressing Add two client computers. Global Settings: Change the Display Name to Static Set the Gateway/DNS to Static Set Gateway to 172.16.0.1 Set the DNS Server to 172.16.0.11 FastEthernet: Be sure the configuration is set to Static Set the IP address to 172.16.0.90 Set the Subnet Mask to 255.255.0.0 Page 40 of 43

7. Adding switches INSTITUTE OF SOUTHERN PUNJAB (ISP), Add two switches. Connect the servers to one switch using a straight-through cable. Connect the client computers to the other switch using a straight-through cable. Interconnect the two switches using a crossover cable. 8. Verify connectivity Ping (ICMP) o From a client computer use the Desktop Command prompt to ping the other client computers and the servers. o Example: From the Dynamic 1 client, C> ping 172.16.0.20 o The first one or two pings may fail, but you should receive a reply on the later pings. This is due to the ping timing out while the ARP process takes place (later). Web Browser (HTTP) o On the client computers use the Desktop Web Browser, enter the URLs of the Web Servers www.tsrb.edu and www.internal.com. o You should see the web pages that you created on these servers. Page 41 of 43

9. Using Simulation Mode INSTITUTE OF SOUTHERN PUNJAB (ISP), Click on Simulation. Note: To reset a simulation, click on Reset Simulation Click on Edit Filters Choose Show All/None so that all the boxes (protocols) are unchecked. Select (check) the following protocols: DHCP, ICMP, HTTP, DNS. Web Browser (HTTP) On the client computers use the Desktop Web Browser, enter the URLs of the Web Servers www.tsrb.edu or www.internal.com. Click on Auto Capture/Play (automatically forwards the packets) or Capture Forward (must keep clicking to advance the packets) DHCP Reset the simulation by clicking on Reset Simulation To view DHCP, on one of the Dynamic client computers using DHCP go to the Desktop Command prompt. To have the client computer ask for new IP address and other information from the DHCP server, enter the command: C> ipconfig /renew Page 42 of 43

END OF LAB 3 Page 43 of 43