Module 16 the Medium Access Sublayer: Ethernet

Total Page:16

File Type:pdf, Size:1020Kb

Module 16 the Medium Access Sublayer: Ethernet Computer Networks and ITCP/IP Protocols 1 Module 16 The Medium Access Sublayer: Ethernet Introduction The MAC or Medium Access Sublayer is part of the data link layer and needed where the media is shared between machines. We will look at two popular solutions, Ethernet and 802.11 or Wi- Fi in this module. Whenever there are multiple machines wants to communicate with each other, they need to coordinate their process otherwise there is a possibility of a chaos. If more than one sender starts sending, their signals merge into each other and resultant signal may not be recognizable at all. Such a signal is known (obviously) as garbage. This clearly means that there must be some form of arbitration needed to decide who shall send next and who shall wait. The arbitration can be done in two different ways, first, having a central arbitrator machine which decides so. Another is to use some distributed algorithm which takes consensus on all potential senders to decide who will send next. The MAC layer is designed to handle this problem and both forms of arbitration, with and without a central coordinator, are used in practice. For example, Wi-Fi, when used with access points (AP), (the infrastructure mode) the AP acts as a central arbitrator and decides who should be sending next. When the same Wi-Fi is used without an access point, (the ad hoc mode), the arbitration process is collectively decided based on specific method chosen for communication. Ethernet, in its first version, used a strategy known as "let anybody send at any point in time, resolve if there is a collision". This is also an example of distributed processing. The FDM and TDM etc. are also channel-acquisition policies which evenly distribute the available time or frequency to all communicators. We have already seen that they are not appropriate for data transmission as they are not suited for bursty traffic like data. Arbitration in ad hoc and infrastructure modes Closely look at figures 16.1 and 16.2. The access point connects all machines which want to communicate with each other. Access point authenticates them and allows them to communicate through itself. That means no two machines directly talk to each other. When a machine A wants to talk to machine B, it (A) will send it to AP and AP relays it to B. AP also decides the time and frequency to use for each machine, eliminating any possibility of collision. A collision is an event when two machines send together and their signals result into the garbage. In Ad-hoc (or Distributed Coordinated Function, DCF) mode, two machines directly talk to each other. It is possible to have both types of communication going on together. That means, it is possible that access point is arbitrating between some machines and some other machines are communicating directly. The 802.11 have carefully designed its arbitration mechanism to handle this problem. It is interesting to note that Ethernet uses a start topology which looks similar to the PCF mode. When hubs were used in the first version of Ethernet, they broadcast everything coming in and Prof. Bhushan Trivedi Module 16 Computer Networks and ITCP/IP Protocols 2 work exactly like the AP. Later on, when switches have come into use, they changed the strategy and provided point to point communication. Figure 16.1 The access point in PCF mode Figure 16.2 Ad hoc and Infrastructure mode together Ethernet Ethernet is the de-facto standard for wired LAN. Bob Metcalfe and David Boggs were the mastermind behind the design of Ethernet. They derived the inspiration from an older wireless network called ALOHA. The first popular version of Ethernet was called DIX based on initial letters of the names of the three companies which were involved in the standardization, DEC1, Intel and Xerox. It was running at the speed of 10 Mb. Later on, IEEE has also standardized the Ethernet and gave its own frame format. This version of Ethernet is now known as classic Ethernet. This classic Ethernet was designed as a broadcast network and had all the problems of broadcast networks. Later versions did not use the broadcast version so we will not stress here that further. For details please refer to reference-1. Whenever there is a collision, the Ethernet uses an algorithm called binary exponential back off. That algorithm is used in many other cases including the wireless cases, so we will study that later in this module. Later versions of Ethernet increased the speed to 100 Mb, 1 Gb, 10 Gb, 40 Gb and 100Gb. The first version used coaxial cables but later versions switched over to UTP cables and most recent versions use FO cables. For details of different types of cables used in various versions of Ethernet please refer Reference-1. For coding schemes used for those systems, refer to reference-2. Figure 16.3 Ethernet Topology Ethernet uses start topology as depicted in figure 16.3. Though the figure names the central device as hub or switch, hubs are out of vogue and hardly used. The implementation also uses a 1 DEC (Digital Equipment Corporation, later merged with Compaq which in turn merged with HP Prof. Bhushan Trivedi Module 16 Computer Networks and ITCP/IP Protocols 3 cascaded star topology which allows connecting networks together. Figure 16.4 depicts the case. Three different networks are connected using three different switches. Figure 16.4 the cascaded star topology As Ethernet was first standardized by DIX and later by IEEE, there were two different frame formats. DIX came earlier, actually more appropriate and thus normally preferred by users and vendors. That forced IEEE to accept old DIX standard as new IEEE standard. Once IEEE has accepted the old DIX standard, the Ethernet have two different frame formats, now named as Ethernet-I (the IEEE format which came later) and Ethernet II (original DIX standard which was standardized by IEEE later). We will look at both of them in the following. All later versions of the Ethernet use the same frame format and all versions of Ethernet are interoperable; that means older machines can communicate with newer switches and vice versa. How that is done is also discussed at the end of this chapter. Let us, first of all, begin with the frame structures of Ethernet. The classic Ethernet's IEEE name was 802.3 and we will use that as the synonym for Ethernet in our course. Frame structure An Ethernet frame consists of 7 (Ethernet II) to 8 (Ethernet I) fields. A minimum size of the frame is 64 bytes and the maximum is 1518 bytes (including frame headers). When virtual LAN was introduced later, the maximum frame size was increased to 1522 bytes. Figure 16.5 depicts both formats. The Ethernet standard from IEEE is also known as 802.3 and this frame format is also known as 802.3 frame format. Figure 16.5 The Ethernet frame formats Prof. Bhushan Trivedi Module 16 Computer Networks and ITCP/IP Protocols 4 In figure 16.5 the top part depicts the Ethernet II or DIX frame format and lower one depicts the Ethernet-I frame format. Both of them are valid formats but only the first one is used in practice. Both the frame formats differ at two places. The last bit of preamble is named as SOF (Start of Frame) and instead of 0, it has value 1. Second and more significant change is that Ethernet II have a field called Type which is replaced by a field called Length in the Ethernet I version. Let us look at both frame formats, field by field. The frame always has the preamble in the beginning. Technically it is not part of the frame. Our discussion about synchronization earlier had a mention of preamble of type 10101…. The receiver gets alternate zeros and ones and synchronizes properly. The first seven bytes of the preamble in both formats are the same. The final byte in Ethernet II format is 10101010 while in Ethernet-I it is 10101011. The last bit is known as SOF or Strat of Frame. The next is the Destination address. It indicates the MAC address of the receiver. In the case of Ethernet, it is 6 bytes or 48 bits long. A unicast address starts with a zero and identifies a single node. A multicast address begins with 1 and identifies a group of nodes. An address with all 48 bits as 1 is called broadcast address which identifies every node of the network. The destination address is any one of these three addresses. A group address is used to map a network group. The IP also has many groups (for example, group of all routers) and give each group a typical group address. Whenever somebody sends to a group, all members will receive that packet. How is such functionality implemented by the lower layers? Ethernet solves it by providing these groups. An IP group is mapped to an Ethernet group and actual communication to all the group members is done by such multicast address. When a network layer passes a packet with a multicast address, the Ethernet frame generated to carry that packet also contain a multicast address containing those members. If an IP packet contains a group address as its destination address, it is transmitted over a specific group using the Ethernet multicast address 01-00-5E-xx-xx-xx, where the 'x' values depend on the group identifier. The xx-xx-xx-xx values are picked up from the last 23 bits of the IP multicast address and placed here with preceding zeros if need be.
Recommended publications
  • Gigabit Ethernet - CH 3 - Ethernet, Fast Ethernet, and Gigabit Ethern
    Switched, Fast, and Gigabit Ethernet - CH 3 - Ethernet, Fast Ethernet, and Gigabit Ethern.. Page 1 of 36 [Figures are not included in this sample chapter] Switched, Fast, and Gigabit Ethernet - 3 - Ethernet, Fast Ethernet, and Gigabit Ethernet Standards This chapter discusses the theory and standards of the three versions of Ethernet around today: regular 10Mbps Ethernet, 100Mbps Fast Ethernet, and 1000Mbps Gigabit Ethernet. The goal of this chapter is to educate you as a LAN manager or IT professional about essential differences between shared 10Mbps Ethernet and these newer technologies. This chapter focuses on aspects of Fast Ethernet and Gigabit Ethernet that are relevant to you and doesn’t get into too much technical detail. Read this chapter and the following two (Chapter 4, "Layer 2 Ethernet Switching," and Chapter 5, "VLANs and Layer 3 Switching") together. This chapter focuses on the different Ethernet MAC and PHY standards, as well as repeaters, also known as hubs. Chapter 4 examines Ethernet bridging, also known as Layer 2 switching. Chapter 5 discusses VLANs, some basics of routing, and Layer 3 switching. These three chapters serve as a precursor to the second half of this book, namely the hands-on implementation in Chapters 8 through 12. After you understand the key differences between yesterday’s shared Ethernet and today’s Switched, Fast, and Gigabit Ethernet, evaluating products and building a network with these products should be relatively straightforward. The chapter is split into seven sections: l "Ethernet and the OSI Reference Model" discusses the OSI Reference Model and how Ethernet relates to the physical (PHY) and Media Access Control (MAC) layers of the OSI model.
    [Show full text]
  • Ethernet and Wifi
    Ethernet and WiFi hp://xkcd.com/466/ CSCI 466: Networks • Keith Vertanen • Fall 2011 Overview • Mul?ple access networks – Ethernet • Long history • Dominant wired technology – 802.11 • Dominant wireless technology 2 Classic Ethernet • Ethernet – luminferous ether through which electromagne?c radiaon once thought to propagate – Carrier Sense, Mul?ple Access with Collision Detec?on (CSMA/CD) – IEEE 802.3 Robert Metcalfe, co- inventor of Ethernet 3 Classic Ethernet • Ethernet – Xerox Ethernet standardized as IEEE 802.3 in 1983 – Xerox not interested in commercializing – Metcalfe leaves and forms 3Com 4 Ethernet connec?vity • Shared medium – All hosts hear all traffic on cable – Hosts tapped the cable – 2500m maximum length – May include repeaters amplifying signal – 10 Mbps bandwidth 5 Classic Ethernet cabling Cable aSer being "vampire" tapped. Thick Ethernet cable (yellow), 10BASE-5 transceivers, cable tapping tool (orange), 500m maximum length. Thin Ethernet cable (10BASE2) with BNC T- connector, 185m maximum length. 6 Ethernet addressing • Media Access Control address (MAC) – 48-bit globally unique address • 281,474,976,710,656 possible addresses • Should last ?ll 2100 • e.g. 01:23:45:67:89:ab – Address of all 1's is broadcast • FF:FF:FF:FF:FF:FF 7 Ethernet frame format • Frame format – Manchester encoded – Preamble products 10-Mhz square wave • Allows clock synch between sender & receiver – Pad to at least 64-bytes (collision detec?on) Ethernet 802.3 AlternaWng 0's 48-bit MAC and 1's (except addresses SoF of 11) 8 Ethernet receivers • Hosts listens to medium – Deliver to host: • Any frame with host's MAC address • All broadcast frames (all 1's) • Mul?cast frames (if subscribed to) • Or all frames if in promiscuous mode 9 MAC sublayer • Media Access Control (MAC) sublayer – Who goes next on a shared medium – Ethernet hosts can sense if medium in use – Algorithm for sending data: 1.
    [Show full text]
  • Ethernet by T.S.R.K
    L8 – Ethernet by T.S.R.K. Prasad EA C451 Internetworking Technologies 02/02/2013 References / Acknowledgements Sec 4.3, 4.8: Computer Networks, Andrew Tanenbaum Sec 5.4 – 5.6: [Kurose] Sec 2.6: [Peterson] References EA C451 INET TECH Optional Readings [Shenker-ETH] Scott Shenker, L18- Ethernet, EE122, Fall 2012, Dept of EECS, University of California, Berkeley. http://inst.eecs.berkeley.edu/~ee122/ [Kurose] Chapter 5: The Link Layer and Local Area Networks, Computer Networking, Kurose & Ross Optional Readings EA C451 INET TECH Optional Readings [Tanenbaum] Chapters 3: Data Link Layer and Chapter 4: MAC Sublayer, Computer Networks, Andrew Tanenbaum, 4th Edition. [Peterson] Chapter 2: Getting Connected, Computer Networks, Peterson & Davie. IEEE 802 Project Look Ma – NO RFCs!!! Optional Readings EA C451 INET TECH Self-Study Topics Spanning tree protocol Self-Study EA C451 INET TECH IEEE 802 Project Network Layer Network LLC 802.2 Layer Logical Link Control (LLC) Data Link 802.3 MAC CSMA/CD 802.11a 802.11b 802.11g 802.15 802.16 Layer Ethernet Wireless LAN / Wi-Fi Bluetooth WiMax Physical QAM / Manchester OFDM HR-DSSS OFDM FHSS Physical Layer QPSK IEEE Standard OSI Model Note: This is not the complete model; IEEE 802 standard has 20 sub-committees formulating the details of the Data link layer standards. IEEE 802 Project EA C451 INET TECH You Said It If something comes along to replace Ethernet, it will be called “Ethernet”, so therefore Ethernet will never die. - Attributed to Bob Metcalfe by Ken Thompson You Said It EA C451 INET TECH Presentation Overview Conclusion Deployment Scenarios Gigabit Ethernet Classic Ethernet Introduction Lecture Outline EA C451 INET TECH Presentation Overview Conclusion Deployment Scenarios Gigabit Ethernet Classic Ethernet Introduction Lecture Outline EA C451 INET TECH Ethernet “dominant” wired LAN technology: • cheap Rs.
    [Show full text]
  • Network Architectures
    Dr. Beinschróth József Telecommunication informatics I. Part 4 ÓE-KVK Budapest, 2019. Dr. Beinschróth József: Telecommunication informatics I. Content Network architectures: collection of recommendations The Physical Layer: transporting bits The Data Link Layer: Logical Link Control and Media Access Control Examles for technologies based on the Data Link Layer The Network Layer 1: functions and protocols The Network Layer 2: routing Examle for technology based on the Network Layer The Transport Layer The Application Layer Criptography IPSec, VPN and border protection QoS and multimedia Additional chapters Dr. Beinschróth József: Telecommunication informatics I. 2 The content of this chapter Wired LAN-s Wireless LAN-s Bluetooth PLC, BPL (Power Line Communication, Broadband over Power Lines) DOCSIS Dr. Beinschróth József: Telecommunication informatics I. 3 The LAN (Local Area Network) architecture covers the first two layer of the model The LAN technology is very widespread Covers the first two layer of the model, The data link layer plays a decisive role in the LAN architecture. Wired LAN-s Dr. Beinschróth József: Telecommunication informatics I. 4 The LAN is implemented in buildings or buildings close to each other (1) Located within a relatively small range of intelligent devices: the physical dimension limit: max. a few km, the transmission time is known in advance (micro, nanosecond scale delays). Typically is implemented in buildings, buildings close to each other, companies, institutions. The data transfer is implemented in a communication channel (does not use connected or leased telephone or data networks) Typically private network - work with one owner and administrative management. Destination: computers, printers and other shared resources sharing, messaging.
    [Show full text]
  • Industrial Ethernet
    Industrial Ethernet ... from the Office to the Machine - world wide - Band I Ronald Dietrich Industrial Ethernet ... from the Office to the machine - world wide - HARTING The best connections worldwide – because quality connects. HARTING was founded in 1945 by the family that still retains sole ownership of the company. HARTING presently employs more than 2 000 people including 150 highly qualified engineers and over 100 sales engineers who take care of the daily needs of our customers. Today, HARTING is the leading manufacturer of connectors with 34 subsidiary companies in Europe, America and Asia. As the market leader, HARTING offers the advantage of ‘just in time’ services. It is therefore no wonder that the company maintains close business relationships with all of its important customers active in the world market. HARTING is the market leader in several of its product sectors. HARTING can draw on many years of extensive experience gained in achieving high degrees of protection in industrial environments (IP 65 and higher), all of which has flowed into expanding its product portfolio as well as the development of its family of devices for industrial communication. HARTING products are manufactured utilizing cutting edge and efficient productions methods. CAD systems support research and development as well as tool making activities. We abide by our philosophy of quality, which states that only fully automatic manufacturing processes can achieve a zero error rate. In accordance with DIN EN ISO 9001, the organisation and procedures constituting our quality assurance measures are documented in a quality assurance manual. HARTING employs approximately 60 members of staff in quality assurance.
    [Show full text]
  • Time Sensitive Ethernet the Future for Industrial Control System Networks a Whitepaper
    Time Sensitive Ethernet The future for industrial control system networks A Whitepaper Call: +44 345 222 1711 / +353 1 210 1711 Email: [email protected] Visit: bsigroup.com Introduction Local Area Networks (LAN) are extremely important in the fully interconnected world we live in nowadays, acting as the backbone that enable the interaction between IT elements. They are also used to link local IT systems with the Wide Area Network (Internet). In the industrial world, LANs are even more critical, fulfilling real-time communication requirements to the interaction of the different elements present in SCADA (Supervisory Control and Data Acquisition). This paper will focus on the new enhancements of the most widespread LAN: ETHERNET, and how they allow the standard to achieve a prominent position in the industrial world. Local Area Networks (LANs), OT Architecture Review Ethernet LANs IT and OT Ethernet is, by far, the most used Local Area Network used Before introducing the Automation Pyramid in section 1.3, in IT systems all over the world. It is an open, manufacturer this section provides a brief comparison for the IT and OT independent technology, driven by the Standard IEEE 802.3 concepts. (part of the ISO standard organization) that has found wide The world of traditional Information Technology (IT) acceptance by network hardware manufacturers. has split over the years into several categories. In the “Ethernet refers to the family of LAN products covered by the IEEE case of Information Technology applied to supporting 802.3 standard that defines the carrier sense multiple access manufacturing processes and control systems the collision detect (CSMA/CD) protocol.
    [Show full text]
  • Medium Access Control These Slides Are Created by Dr
    Data Link Layer, Part 3 Medium Access Control These slides are created by Dr. Yih Huang of George Mason University. Students registered in Dr. Huang's courses at GMU can make a single machine-readable copy and print a single copy of each slide for their own reference, so long as each slide contains the copyright statement, and GMU facilities are not used to produce paper copies. Permission for any other use, either in machine- readable or printed form, must be obtained from the author in writing. CS 455 1 Preface In our earlier discussion about DLL, we assumed that a link is associated with two nodes. When a link/medium is shared among many nodes, we need to resolve the conflicts of multiple nodes transmitting at the same time. This issue is addressed by a sublayer within the DLL: the medium access control (MAC) sublayer. CS 455 2 1 Two Approaches of MAC Compete for the medium – ALOHA – Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Wait for Your Turn – Token Passing Ring – Token Passing Bus – FDDI CS 455 3 Carrier Sense Multiple Access (CSMA) Station listens to channel for ongoing transmissions. If so, the station waits until the channel is idle. When the channel is idle, the frame is transmitted. Collisions may still occur. How ? 1 2 If a collision occurs, the station waits random amount of time and retransmits. The longer the propagation delay, the longer the window of collisions and the worse the performance. CS 455 4 2 Collision Detection During a transmission, the station also listens to the channel and, if it detects collisions, it immediately aborts the transmission with a jamming signal.
    [Show full text]
  • Unit-Iii Datalink Layer: Error Detection and Correction
    UNIT-III DATALINK LAYER: ERROR DETECTION AND CORRECTION Error-Correcting Codes Error control in computer networks is typically achieved by error detecting using cyclic redundancy check (CRC), which is the checksum inside a frame, combined with retransmission For this purpose, systematic cyclic or polynomial generated codes are often used, which are special linear block codesSome basic concepts in error control coding are first reviewedAn n-bit frame, which consists of m-bit data and r check bits, is called a codeword. AllCode words form the codebook Hamming distance between two code words is number of bits in which two code words differ For example, 10001001 and 10110001 have a Hamming distance of 3, where is bit-wise exclusive OR (modulo 2) The minimum Hamming distance d min of a codebook is the smallest Hamming distance between any pair of code words in the codebook A codebook with dmin can detect up to dmin − 1 errors and correct up to (dmin − 1)/2 errors in each codeword. Use of a Hamming code to correct burst errors Hamming codes can only correct single errors. However, there is a trick that can be used to permit Hamming codes to correct burst errors. A sequence of k consecutive codewords is arranged as a matrix, one codeword per row. Normally, the data would be transmitted one codeword at a time, from left to right. To correct burst errors, the data should be transmitted one column at a time, starting with the leftmost column. When all k bits have been sent, the second column is sent, and so on.
    [Show full text]
  • Connection-Oriented Ethernet On-Ramp Aggregation for Next-Generation Networks
    Connection-Oriented Ethernet On-Ramp Aggregation for Next-Generation Networks shaping tomorrow with you Connection-Oriented Ethernet On-Ramp Aggregation for Next-Generation Networks Introduction The Essential Functions of Connection-Oriented This paper describes the way in which high-security networks Ethernet are relying on Connection-Oriented Ethernet (COE) to facilitate In order to make Ethernet connection-oriented, the following functions a geographically-distributed, protocol-simple, IP-based network are required: architecture, that provides the quality of service, network aggregation • Predetermined EVC paths efficiencies, and security that’s needed. • Resource reservation and admission control (CAC) As networks grow, a secure, manageable access and on-ramp • Per-connection (EVC) traffic engineering and traffic management infrastructure is vital. Today, access networks consist of a highly heterogeneous mix, chiefly dominated by TDM and ATM technologies The ability to predetermine the EVC path through the Ethernet network and a combination of copper- and fiber-based last miles. is fundamental to making Ethernet connection-oriented. In classic connectionless Ethernet bridging, Ethernet frames are forwarded in the To enable the new generation of high-bandwidth applications, it network according to the MAC bridging tables in the learning bridge. is necessary to migrate the access infrastructure from these legacy If a destination MAC address is unknown, the bridge floods the frame technologies to Ethernet-centric approaches. These approaches are to all ports in the broadcast domain. Spanning tree protocols like IEEE designed to reduce cost, while delivering the highest degree of security 802.1s are run to ensure there are no loops in the topology and to and deterministic performance.
    [Show full text]
  • CSC458 - Lecture 3 Part 1
    CSC458 - Lecture 3 Part 1 MAC Protocols From Aloha to Ethernet Last Time … This Lecture • Error detection and correction • Key Focus: How do multiple parties • Redundant bits are added to share a wire? We want the benefits Application of statistical multiplexing … Application messages to protect against Presentation Presentation transmission errors. Session • This is the Medium Access Control Session • Two recovery strategies are Transport (MAC) portion of the Link Layer Transport retransmissions (ARQ) and error Network Network correcting codes (FEC) Data Link • Randomized access protocols: Data Link • The Hamming distance tells us how Physical 1. Aloha Physical much error can safely be tolerated. 2. CSMA variants 3. Classic Ethernet 1. ALOHA 2. Carrier Sense Multiple Access • Wireless links between the Hawaiian islands in the 70s • We can do better by listening before we send (CSMA) • Want distributed allocation – good defense against collisions only if “a” is small (LANs) – no special channels, or single point of failure X (wire) • Aloha protocol: collision – Just send when you have data! A B – There will be some collisions of course … – Detect errored frames and retransmit a random time later • “a” parameter: number of packets that fit on the wire • Simple, decentralized and works well for low load – a = bandwidth * delay / packet size – Small (<<1) for LANs, large (>>1) for satellites – For many users, analytic traffic model, max efficiency is 18% What if the Channel is Busy? CSMA with Collision Detection • 1-persistent CSMA • Even
    [Show full text]
  • Looking Inside Real-Time Ethernet
    Analog Dialogue 53-03, March 2019 Share on Twitter Facebook LinkedIn Email Looking Inside Real-Time Ethernet By Volker Goller Industrial Ethernet—real-time Ethernet—has experienced a huge upswing Ethernet is a so-called bridged network. The frames (Ethernet frames) are over the last few years. Although classic fieldbuses are still running in large sent from one point to another: From the endpoint to the switch (bridge), numbers, they have passed their prime. The popular real-time Ethernet from there possibly to other bridges, and finally to the other endpoint. This protocols extended the Ethernet standard to meet the requirements for architecture is largely self-configuring. The bridges first completely receive real-time capabilities. TSN now provides a new route to real-time Ethernet. frames before forwarding them. And this is where multiple problems arise: Real Time and Communications X If at peak times there are more frames to store than the buffer memory in the bridge can hold, then the newly incoming frames are discarded. In the context of factory automation and drive technology, real time means X Because the frames differ in length, they are delayed as a function of safely and reliably reaching cycle times in the range of less than ten mil- their lengths. This leads to fluctuating latencies (jitter). liseconds down to microseconds. For these real-time requirements to be satisfied, Ethernet also had to gain real-time capabilities. X Because the port through which the switch is supposed to send a frame may already be occupied by other frames up to the full frame Ethernet Is a Lot Faster Than a Fieldbus— size, additional delays come into play.
    [Show full text]
  • Introduction to LAN/WAN
    Introduction to LAN/WAN Medium Access Sublayer (Part II) Now,Where Were We? ) Introduction ) Multiple Access Protocols ) IEEE 802 Standard – Ethernet (802.3) ← ) Wireless LAN Protocols ) Misc Ethernet Performance ) Mean frame transmission time, P sec ) Probability that a frame transmits, A – (complicated stuff skipped) ) Channel Efficiency = ___P____ P + 2τ/A ) The longer the cable, the longer the contention period ) This is why Ethernet specifies maximum cable length (i.e. put limit on 2τ) – Longest allowed path is 2.5km + 4 repeaters ≈ 50 μsecs – Minimum frame must allow for at least this – At 10 Mbps is 512 or 64 bytes, shortest frame – 1 Gbps Ethernet is even longer! (or shorter cable) Ethernet Performance (cont.) ) Convert previous formula to: – Frame length F – Network bandwidth B – Cable len L – Cable propagation speed c – (complicated stuff skipped) ) Channel Efficiency = _____1_____ 1 + 2BLe/cF ) Increasing B x L reduces efficiency ) But everyone wants high-bandwidth, WAN! – Then they better not use Ethernet Ethernet Performance and Frame Size Ethernet Perf Final Thoughts ... ) Lots of theoretical work on Ethernet perf – all assumes traffic is Poisson ) Turns out, traffic is self-similar – averaging over long-periods of time does not smooth out traffic (same variance each time interval) – bi-modal (packets are either big or small) ) Take models with grain of salt Saturated LAN ) Net saturated? Add bandwidth … good idea? – Expensive to replace cards – Efficiency –Instead Switched LANs ) Switch with high-speed backplane with connected
    [Show full text]