Computer/Embedded Technology


Introduction to Fast Ethernet

3 July 2002 Computer/Embedded Technology

Ref: z2511085m

(Information provided by Electronic Products Design, 012 665 9700, jwillemse@epd.co.za)

Since its introduction in the early '70s, Ethernet has continued to evolve - evidenced by the fact the IEEE 802.3-2000 standard, which describes the technology, is now over 1500 pages! Fast Ethernet increases data rate 10-fold while maintaining interoperability with legacy Ethernet. Ethernet was created with a multidrop physical layer using a thick backbone eventually operating at 10 Mbps. A thin coaxial bus topology was introduced to reduce cabling expense, but it was the twisted-pair version that received the greatest acceptance. Throughout these changes, Ethernet maintained its 10 Mbps data rate. What was going to be Ethernet's encore?

Fibre distributed data interface (FDDI) operating at 100 Mbps did exist but was considered expensive. The question was, "Could Ethernet operate at 100 Mbps?" The answer was 'yes', but there were competing approaches to Fast Ethernet. One approach was to not make any changes at all, just scale the protocol to 100 Mbps. This would provide backward compatibility and was favoured by most vendors. The second approach favoured a redesign of the medium access control (MAC) in order to gain a feature called demand-priority at the sake of backward compatibility. In the end the 'technically elegant' demand-priority solution, which utilised a token-passing protocol, lost out both in the IEEE 802.3 committee and in the marketplace. Introduced as 100VG-AnyLAN, it never gained widespread support outside its two proponents, Hewlett-Packard and AT&T. Although the words 'Fast Ethernet' are not used, the IEEE 802.3u was adopted as the Fast Ethernet standard in 1995.

How fast is fast?

It is generally accepted that Fast Ethernet implies Ethernet at 100 Mbps. Compared to 10 Mbps, 100 Mbps seems quite fast. In fact, to most microcontrollers it is exceptionally fast and a difficult speed to maintain. However, there are still much faster technologies. Can Ethernet scale to 1000 Mbps? Well, not unless you are content with a maximum network diameter of 20 m. Still, many attributes of 10 Mbps Ethernet are retained in the 1000Base-T standard. This technology is called Gigabit Ethernet and its proposed successor will operate at 10 Gigabits/s. Although 100 Mbps is not the fastest, we will still concentrate on this technology since it has the most application on the plant floor.

Table 1. Scaling Ethernet by 10-fold yields Fast Ethernet without any change in attribute parameters
Table 1. Scaling Ethernet by 10-fold yields Fast Ethernet without any change in attribute parameters

Scaling Ethernet

Table 1 shows a summary of attributes for both Ethernet and Fast Ethernet. You will notice values of the various Ethernet attributes, in terms of bits or bit-times, are maintained even as Ethernet is scaled from 10 Mbps to 100 Mbps. However, one bit-time at 10 Mbps is 100 ns and at 100 Mbps it is 10 ns. Look at Table 2 where the actual times replace the bit and bit-time figures. The good news is that an equivalent amount of data sent at 10 Mbps will be received in a tenth of the time at 100 Mbps. Also notice that the minimum frame size and slot time have been reduced by a factor of 10 as well. These attributes are directly linked to the collision domain of Ethernet and determine the maximum network diameter of the network based upon the maximum round-trip delay of a signal propagating between the two furthest points on the network.

Table 2. In terms of actual time, there are significant differences between Ethernet and Fast Ethernet
Table 2. In terms of actual time, there are significant differences between Ethernet and Fast Ethernet

While the Ethernet protocol scales nicely from 10 Mbps to 100 Mbps, the actual time it takes for signals to pass down wires does not. The result is that the maximum network diameter must be reduced from about 2800 m for 10 Mbps Ethernet to a low of 205 m for Fast Ethernet. The only way to increase distance while retaining 100 Mbps speed is to use full-duplex links which eliminate collisions altogether; therefore, the link segments are not limited by timing.

Half-duplex or full-duplex

