Lab 1: Network Discovery with Wireshark
Learning Objectives
- Install and configure Wireshark for network analysis
- Capture and analyze DHCP request/response sequences
- Understand ARP resolution process
- Identify different protocol layers in captured packets
- Use Wireshark filters for targeted analysis
Exercise 1: Network Configuration Discovery
Step 1: Examine Current Network Configuration
Windows Commands:
ipconfig /all
arp -a
route print
Linux Commands:
ip addr show
ip route show
arp -a
Analysis Questions:
- What is your current IP address and subnet mask?
- What is your default gateway IP address?
- How many devices are in your ARP table?
- What DNS servers are configured?
Exercise 2: DHCP Analysis
Step 1: Start Packet Capture
- Open Wireshark with administrator privileges
- Select your active network interface
- Apply filter:
dhcp or bootp - Start capture before triggering DHCP
Step 2: Trigger DHCP Request
Windows:
ipconfig /release
ipconfig /renew
Linux:
sudo dhclient -r
sudo dhclient
Step 3: Analyze DHCP Sequence
Look for the four-step DHCP process:
- DHCP Discover - Client broadcasts request
- DHCP Offer - Server offers IP address
- DHCP Request - Client accepts offer
- DHCP ACK - Server confirms assignment
Analysis Questions:
- What destination MAC address is used for DHCP Discover?
- What IP address range does your DHCP server offer?
- How long is the lease time?
- What additional options are provided (DNS, gateway)?
Exercise 3: ARP Resolution Analysis
Step 1: Clear ARP Cache
Windows:
arp -d *
Linux:
sudo ip neigh flush all
Step 2: Capture ARP Traffic
- Apply Wireshark filter:
arp - Start capture
- Generate ARP requests:
ping 8.8.8.8
ping [your-gateway-ip]
Step 3: Analyze ARP Process
Analysis Questions:
- What happens when you ping an external IP vs local IP?
- How does ARP request/reply work?
- What MAC address responds for your gateway?
- Why do you see ARP for external IPs?
Lab Deliverables
- Screenshot of complete DHCP sequence with annotations
- ARP table before and after ping operations
- Analysis report answering all questions
- Custom Wireshark filter expressions