How does Ethernet determine the protocol to which a processed frame should be delivered
We have already learned that encapsulated data defined by the Network Access layer is called an Ethernet frame. An Ethernet frame starts with a header, which contains the source and destination MAC addresses, among other data. The middle part of the frame is the actual data. The frame ends with a field called Frame Check Sequence (FCS). Show
The Ethernet frame structure is defined in the IEEE 802.3 standard. Here is a graphical representation of an Ethernet frame and a description of each field in the frame:
Note – Size of frame of Ethernet IEEE 802.3 varies 64 bytes to 1518 bytes including data length (46 to 1500 bytes). Brief overview on Extended Ethernet Frame (Ethernet II Frame) :Standard IEEE 802.3 basic frame format is discussed above in detail. Now let’s see the extended Ethernet frame header, using which we can get Payload even larger than 1500 Bytes. 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 Although length field is missing in Ethernet II frame, the frame length is known by virtue of the frame being accepted by the network interface. GATE CS Corner Questions Practicing the following questions will help you test your knowledge. All questions have been asked in GATE in previous years or in GATE Mock Tests. It is highly recommended that you practice them.
References – Extended Ethernet Frame Size Support ciscopress IEEE 802.3 and Ethernet This article is contributed by Abhishek Agrawal. If you like GeeksforGeeks and would like to contribute, you can also write an article using write.geeksforgeeks.org or mail your article to . See your article appearing on the GeeksforGeeks main page and help other Geeks. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above. What information is used by the Ethernet frame to deliver frame contents?Each Ethernet frame starts with an Ethernet header, which contains destination and source MAC addresses as its first two fields. The middle section of the frame is payload data including any headers for other protocols (for example, Internet Protocol) carried in the frame.
How does an Ethernet driver know to pass a recieved frame to IP input routine?Transmission of a Frame over Ethernet
If a copy is required, it is sent to the loopback interface. This directly delivers the packet to the IP input routine.
How are Ethernet frames transmitted?The frame is sent onto the network where an Ethernet switch checks the destination address of the frame against a MAC lookup table in its memory. The lookup table tells the switch which physical port, i.e., RJ45 port, is associated with the device whose MAC address matches destination address of the frame.
What are the two protocols that can be carried as the payload of Ethernet frame?There are two variants of the IP protocol; IPv4 and IPv6. If the type field has value IP or ox800, the frame is carrying the data of the IPv4 protocol. If the type field has value IPv6 or 0x86dd, the frame is carrying the data of the IPv6 protocol.
|