Week 3: Practice Hands‐on Activity - M199205zn/Datacomm-CS3 GitHub Wiki
- 2-3 computers or laptops with Ethernet ports.
- Ethernet cables (Cat5e or Cat6).
- Network switch or router.
- Network testing software (e.g., Ping, ipconfig, Wireshark).
-
Setup the network:
- Connect computers to a switch using Ethernet cables.
- Ensure the switch is powered on and connected to the router (if needed).
-
Check network configuration:
- Open the terminal (Windows:
cmd
, macOS/Linux:terminal
). - Type
ipconfig
(Windows) orifconfig
(Linux/macOS) to check the assigned IP addresses.
- Open the terminal (Windows:
-
Test network connectivity:
- Use the
ping
command:ping <another computer's IP>
- If the connection is successful, you will see reply messages.
- Use the
-
Verify connection speed:
- On Windows: Go to Control Panel → Network and Sharing Center → Ethernet Status to check the speed.
- On macOS/Linux: Use the command:
ethtool eth0
-
Test data transfer speed:
- Share a file over the network and measure transfer speed.
- Use iPerf to test bandwidth:
iperf -c <destination IP>
- Install Wireshark on one computer.
- Start capturing network traffic.
- Observe Ethernet frames, MAC addresses, and packet flow.
- Identify different protocols running on Ethernet (e.g., TCP, UDP).
- Ethernet is the backbone of modern LANs.
- Different Ethernet standards provide varying speeds for different applications.
- Hands-on practice helps in understanding Ethernet performance and troubleshooting.