Full-duplex links are the key to extending the maximum network diameter of Fast Ethernet. Full-duplex requires separate receive and transmit paths and link segments consisting of no more than two devices. These devices can be Ethernet adapters or switching hub ports. Notice that I did not mention repeating hub ports. A repeating hub is part of the collision domain and reinforces collisions received on any of its other ports. A repeating hub is not capable of full-duplex operation. Although it is possible to have just two Ethernet adapters configured for full-duplex, expansion beyond two adapters requires a switching hub capable of supporting full-duplex operation.

Half-duplex means transmitting and receiving over the same medium but not at the same time. Full-duplex allows for simultaneous sending and receiving. Coaxial-based transceivers such as 10Base-5 and 10Base-2 were never able to invoke full-duplex since they do not have separate receive and transmit paths. However, 10Base-T and 10Base-FL do have separate receive or transmit paths and are capable of full-duplex operation depending upon the sophistication of the Ethernet adapter or switching hub. If these interfaces are configured for half-duplex, then the simultaneous detection of receive and transmit activity will trigger collision detection. These same interfaces, configured for full-duplex, would disable this collision detection logic since full-duplex does not follow the CSMA/CD rules of shared Ethernet.

It is very important that a full-duplex link be configured properly. A station or switching hub port will send out frames at will, ignoring the CSMA/CD protocol of shared Ethernet, if it is configured for full-duplex. If the other end is configured for half-duplex, it will incorrectly detect collisions and take actions that could cause late collisions (which are not automatically resent) and CRC errors. The result is a general slowdown of the network negating the benefits of migrating to Fast Ethernet.

200 Mbps?

One virtue of full-duplex is the claim that throughput is doubled to 200 Mbps by simply invoking full-duplex over half-duplex. Although mathematically correct that two simultaneous data streams can travel on the medium - one going 100 Mbps in one direction and another one going 100 Mbps in the other direction - this occurrence is not common when using industrial automation protocols.

Most protocols operate as either master/slave or command/response. With these types of protocols, a station initiates a command to another station which must decode and execute the command before providing the response. This type of communication could function quite well with a half-duplex link since only a command stream or a response stream is active at one time. In backbone applications, full-duplex operation can be helpful, but do not assume that a system will double in performance by simply invoking full-duplex. The benefits of full-duplex are mostly to gain a larger network diameter and eliminate the complexity and uncertainty of the CSMA/CD protocol.

Ethernet according to 802.3

If you look at Figure 1, you will see a very complex diagram of the various flavours of Ethernet using the definitions of 802.3. Notice that the possible data rates can range from 1 Mbps to 1000 Mbps. The 10000 Mbps rate is yet to be added to the standard and 1 Mbps is not popular. We will concentrate on the 10 Mbps and 100 Mbps options. In terms of the OSI Reference Model, all the data rate variations are considered physical layer attributes, while the data link layer is common to all data rate variations. The 802.3 model does not even address the upper layers of the OSI model.

Figure 1. The complex 802.3 model only addresses two layers of the OSI Reference Model
Figure 1. The complex 802.3 model only addresses two layers of the OSI Reference Model

Of course, the 10 Mbps versions are the simplest. However, notice that two are shown in the figure. The one on the left is the traditional model showing the Attachment Unit Interface (AUI). At this point any physical medium can be attached by way of the DB-15 AUI connector. This was the connector originally used to attach to a 10Base-5 (thick trunk) transceiver which was usually mounted in the ceiling. In 802.3 terms, this transceiver would be called a Physical Medium Attachment (PMA) or simply a Medium Attachment Unit (MAU). In order to get down to the Physical Layer Signalling (PLS) of the Ethernet interface, an AUI cable, or drop cable, is used acting like an extension cord. On one end is a male DB-15 and the other end is a female DB-15. The AUI port is medium independent. If a fibre-optic medium is desired, the appropriate MAU would be connected to the AUI port. On the fibre-optic side, the fibre-optic cables would be connected to the Medium Dependent Interface (MDI) which would include ST-style fibre-optic connectors. This completes the connection to the medium.

