Lab 2 1: OSI Capture Observation Capture - Hsanokklis/2023-2024-Tech-journal GitHub Wiki
Objective: In this lab, students will observe traffic in a simple LAN
Goals:
- Understand the role of MAC addresses in LAN communication
- Observe ARP communication
- Introduce basic features of Wireshark and traffic analysis
Observe a simple capture (in wireshark) - Ping the default gateway
Capture a ping to the default gateway
- Default gateway is 192.168.3.250 on my workstation
- successful ping to the default gateway
- ICMP filtering in Wireshark
**Source(my workstation):
-
IP address ---> 192.168.3.117
-
MAC address ---> 48:21:0b:33:5e:44
-
Destination(default gateway):
- IP address ---> 192.168.3.250
- MAC address ---> d0:81:c5:23:bd:80
Answer Questions
What is the MAC address of your workstation's NIC?
- 48:21:0b:33:5e:44
What is the MAC address of the Default gateway router interface (NIC)
- d0:81:c5:23:bd:80
Observe a simple capture - Ping outside LAN IP address
- Ping the IP address 34.174.229.22
Source MAC address
- 48:21;0b:33:5e:44
Destination address
- d0:81:c5:23:bd:80
Ping your neighbors IP Address (192.168.3.116)
-
Source MAC address: 48:21:0b:33:5e:44
-
Destination MAC address: 48:21:0b:33:57:99
Answer Question: What is the MAC address of your neighbors PC?
- 48:21:0b:33:57:99
Review the packet headers and relate to the OSI reference model
Inspect an ICMP Echo (Ping request packet) in Wireshark
The middle pane should show 4 headings
- Frame n: This provides general info on the packet
- Ethernet: This contains the decode of the bits in the ethernet Header (layer 2)
- Internet Protocol Version 4: Contains the decode of the IP v4 Header (layer 3)
- Internet Control Message Protocol: Contains the decode of the ICMP Header
Answer these questions:
Identify the field in the Ethernet header that indicates the next layer's header
- Type: IPv4
Identify the field in the IPv4 header that indicates the next layer's header
- Protocol: ICMP
Look at the very first 6 bytes in the packet - what is the purpose/role of those bytes?
The first 6 bytes contain the source and destination address for the packet.