0% found this document useful (0 votes)
8 views8 pages

Week 7 - Peer - Peer Using Windows Lab 6

This document outlines a lab exercise for setting up a peer-to-peer network using VirtualBox and Windows 10. It provides step-by-step instructions for creating virtual machines, configuring network settings, testing connectivity, and sharing resources between two client computers. Additionally, it includes troubleshooting tips and commands for network diagnostics.

Uploaded by

sengelrogers
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views8 pages

Week 7 - Peer - Peer Using Windows Lab 6

This document outlines a lab exercise for setting up a peer-to-peer network using VirtualBox and Windows 10. It provides step-by-step instructions for creating virtual machines, configuring network settings, testing connectivity, and sharing resources between two client computers. Additionally, it includes troubleshooting tips and commands for network diagnostics.

Uploaded by

sengelrogers
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Computer Networks 1

Lab 6

Setting Up a Peer to Peer Network

Description

A peer-to-peer network is one in which two or more PCs share files and access to devices such as
printers without requiring a separate server computer or server software.

Objectives

At the end of this lab students should be:

Able to create a peer to peer network using virtual box


Able to test connectivity between devices
Able to share resources between machines
Able to test and research various troubleshooting tools

Resources

Using virtual box Environment


Activities

Network Operating System Client Installation

Step 1

Download Windows 10 Trial Version

1. Open a web browser ,copy link below and press enter to download Windows 10 Trial version

https://software-download.microsoft.com/download/pr/19041.264.200511-
0456.vb_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso

Step 2

Download and load Virtual Box

1. https://www.virtualbox.org/wiki/Downloads

2. @ VirtualBox 6.1.14 platform packages

3. Choose base on you machine type

4 . After download install Virtual Box

Step 3

Creating a New Virtual Machine inside Virtual Box

1. Open Virtual Box

2. Click New and then click next and enter Client 1 for your virtual Machine (VM), and choose the
type of operating system (OS) you want to install. In our case Windows 10(64bit) . Click Next .

Step 4

Allocate the RAM

1. Allocate 2048 MB amount of memory (RAM) for Windows 10 Client 1 .This may varies base
on the flavor of windows operating system . Every time a virtual machine is started, Virtual Box
will allocate this much memory from your host machine and present it to the guest operating
system, which will report this size as the (virtual) computer's installed RAM. Click Next .
Step 5

1. Click Create, Hard disk file type screen will appear leave as default . Click Next.

Step 6

1. The Storage on physical screen will appear please read and note the difference between the two
allocation,leave as default and Click Next , specify a minimum 50 GB virtual hard disk space for your
VM machine then Click Create . Now your new virtual machine will be created and listed on the left side
of the main windows with the name you had entered.

Step 7

Select the installed virtual Client1 shell ,then click on the Machine menu option -> Settings.
Select Network then enable the network adapter: Attached to: Select Internal Network .
Then select OK to apply changes.

Step 8

Now power up your virtual client ->Click Start

Click the Yellow box on you right with the green arrow pointing up. click add, select ISO file location ,
Now Highlight the ISO file ,then Click Open , Click Choose . Now Click Start.

Step 9

Click Next ,Install now , accept agreement,next ,Click Custom :Install Windows only (advanced) ,Select
Drive 0 Partition , Click Next.

Your client operating system will load the installation to create the Windows Client 1 .

Step 10

Repeat Step 1- 9 to create one more client computer and called it Client 2.
Step 11

Name Workgroup @ Client 1

1. Click Start ,scroll down to Windows System,This PC, Highlight This PC, Right Click
Properties,Click Change Settings on right, Click Change , Computer Name and Workgroup

2. Computer name - write a appropriate name , Click Workgroup - name Workgroup newclient

3. When finished, click OK.

4. If prompted to restart your computer, click yes.

Step 12

Repeat Step 11 @ Client 2 Change Name and Workgroup

1. Computer Name- write a appropriate name and change Workgroup to newclient

Step 13

@ Client 1 configure the logical address (Internet Protocol address) IPv4

1. Click Start , Windows Systems ,Control panel ,Network and internet ,view network status tasks,
Change adapter setting ,highlight local connection , click properties

2. Select the general tab in the properties window > highlight internet Protocol (TCP/IP) and select
properties

3. Select the radio button adjacent to the use the following IP address option.

