1 6/25/ :53 CS575Ethernet1 Rivier College CS575: Advanced LANs Ethernet Collision Domain 10BASE-T Hub
2 6/25/ :53 CS575Ethernet2 Overview 0 A Brief History of Ethernet 0 IEEE BASE5 Standard 0 IEEE BASE2 Standard 0 IEEE BASE-T Standard 0 Media Access Control 0 Ethernet Frame Format 0 Collision Domain Concept 0 Bridge Concept 0 Ethernet Switches
3 6/25/ :53 CS575Ethernet3 A Brief History of Ethernet 0 Ethernet was invented by Bob Metcalfe and David Boggs in 1973 at the Xerox Palo Alto Research Center (PARC) as a local area network (LAN) for resource sharing among the researchers at the Center 0 The original PARC Ethernet was developed to run at 3 Mbps data rate 0 In 1979, Digital, Intel, and Xerox (DIX) formed a consortium to develop Ethernet specification 0 In 1980, the DIX Ethernet specification (Ethernet blue Book), Ethernet Version 1.0, was published 0 The data rate for the DIX Ethernet was specified as 10 Mbps 0 Over the next two years, DIX refined the Ethernet and issued the Ethernet Version 2.0 specification in In the same year, the Ethernet Version 2.0 specification was submitted it to IEEE for standardization
4 6/25/ :53 CS575Ethernet4 A Brief History of Ethernet (concluded) 0 On December 19, 1982, IEEE made some minor changes to the Ethernet specification Version 2.0 and released the first version of the IEEE standard 0 The IEEE standard has been adopted by numerous national and international standards bodies, including the National Institute of Standards and Technology (NIST), the European Computer manufacturers Association (ECMA), and the American National Standards Institute (ANSI) 0 In 1990, the IEEE standard became part of the International Standardization Organization (ISO) standards, known as ISO/IEC standard 0 More than 85% of all installed network connections were Ethernet
5 6/25/ :53 CS575Ethernet5 IEEE BASE5 Standard 0 In 1983, the IEEE standard was finalized as the 10BASE5 standard is technically different from DIX Ethernet 2.0, but the differences are minor 0 Today, Ethernet and are considered as synonymous 0 The DIX Ethernet 2.0 specification and the original IEEE standard specified the use of a 50-ohm, 0.4-inch (10-mm) diameter, baseband coaxial cable as the transmission medium 0 This is sometimes referred to as the Thick Ethernet 0 A bus topology was specified to support 10 Mbps Manchester digital signaling 0 With these parameters, the maximum length of the cable is set at 500 meters 0 Stations attach to the cable by means of taps (transceivers)
6 6/25/ :53 CS575Ethernet6 IEEE BASE5 Standard (concluded) 0 A maximum of 100 taps is allowed on each 500-meter cable segment 0 This Ethernet configuration is referred as the 10BASE5 Ethernet 0 To extend the length of the network, repeaters may be used to joint cable segments 0 The standard allows a maximum of 4 repeaters in the path between any two stations extending the effective length of the medium to 2500 meters (5 cable segments maximum) 0 This is known as the 4 repeaters and 5 cable segments rule 0 Since all stations are sharing the same cable, there will be a collision when two or more stations transmit at the same time 0 A medium access control protocol must be used to arbitrate the access of the network
7 6/25/ :53 CS575Ethernet7 A Single Segment 10BASE5 Ethernet Example
8 6/25/ :53 CS575Ethernet8 A Multiple Segment 10BASE5 Ethernet Example Repeater
9 6/25/ :53 CS575Ethernet9 10BASE5 Medium Attachment Unit 0 10BASE5 specifies the use of an external Medium Attachment Unit (MAU) to attach a station to a cable segment 0 The MAU is most often implemented in a device called a transceiver 0 A transceiver is clamped directly onto the coaxial cable
10 6/25/ :53 CS575Ethernet10 10BASE5 Medium Attachment Unit (concluded) 0 An Attachment Unit Interface (AUI) cable is used to connect a station to its MAU 0 The AUI defines the cable and the connectors to be used 0 The maximum length for the AUI cable (also called the transceiver cable) is limited to 50 meters 0 Transceiver (MAU) functions -Transmit -Receive -Collision detection -Jabber Interrupt
11 6/25/ :53 CS575Ethernet11 IEEE BASE2 Standard 0 To provide a lower cost system for personal computer LANs, IEEE added a 10BASE2 standard in The main difference is to implement a less expensive, thinner, inch (5-mm) diameter 50-ohm coaxial cable 0 As with 10BASE5, 10BASE2 specified the same bus topology and Manchester digital signaling at a data rate of 10 Mbps 0 Since the thinner cable is more flexible, it is easier to bend around corners and bring to the workstation 0 The thinner cable also suffers greater attenuation and lower noise resistance than the thick cable 0 The maximum cable segment length is limited to 185 meters and up to 30 stations are supported per cable segment 0 To extend the length of the network, repeaters may be used to joint cable segments
12 6/25/ :53 CS575Ethernet12 IEEE BASE2 Standard (concluded) 0 This Ethernet configuration is referred as the 10BASE2 Ethernet or sometimes dubbed as the CheaperNet 0 Cost savings for 10BASE2 -Cheaper, thinner cable -No need for external transceiver (MAU) and drop cable -The MAU is integrated with the station (NIC) -A BNC “T” connector is used to connect a station to the cable 0 A workstation with 10BASE5 NIC can attach to 10BASE2 cable with an AUI to 10BASE2 adapter
13 6/25/ :53 CS575Ethernet13 10BASE2 Ethernet Example
14 6/25/ :53 CS575Ethernet14 10BASE2 Ethernet with A Repeater Source: LANTRONIX Ethernet Product Guide
15 6/25/ :53 CS575Ethernet15 IEEE BASE-T Standard 0 By sacrificing some distance, it is possible to develop a 10 Mbps LAN using the unshielded twisted-pair (UTP) medium 0 In 1990, IEEE added the 10BASE-T standard to the family 0 The 10BASE-T specification defines a star-shaped topology 0 A simple system consists of a number of stations connected to a central point, referred as a hub, or multiport repeater, via two unshielded twisted pair cable 0 The type of connector most often used with 10BASE-T cabling is the RJ-45 modular connector
16 6/25/ :53 CS575Ethernet16 IEEE BASE-T Standard (concluded) 0 Adapters are also available for stations having AUI interfaces or 10BASE2 connectors to be connected to a 10BASE-T hub 0 The data rate is 10 Mbps using Manchester encoding 0 Because of the high data rate and the poor transmission quality of unshielded twisted pair, the length of the link is limited to 100 meters 0 UTP cable offers many advantages over thick and thin coaxial cable 0 UPT is less expensive, easier to handle, and similar to the telephone cable that may already be installed in the building 0 UTP cables come in a variety of grades 0 Category 3 and category 5 UTP cables have received most attention for LAN applications 0 Cat. 3 UTP is less expensive and more popular for 10BASE-T configurations, but Cat. 5 UTP is becoming increasingly common for pre-installation in new office buildings
17 6/25/ :53 CS575Ethernet17 10BASE-T Ethernet Example
18 6/25/ :53 CS575Ethernet18 10BASE-T Ethernet Expended Configuration Source: LANTRONIX Ethernet Product Guide
19 6/25/ :53 CS575Ethernet19 OSI Reference Model and IEEE 802 Protocol Layers OSI IEEE Medium Logical Link Control Medium Access Control Physical
20 6/25/ :53 CS575Ethernet20 Media Access Control 0 Since all devices on an Ethernet share the same medium, to avoid collision, only one station is allowed to transmit at any time 0 Ethernet and specified a Carrier Sense Multiple Access with Collision Detection (CSMA/CD) protocol to control the access of the medium 0 The basic rules for the CSMA/CD protocol -A station must listen to the medium first before transmit -If the medium is idle, the station is allowed to transmit -If the medium is busy, the station must continue to listen until the channel is idle, then transmit immediately -While transmitting, the station must continue to listen to the channel -If a collision is detected during transmission, the station must transmit a brief jamming signal to assure that all stations know that there has been a collision and then cease transmission
21 6/25/ :53 CS575Ethernet21 Media Access Control (continued) -After transmitting the jamming signal, the station must wait a random amount of time and then attempt to transmit again 0 With random delay, the two stations involved in a collision are unlikely to collide on their next try 0 To ensure network stability, IEEE 802 and Ethernet specified a technique known as binary exponential backoff 0 A station will attempt to transmit repeatedly in the face of repeated collisions, but after each collision, the mean value of the random delay is doubled 0 After 16 unsuccessful attempts, the station gives up and reports an error 0 The key advantage of the CSMA/CD protocol with binary exponential backoff is that access to the medium is typically very fast as long as traffic is not heavy, since a station can transmit at any time the medium is idle
22 6/25/ :53 CS575Ethernet22 Media Access Control (continued) 0 Since signal is Manchester encoded, any transmission on the medium will be detected Source: Stallings: Data and Computer Communications
23 6/25/ :53 CS575Ethernet23 Media Access Control (concluded) 0 Performance issues -Under heavier traffic loads, the number of collisions increases and the time spent responding to collisions and retransmission may cause performance to degrade -Reasons for 4-repeater/5-segment rule -Reasons why the number of stations per segment is limited 0 Collision detection for 10BASE-T via the repeater (hub) -A hub receives a signal on any input link is repeated on all output links -If two inputs occur, causing a collision, a collision enforcement signal is transmitted on all links -If a collision enforcement signal is detected on any input, it is repeated on all other links
24 6/25/ :53 CS575Ethernet24 Ethernet Frame Format Preamble Length Source Address SFD Destination Address FCS Data bytes 2 bytes6 bytes1 byte7 bytes6 bytes4 bytes Pad bytes Preamble Type Source Address Destination Address FCS Data bytes 2 bytes6 bytes 8 bytes 6 bytes4 bytes IEEE Frame Format DIX Ethernet Frame Format
25 6/25/ :53 CS575Ethernet25 Ethernet Frame Format (concluded) 0 Preamble 0 Start Frame Delimiter 0 MAC Addresses 0 Type/Length 0 Maximum Frame Size: 1518 bytes (14 bytes header bytes data + 4 bytes FCS) 0 Minimum Frame Size : 64 bytes (14 bytes header + 46 bytes data + 4 bytes FCS) 0 Interframe Gap: 9.6 microseconds
26 6/25/ :53 CS575Ethernet26 Summary Table
27 6/25/ :53 CS575Ethernet27 Collision Domain Concept Collision Domain 10BASE-T Hub
28 6/25/ :53 CS575Ethernet28 Collision Domain Concept (concluded) 10BASE-T Hub Collision Domain 10BASE-T Hub
29 6/25/ :53 CS575Ethernet29 Bridge Concept Fast Ethernet Repeater Fast Ethernet Repeater Bridge Collision Domain
30 6/25/ :53 CS575Ethernet30 Bridge Concept (continued) 0 A bridge is a network interconnection device used to join together two or more separate LANs to create a larger or an extended LAN 0 Sometimes it may be necessary to use a bridge to split what is logically a single LAN into separate LANs to accommodate the traffic load 0 A bridge performs its functions in the OSI model Data Link layer 0 The device is designed for use between LANs that use identical protocols for the physical and medium access layer (e.g., all conforming to IEEE or all conforming to IEEE 802.5) 0 Because the devices all use the same protocols, the amount of processing required at the bridge is minimal 0 Low cost and ease of use are the advantages of the bridge 0 Some more intelligent bridges are designed to for use between LANs with dissimilar protocols 0 Two types of bridges
31 6/25/ :53 CS575Ethernet31 Bridge Concept (continued) -Transparent bridge -Source routing bridge 0 In a building with multiple LANs, bridges may need to determine how to forward frames in a very complex network configuration to reach the destination 0 It is difficult and time consuming to manually configure all the bridges 0 A transparent bridge is a self learning, plug-and-play bridge 0 Once power up, it observes transmissions that take place on each connected LAN segment and learns which stations can be reached over which LAN segment 0 A transparent bridge is sometimes called a spanning tree bridge 0 The operation of transparent bridge is specified in the IEEE 802.1d standard
32 6/25/ :53 CS575Ethernet32 Bridge Concept (continued) Multiple LANs Interconnected by Bridges Source: Stallings: Local & metropolitan area Networks
33 6/25/ :53 CS575Ethernet33 Bridge Concept (continued) Source: Stallings: Local & metropolitan area Networks
34 6/25/ :53 CS575Ethernet34 Bridge Concept (concluded) 0 Source routing bridges use routing information included in the message header to determine the path the frame should take through the complex network configuration
35 6/25/ :53 CS575Ethernet35 Ethernet Switches 0 10BASE-T Ethernet can be implemented in either hubs (repeaters) or switches 0 In 1990, Kalpana developed the first Ethernet switch, EtherSwitch EPS The technology of Ethernet switch is similar to the intelligent multiport bridge 0 The hub is a shared medium technology (medium access control such as CSMA/CD is needed) and the switch is a dedicated medium technology (no medium access controls are needed) 0 Support multiple, independent conversations, i.e., messages are simultaneously switched between any idle ports (like a telephone switch or ATM switch) 0 Network capacity scales with number of ports 0 Improve network privacy due to dedicated bandwidth 0 Provide wire-speed performance
36 6/25/ :53 CS575Ethernet36 Ethernet Switches (continued) 0 Support full-duplex operation, which increases the effective throughput to 20 Mbps per port 0 Use existing 10BaseT wiring infrastructure 0 CSMA/CD protocol is no longer needed; no collisions can happen 0 Multiple switches can be used to extend Ethernet network diameter as well as supporting more nodes 0 Most switches are “plug-and-play” self learning devices for packet forwarding
37 6/25/ :53 CS575Ethernet37 Ethernet Switch Switching Schemes High latency, error detection After 64 bytes Cut-throughFragment Free Lowest latencyLow latency, collision detection Store-and-forward Preamble Length Source Address SFD Destination Address FCS Data 1500 bytes Max2 bytes6 bytes1 byte7 bytes6 bytes4 bytes 0 Three switching schemes - Store-and-forward - Cut-through - Fragment Free (Modified cut-through)
38 6/25/ :53 CS575Ethernet38 Cost & References COST: 0 Asante 8-port 10BASE-T Hub: $ Asante 24-port 10BASE-T Hub: $ Allied Telesyn 8-port 10BASE-T Switch: $ Allied Telesyn 16-port 10BASE-T Switch: $ REFERENCES: 0 W. Stalling, Local and Metropolitan Area Networks, 6 th edition, Prentice Hall, 2000, Chapters 7 0 W. Stalling, Data and Computer Communications, 6 th edition, Prentice Hall, 2002, Chapters A. Wu, Advanced Local Area Networks, Lectures & Slides, Rivier College, Source: Data Comm Warehouse (1999)