
From jamesm@yahoo.com Mon May  3 16:13:48 1999
Path: news.nic.utwente.nl!news.cs.utwente.nl!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.enteract.com!cde.net!sipb-server-1.mit.edu!senator-bedfellow.mit.edu!faqserv
From: jamesm@yahoo.com (James Messer)
Newsgroups: comp.dcom.lans.ethernet,comp.answers,news.answers
Subject: comp.dcom.lans.ethernet FAQ
Supersedes: <LANs/ethernet-faq_923059705@rtfm.mit.edu>
Followup-To: comp.dcom.lans.ethernet
Date: 3 May 1999 13:17:48 GMT
Organization: none
Lines: 659
Approved: news-answers-request@MIT.EDU
Expires: 16 Jun 1999 13:16:27 GMT
Message-ID: <LANs/ethernet-faq_925737387@rtfm.mit.edu>
NNTP-Posting-Host: penguin-lust.mit.edu
X-Last-Updated: 1999/04/01
Originator: faqserv@penguin-lust.MIT.EDU
Xref: news.nic.utwente.nl comp.dcom.lans.ethernet:45710 comp.answers:32147 news.answers:73254

Archive-name: LANs/ethernet-faq
Posting-Frequency: monthly
Last-modified: 1999/03/31
Version: 990331
URL: http://home.sprynet.com/sprynet/jtmesser/ethernet/faq/index.html
Copyright: (c) 1998 James Messer
Maintainer: James Messer <jamesm@yahoo.com>


             comp.dcom.lans.ethernet Frequently Asked Questions
             --------------------------------------------------

       This document is provided as is without any express or implied
  warranties. While every effort has been taken to ensure the accuracy of
      the information contained in this article, the authors assume no
 responsibility for errors or omissions, or for damages resulting from the
   use of the information contained herein. The contents of this article
     reflect my opinions only and not necessarily those of my employer.

FAQ Table of Contents
---------------------

1.0 FAQ Administration

 [1.1] What is this FAQ?
 [1.2] Who maintains this FAQ?
 [1.3] Where can this FAQ be found?
 [1.4] Who provides information to the FAQ?
 [1.5] Can I use this FAQ on my web page?
 [1.6] Copyright Information

2.0 Introduction to Ethernet

 [2.1] What is Ethernet?
 [2.2] What is the history of Ethernet?
 [2.3] What is CSMA/CD?
 [2.4] What is the Open Systems Interconnect (OSI) model?
 [2.5] Where are the IEEE specifications?

3.0 Ethernet Physical Layer

 [3.1] What are the different physical Ethernet network types?
 [3.2] What does baseband and broadband mean?
 [3.3] What is the difference between a bus topology and a star topology?
 [3.4] What physical Ethernet topologies are no longer popular?
 [3.5] What are the most common physical Ethernet networks used today?
 [3.6] What digital signal encoding is used in an Ethernet network?
 [3.7] What types of cabling are used for Ethernet?
 [3.8] What pin assignments are used in twisted-pair Ethernet cabling?
 [3.9] Can two Ethernet stations be directly attached with 10BASE-T?
[3.10] How many stations are supported by a single Ethernet network?
[3.11] What is propagation delay?
[3.12] What is an interframe gap?

4.0 Ethernet Data Link Layer

 [4.1] What are the different Ethernet frame formats?
 [4.2] What is transparent bridging?
 [4.3] What is the spanning tree protocol?
 [4.4] What is Ethernet switching?

5.0 Ethernet Errors and Troubleshooting

 [5.1] What is a collision, and how many collisions are bad?
 [5.2] What is Signal Quality Error (SQE)?
 [5.3] What is jam?
 [5.4] What is a late collision, and why is it bad?
 [5.5] What is a runt?
 [5.6] What is jabber?
 [5.7] What is a CRC/Alignment error?
 [5.8] What non-commercial software is available to monitor an Ethernet
       network?

6.0 Other Information

 [6.1] What Ethernet-related books are available?
 [6.2] What certifications are available regarding Ethernet networks?