With the introduction of Fast Ethernet, the model changed somewhat. A new connection was defined and was called the Media Independent Interface (MII). It provided more bandwidth at 100 Mbps than could be provided by the AUI interface. Notice that at 10 Mbps, the MII is inserted between the PLS and the Reconciliation interface. This is shown to the immediate right of the traditional model. Further to the right is the 100 Mbps variation which introduces additional terms. The Physical Medium Dependent now attaches to the MDI and the Physical Coding Sublayer (PCS) attaches to the MII. In the middle is the PMA. Collectively, the PCS, PMA and PMD are termed the PHY for Physical Layer Device. The MII connector is defined as 50 mm wide dual row, 40 pin. Like the AUI, it is only an option. Most Ethernet interfaces only provide the necessary MDI connector and nothing else. To understand the standard these terms and connections must be defined. You might ask why a MII interface was defined for 10 Mbps Ethernet when an AUI seems to have served the industry quite well? The MII interface supports both 10 Mbps and 100 Mbps data rates which is key to providing dual speed support between legacy 10 Mbps and newer 100 Mbps systems. On the other hand, the AUI only supports 1 Mbps and 10 Mbps while the new Gigabit medium independent interface (GMII) only supports 1000 Mbps.

100Base-T: Fast Ethernet was introduced with the 100Base-T standard. In this standard, new concepts such as reconciliation sublayer (RS), media independent interface, auto-negotiation and management are introduced along with several different physical layers. Therefore, unlike 10Base-T, specifying 100Base-T is not sufficient when designating a physical layer since three are mentioned in the standard - 100Base-T4, 100Base-TX and 100Base-FX. What 100Base-T basically describes is the new MII interface which is much more sophisticated than the AUI. Instead of a serial bit stream for data, four-bit nibbles are transferred between the PHY and RS over the MII for both reception and transmission. For 10 Mbps operation, clocking is reduced from that of 100 Mbps otherwise the interface is the same. It is not a requirement that both speeds be supported.

Management interface: Another unique feature of Fast Ethernet is the ability to manage the PHY itself through a two-wire interface in the MII. As a minimum, one control and one status register must be provided. The PHY must report its abilities and respond to commands. The PHY reports its type of physical layer, its ability to auto-negotiate and if it is capable of handling full-duplex operation. The station management might command the PHY to a fixed speed or to auto-negotiate. The PHY reporting its abilities ensures that it will not be commanded to perform what it is incapable of doing.

100Base-T2, 100Base-T4: Two Fast Ethernet physical layers that are mentioned are 100Base-T4 and 100Base-T2. Both were developed to utilise lower speed cabling that may exist in an installation. 100Base-T4 requires four pairs and is incapable of full-duplex operation. 100Base-T2 only needs two pairs but uses a sophisticated signalling scheme that is difficult and expensive to implement. The industry seems to have rewired for the higher speed Category 5 cable so these two interfaces are not popular.

100Base-X: Like 100Base-T, 100Base-X is not a unique physical layer but details the encoding for the two most popular physical layers - 100Base-TX and 100Base-FX. One physical layer is for copper and the other for fibre optics, yet the standard applies to both. Much of the 100Base-X standard comes from the FDDI standard including the 4B/5B encoding.

4B/5B: Data transfers over the MII are done with 4-bit nibbles that represent actual data. With 10Base-T, Manchester encoding is used which guarantees a transition within every bit cell regardless of logic state. This effectively creates a 200 Mbaud signal for a 10 Mbps data rate. If the same encoding were used for Fast Ethernet, a 200 Mbaud signal would result making it difficult to maintain the same 100 m maximum segment length due to high frequency attenuation. If we could use a code such as nonreturn to zero (NRZ), we could match the data rate with the baud rate. The problem with NRZ is that it has a DC component, which transformers do not like, and it provides little information about clocking. A compromise is the 4B/5B code where the 4-bit nibbles being transferred over the MII are actually encoded as fivebit symbols sent over the medium. The encoding efficiency is 80% and the baud rate increases to 125 Mbaud. This is still fast but not as fast as 200 Mbaud. The actual codes used are chosen so that sufficient transitions occur in the resulting bit pattern so as not to lose clocking. With twice as many codes as necessary, there are many that are left unused and some that are defined for control purposes. The 4B/5B scheme is used for both the 100Base-TX and 100Base-FX physical layers.

