-------------------------------------------- Lab 2 Answer Sheet Wired/Wireless Net Setup and Configuration Due in class on April 16, 2007 Applied Networks and Security (IT 263 901) Lewis 1513, Mondays, 5:45 p.m. to 9:00 p.m. April 2, 2007 to June 11, 2007 -------------------------------------------- Student Name: Requirements: You must visit the LAN lab 659. You may work in groups of four people or less. Please plan for at least an hour, preferably more to complete this exercise. You should bring hard copies of this document with you. Lab Hardware: There are three IT 263 equipment groups in the lab on the left side table. Each equipment group contains the following: 1. Left PC workstation with Ethernet port and 802.11g wireless card. 2. Right PC workstation with Ethernet port 3. Linksys WRV54G SOHO switch/router (lab assistant will get this for you). 4. Patch cables (lab assistant will get these for you). In this lab you will: 1. Connect cables to set up a wired SOHO network with 2 workstations and a SOHO router. 2. Do file sharing between workstations 3. Test connectivity to the outside world 4. Examine packet traces to understand network operations Part 1: Read The Friendly Manual (RTFM) 1. The Linksys/Cisco WRV54G SOHO switch/router Users Guide is available under Course Documents on the DLweb site. There will also be a copy in the lab. Alternatively, a copy can be fetched from the course home page at: 2. The following parts of the manual contain information pertinent to this lab: a. Introduction/Planning: Pages 1 5. b. Getting to Know your Router/Connecting : Pages 9 12. c. Configuring Windows XP PCs: Pages 16 17. d. Configuring your Router: Pages 18 23 (skip PPPoE and PPTP on pages 21-22). Part 2: Connect your Network 1. Get the router and patch cords from the Lab Assistant 2. Make sure both PCs are powered up and logged in. Log in on each as user lanlab, password null_account1. 3. Connect each PC workstation using Ethernet cable into an Ethernet LAN port on the WRV54G (2 connections). Note that we will use the Ethernet port on the Left PC and not the wireless port for this lab exercise. 4. Power up router and wait for it to complete setup (Power and 2 LAN port lights should be steady green). Part 3: Test Local Connections 1. Check what IP address has been assigned to the LEFT workstation and RIGHT workstation. Go to the Worksheet at the end of the lab exercise document and fill them in. 2. On the LEFT workstation, open a command window and ping the RIGHT workstation. If this works, then a. Start up Ethereal, start capture, execute the ping again, stop capture. Now do the following: b. Using the packets captured by Ethereal, determine the Ethernet MAC addresses of each of the workstations and fill them in the Worksheet. c. While the Ethereal window is active, type ALT-PrintScreen to capture the Ethereal window, then Paste this window capture into your Worksheet (CTRL-V in MS Word). Part 4: Check Router Configuration 1. On either PC, start up Internet Explorer, and go to http://192.168.1.1 to access the router administration screens. Login as user admin, password admin. 2. Under Basic Setup, verify the routers internal IP address and enter it into Lab Worksheet. Verify that the Internet Connection Type is Automatic Configuration DHCP. 3. Now connect a patch cable between the Internet port in the back of the WRV54G and a data port on the nearby 24-port switch that connects to the DePaul network. Wait for the router to be assigned a DHCP address by a DePaul DHCP server. 4. Once this external IP address has been assigned, enter its value into the Lab Worksheet. You will find this address on the Status tab (might need to refresh the web browser). Part 5: Check External Connectivity 1. On the LEFT workstation, open a command window and execute the command ping 140.192.34.199. If it works, then start up Ethereal, start capture, execute the same ping again, stop capture. Now do the following: a. Using the packets captured by Ethereal, enter in the Worksheet the Destination MAC and Destination IP addresses you see in the Ping Request Messages. b. Using the packets captured by Ethereal, enter in the Worksheet the Source MAC and Source IP addresses you see in the Ping Response Messages c. While the Ethereal window is active, type ALT-PrintScreen to capture the Ethereal window, then Paste this window capture into your Worksheet (CTRL-V in MS Word). Part 6: Do File Sharing 1. On the RIGHT workstation, bring up My Computer or Windows Explorer and make a folder shared. 2. On the LEFT workstation, bring up My Network Places (by first clicking on My Computer) and find the shared folder on the RIGHT workstation. Copy a file from the local disk over to the shared directory on the other workstation or vice versa. 3. Show a lab assistant that you are successfully sharing files. Part 7: Look at DHCP startup packets 1. Unplug the Ethernet cable from the back of the LEFT workstation. Windows will display an error message showing that network connectivity was lost. 2. Now start up Ethereal and set it to capture packets on the Ethernet interface. 3. Now plug the Ethernet cable back in. Your workstation will initialize the network connection by requesting an IP address (via DHCP) and other operations. 4. Now stop packet capture in Ethereal and find the first DHCP packet where your workstation requests an IP address from a DHCP server. Write in the source IP and dest IP addresses from this packet in your Worksheet. 5. While the Ethereal window is active with this first DHCP packet highlighted, type ALT-PrintScreen to capture the Ethereal window, then Paste this window capture into your Worksheet (CTRL-V in MS Word). Part 7: Clean up 1. Go back, unshare the folder you shared and clean up anything else you've changed. 2. Power down the WRV54G, log off both workstations and unplug all cables. 3. Save your Worksheet results file on a floppy or USB drive or e-mail it to yourself to print later. 4. Return equipment to lab assistant and ask them to check your name off for Lab #2 LAB 2 Worksheet Your NAME: QUESTIONS TO ANSWER 1. Write the values of the following IP addresses: a. LEFT computer IP address = b. RIGHT computer IP address = c. Internal Router IP address = d. External Router IP address = 2. Write the values of the following Ethernet MAC addresses: a. LEFT computer MAC address = b. RIGHT computer MACaddress = 3. When you execute ping 140.192.34.199 and examine the ping messages in Ethereal (Part 5 above), what values are the following: a. Destination MAC address in Echo (ping) request messages = b. Destination IP address in Echo (ping) request messages = c. Source MAC address in Echo (ping) reply messages = d. Source IP address in Echo (ping) reply messages = 4. When you have unplugged the Ethernet cable and then plugged it back in again, your PC should send a DHCP request to get assigned an IP address. What are the values for the following: a. Source IP address in the DHCP request message = b. Destination IP address in the DHCP request message = SCREEN (or attach) CAPTURES: 1.Paste first captured Ethereal screen here (ping between workstations): 2.Paste second captured Ethereal screen here (ping to external host): 3.Paste third captured Ethereal screen here (showing DHCP Request packet):