Lab #1

LAN: hub

The purpose of this lab is to show how IP and ARP work in a LAN context based on a hub device.
The lab also shows that the hub retransmits Ethernet frames out of its own ports.

Experiment steps

  1. Recreate the following topology in GNS3.
  2. topology-lab1
  3. Start all devices.
  4. Assign IP addresses to PC1, PC2 and PC3 as in the picture above.
  5. Start capture on link connecting Hub1 to PC3.

Traffic generation

Open PC1 terminal and execute the following commands:
ping 10.10.1.2 -c 2 
ping 10.10.1.3 -c 2
ping 10.10.1.4 -c 2

Expected output in PC1 terminal

The ping command from PC1 towards PC2 (10.10.1.2) and PC3 (10.10.1.3) should succeed.
The ping from PC1 towards the unassigned IP address 10.10.1.4 should produce an error message.

Packet capture analysis

The picture below shows the packets captured by Wireshark on the link connecting Hub1 to PC3.

lab1-wireshark
Notice that:
Return to list of labs

Copyright (c) 2024 - Roberto Canonico

Last updated: October 3, 2024 by Roberto Canonico