1.0 FAQ Administration

 [1.1] What is this FAQ?

       This FAQ will attempt to explain and decipher the intricacies of
       Ethernet networking and answer some of the most common questions
       relating to Ethernet networks. Although it contains technical
       information, this FAQ is best used as an introduction to Ethernet
       networking. See section [6.1] for Ethernet book and publication
       information.

 [1.2] Who maintains this FAQ?

       This FAQ is maintained by James Messer <jamesm@yahoo.com>. Questions,
       comments, corrections, and contributions are encouraged!

 [1.3] Where can this FAQ be found?

       This FAQ will be posted to the comp.dcom.lans.ethernet newsgroup
       on the first of each month. An official archive of the FAQ can be
       found at:

       ftp://rtfm.mit.edu/pub/faqs/LANs/ethernet-faq

 [1.4] Who provides information to the FAQ?

       In many cases, the FAQ questions and answers are summarized from the
       comp.dcom.lans.ethernet newsgroup. Much of this information is also
       obtained from the IEEE standards (http://www.ieee.com) and related
       technical documents.

       Send any corrections or FAQ additions to jamesm@yahoo.com. Our
       thanks to all who have provided information to this FAQ! Your
       contributions are crucial for keeping this FAQ updated and
       technically correct.

       Since the comp.dcom.lans.ethernet newsgroup has not had an
       'official' FAQ for a few years, this FAQ is in the early stages of
       being rebuilt. There are certainly other questions that need to be
       added to the FAQ, questions that need to be answered, and there are
       probably inaccuracies with the answers that already exist in the
       FAQ. If you have any suggestions or corrections for the FAQ, please
       do not hesitate to send an e-mail to jamesm@yahoo.com with additions
       or corrections.

 [1.5] Can I use this FAQ on my web page?

       Since this FAQ changes constantly, a copy of the FAQ on your web
       page would be out of date in a very short time. Please don't do
       this! A more appropriate method would be to set a hyperlink to the
       URL found in the secondary header of this FAQ. Please send me an
       e-mail at jamesm@yahoo.com if you plan on adding a link to this FAQ
       to your web page. I reserve the right to restrict the use of this
       FAQ.

 [1.6] Copyright Information

       Copyright (c) 1999 by James Messer, all rights reserved.

       This FAQ may be posted to any USENET newsgroup, on-line service, or
       BBS as long as it is posted in its entirety, includes this copyright
       statement, and includes written permission from jamesm@yahoo.com.


2.0 Introduction to Ethernet

 [2.1] What is Ethernet?

       Ethernet is the IEEE 802.3 series standard, based on the
       CSMA/CD access method that provides two or more stations to share a
       common cabling system. This access method, Carrier Sense Multiple
       Access with Collision Detection, is the basis for Ethernet systems
       which range from speeds of 1 Mb/s through 1000 Mb/s.

       The design goals for Ethernet were to create a simply defined
       topology that made efficient use of shared resources, was easy to
       reconfigure and maintain, provided compatibility across many
       manufacturers and systems, while keeping the cost low.

 [2.2] What is the history of Ethernet?

       The original Ethernet specification began in the early 1970's by
       Xerox PARC, and was eventually improved upon by Digital Equipment
       Corporation, Intel, and Xerox (DIX) in 1980 with the release of
       Ethernet Version 1. By 1982, the specification was updated and
       Ethernet Version 2 was released.

       In 1983, Novell created their own propietary Ethernet frame type
       prior to the release of the IEEE 802.3 specification (See Section
       [X.X]). By 1985, the IEEE 802.3 specification was completed and
       provided a specification for Ethernet connectivity over thick coax
       and thin coax. In 1990, the specification was updated to include
       Ethernet over twisted pair copper wiring with 10Base-T. The current
       IEEE 802.3 specification includes thick coax, thin coax, twisted
       pair cabling and fiber, with speeds of 10 Mb/s, 100 Mb/s, and 1000
       Mb/s.

 [2.3] What is CSMA/CD?

       Carrier Sense Multiple Access with Collision Detection is the basis
       for the Ethernet standard, and this provides specific rules for
       allowing stations to communicate over the same transmission medium.
       There are a number of steps involved in communicating with with
       CSMA/CD.

       Stations must listen for a carrier on the wire. If no carrier is
       detected, stations can begin transmitting. While transmitting, the
       station continues to listen on the wire to ensure sucessful
       communications. If two stations attempt to transmit information at
       the same time, the transmissions overlap and cause a collision.

       If a collision occurs, the transmitting station recognizes the
       interference on the network and transmits a bit sequence called
       jam. The jam helps to ensure that the other transmitting station
       recognizes that a collision has occurred. After a random delay, the
       stations attempt to retransmit the information and the process
       begins again.

 [2.4] What is the Open Systems Interconnect (OSI) Model?

       ** Please contribute! See Section [1.4] **

 [2.5] Where are the IEEE specifications?

       The IEEE specifications can be purchased from the IEEE at:

       http://standards.ieee.org/catalog/IEEE802.3.html

       Information on all IEEE standards can be found at:

       http://www.ieee.com


3.0 Ethernet Physical Layer

 [3.1] What are the different physical Ethernet network types?

       Some of the physical Ethernet types as defined in the 802.3
       specification are:

       10BASE5 - 10BASE5 is the original design of the traditional
                 Ethernet backbone, designed to be left in place
                 permanently or for extended periods.

       10BASE2 - 10BASE2 is the original design for a departmental or
                 workgroup sized Ethernet environment. It is designed to be
                 simple, inexpensive, and flexible as people and stations
                 move.

       10BROAD36 - 10BROAD36 is a seldom used Ethernet specification which
                   uses a physical medium similar to cable television, with
                   CATV-type cables, taps, connectors, and amplifiers.

       1BASE5 - 1BASE5 is a specification of Ethernet that runs at 1 Mb/s
                over twisted pair wiring. This physical topology uses
                centralized hubs to connect the network devices.

       10BASE-T - 10BASET provides Ethernet services over twisted pair
                  copper wire.

       FOIRL - Fiber Optic Inter-Repeater Link - This specification of the
               802.3 standard defines a standard means of connecting
               Ethernet repeaters via optical fiber.

       10BASE-F - 10BASE-F is a set of optical fiber medium specifications
                  which define connectivty between devices.

       100BASE-T - 100BASE-T is a series of specifications that provides
                   100 megabit speeds over copper or fiber. These
                   topologies are often referred to as Fast Ethernet.

       Gigabit Ethernet - Gigabit Ethernet provides speeds of 1000 Mb/s
                          over copper and fiber.

 [3.2] What does baseband and broadband mean?

       A baseband network has a single channel that is used for
       communication between stations. Ethernet specifications which use
       BASE in the name refer to baseband networks.

       A broadband network is much like cable television, where different
       services communicate across different frequencies on the same cable.
       Broadband communications would allow a Ethernet network to share the
       same physical cable as voice or video services. 10BROAD36 (see
       section [4.2]), is an example of broadband networking.

 [3.3] What is the difference between a bus topology and a star topology?

       A bus topology is a networking architecture that is linear, usually
       by using one or more pieces of cable to form a single line, or bus.
       The signals sent by one station extend the length of this cable to
       be heard by other stations.

       A star topology is an architecture that includes a central device or
       hub to connect all stations together. Signals sent by a station must
       pass through (and are usually regenerated) by these central hubs.
       Since the hub sits in the center and all other stations are linked
       through the hub, the architecture resembles a star.

 [3.4] What physical Ethernet topologies are no longer popular?

       There are a number of physical networking components specified in
       the IEEE 802.3 specification, but many of those early physical
       networking components are not used in most modern Ethernet networks.
       However, there may be instances where an existing legacy network
       still exists which uses these older components. Since these older
       pieces of equipment are still part of the 802.3 specification, there
       are no technical reasons why an Ethernet network would not operate
       properly with these components. The two most popular older Ethernet
       technologies are 10BASE5 and 10BASET.


       10BASE5
       -------

       10BASE5 is the original Ethernet backbone, and is occassionally
       referred to as thicknet or thick Ethernet because of the thick 50
       ohm coax that was used as the physical medium. 10BASE5 is a bus
       topology that uses transceiver cables to attach stations to the
       central 10BASE5 cable.

       Maximum segment length: 500 meters
       Maximum number of segments connected with repeaters: 5 (2500 meters)
       Maximum attachments per segment: 100
       Minimum separation between attachments: 2.5 meters


       10BASE2
       -------
       10BASE2 is designed as a smaller and less expensive alternative to
       10BASE5, and is sometimes referred to as Thinnet or Thin Ethernet
       because of the much smaller cables. 10BASE2 is also a bus topology,
       but each of the workstations use a 'T' BNC connector to connect
       workstations to the central bus.

       Maximum segment length: 200 meters
       Maximum number of segments connected with repeaters: 5 (1000 meters)
       Maximum attachments per segment: 30
       Minimum separation between attachments: .5 meters


 [3.5] What are the most common physical Ethernet networks used today?

       Most modern Ethernet networks use twisted pair copper cabling or
       fiber to attach devices to the network. The 10BASE-T, 100BASE-T, and
       Gigabit Ethernet topologies are well suited for the modern cabling
       and fiber infrastructures.


 [3.6] What digital signal encoding is used in an Ethernet network?

       ** Please contribute! See Section [1.4] **

 [3.7] What types of cabling are used for Ethernet?

       ** Please contribute! See Section [1.4] **

 [3.8] What pin assignments are used in twisted-pair Ethernet cabling?

       Twisted-pair Ethernet (10BASE-T, 100BASE-T, or 1000BASE-T) uses an
       RJ-45 connector, which is an eight-pin modular connector.

       Contact 1   TD+
       Contact 2   TD-
       Contact 3   RD+
       Contact 4   Not Used
       Contact 5   Not Used
       Contact 6   RD-
       Contact 7   Not Used
       Contact 8   Not Used

 [3.9] Can two Ethernet stations be directly attached with 10BASE-T?

       Two Ethernet stations can be directly attached to each other, but
       the cabling will be wired differently than a normal 10BASE-T
       Ethernet network connection. The 802.3 specification refers to this
       direct connection between two stations as a crossover function.

       The crossover function is accomplished by simply wiring the receive
       pins to the transmit pins:

       1  -  3
       2  -  6
       3  -  1
       6  -  2

 [3.10] How many stations are supported by a single Ethernet network?

        ** Please contribute! See Section [1.4] **

 [3.11] What is propagation delay?

        ** Please contribute! See Section [1.4] **

 [3.12] What is an interframe gap?

        ** Please contribute! See Section [1.4] **


4.0 Ethernet Data Link Layer

 [4.1] What are the different Ethernet frame formats?

       Ethernet Version 2 and IEEE 802.3 Frame Formats
       -----------------------------------------------

       The Ethernet Version 2 frame format was designed before the IEEE
       specifications, but is almost identical to the 802.3 frame type.
       With the Ethernet Version 2 frame type, a two-byte Type field
       follows the source station's six-byte MAC address. In the 802.3
       frame type, this two-byte field after the source address is a length
       field specifying the number of bytes in the LLC and data fields. If
       these two bytes are greater than 05DC hex (1500 decimal), the frame
       is a Version 2 frame. Since all type fields are greater than 1500
       decimal (the maximum Ethernet frame size), both frame types can
       easily coexist on the same network. Some network protocol analyzers
       call a Version 2 frame an Ethertype frame because of this two-byte
       Type field.

       This is an Ethernet Version 2 frame:

       +--------------+
       |              | The preamble consists of 62 bits of alternating
       |   Preamble   | ones and zeros that allows the Ethernet card to
       |   7 bytes    | syncronize with the beginning of a frame.
       |              |
       +--------------+ The Start Frame Delimiter is the sequence
       | SFD - 1 byte | 10101011, and indicates the start of a frame.
       +--------------+
       |              | The destination address is a six byte Media Access
       | Destination  | Control (MAC) address, usually burned into the
       |   6 bytes    | ROM of the Ethernet card.
       +--------------+
       |              | The source address is a six byte MAC address, and
       |   Source     | can signify a physical station or a broadcast.
       |   6 bytes    |
       +--------------+
       |     Type     | The Type field (see explanation above).
       |    2 bytes   |
       +--------------+
       |              |  Any higher layer information is placed in the
       |    Data      |  data field, which could contain protocol
       |              |  information or user data.
       ~              ~
       ~              ~
       |  46 to 1500  |
       |    bytes     |
       |              |
       +--------------+
       |     FCS      |  The Frame Check Sequence is a cyclic redundancy
       |   4 bytes    |  check used by the sending and receiving stations
       +--------------+  to verify a successful transmission. The FCS is
                         based on the contents of the destination address,
                         source address, type, and data.

       The 802.2 Logical Link Control (LLC) Information
       ------------------------------------------------

       The IEEE 802.3 Ethernet specification was intended to be used with
       the 802.2 Logical Link Control (LLC) specification. The LLC
       information envelops the data of the frame, and the 802.3 headers
       envelop this 802.2 LLC protocol data unit (PDU).

       This is the frame structure for an 802.3 Ethernet frame that
       contains the 802.2 LLC information:

       +----------------+
       |                |
       |    Preamble    |
       |    7 bytes     |
       |                |
       +----------------+
       |  SFD - 1 byte  |
       +----------------+
       |                |
       |  Destination   |
       |    6 bytes     |
       +----------------+
       |                |
       |     Source     |
       |    6 bytes     |
       +----------------+
       |  Frame Length  |
       |    2 bytes     |
       +----------------+
       |  DSAP - 1 byte |  The Destination and Source Service Access Point
       +----------------+  fields determine the protocol used for the upper
       |  SSAP - 1 byte |  protocol type of the frame.
       +----------------+
       |Control - 1 byte|  The Control field is used for administration by
       +----------------+  certain protocols.
       |      Data      |
       |                |
       ~                ~
       ~                ~
       |   46 to 1500   |
       |     bytes      |
       |                |
       +----------------+
       |      FCS       |
       |    4 bytes     |
       +----------------+


       The 802.2 Sub-Network Access Protocol (SNAP)
       --------------------------------------------
       After the 802.2 frame type was defined, many people felt that a
       single byte for DSAP and SSAP would not be sufficient to handle the
       growth of protocols into the future. A single byte DSAP or SSAP can
       only specify 256 separate protocols, and many of those were
       predefined from the beginning of the 802.2 specification.

       To provide future growth, the Sub-Network Access Protocol (SNAP) was
       created as an extension to the 802.2 specification. To differentiate
       this protocol from the original 802.2 specification, 802.2 SNAP uses
       the DSAP and SSAP of 0xAA.

       This is an 802.2 SNAP frame encapsulated in an 802.3 frame:

       +----------------+
       |                |
       |    Preamble    |
       |    7 bytes     |
       |                |
       +----------------+
       |  SFD - 1 byte  |
       +----------------+
       |                |
       |  Destination   |
       |    6 bytes     |
       +----------------+
       |                |
       |     Source     |
       |    6 bytes     |
       +----------------+
       |  Frame Length  |
       |    2 bytes     |
       +----------------+
       |  DSAP - 1 byte |
       +----------------+
       |  SSAP - 1 byte |
       +----------------+
       |Control - 1 byte|
       +----------------+ The Organizationally Unique ID (OUI) is assigned
       | OUI - 3 bytes  | to unique vendors to help differentiate protocols
       |                | from different manufacturers.
       +----------------+
       | Type - 2 bytes | The two-byte protocol type defines a specific
       +----------------+ protocol in the SNAP. This also maintains a
       |                | compatibility with Ethernet v2.
       |      Data      |
       |                |
       ~                ~
       ~                ~
       |   46 to 1500   |
       |     bytes      |
       |                |
       +----------------+
       |      FCS       |
       |    4 bytes     |
       +----------------+


       Novell 802.3 'Raw' Frame Format
       -------------------------------

       Before the final 802.2 LLC specifications were were finalized,
       Novell implemented IPX/SPX over Ethernet. For this reason, Novell
       originally utilized 802.3 Ethernet without using 802.2 LLC. Because
       of this lack of LLC header, this frame type was nicknamed 802.3
       'raw'. Since Novell created this proprietary frame type for their
       own use, no other manufacturer uses this frame type.

       To implement their 'raw' frame type, Novell used the first two bytes
       of the 802.3 data field as 0xFFFF. Since the DSAP and SSAP values of
       0xFF do not exist, it becomes easy to differentiate between the
       802.3 and 802.3 'raw' frame types.

 [4.2] What is transparent bridging?

       Transparent bridging is a method to connect two similar network
       segments to each other at the datalink layer. It is done in a way
       that is transparant to end stations, hence end-stations do not
       participate in the bridging algorithm.

       Transparant bridges are sometimes called learning bridges.
       When they are turned on and receive data packets from a network
       segment they:

       1) learn the relation between MAC adress and segment/port, and
       2) forward the packet to all (!) other segments/ports.

       The first step in this process is essential to the "learning" aspect
       of the bridge. After some time the bridge has learned that a
       partical MAC adress, say MACa, is on a partical segment/port, say
       PORT1. When it receives a packet destined for the MAC address MACa
       (from any port not being PORT1) it will no longer forward the packet
       to all ports (step 2). It knows that MACa is associated with PORT1
       and will only forward the packet to PORT1.

 [4.3] What is the spanning tree protocol?

       Spanning tree is a protocol defined in IEEE 802.1q to prevent
       bridges from creating network loops. Using the spanning tree
       protocol, bridges communicate to each other and disable certain
       ports/segments to prevent looping of packets.

       Many implementations of the spanning tree protocol are configured so
       an alternate path is available to network traffic, should the
       original path become disabled.

 [4.4] What is Ethernet switching?

       From a functional point of view, switching is exactly the same as
       bridging. However switches use specially designed hardware called
       Application Specific Integrated Circuits (ASICs) to perform the
       bridging and packet-forwarding functionality (as supposed to
       implementations using a central CPU and special software).
       Consequently, switches are much faster than bridges.

       Ethernet switches also offer additional capabilities such as virtual
       LANs (VLANs) and full duplex connectivity.


