text
stringlengths
0
6.55k
2
Larry 2
Collision!
Hub 1
Archie 1A
1B
Bob
Figure 2-23 Collision Occurring Because of LAN Hub Behavior
NOTE For completeness, note that the hub floods each frame out all other ports (except the incoming port). So, Archie’s frame goes to both Larry and Bob; Bob’s frame goes to Larry and Archie.
If you replace the hub in Figure 2-23 with a LAN switch, the switch prevents the collision on the left. The switch operates as a Layer 2 device, meaning that it looks at the data-link header and trailer. A switch would look at the MAC addresses, and even if the switch needed to for-ward both frames to Larry on the left...
Now back to the issue created by the hub’s logic: collisions. To prevent these collisions, the Ethernet nodes must use half-duplex logic instead of full-duplex logic. A problem occurs only when two or more devices send at the same time; half-duplex logic tells the nodes that if someone else is sending, wait before send...
For example, back in Figure 2-23, imagine that Archie began sending his frame early enough so that Bob received the first bits of that frame before Bob tried to send his own frame. Bob, at Step 1B, would notice that he was receiving a frame from someone else, and using half-duplex logic, would simply wait to send the f...
Nodes that use half-duplex logic actually use a relatively well-known algorithm called car-rier sense multiple access with collision detection (CSMA/CD). The algorithm takes care of the obvious cases but also the cases caused by unfortunate timing. For example, two nodes could check for an incoming frame at the exact s...
Step 1. A device with a frame to send listens until the Ethernet is not busy.
Step 2. When the Ethernet is not busy, the sender begins sending the frame.
||||||||||||||||||||
||||||||||||||||||||
56 CCNA 200-301 Official Cert Guide, Volume 1
Step 3. The sender listens while sending to discover whether a collision occurs; colli-sions might be caused by many reasons, including unfortunate timing. If a colli-sion occurs, all currently sending nodes do the following:
A. They send a jamming signal that tells all nodes that a collision happened.
B. They independently choose a random time to wait before trying again, to avoid unfortunate timing.
C. The next attempt starts again at Step 1.
Although most modern LANs do not often use hubs and therefore do not need to use half duplex, enough old hubs still exist in enterprise networks so that you need to be ready
to understand duplex issues. Each NIC and switch port has a duplex setting. For all links between PCs and switches, or between switches, use full duplex. However, for any link con-nected to a LAN hub, the connected LAN switch and NIC port should use half duplex. Note that the hub itself does not use half-duplex logic, ...
Figure 2-24 shows an example, with full-duplex links on the left and a single LAN hub on the right. The hub then requires SW2’s F0/2 interface to use half-duplex logic, along with the PCs connected to the hub.
Full Full Half Hub
SW1 Full
Full A
Figure 2-24
SW2 F0/2 Full
Full Half B C
Full and Half Duplex in an Ethernet LAN
Before closing the chapter, note that the discussion of full and half duplex connects to two specific terms from CCNA exam topic 1.3.b, but those connections may not be obvious. First, the term Ethernet shared media (from the exam topic) refers to designs that use hubs, require CSMA/CD, and therefore share the bandwidt...
By contrast, the term Ethernet point-to-point in that same exam topic emphasizes the fact that in a network built with switches, each (point-to-point) link works independently of the others. Because of the full-duplex logic discussed in this section, a frame can be sent on every point-to-point link in an Ethernet at th...
Chapter Review
One key to doing well on the exams is to perform repetitive spaced review sessions. Review this chapter’s material using either the tools in the book or interactive tools for the same material found on the book’s companion website. Refer to the “Your Study Plan” element for
|||||||||||||||||||| Technet24
||||||||||||||||||||
Chapter 2: Fundamentals of Ethernet LANs 57
more details. Table 2-8 outlines the key review elements and where you can find them. To better track your study progress, record when you completed these activities in the second column.
Table 2-8 Chapter Review Tracking
Review Element Review Date(s)
Review key topics
Review key terms
Answer DIKTA questions
Review memory tables