© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. JainWireshark Fundamentalshttps://doi.org/10.1007/978-1-4842-8002-7_3

3. Analyzing Layer 2 and Layer 3 Traffic

Vinit Jain1  
(1)
San Jose, CA, USA
 
This chapter covers the following topics:
  • Layer 2 frames

  • Layer 3 packets

  • Analyzing QoS markings

Layer 2 Frames

Layer 2 of the OSI or TCP/IP model is the Data Link layer. The Data Link layer is responsible for performing encapsulation of the packets. Appropriate addressing is chosen at each of the Transport, Network, and Data Link layers during the encapsulation process. The Transport layer uses port numbers, the network layer uses IP address, and the Data Link layer uses MAC address, as shown in Figure 3-1.
Figure 3-1 ...

Get Wireshark Fundamentals: A Network Engineer’s Handbook to Analyzing Network Traffic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.