HOME

TheInfoList



OR:

The 5-4-3 rule, also referred to as the IEEE way, is a design guideline for
Ethernet Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
computer networks covering the number of
repeater In telecommunications, a repeater is an electronic device that receives a signal and retransmits it. Repeaters are used to extend transmissions so that the signal can cover longer distances or be received on the other side of an obstruction. Some ...
s and segments on shared-medium Ethernet backbones in a
tree topology A tree topology, or star-bus topology, is a hybrid network topology in which star networks are interconnected via bus networks. Tree networks are hierarchical, and each node can have an arbitrary number of child nodes. Regular tree networks A ...
. It means that in a
collision domain A collision domain is a network segment (connected by a shared medium or through repeaters) where simultaneous data transmissions collide with one another as a result of more than one device attempting to send a packet on the network segment at t ...
there should be at most 5 segments tied together with 4 repeaters, with up to 3 mixing segments (10BASE5, 10BASE2, or 10BASE-FP). Link segments can be 10BASE-T, 10BASE-FL or 10BASE-FB. This rule is also designated the 5-4-3-2-1 rule with there being ''two'' link segments (without senders) and ''one'' collision domain. An alternate configuration rule, known as the Ethernet way, allows 2 repeaters on the single network and does not allow any hosts on the connection between repeaters. The rules were created when 10BASE5, 10BASE2 and FOIRL were the only types of Ethernet networks available. The rules only apply to shared-medium Ethernet segments connected by
repeater In telecommunications, a repeater is an electronic device that receives a signal and retransmits it. Repeaters are used to extend transmissions so that the signal can cover longer distances or be received on the other side of an obstruction. Some ...
s or
repeater hub An Ethernet hub, active hub, network hub, repeater hub, multiport repeater, or simply hub is a network hardware device for connecting multiple Ethernet devices together and making them act as a single network segment. It has multiple input/ou ...
s (collisions domains) and FOIRL links. The rules do not apply to switched Ethernet because each port on a switch constitutes a separate collision domain. With mixed repeated and switched networks, the rule's scope ends at a switched port.


Details


Collision detection

According to the original Ethernet protocol, a signal sent out over the collision domain must reach every part of the network within a specified length of time. The 5-4-3 rule ensures this. Each segment and repeater that a signal goes through adds a small amount of time to the process, so the rule is designed to minimize transmission times of the signals. For the purposes of this rule, a ''segment'' is in accordance with the
IEEE The Institute of Electrical and Electronics Engineers (IEEE) is an American 501(c)(3) organization, 501(c)(3) public charity professional organization for electrical engineering, electronics engineering, and other related disciplines. The IEEE ...
definition: an electrical connection between networked devices. In the original
10BASE5 10BASE5 (also known as thick Ethernet or thicknet) was the first commercially available variant of Ethernet. The technology was standardized in 1982 as IEEE 802.3. 10BASE5 uses a thick and stiff coaxial cable up to in length. Up to 100 stat ...
and
10BASE2 10BASE2 (also known as cheapernet, thin Ethernet, thinnet, and thinwire) is a variant of Ethernet that uses thin coaxial cable terminated with BNC connectors to build a local area network. During the mid to late 1980s, this was the dominant ...
Ethernet varieties, a segment would therefore correspond to a single coax cable and any devices tapped into it – a ''mixing segment''. On modern twisted-pair Ethernet, a network segment corresponds to the individual connection between
end station In networking jargon, a computer, phone, or internet of things device connected to a computer network is sometimes referred to as an end system or end station, because it sits at the edge of the network. The end user directly interacts with an ...
to network equipment or the connections between different pieces of network equipment. These connections generally use dedicated media for transmitting and receiving, simplifying collision detection. This rule divides a collision domain into two types of physical segments: mixing segments, and link segments. User segments can have users' systems connected to them. Link segments (FOIRL, 10BASE-T, 10BASE-FL, or 10BASE-FB) are used to connect the network's repeaters together. The rule mandates that there can only be a maximum of ''five'' segments, connected through ''four'' repeaters, or repeater hubs, and only ''three'' of the five segments may be mixing segments. This last requirement applies only to 10BASE5, 10BASE2, and 10BASE-FP Ethernet segments.


Preamble consumption

In addition to the necessity of reliable collision detection, a frame cannot be repeated too many times. A repeater normally listens for the 0101 preamble and then locks onto the bitstream. Once locked on, it would then repeat each bit out the other port(s). However, a number of bits would be consumed at the start while the repeater was locking onto the bit stream.IEEE 802.3-2003 section 7.2.3.2 "Preamble" As the frame propagated through each repeater the preamble would get shorter and shorter. Too many bits lost meant that an end node may not have enough preamble bits to lock on and the entire frame would be missed. Various repeaters (hubs) may use slightly different implementations and operate differently. Each repeater would lose more or less bits while locking on, some could lose as many as 5 or 6 bits. You could create a network with more repeaters if you made sure the total number of lost preamble bits would not exceed the requirements of the receiving hardware and collisions would not pose a problem. Usually this detailed information is not easy to obtain and difficult for users to calculate. The standard requires generation of sufficient preamble bits to make sure a frame can be received when operated within specification limits (i.e. applying the 5-4-3 rule). In a lab at DEC they knew how many bits their repeaters would lose and knowing this were able to create an 11 segment, 10 repeater, 3 active segment (11-10-3) network that maintained a round trip delay of less than and a sufficient number of preamble bits that all end nodes functioned properly.


References

{{DEFAULTSORT:5-4-3 Rule Ethernet