Draw a mac frame and elaborate its different fields justify the reason behind minimum and a maximum length of MAC frame.


The basic frame format which is required for all MAC implementation is defined in IEEE 802.3 standard. Though several optional formats are being used to extend the protocol’s basic capability.
Ethernet frame starts with Preamble and SFD, both works at the physical layer. Ethernet header contains both Source and Destination MAC address, after which the payload of the frame is present. The last field is CRC which is used to detect the error. Now, let’s study each field of basic frame format


IEEE 802.3 standard





  • PREAMBLE – Ethernet frame starts with 7-Bytes Preamble. This is a pattern of alternative 0’s and 1’s which indicates starting of the frame and allows sender and receiver to establish bit synchronisation.
  • Destination Address – This is a 6-Byte field that contains the MAC address of the machine for which data is destined.
  • Source Address – This is a 6-Byte field that contains the MAC address of the source machine. As Source Address is always an individual address (Unicast), the least significant bit of the first byte is always 0.
  • Length – Length is a 2-Byte field, which indicates the length of the entire Ethernet frame. This 16-bit field can hold the length value between 0 to 65534, but the length cannot be larger than 1500 because of some own limitations of Ethernet.
  • Data – This is the place where actual data is inserted, also known as Payload. Both IP header and data will be inserted here if Internet Protocol is used over Ethernet. The maximum data present may be as long as 1500 Bytes. In case data length is less than minimum length i.e. 46 bytes, then padding 0’s is added to meet the minimum possible length.
  • Cyclic Redundancy Check (CRC) – CRC is a 4 Byte field. This field contains a 32-bits hash code of data, which is generated over the Destination Address, Source Address, Length, and Data field.






DA [Destination MAC Address] : 6 bytes
SA [Source MAC Address] : 6 bytes
Type [0x8870 (Ethertype)] : 2 bytes
DSAP [802.2 Destination Service Access Point] : 1 byte
SSAP [802.2 Source Service Access Point] : 1 byte
Ctrl [802.2 Control Field] : 1 byte
Data [Protocol Data] : > 46 bytes
FCS [Frame Checksum] : 4 bytes

Comments

Popular posts from this blog

A recursive function in C++ must always have a void return type.

Explain the roles of graphical charts/diagrams in providing a better understanding of data in BI reporting. Give examples.

What do “Feasibility” and “Desirability” mean in the context of software design. Specify one question for each that leads to a design type.The main goal of a software design thinking work process is to create a solution that is desirable, feasible, and viable. This means our solution should not only provides a solution but also needs to implement easily and have a proper commercial model. Desirability is at the forefront as it is mainly concerned with our ideas and validating things about taking users in mind and also to do testing again and again. A test for desirability focuses on whether your solution is a nice to have or a must-have for your customer. Ask yourself, what task am I helping my customer complete? What does successful completion of that task look like for them? Looking at what they are trying to do and why it is important to them puts yourself in their shoes, lets you look at your solution from their eyes. If you are solving the key pain points they encounter when trying to complete this task, your solution has met the test for desirability. If not, and there are other pain points that you haven’t addressed, then pivoting your solution might put you on a better path. Feasibility in software design is a validation process that looks at how design delivers to requirements, objectives, and goals. The common Software design feasibility is: Technical Financial Usability Risk Experience Quality Feasibility is a way to evaluate the desirability of a project or a design. Any company before any project invests their time and money in any project they want to know how successful the project will be before investing. As the company wants to know how much amount of research is needed to be done and also to know the market value of a project.