100Base-TX: The 100Base-TX twisted-pair physical layer retains the same MDI (RJ-45) connector and pinout as 10Base-T so that auto-negotiation is possible. Two twisted-pairs with separate receive and transmit paths allow for full-duplex operation. Cabling requires a higher performance Category 5. This cable type is an unshielded twisted-pair characterised as 100 Ohm. The standard mentions a 150 Ohm shielded twisted-pair (STP) option with a DB-9 connector that can be used as well. A unique feature of 100Base-X encoding is that the link is always active even without data since a unique symbol called IDLE is sent continuously during inactivity. Reception of IDLE serves as a link integrity function. Maximum segment length for 100Base-TX is 100 m just like 10Base-T. Signalling on the twisted-pair incorporates a three level multilevel technique called MLT-3. The benefit of this code is to further reduce the electromagnetic emissions (EMI) and the bandwidth requirements of the medium.

100Base-FX: The 100Base-FX fibre-optic physical layer is very similar in performance to 10Base-FL. Maximum segment length is 2 km for both technologies; however, for 100Base-FX this is only achieved on full-duplex links. On half-duplex links the segment length cannot exceed 412 m. Either SC or ST fibre-optic connectors can be used, but SC is recommended. Multimode fibre-optic cable (62,5/125 µm) is what is normally used; however, it is possible to use single mode fibre optics for greater distances on full-duplex links. The signalling on fibre optics is NRZI (nonreturn to zero inverted) since there is no concern for EMI on fibre-optic links. With NRZI, the state of signalling inverts on logic 1s, thereby providing some clocking information unlike NRZ.

Table 3. Ethernet physical layers differ in terms of data rate, encoding and signalling
Table 3. Ethernet physical layers differ in terms of data rate, encoding and signalling

Table 3 summarises the three most important Ethernet physical layers and Figure 2 shows the various encoding schemes.

Figure 2. Various encodings for the same bit pattern. Notice that MLT-3 approximates a sine wave with a much lower fundamental frequency than the data rate
Figure 2. Various encodings for the same bit pattern. Notice that MLT-3 approximates a sine wave with a much lower fundamental frequency than the data rate

Auto-negotiation

With the proliferation of Fast Ethernet and the similarity of the cabling components to conventional Ethernet, a means was proposed in IEEE 802.3u to automatically configure Fast Ethernet ports to work with either legacy Ethernet ports or other Fast Ethernet ports. This configuration protocol was based upon National Semiconductor's NWay standard. There is a way for twisted-pair links to automatically configure compatible formats in order for links to begin communicating. This scheme is only suitable for twisted-pair links and not coaxial or fibre-optic links. Coaxial cable is a legacy 10 Mbps standard that is not in the plans for evolving Ethernet. Fibre optics is a different story. Although fibre optics is very much in the plans for evolving Ethernet, there is no simple way for two fibre-optic devices to auto-negotiate data rates since a 10Base-FL device operates at 850 nm while a 100Base-FX device operates at 1300 nm. These devices will not interoperate. The Auto-negotiation protocol is only intended for twisted-pair links where there are only two devices on a segment. Notice that twisted-pair bus segments, which are favoured in industrial automation, are nowhere supported by Ethernet standards. Industrial customers must be content wiring in a star topology and using either repeating hubs or switching hubs.

Table 4. Auto-negotiation assumes a ranking of priorities. 10Base-T is at the bottom
Table 4. Auto-negotiation assumes a ranking of priorities. 10Base-T is at the bottom

The benefit of auto-negotiation is to provide hands-free configuration of the two devices attached to the link segment. At connection time, each of the two devices will advertise all their technical abilities. These abilities have been ranked by the standard as shown in Table 4. The lowest possible ranking is 10Base-T which assumes half-duplex or shared Ethernet operation. The very next ranking is 10Base-T full-duplex indicating that full-duplex has higher performance than half-duplex. Notice that there is no ranking for 100Base-T4 full-duplex. This is because this technology is not capable of full-duplex operation. Finally, the highest ranking is 1000Base-T full-duplex. This ranking scheme has been provided for completeness. It is not assumed that a particular adapter can handle all technologies. In fact, some of these technologies may not have been commercialised. However, they are all listed consistent with the IEEE 802.3 standard.

