4.2 Ethernet Frames Flashcards

1
Q

ETHERNET

A

Ethernet is one of two LAN technologies used today, with the other being wireless LANs (WLANs).
Ethernet uses wired communications, including twisted pair, fiber-optic links, and coaxial cables.

Ethernet operates in the data link layer and the physical layer.
It is a family of networking technologies defined in the IEEE 802.2 and 802.3 standards.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

LLC Sublayer

A

Logical Link Control

The LLC sublayer is responsible for controlling the network interface card through software drivers.
The LLC works with upper layers to support higher level protocols.

This IEEE 802.2 sublayer communicates between the networking software at the upper layers and the device hardware at the lower layers.
It places information in the frame that identifies which network layer protocol is being used for the frame.
This information allows multiple Layer 3 protocols, such as IPv4 and IPv6, to use the same network interface and media.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

MAC Sublayer

A

Media Access Control

The MAC sublayer checks for bit errors, supports Ethernet technologies, and controls access to the media.

This sublayer (IEEE 802.3, 802.11, or 802.15 for example) is implemented in hardware and is responsible for data encapsulation and media access control.
It provides data link layer addressing and is integrated with various physical layer technologies.

The MAC sublayer is responsible for data encapsulation and accessing the media.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DATA ENCAPSULATION

A

IEEE 802.3 data encapsulation includes the following:

  • Ethernet frame: This is the internal structure of the Ethernet frame.
  • Ethernet Addressing: The Ethernet frame includes both a source and destination MAC address to deliver the
    Ethernet frame from Ethernet NIC to Ethernet NIC on the same LAN.
  • Ethernet Error detection: The Ethernet frame includes a frame check sequence (FCS) trailer used for error
    detection.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ACCESSING THE MEDIA

A

IEEE 802.3 MAC sublayer includes the specifications for different Ethernet communications standards over various types of media including copper and fiber.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CSMA/CD

A

Carrier Sense Multiple Access/Collision Detection

Ethernet over a half-duplex medium uses a contention-based access method, carrier sense multiple access/collision detection (CSMA/CD).
This ensures that only one device is transmitting at a time.
CSMA/CD allows multiple devices to share the same half-duplex medium, detecting a collision when more than one device attempts to transmit simultaneously.
It also provides a back-off algorithm for retransmission.

Ethernet LANs of today use switches that operate in full-duplex.
Full-duplex communications with Ethernet switches do not require access control through CSMA/CD.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ETHERNET FRAME

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ETHERNET FRAME

A

The minimum Ethernet frame size is 64 bytes and the expected maximum is 1518 bytes.
This includes all bytes from the destination MAC address field through the frame check sequence (FCS) field.
The preamble field is not included when describing the size of the frame.

Any frame less than 64 bytes in length is considered a “collision fragment” or “runt frame” and is automatically discarded by receiving stations.
Frames with more than 1500 bytes of data are considered “jumbo” or “baby giant frames”.

If the size of a transmitted frame is less than the minimum, or greater than the maximum, the receiving device drops the frame.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

ETHERNET FRAME FIELDS

A

1 Preamble and SFD
2 Destination MAC Address
3 Source MAC Address
4 Type / Length
5 Data
6 FCS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

1 PREAMBLE and SFD

A

The PREAMBLE (7 bytes) and Start Frame Delimiter (1 byte) fields are used for synchronization between the sending and receiving devices.
These first 8 bytes of the frame are used to get attention of the receiving nodes.
Essentially, the first 8 bytes tell the receivers to get ready to receive a new frame.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

2 DESTINATION MAC Address Field

A

This 6 bytes field is the identifier for the intended recipient.
This address is used by layer 2 to assist devices in determining if a frame is addressed to them.
The address in the frame is compared to the MAC address in the device, if there is a match, the device accepts the frame.
It can be a UNICAST, MULTICAST or BROADCAST address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

3 SOURCE MAC ADDRESS FIELD

A

This 6 bytes field identifies the originating NIC or interface of the frame.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

4 TYPE / LENGHT

A

This 2 bytes field identifies the upper layer protocol encapsulated in the Ethernet frame.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

5 DATA FIELD

A

This field (46 - 1500 bytes) contains the encapsulated data from a higher layer, which is a generic Layer 3 PDU or more commonly, an IPv4 packet.
All frames must be at least 64 bytes long.
If a small packet is encapsulated, additional bits called a PAD are used to increase the size of the frame to this minimum size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

6 FRAME CHECK SEQUENCE

A

The Frame Check Sequence field (4 bytes) is used to detect errors in a frame.
It uses a CYCLIC REDUNDANCY CHECK (CRC).
The sending device includes the results of a CRC in the FCS field of the frame.
The receiving device receives the frame and generates a CRC to look for errors.
If the calculations match, no error occurred.
Calculations that do not match are an indication that the data has changed, therefore the frame is dropped.
A change in the data could be the result of a disruption of the electrical signals that represent the bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ARP

A

Address Resolution Protocol (ARP) is used by TCP/IP to map a Layer 3 IPv4 address to a Layer 2 MAC address. When an Ethernet frame is transmitted on the network, it must have a destination MAC address.
To dynamically discover the MAC address of a known destination, the source device broadcasts an ARP request on the local network.
The device that is configured with the destination IPv4 address responds to the request with an ARP reply and the MAC address is recorded in the ARP cache.

17
Q

ARP Cache

A

Every device on the LAN maintains its own ARP cache.
The ARP cache is a small area in RAM that holds the ARP responses.
Viewing an ARP cache on a PC displays the IPv4 address and the MAC address of each device on the LAN with which the PC has exchanged ARP messages.