Assignment #1 CS 3357a

$30.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (3 votes)

Overview
In this assignment you will setup a development environment that will allow you to run a client and a server app on different IP addresses using a single
physical computer. We will accomplish this using a virtualized environment application called ‘VMWare Player’. After you have setup your virtual machine
(VM) you will create a network connection between your physical computer and the VM using the supplied Python applications. Finally, you will ‘capture’ the
connection using Wireshark.
Procedure
Part A – Client and Server on Same IP Address
1. Setup your virtual machine by following the steps in this document.
2. Open terminal (ctrl+alt+T) and find out your IP Address
Command Exampleifconfig
You should see something similar to this:
We want the non­loopback IP address, in this case it is 192.168.110.129
3. Modify both Python_Server.py and Python_Client.py by entering your IP Address for the variable TCP_IP.
4. Run Server.py on your virtual machine.
Command Examplepython3 Python_Server.py
5. Open a second terminal instance and run Python_Client.py
Command Example ­
python3 Python_Client.py
6. Take a screen capture, which should look similar to this:
9/16/2016 Assignments
https://owl.uwo.ca/portal/site/3f006fc5­3031­4684­bdb0­b1b7e3595ffc/page/b08f1b88­1024­4c80­9603­17cc87782b2c 2/3
You must clearly show that you ran both the client and the server app and had them successfully connect.
Part B – Client and Server on Different IP Address
1. Run Python_Server.py on your VM
2. Open terminal on your physical machine (or a second VM).
3. Run Python_Client.py on your physical machine (or a second VM).
4. Take a screen capture, which should look similar to this:
Notice that the Client Address is different than the Server Address, you must have different IP addresses to receive credit for this section.
Part C – Capture with Wireshark
1. Download and install Wireshark.
https://www.wireshark.org/download.html
2. Start a Wireshark capture making sure to select the right network adapter. You will want to use the Ethernet adapter with your client IP address. By
hovering each adapter you will see the IP address associated with it. Below is an example:
3. Run Python_Server.py on your VM
4. Open terminal on your physical machine (or a second VM).
5. Run Python_Client.py on your physical machine (or a second VM).
6. Make sure they connected successfully and stop the Wireshark capture.
9/16/2016 Assignments
https://owl.uwo.ca/portal/site/3f006fc5­3031­4684­bdb0­b1b7e3595ffc/page/b08f1b88­1024­4c80­9603­17cc87782b2c 3/3
Source
Styles Format Font Size
7. Take a screenshot of Wireshark showing the connection that occurred between the Server and the Client which should look similar to this:
You can see the traffic between the IP addresses we saw in Part B. Don’t worry about all the info you see in here, just make sure you include at least
one line showing the connection between the two IP Addresses in your screen capture (Iine highlighted in red).
What to Submit
You will be submitting three screen captures showing your results for Part A, B, and C.
Grading
100 points Total
50 points Successful connection on single IP address
40 points Successful connection between two different IP addresses
10 points Successful use of Wireshark to capture connection
Submission
Assignment Text
This assignment allows submissions using both the text box below and attached documents. Type your submission in the box below and/or use the Browse button or the “select files” button to include other
documents. Save frequently while working.
Attachments
No attachments yet
Select a file from computer Choose File No file chosen