Each device examines each other's technical abilities and determines the lowest common denominator. For example, if an Ethernet adapter can only handle 10Base-T while a switch port can handle either 10Base-T or 100Base-TX, 10Base-T will be chosen by both. If two Ethernet adapters, one only advertising 10Base-T and the other only advertising 100Base-TX connect, there will be no subsequent communication since no compatibility exists.

FLP and NLP

With legacy 10Base-T systems, a normal link pulse (NLP) is sent between two devices in order to demonstrate that the link is functional in both directions. With Fast Ethernet, the NLP is replaced with a fast link pulse (FLP) that carries the auto-negotiation information. The FLP is interpreted by legacy 10Base-T devices as a NLP so as to provide backward compatibility. If a connection is broken, as evidenced by a lack of link pulses, a series of FLPs will be observed once the link is re-established. After auto-negotiation is completed, link pulses or link activity are monitored as with legacy 10Base-T networks.

Conclusion

Fast Ethernet provides the path to higher performance Ethernet systems with the ability to interoperate with legacy 10 Mbps systems. Added features such as full-duplex and auto-negotiation also make this migration path attractive.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

HPE policy management platform
Computer/Embedded Technology
Duxbury Networking has announced the availability of the HPE Aruba ClearPass policy management platform, that enables business and personal devices to connect to an organisational level, in compliance with corporate security policies.

Read more...
IoT gateways
Brandwagon Distribution Computer/Embedded Technology
IoT Gateways are hardware and software devices that are responsible for collecting data from connected devices, managing communication between devices and the cloud, and processing and analysing the data before sending it to the cloud for further analysis.

Read more...
1.6T Ethernet IP solution to drive AI and hyperscale data centre chips
Computer/Embedded Technology
As artificial intelligence (AI) workloads continue to grow exponentially, and hyperscale data centres become the backbone of our digital infrastructure, the need for faster and more efficient communication technologies becomes imperative. 1.6T Ethernet will rapidly be replacing 400G and 800G Ethernet as the backbone of hyperscale data centres.

Read more...
Keeping it cool within the edge data centre
Computer/Embedded Technology
The creation of more data brings with it the corresponding need for more compute power and more data centres, which, in turn, can create unique challenges with regards to securing the environment and cooling the IT loads.

Read more...
NEX XON becomes Fortinet partner
NEC XON Computer/Embedded Technology
This designation demonstrates NEC XON’s ability to expertly deploy, operate, and maintain its own end-to-end security solutions, helping organisations to achieve digital acceleration.

Read more...
Online tool for data centre planning and design
Computer/Embedded Technology
Vertiv has unveiled a new tool, Vertiv Modular Designer Lite, designed to transform and simplify the configuration of prefabricated modular (PFM) data centres.

Read more...
Mission computer for HADES
Rugged Interconnect Technologies Computer/Embedded Technology
North Atlantic Industries’ latest product, the SIU34S, has been selected as the mission computer for the High Accuracy Detection and Exploitation System (HADES) program.

Read more...
14th Gen power to boost AI at the edge
Rugged Interconnect Technologies Computer/Embedded Technology
ADLINK’s inclusion of Intel’s 14th generation Core processors into its latest embedded boards and fanless computers is set to boost the AI and graphics capabilities.

Read more...
Chromebook laptops with built-in AI
Logitech SA Computer/Embedded Technology
Acer has debuted two new premium Chromebook Plus laptops – the Acer Chromebook Plus Spin 714 and Acer Chromebook Plus 516 GE – that support enhanced generative AI features.

Read more...
VMware alternative for the South African market
Computer/Embedded Technology
Tarsus Distribution has partnered with Scale Computing to deliver simple, reliable, affordable and easy-to-deploy infrastructure solutions via Scale Computing’s award-winning SC//Platform.

Read more...