|

[ACSA Training #23] Frame Transmission Process

⏱️ Estimated reading time: Approx. 4 minutes (4 min read)

Earlier, when we looked at technologies represented in Layer 2, such as VLAN and 802.1Q, we also mentioned frames.
Previous PostWe have also described Ethernet frames, which correspond to Layer 2 in the OSI layer.

So today, I want to look at how this frame works when doing Layer 2 communication with a real-world example.
First, let's look at communication between two devices going back and forth across multiple switches, assuming they are in the same VLAN.

Basic scenario configuration

[ACSA 교육#23] 프레임 전송 과정 - image 43

Looking at the picture above, PC-1 and Server-1 each have their IP addresses properly set, and each switch has VLANs 1, 10, and 20 set up. A trunk port is configured between the two switches, allowing traffic for VLANs 1, 10, and 20 to communicate.

PC-1 is connected to port 1/1/3 of the Access-1 switch with VLAN 20, and Server-1 is connected to port 1/1/4 of the Access-2 switch with VLAN 20.

Assuming that there has been no communication between PC-1 and Server-1 yet, let's look at how frames are transmitted in a scenario where PC-1 downloads a file from Server-1 via FTP.

Starting an FTP session

A user on PC-1 opens a browser and enters the IP address of Server-1.
ftp://10.1.20.200

[ACSA 교육#23] 프레임 전송 과정 - image 44

Even though PC-1 knows the destination IP address, it doesn't yet know the MAC address mapped to that IP address, so the ARP process must be performed. Furthermore, PC-1 knows all the remaining Layer 2 information, including Layers 3 through 7, which are required to create the frame.

ARP Request

[ACSA 교육#23] 프레임 전송 과정 - image 46

PC-1 creates an ARP request message for the ARP process and broadcasts the message to the entire Layer 2 using the destination MAC address (FF:FF:FF:FF:FF:FF).

Sending ARP broadcast

[ACSA 교육#23] 프레임 전송 과정 - image 48

The Access-1 switch receives the message and enters the 1/1/3 port and the PC-1 MAC address into its MAC address table.
Additionally, since the ARP request is a broadcast, the frame is flooded (sent) to all ports corresponding to VLAN 20. At this time, it is forwarded to the Access-2 switch via 1/1/28, which is connected to the trunk port.

dot1q – Tagging

[ACSA 교육#23] 프레임 전송 과정 - image 49

Since port 1/1/28 on the Access-1 switch is configured as a trunk port, it uses the dot1q tag with VLAN ID = 20 when forwarding the frame. The Access-2 switch receives the frame and creates an entry in its MAC address table.

Untagged frame delivery

[ACSA 교육#23] 프레임 전송 과정 - image 51

The Access-2 switch forwards the frame to all ports mapped to VLAN 20. The frame is forwarded to port 1/1/4, which has VLAN 20 configured. Because this interface is not a trunk port, the frame forwarded to Server-1 does not contain 802.1q tags, such as the VLAN ID.

ARP Reply

[ACSA 교육#23] 프레임 전송 과정 - image 52

Server-1 receives the ARP request and generates an ARP reply. Since PC-2 knows the source MAC address, this frame is communicated unicast.
Now, the Access-2 switch must process the ARP Reply message. First, it learns the MAC address of Server-1 and enters an entry in its MAC address table. Then, it forwards the frame, including the VLAN ID, to the Access-1 switch.

Receive ARP message

[ACSA 교육#23] 프레임 전송 과정 - image 53

The Access-1 switch forwards an ARP Reply frame to PC-1. As expected, since port 1/1/3 is not a trunk port, it removes the 802.1q tag and forwards the frame. The Access-1 switch then adds Server-1's MAC address to its MAC address table and ARP table.

Now that PC-1 knows the MAC address of Server-1, it can complete the Ethernet frame and download the file via FTP.

So, we've looked at how the VLAN, ARP, and 802.1Q processes discussed in the previous post actually work and operate. I hope this simple example will help you understand the concepts more clearly.

It is important to have a solid understanding of VLANs and 802.1Q as they are used extensively in the field.
It would be very helpful to set up a simple practice environment and directly view the contents of the frames using Wireshark or similar.

Similar Posts

  • Aruba's Portfolio (1)

    ⏱️ Estimated reading time: Approx. 5 minutes (5 min read) Following the previous post on Aruba ESP, this time we will take a look at what other Aruba products are available. In the last post, I mentioned that Aruba develops and releases products to enhance connectivity and user experience in the Edge domain. Aruba offers not only wired and wireless network products for connectivity but also...

  • [acp-dc training#10] vsx (2)

    ⏱️ Estimated reading time: Approx. 8 minutes (8 min read) In the previous post, we explored VSX, the virtualization technology of HPE Aruba Networking AOS-CX switches. We explained the components of VSX, the differences from VSF, and its advantages. Today, we would like to cover the practical aspects. We will examine how to actually utilize VSX to perform live software upgrades and look at technologies such as Split Brain… .

  • [ACMA Training #6] AOS 8 License (1)

    ⏱️ Estimated reading time: Approx. 5 minutes (5 min read) In this post, we will look at the licenses for AOS 8. Although AOS 8.11 has been released as of now (November 2022), the ACMA certification (HPE6-A70) is based on AOS 8.6, so I will explain accordingly. Therefore, please note in advance that there may be slight differences. License Classification Each license is…

  • Managing ArubaCX Switches with NetEdit

    ⏱️ Estimated reading time: Approx. 7 minutes (7 min read) Our networks are bound to grow. Existing networks expand, networks are split according to purpose, or new networks are created for new businesses. As networks grow in this way, maintenance becomes extremely difficult from an administrator's perspective. In particular, large-scale network changes involve every individual…

  • [ACSA Training #18] ICMP and PoE

    ⏱️ Estimated read time: Approx. 5 minutes (5 min read) You are adding a new printer to an ICMP network and intend to use it with a laptop. In this case, you will need to verify that the network is properly configured to ensure that network communication between the two devices is functioning correctly. ICMP helps resolve these issues. Internet Control Message Protocol (Internet…

  • [ACP-DC Training#9] VSX (1)

    ⏱️ Estimated read time: Approx. 16 minutes (16 min read) Today, the demand for network availability is ceaseless. Customers require networks that operate 24 hours a day, 365 days a year, and HPE's VSX technology offers a solution to this problem. HPE Aruba Networking's VSX technology is virtualization for data center and core switches running on the AOS-CX operating system…