5.0 Ethernet Errors and Troubleshooting


 [5.1] What is a collision, and how many collisions are bad?

       ** Please contribute! See Section [1.4] **

 [5.2] What is Signal Quality Error (SQE)?

       ** Please contribute! See Section [1.4] **

 [5.3] What is jam?

       ** Please contribute! See Section [1.4] **

 [5.4] What is a late collision, and why is it bad?

       ** Please contribute! See Section [1.4] **

 [5.5] What is a runt?

       ** Please contribute! See Section [1.4] **

 [5.6] What is jabber?

       ** Please contribute! See Section [1.4] **

 [5.7] What is a CRC/Alignment error?

       ** Please contribute! See Section [1.4] **

 [5.8] What non-commercial software is available to monitor an Ethernet
       network?

       ** Please contribute! See Section [1.4] **


6.0 Other Information

 [6.1] What Ethernet-related books are available?

       ** Please contribute! See Section [1.4] **

 [6.2] What certifications are available regarding Ethernet networks?

       An Ethernet-specific certification is avaiable through the
       Certified Network eXpert (CNX) program. This certification is
       Ethernet topology specific, and does not emphasize any network
       operating system. Visit http://www.cnx.org for more information on
       the CNX exam. Sylvan Prometric administers the CNX exam, and their
       web page is http://www.sylvanprometric.com.


                 --- End of comp.dcom.lans.ethernet FAQ ---