Enter the IP address : 192.168.1.1


Enter the default subnet mask 255.255.255.0

Accessing Network Connection

4. Access the command prompt ( type cmd @ Type here search bottom right ).

5. Type ipconfig at the command prompt to verify the logical address assigned.

Record your ip address :

6. Type ipconfig/all to see all the above including the Mac address

Record your MAC address :


Step 14

Repeat Step 13 @ Client 2 to configure the logical address (Internet Protocol address) IPv4

IP Address & Subnet Mask for Client 2

Enter the IP address : 192.168.1.3


Enter the default subnet mask 255.255.255.0

Step 15

Test Network Connection

Check to see that machine has an IP address. Make a note of the IP address of both machines in your
network.

From Client 1, type ping IP address of Client 2 and vice versa. If you get four replies a connection
was made. If your request was timed out, it simply means there is an error in the connection.

Reasons for Not Connecting

Bad Network Cable or cable not plugged in properly.


Network Interface Card not working.
Network Interface Card not set to internal
Drivers not installed or incorrect drivers.
Hub/Switch not plugged in or not working properly.
The machines are not on the same subnet.
Windows Firewall may be blocking ICMP requests
Sharing Resources

The main purpose of setting up a peer-to-peer network is to share resources. In this exercise we are going
to share a folder on the C drive.

Step 16

@ Client 1

1. Create a folder on your C drive. Name it client1store1. Also create other files and folder within
client1store1.

2. Right-click on the client1store1 folder then properties , then select Sharing ,then Click shared , then
Click the right arrow , Click Everyone ,Click Add under Permission level,Click down arrow
choose Read/Write , Click shared ,Click Done .Now your folder is shared.

Step 17

@ Client 2

1. Create a folder on your C drive. Name it client2store2.Also create other files and folder within
client2store2.

2. Right-click on the client2store2 folder then properties , then select Sharing ,then Click shared , then
Click the right arrow , Click Everyone ,Click Add under Permission level,Click down arrow
choose Read/Write , Click shared ,Click Done .Now your folder is shared.

Connecting to the Shared Resources

There are two(2) ways to achieve this:

@ Type here to seach in Windows 10 .Enter the UNC (Universal Naming Convention) path to the shared
folder (\\computer name\shared name) of opposite client machine and vice versa . Example
\\networklab\test2.
Test troubleshoot command on live system with internet connection

Ping command to test connectivity

Open up command prompt by typing cmd “@ Type here to search bottom left” enter see below.

C:/> ping google.com

Document your results that includes success rate, number of replies sent and received or any error message
displayed.

Address Resolution protocol (ARP ) Test

Use the following commands to gather the physical addresses of all the computers on the LAN segment
and record

@ Type here to search in Windows 10 C:> cmd> arp –a

Record the physical addresses of the NIC :


Look up the Mac Address online for the vendor of each NIC:

.
NETSTAT

The netstat command is used to determine the active ports that the computer is currently listening on
along with the Protocol in use and the current status of the connection.

Example: Type the following command at the command prompt for all computers and record the output.

netstat –a

netstat –an
Running a Trace route command

Tracert is a Windows based command-line tool that you can use to trace the path that an Internet Protocol
(IP) packet takes to its destination from a source. Tracert will determine the path taken to a destination. It
does this by sending Internet Control Message Protocol (ICMP) Echo Request messages to the destination.
When sending traffic to the destination, it will incrementally increase the Time to Live (TTL) field values
to aid in finding the path taken to that destination address.

1. @ Type here to seach in Windows 10 c:> cmd> tracert

2. @ Client 1 command prompt , type tracert ip address of Client 2 and vice versa. E.g. tracert
192.168.25.6 Once everything works your will get a complete trace .

Now on a live connection @ command prompt c:> tracert facebook.com

Exercise :

1. Research other troubleshooting tools used in networking .

Video: https://www.youtube.com/watch?v=vMRrwrSSJKA

https://www.youtube.com/watch?v=wyVEqnDKIC0

https://www.youtube.com/watch?v=t70vAvLmiUU

https://www.youtube.com/watch?v=7W5QXyl8FFc

https://www.youtube.com/watch?v=dpi-g2VbiGk

Reference : https://www.computerworld.com/article/2588287/networking-peer-to-peer-network.html

You might also like