The MAC (Media Access Control) sublayer is responsible for the placement and retrieval of frames on and off the media. The MAC sublayer is also responsible for adding a header and a trailer to the network layer protocol data unit (PDU). True or False? Write 'T' if the statement is true and 'F' if the statement is false. 21) The preamble on the Ethernet packet is used to provide synchronization and negotiating a data link. Medium Access Control (MAC) Medium Access Control (MAC) The Medium Access Control (MAC) protocol is used to provide the data link layer of the LAN system. Gimp gap for mac download. The MAC protocol a SDU (payload data) by adding a 14 byte header (Protocol Control Information (PCI)) before the data and appending an, The checksum is a 4-byte (32-bit) after the data. The entire frame is preceded by a small idle period (the minimum inter-frame gap, 9.6 microsecond (µS)) and a 8 byte preamble (including the start of frame delimiter). Preamble The purpose of the idle time before transmission starts is to allow a small time interval for the receiver electronics in each of the nodes to settle after completion of the previous frame. A node starts transmission by sending an 8 byte (64 bit) preamble sequence. This consists of 62 alternating 1's and 0's followed by the pattern 11. ![]() Strictly speaking the last byte which finished with the '11' is known as the 'Start of Frame Delimiter'. When encoded using Manchester encoding, at 10 Mbps, the 62 alternating bits produce a 10 MHz square wave (one complete cycle each bit period). The purpose of the preamble is to allow time for the receiver in each node to achieve lock of the receiver which is used to synchronise the receive data clock to the transmit data clock. At the point when the first bit of the preamble is received, each receiver may be in an arbitrary state (i.e. Have an arbitrary phase for its local clock). During the course of the preamble it learns the correct phase, but in so doing it may miss (or gain) a number of bits. A special pattern (11), is therefore used to mark the last two bits of the preamble. When this is received, the Ethernet receive interface starts collecting the bits into bytes for processing by the MAC layer. It also confirms the polarity of the transition representing a '1' bit to the receiver (as a check in case this has been inverted). Header MAC encapsulation of a packet of data The header consists of three parts: • A 6-byte destination address, which specifies either a single recipient node (), a group of recipient nodes (), or the set of all recipient nodes (). • A 6-byte source address, which is set to the. This may be used by the network layer protocol to identify the sender, but usually other mechanisms are used (e.g. Its main function is to allow address learning which may be used to configure the filter tables in a. • A 2-byte type field, which provides a Service Access Point (SAP) to identify the type of protocol being carried (e.g. Bluetooth not available for mac. The values 0x0800 is used to identify the network protocol, other values are used to indicate ). In the case of, this may also be used to indicate the length of the data part. Th type field is also be used to indicate when a is added to a frame. CRC The final field in an Ethernet MAC frame is called a Cyclic Redundancy Check (sometimes also known as a Frame Check Sequence). A provides error detection in the case where line errors (or transmission collisions in Ethernet) result in corruption of the MAC frame. Any frame with an invalid CRC is discarded by the MAC receiver without further processing. The MAC protocol does not provide any indication that a frame has been discarded due to an invalid CRC. The link layer CRC therefore protects the frame from corruption while being transmitted over the physical mediuym (cable). A new CRC is added if the packet is forwarded by the router on another Ethernet link.
0 Comments
Leave a Reply. |