***Welcome to ashrafedu.blogspot.com * * * This website is maintained by ASHRAF***

Wednesday, November 25, 2020

Ethernet

The original Ethernet was created in 1976 at Xerox's Palo Alto Research Center (PARC).

Ethernet is a set of technologies and protocols that are used primarily in LANs. Ethernet can also be used in MANs and even WANs. It was first standardized in the 1980s as IEEE 802.3 standard.


Classic Ethernet is the original form of Ethernet that provides data rates between 3 to 10 Mbps. The varieties are commonly referred as 10BASE-X. Here, 10 is the maximum throughput, i.e. 10 Mbps, BASE denoted use of baseband transmission, and X is the type of medium used.

There are a number of versions of IEEE 802.3 protocol. The most popular ones are -

IEEE 802.3: This was the original standard given for 10BASE-5. It used a thick single coaxial cable into which a connection can be tapped by drilling into the cable to the core. Here, 10 is the maximum throughput, i.e. 10 Mbps, BASE denoted use of baseband transmission, and 5 refers to the maximum segment length of 500m.

IEEE 802.3a: This gave the standard for thin coax (10BASE-2), which is a thinner variety where the segments of coaxial cables are connected by BNC connectors. The 2 refers to the maximum segment length of about 200m (185m to be precise).

IEEE 802.3i: This gave the standard for twisted pair (10BASE-T) that uses unshielded twisted pair (UTP) copper wires as physical layer medium. The further variations were given by IEEE 802.3u for 100BASE-TX, 100BASE-T4 and 100BASE-FX.

IEEE 802.3i: This gave the standard for Ethernet over Fiber (10BASE-F) that uses fiber optic cables as medium of transmission.


Frame Format of Classic Ethernet

 

The main fields of a frame of classic Ethernet are -

  • Preamble: It is the starting field that provides alert and timing pulse for transmission. In case of classic Ethernet it is an 8 byte field and in case of IEEE 802.3 it is of 7 bytes.
  • Start of Frame Delimiter: It is a 1 byte field in a IEEE 802.3 frame that contains an alternating pattern of ones and zeros ending with two ones.
  • Destination Address: It is a 6 byte field containing physical address of destination stations.
  • Source Address: It is a 6 byte field containing the physical address of the sending station.
  • Length: It a 7 bytes field that stores the number of bytes in the data field.
  • Data: This is a variable sized field carries the data from the upper layers. The maximum size of data field is 1500 bytes.
  • Padding: This is added to the data to bring its length to the minimum requirement of 46 bytes.
  • CRC: CRC stands for cyclic redundancy check. It contains the error detection information.

Frame Format of IEEE 802.3 Ethernet


Preamble:  The first field of the 802.3 frame contains 7 bytes (56 bits) of alternating Os and Is that alerts the receiving system to the coming frame and enables it to synchronize its input timing. The pattern provides only an alert and a timing pulse. The 56-bit pattern allows the stations to miss some bits at the beginning of the frame. The preamble is actually added at the physical layer and is not (formally) part of the frame.

Start frame delimiter (SFD): The second field (l byte: 10101011) signals the beginning of the frame. The SFD warns the station or stations that this is the last chance for synchronization. The last 2 bits is 11 and alerts the receiver that the next field is the destination address.

Destination address (DA): The DA field is 6 bytes and contains the physical address of the destination station or stations to receive the packet.

Source address (SA): The SA field is also 6 bytes and contains the physical address of the sender of the packet.

Length or type: This field is defined as a type field or length field. The original Ethernet used this field as the type field to define the upper-layer protocol using the MAC frame. The IEEE standard used it as the length field to define the number of bytes in the data field. Both uses are common today.

Data: This field carries data encapsulated from the upper-layer protocols. It is a minimum of 46 and a maximum of 1500 bytes.

CRC: The last field contains error detection information, in this case a CRC-32.




No comments:

Post a Comment