Wired Ethernet and Ethernet Protocols

 

Wired Ethernet and Ethernet Protocols

A wired Ethernet is a widely used technology for connecting computers, printers, servers, and other devices in a Local Area Network (LAN) using wired transmission media.

Ethernet defines how data is organized into frames, how devices are addressed, and how data is transmitted over the network.

1. Introduction to Wired Ethernet

  • Ethernet was developed in the 1970s by Robert Metcalfe and David Boggs.

  • It is commonly used in LANs within homes, offices, buildings, and college campuses.

  • Ethernet has evolved to support higher data rates over time.

  • The follwing are the  four generations of Ethernet.

Ethernet generation

    Data rate

Standard Ethernet

    10 Mbps

Fast Ethernet

    100 Mbps

Gigabit Ethernet

    1 Gbps

10 Gigabit Ethernet

    10 Gbps

2. IEEE Project 802

IEEE Project 802 was started in 1985 to establish standards that allow network equipment from different manufacturers to communicate.

The IEEE divides the data-link layer into two sublayers:



  • LLC (Logical Link Control): Handles flow control, error control, and part of framing. It provides a common link-control interface for IEEE LANs.

  • MAC (Media Access Control): Defines how devices access the shared medium and handles part of the framing function. The textbook identifies CSMA/CD as the access method for traditional Ethernet.

3. Ethernet Frame Format

Ethernet transmits data in the form of frames. An Ethernet frame contains fields that identify the destination and source, specify the upper-layer protocol, carry data, and support error detection.

Destination Address

6 bytes

Source Address

6 bytes

Type — 2 bytes

Data and Padding

46–1500 bytes

CRC — 4 bytes

The frame is preceded by a 7-byte preamble and a 1-byte start frame delimiter (SFD), which the textbook treats as physical-layer fields.

The main fields are:

  • Destination address: MAC address of the intended recipient or recipients.

  • Source address: MAC address of the sender.

  • Type: Identifies the upper-layer protocol, such as IP or ARP.

  • Data and padding: Carries the upper-layer packet; padding is added if necessary to meet the minimum frame size.

  • CRC: Detects transmission errors.

The  minimum Ethernet frame length of 64 bytes and a maximum of 1518 bytes, excluding the preamble and SFD.



4. Ethernet Addressing

Ethernet uses a 48-bit (6-byte) MAC address to identify a network interface.

There are three types of destination addressing:

  • Unicast: A frame intended for one destination.

  • Multicast: A frame intended for a group of destinations.

  • Broadcast: A frame intended for all stations on the LAN. The broadcast MAC address is FF:FF:FF:FF:FF:FF.


In a unicast transmission, all stations will receive the frame, the intended recipient keeps and handles the frame; the rest discard it.
In a multicast transmission, all stations will receive the frame, the stations that are members of the group keep and handle it; the rest discard it.
In a broadcast transmission, all stations (except the sender) will receive the frame and all stations (except the sender) keep and handle it.

If the least significant bit of the first byte in a destination address is 0, the address is unicast; otherwise,
it is multicast.

Example 

Define the type of the following destination addresses:
a. 4A:30:10:21:10:1A
b. 47:20:1B:2E:08:EE
c. FF:FF:FF:FF:FF:FF

Solution
To find the type of the address, we need to look at the second hexadecimal digit from the left. If it
is even, the address is unicast. If it is odd, the address is multicast. If all digits are Fs, the address
is broadcast. Therefore, we have the following:
a. This is a unicast address because A in binary is 1010 (even).
b. This is a multicast address because 7 in binary is 0111 (odd).
c. This is a broadcast address because all digits are Fs in hexadecimal.

5. Ethernet Access Protocol

The medium is shared, so stations use CSMA/CD (Carrier Sense Multiple Access with Collision Detection).

The basic procedure is:

  1. Carrier sense: A station checks whether the medium is idle.

  2. Transmit: If idle, it starts sending the frame.

  3. Collision detection: The station continues monitoring the medium while transmitting.

  4. Jam signal: If a collision is detected, the station aborts and sends a jam signal.

  5. Back-off: It waits for a random period before trying again.

It i snoted  that Ethernet uses a minimum frame size of 512 bits (64 bytes) to ensure a collision can be detected within the required transmission time in traditional shared Ethernet.

Note: This CSMA/CD procedure applies to traditional shared, half-duplex Ethernet. Modern switched, full-duplex Ethernet does not normally experience collisions and does not use CSMA/CD.

In summary

Wired Ethernet is a LAN technology standardized through IEEE 802. The LLC and MAC sublayers support link-layer communication, Ethernet frames carry data between devices, MAC addresses identify interfaces, and traditional shared Ethernet uses CSMA/CD to coordinate access to the medium.

Comments

Popular posts from this blog

Computer Networks PCCST501 Semester 5 KTU CS 2024 Scheme - Dr Binu V P

Model Question Paper Computer Networks PCCST501 KTU 2024 Scheme and Answer Key

Introduction to Computer Networks