|

[ACSA Education #19] Domain

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

In the last post, we looked at the basic commands of the AOS-CX switch.

This time, we'll explore design, deployment, configuration, and troubleshooting to deepen your understanding of Layer 2 concepts.
First of all Layer 2 domainLet's learn about the concept.

Collision Domain

Let's say Alice and Bob are having a conversation.

[ACSA 교육#19] Domain - image 6

Even though Alice has something to say, she listens intently while Bob speaks and waits for her turn.
If Alice were to say what she wanted to say right away, it would be difficult to understand what each other was saying as it would be mixed with Bob's voice.

When the two of you are talking and realize that your voices are clashing, you will stop and say this:.

Bob: “I’m sorry. Please speak.”

Alice: “No. I’m sorry. Please continue speaking.”

In this way, both of you will step back and then start talking again.

The same goes for Ethernet networks. Only one Ethernet host can transmit data at a time on a given segment. This is due to an algorithm running on every NIC., CSMA/CD (Carrier Sense Multiple Access / Collision Domain)is controlled by . This works similarly to the Alice and Bob conversation example above.

[ACSA 교육#19] Domain - image 7

When several people are in a room, we can speak whenever we want.
However, before we speak, we check to see if anyone else is speaking.
This is Ethernet Carrier Sense mechanismYou can think of it as being the same as .
Ethernet cards detect the state of “Carrier Sense”, which identifies which NIC is currently transmitting.

When two devices transmit simultaneously, the electrical signals collide and become corrupted. This is called “Collision“" he said.
When this condition is detected, each station will back off and try again.
It's the same situation as when Alice and Bob stop talking to each other after realizing what they were talking about.no see.

Ethernet collisions occur when a hub is used on a network. A hub is a Layer 1 device that receives digital signals 1 and 0 and immediately repeats them on all other ports. For this reason, hubs are also called multi-port repeaters.

All 16 devices connected to a 16-port hub are in the same collision domain. When one device transmits, the remaining 15 devices must wait. If two hosts transmit simultaneously, a collision occurs, causing everyone to back off, wait a few milliseconds (ms), and then try again.

Fortunately, hubs are no longer used today. In many places, Layer 1 hubs are being replaced by more intelligent Layer 2 switches. Under normal circumstances, properly deployed and configured switches should not cause conflicts.

※ Similarly, Wi-Fi also uses an algorithm called CSMA/CA (Carrier Sense Multiple Access/Collision Avoidance). This is similar to Ethernet's CSMA/CD, but adds a separate mechanism to prevent collisions in advance.

[ACSA 교육#19] Domain - image 9

All devices connected to the same wireless access point (AP) channel have the same Collision DomainBecause it is in , you can only transmit one at a time.

Collision Domain and Network Performance

Understanding Collision Domains can also help you optimize network performance.

Let's compare a room with two people versus eight, ten, or fifty. Obviously, conversations are faster, easier, and more efficient with two people. As more people join, multiple conversations arise, leading to distractions and increased chances of "collisions." To improve communication and prevent people from waiting too long, you can divide the room into separate rooms.

[ACSA 교육#19] Domain - image 10

Similarly, let's say you have an 8-port hub. While one host transmits, the other seven hosts must wait. With a 48-port hub, 47 hosts must wait. In this situation, it would be beneficial to separate the traffic into multiple domains (collision domains).

[ACSA 교육#19] Domain - image 12

Of course, as mentioned earlier, hubs, which are Layer 1 devices, are no longer used and are being replaced by Layer 2 switches.
Under normal circumstances, a collision will not occur.

Similarly, consider a single AP. Setting the power to maximum would expand the coverage area and save costs. A single AP would provide wireless service to all 75 nearby users. However, while one device transmits, the other 74 users would have to wait, and people would complain about the wireless connection being slow.

[ACSA 교육#19] Domain - image 14

To solve the problem, buy more APs, set their power to low, and set each to its own channel.
Set each AP to only allow about 25 users to connect. Each AP represents a separate collision domain. Now, up to three users can transmit simultaneously, significantly improving wireless network performance.

Rather than blindly attaching as many users as possible to an AP, it is better to optimize performance by connecting only an appropriate number of users (10 to 25) to one AP.

Broadcast Domain

Broadcast Domainis available on all devices Broadcast frameA group of devices on the same network that can receive and respond.

As explained earlier, broadcast is a type of communication where one device connects to all other devices.

  • In Layer 2 FF:FF:FF:FF:FF:FF
  • In Layer 3 255.255.255.255

Use to deliver broadcast messages.

[ACSA 교육#19] Domain - image 17

A Layer 2 switch forwards broadcast frames to all ports except the port that sent the broadcast (the ingress port).

In the above figure, Host A transmits the broadcast address.

Hello! Does anyone have the IP address 10.1.1.1?

Host A

Both Host B and Host C receive this message because the switch forwards it to all other ports. However, hosts in broadcast domain 2 cannot receive this message (because they are in different domains).
Similarly, if Host D sends a broadcast message, hosts in Broadcast Domain 1 cannot receive it.

Now let's connect these two networks into one internetwork.
What device will you use? Yes. router. The two networks are now connected. However, unlike Layer 2 switches, Layer 3 routers do not forward broadcasts.

That is, it defines the boundaries, or edges, of a broadcast domain. Therefore, even if two networks are connected, broadcast traffic will still flow as before. Hosts in Domain 1 will receive broadcast messages originating in Domain 1, but will not receive broadcast traffic from Domain 2. However, because the networks are connected, interdomain communication is possible via unicast and multicast traffic.

The relationship between broadcast domains and network performance

Why not eliminate the router and simplify the network? Connecting all hosts together through a single broadcast domain would eliminate the need for routers and save costs.

This ties into the issue of network performance.
As with Collision Domains, large broadcast domains cause performance issues.

For unicast traffic, when communicating from Host A to Host F, only two stations will process the packet.
On the other hand, broadcast frames require all stations to process the traffic. The switch must forward broadcast frames to all ports (except the ingress port). This increases switch utilization and load, as well as bandwidth usage, because all switch links must forward all broadcasts.

Hackers can exploit this by generating millions of broadcast packets through programs and flooding the network, depleting resources for essential network traffic. This is called a Denial of Service (DoS) attack. Therefore, a smaller broadcast domain improves network performance.

Okay, now that we understand domains, let's learn about VLANs.

Similar Posts

  • AOS-CX Security Settings Guide (2)

    ⏱️ Estimated read time: Approx. 16 minutes (16 min read) In the previous post, we examined the physical security and Management Plane security of the AOS-CX switch. This time, we will cover the security of the Control Plane of the AOS-CX switch. The content of both the previous and current posts is based on official information found on the HPE website. AOS-CX 10.15…

  • [ACSA Education #1] Network Basics

    ⏱️ Estimated reading time: Approx. 2 minutes (2 min read) Today, shall we start with a brief look at networks? Before that, I think we need to understand what communication is. In English, communication is called "Communication." In other words, it means communicating with one another. People conveying their intentions and exchanging information with one another—that is what communication means. The same applies to machines….

  • [ACSA Training #37] OSPFv2

    ⏱️ Estimated read time: Approx. 13 minutes (13 min read) OSPF is the most widely used method for routing traffic within an organization. Among them, OSPFv2 is used to route IPv4 packets within an enterprise internetwork. Today, we will learn about OSPF areas, router IDs, various message types, and Neighbor State… .

  • [ACP-DC Training #13] Spine-Leaf Architecture

    ⏱️ Estimated read time: Approx. 8 minutes (8 min read) The Spine-Leaf architecture consists of Spine switches acting as the core, Leaf switches serving as the access layer, and numerous endpoints responsible for the data center's computing and storage resources. This structure is highly scalable and efficient, and is optimized for low-latency communication, making it suitable for modern data centers requiring high-performance networks…

  • [ACSA Education #16] Show Command

    ⏱️ Estimated reading time: Approx. 5 minutes (5 min read) In today's post, we will explore the general functions of networking equipment along with very basic commands that help you check networking devices. This information is the most important knowledge you can learn during the entry-level course, and in the future, excellent network engineers and administrators will [regard] network connections’…

  • [ACP-DC Training #12] Virtual Routing and Forwarding (VRF)

    ⏱️ Estimated read time: Approx. 10 minutes (10 min read) Virtual Routing and Forwarding (VRF) is an L3 (Network Layer) isolation technology used to build a Virtual Private Network (VPN). VRF isolates routing tables from other VPNs within the system and allows the use of redundant IP addresses. In other words, VRF allows multiple routing tables within a single router…