Reference no: EM133773850
Network Architecture
The difference between a client-server and a peer-to-peer (P2P) network is that each node can both request and provide services in a P2P network. In contrast, in a client-server network, the client nodes request services, and the server node provides them.
This is a group project of approximately 3 - 4 students. Group Registration (3 ~ 4 Students in the Group from the same Campus and Cohort. Groups of different campuses and cohorts are not allowed.) for all the group assignments. Please nominate one student as a group leader. The group leader will submit the report/doc/files in the submission, including group details such as member names, student ID, Campus and cohort, and the rest of the group members will upload only group details. Ensure that only the group leader submits the files.
You will be required to build a peer network and a client-server network and compare the two (e.g., BitTorrent vs FTP) using network tools such as Wireshark to demonstrate the client-server or peer-to-peer relationships and identify the appropriate protocols. You will demonstrate the network and analyse the protocols in your submitted video
Install at least three hosts (Windows (10 or 11)) in the virtual box for P2P. Create a folder with files and share it in the P2P network. Install Wireshark and analyse the traffic when accessing other machines to download or upload the files.
Install one Windows server (2022 or the latest) with the DNS and FTP server with two Windows clients (Windows 10 or 11) in the virtual box. Join the domain and download/upload the files from/to the FTP server. Install Wireshark and analyse the traffic when accessing the server to download the files.
Part 1: Setting Up Your Virtual Networks
Install VirtualBox
Download: Go to the official VirtualBox website (virtualbox.org) and download the latest version for your operating system.
Installation: Run the installer and follow the on-screen instructions. Accept the default settings unless you have specific requirements.
Create Virtual Machines (VMs)
New VM: Open VirtualBox and click "New."
Name and OS: Give your VM a descriptive name (e.g., "P2P-Host1", "Client1"). Select "Microsoft Windows" as the type and choose the appropriate version (Windows 10 or 11).
Memory: Allocate enough RAM to your VMs (at least 2GB each). Don't overallocated, as this can slow down your host machine.
Hard Disk: Create a virtual hard disk for each VM. The default dynamically allocated option is usually fine.
Repeat: Repeat steps 1-4 to create at least 3 VMs for your P2P network and 3 VMs (1 server, 2 clients) for your client-server network.
Network Configuration
P2P Network:
Go to VirtualBox's "File" menu > "Preferences" > "Network."
Under the "Host-only Networks" tab, click the "Add" icon to create a new host-only network. This creates a private network isolated from your physical network.
For each P2P VM, go to "Settings" > "Network."
Under "Adapter 1," select "Host-only Network" and choose the network you just created.
Client-Server Network:
You can use the same host-only network you created for the P2P network or create a separate one.
Configure the server VM and the two client VMs to use this host-only network.
Install Windows
ISO Images: You'll need Windows 10/11 ISO images and a Windows Server ISO image. You can download these from Microsoft if you have valid licenses.
Mount ISO: For each VM, go to "Settings" > "Storage."
Optical Drive: Click the "Add optical drive" icon and select "Choose a disk file." Browse to the location of your Windows ISO image.
Start VMs: Start each VM. They should boot from the ISO images and begin the Windows installation process.
Follow Instructions: Follow the on-screen instructions to install Windows on each VM.
Configure the Client-Server Network
Install DNS and FTP: On the Windows Server VM, open "Server Manager." Add the "DNS Server" and "FTP Server" roles.
Configure FTP: Create an FTP site and configure user accounts with appropriate permissions.
Domain Controller: Promote the Windows Server VM to a domain controller. This involves creating a new Active Directory Forest.
Join Domain: On the client VMs, go to "System Properties" > "Computer Name" > "Change" and join them to the domain you created.
Part 2: Setting Up File Sharing and Transfers
P2P Network
Create and Share Folder: On one of the P2P VMs, create a folder (e.g., "SharedFiles") and add some files to it.
Sharing Settings: Right-click the folder > "Properties" > "Sharing." Share the folder and give appropriate permissions (read/write) to other users on the network.
Access Shared Folder: On another P2P VM, open File Explorer and type \\<IP
address of the sharing VM>\SharedFiles in the address bar. You should be able to access the shared folder.
Client-Server Network
Upload Files: Upload the files you want to share to the FTP server directory.
Access FTP Server: On a client VM, open a web browser or an FTP client and connect to the FTP server using its IP address or domain name
(e.g., ftp://<server_IP_address>). Log in with the FTP user credentials.
Download Files: Download files from the FTP server.
Part 3: Capture and Analyze Network Traffic
Install Wireshark
Download: Go to the official Wireshark website (wireshark.org) and download the latest version for Windows.
Installation: Run the installer on each VM (P2P hosts and client-server VMs) and follow the on-screen instructions.
Capture Traffic
P2P Network:
Open Wireshark on one or more P2P VMs.
Select the network interface connected to your host-only network.
Start the capture.
Perform file transfers (download/upload) between the P2P VMs.
Stop the capture.
Client-Server Network:
Open Wireshark on a client VM and the server VM.
Select the appropriate network interfaces.
Start the captures.
Download a file from the FTP server to the client.
Stop the captures.
Analyze Traffic
Wireshark Filters: Use filters in Wireshark to isolate the relevant traffic. For example:
ip.addr == <IP address> to filter by IP address.
tcp.port == 21 to filter FTP traffic (port 21).
smb to filter SMB traffic.
P2P Protocols: Look for protocols like:
SMB (Server Message Block): Used for file sharing in Windows networks.
NetBIOS: Used for name resolution and service announcements on a local network.
Client-Server Protocols: Analyze:
FTP (File Transfer Protocol): Pay attention to the control connection (port 21) and data connection. Identify FTP commands (USER, PASS, RETR, STOR) and server responses.
DNS (Domain Name System): Observe DNS queries and responses for name resolution.
Part 4: Create Your Video
Demonstrate Networks: Show your P2P and client-server networks in action. Demonstrate file sharing and FTP transfers.
Wireshark Analysis: Use Wireshark to highlight the key differences in the captured traffic. Explain the protocols you identified and how they relate to the P2P or client-server model.
Comparison: Summarize the main distinctions between the two network types based on your observations and analysis.