CS575 Ethernet 1
104/18/23 21:43
Rivier CollegeCS575: Advanced LANs
Ethernet
Collision Domain
10BASE-THub
204/18/23 21:43
2EthernetCS575
Overview
0 A Brief History of Ethernet0 IEEE 802.3 10BASE5 Standard0 IEEE 802.3 10BASE2 Standard0 IEEE 802.3 10BASE-T Standard0 Media Access Control0 Ethernet Frame Format0 Collision Domain Concept0 Bridge Concept0 Ethernet Switches
CS575 Ethernet 3
304/18/23 21:43
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 Mbps0 Over the next two years, DIX refined the Ethernet and issued the
Ethernet Version 2.0 specification in 19820 In the same year, the Ethernet Version 2.0 specification was
submitted it to IEEE for standardization
CS575 Ethernet 4
404/18/23 21:43
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 802.3 standard
0 The IEEE 802.3 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 802.3 standard became part of the International Standardization Organization (ISO) standards, known as ISO/IEC 8802-3 standard
0 More than 85% of all installed network connections were Ethernet
CS575 Ethernet 5
504/18/23 21:43
IEEE 802.3 10BASE5 Standard
0 In 1983, the IEEE 802.3 standard was finalized as the 10BASE5 standard
0 802.3 is technically different from DIX Ethernet 2.0, but the differences are minor
0 Today, Ethernet and 802.3 are considered as synonymous0 The DIX Ethernet 2.0 specification and the original IEEE 802.3
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 Ethernet0 A bus topology was specified to support 10 Mbps Manchester digital
signaling0 With these parameters, the maximum length of the cable is set at
500 meters0 Stations attach to the cable by means of taps (transceivers)
CS575 Ethernet 6
604/18/23 21:43
IEEE 802.3 10BASE5 Standard (concluded)
0 A maximum of 100 taps is allowed on each 500-meter cable segment0 This Ethernet configuration is referred as the 10BASE5 Ethernet0 To extend the length of the network, repeaters may be used to joint
cable segments0 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 rule0 Since all stations are sharing the same cable, there will be a collision
when two or more stations transmit at the same time0 A medium access control protocol must be used to arbitrate the
access of the network
CS575 Ethernet 7
704/18/23 21:43
A Single Segment 10BASE5 Ethernet Example
804/18/23 21:43
8EthernetCS575
A Multiple Segment 10BASE5 Ethernet Example
Repeater
Repeater
CS575 Ethernet 9
904/18/23 21:43
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 transceiver0 A transceiver is clamped directly onto the coaxial cable
CS575 Ethernet 10
1004/18/23 21:43
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 used0 The maximum length for the AUI cable (also called the transceiver
cable) is limited to 50 meters0 Transceiver (MAU) functions
- Transmit- Receive- Collision detection- Jabber Interrupt
CS575 Ethernet 11
1104/18/23 21:43
IEEE 802.3 10BASE2 Standard
0 To provide a lower cost system for personal computer LANs, IEEE 802.3 added a 10BASE2 standard in 1984
0 The main difference is to implement a less expensive, thinner, 0.25-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
CS575 Ethernet 12
1204/18/23 21:43
IEEE 802.3 10BASE2 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
CS575 Ethernet 13
1304/18/23 21:43
10BASE2 Ethernet Example
1404/18/23 21:43
14EthernetCS575
10BASE2 Ethernet with A Repeater
Source: LANTRONIX Ethernet Product Guide
1504/18/23 21:43
15EthernetCS575
IEEE 802.3 10BASE-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 802.3 added the 10BASE-T standard to the 802.3 family
0 The 10BASE-T specification defines a star-shaped topology0 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
CS575 Ethernet 16
1604/18/23 21:43
IEEE 802.3 10BASE-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 encoding0 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 cable0 UPT is less expensive, easier to handle, and similar to the telephone
cable that may already be installed in the building0 UTP cables come in a variety of grades0 Category 3 and category 5 UTP cables have received most attention
for LAN applications0 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
CS575 Ethernet 17
1704/18/23 21:43
10BASE-T Ethernet Example
1804/18/23 21:43
18EthernetCS575
10BASE-T Ethernet Expended Configuration
Source: LANTRONIX Ethernet Product Guide
CS575 Ethernet 19
1904/18/23 21:43
OSI Reference Model and IEEE 802 Protocol Layers
OSI IEEE
Medium Medium
Logical Link Control
Medium Access Control
Physical
CS575 Ethernet 20
2004/18/23 21:43
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 802.3 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
CS575 Ethernet 21
2104/18/23 21:43
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
2204/18/23 21:43
22EthernetCS575
Media Access Control (continued)
0 Since signal is Manchester encoded, any transmission on the medium will be detected
Source: Stallings: Data and Computer Communications
CS575 Ethernet 23
2304/18/23 21:43
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
CS575 Ethernet 24
2404/18/23 21:43
Ethernet Frame Format
Preamble Length SourceAddressSFD
DestinationAddress
FCSData
0 -1500 bytes 2 bytes6 bytes1 byte7 bytes 6 bytes 4 bytes
Pad
0 -46 bytes
Preamble Type SourceAddress
DestinationAddress
FCSData
46 -1500 bytes 2 bytes6 bytes8 bytes 6 bytes 4 bytes
IEEE 802.3 Frame Format
DIX Ethernet Frame Format
CS575 Ethernet 25
2504/18/23 21:43
Ethernet Frame Format (concluded)
0 Preamble0 Start Frame Delimiter0 MAC Addresses0 Type/Length0 Maximum Frame Size: 1518 bytes (14 bytes header + 1500 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
CS575 Ethernet 26
2604/18/23 21:43
Summary Table
Parameter 10BASE5 10BASE2 10BASE-TTransmission Medium Thick coaxial
cable (50 ohm)Thin coaxial
cable (50 ohm)Unshieldedtwist pair
Signaling Technique Baseband(Manchester)
Baseband(Manchester)
Baseband(Manchester)
Data Rate (Mbps) 10 10 10Maximum Segment Length (m) 500 185 100Network Span (m) 2500 925 500Node per Segment 100 30 NANode Space (m) 2.5 0.5 NACable Diameter (mm) 10 5 0.4 – 0.6Slot Time (bit times) 512 512 512Inter-Frame Gap (microsecond) 9.6 9.6 9.6Attempt Limit 16 16 16Backoff Limit 10 10 10Jam Size (bits) 32 32 32Maximum Frame Size (bytes) 1518 1518 1518Minimum Frame Size (bytes) 64 64 64
CS575 Ethernet 27
2704/18/23 21:43
Collision Domain Concept
Collision Domain
10BASE-THub
CS575 Ethernet 28
2804/18/23 21:43
Collision Domain Concept (concluded)
10BASE-THub
Collision Domain
10BASE-THub
CS575 Ethernet 29
2904/18/23 21:43
Bridge Concept
Fast EthernetRepeater
Fast EthernetRepeater
Bridge
Collision Domain Collision Domain
CS575 Ethernet 30
3004/18/23 21:43
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 layer0 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 802.3 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 bridge0 Some more intelligent bridges are designed to for use between LANs
with dissimilar protocols0 Two types of bridges
CS575 Ethernet 31
3104/18/23 21:43
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 bridge0 The operation of transparent bridge is specified in the IEEE 802.1d
standard
3204/18/23 21:43
32EthernetCS575
Bridge Concept (continued)
Multiple LANsInterconnected
by Bridges
Source: Stallings: Local & metropolitan area Networks
CS575 Ethernet 33
3304/18/23 21:43
Bridge Concept (continued)
Source: Stallings: Local & metropolitan area Networks
CS575 Ethernet 34
3404/18/23 21:43
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
CS575 Ethernet 35
3504/18/23 21:43
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-700
0 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 ports0 Improve network privacy due to dedicated bandwidth0 Provide wire-speed performance
CS575 Ethernet 36
3604/18/23 21:43
Ethernet Switches (continued)
0 Support full-duplex operation, which increases the effective throughput to 20 Mbps per port
0 Use existing 10BaseT wiring infrastructure0 CSMA/CD protocol is no longer needed; no collisions can happen0 Multiple switches can be used to extend Ethernet network diameter
as well as supporting more nodes0 Most switches are “plug-and-play” self learning devices for packet
forwarding
CS575 Ethernet 37
3704/18/23 21:43
Ethernet Switch Switching Schemes
High latency, error detection
After 64 bytes
Cut-through Fragment Free
Lowest latency Low latency, collision detection
Store-and-forward
Preamble Length SourceAddressSFD
DestinationAddress
FCSData
1500 bytes Max 2 bytes6 bytes1 byte7 bytes 6 bytes 4 bytes
0Three switching schemes- Store-and-forward- Cut-through- Fragment Free (Modified cut-through)
CS575 Ethernet 38
3804/18/23 21:43
Cost & References
COST:0 Asante 8-port 10BASE-T Hub: $59.950 Asante 24-port 10BASE-T Hub: $269.990 Allied Telesyn 8-port 10BASE-T Switch: $419.990 Allied Telesyn 16-port 10BASE-T Switch: $1999.99
REFERENCES:0 W. Stalling, Local and Metropolitan Area Networks, 6th edition,
Prentice Hall, 2000, Chapters 70 W. Stalling, Data and Computer Communications, 6th edition,
Prentice Hall, 2002, Chapters 13-140 A. Wu, Advanced Local Area Networks, Lectures & Slides, Rivier
College, 2001.
Source: Data Comm Warehouse (1999)
Top Related