Media access control

Media access control
The OSI model
7 Application layer
6 Presentation layer
5 Session layer
4 Transport layer
3 Network layer
2 Data link layer
1 Physical layer
This box: view · talk · edit

The media access control (MAC) data communication protocol sub-layer, also known as the medium access control, is a sublayer of the data link layer specified in the seven-layer OSI model (layer 2), and in the four-layer TCP/IP model (layer 1). It provides addressing and channel access control mechanisms that make it possible for several terminals or network nodes to communicate within a multiple access network that incorporates a shared medium, e.g. Ethernet. The hardware that implements the MAC is referred to as a medium access controller.

The MAC sub-layer acts as an interface between the logical link control (LLC) sublayer and the network's physical layer. The MAC layer emulates a full-duplex logical communication channel in a multi-point network. This channel may provide unicast, multicast or broadcast communication service.

Multiplex
techniques
Circuit mode
(constant bandwidth)
TDM · FDM · SDM
Polarization multiplexing
Spatial multiplexing (MIMO)
Statistical multiplexing
(variable bandwidth)
Packet mode · Dynamic TDM
FHSS · DSSS
OFDMA · SC-FDM · MC-SS
Related topics
Channel access methods
Media Access Control (MAC)

This box: view · talk · edit

Contents

Functions performed in the MAC layer

According to 802.3-2002 section 4.1.4, the functions required of a MAC are:[1]

  • receive/transmit normal frames
  • half-duplex retransmission and backoff functions
  • append/check FCS (frame check sequence)
  • interframe gap enforcement
  • discard malformed frames
  • append(tx)/remove(rx) preamble, SFD, and padding
  • half-duplex compatibility: append(tx)/remove(rx) MAC address

In 100Mbps and faster MACs, the MAC address is not actually handled in the MAC layer. Doing so would make it impossible to implement IP because the ARP layer of IP-Ethernet needs access to the MAC address.

Addressing mechanism

In 100Mbps and faster Ethernet MACs, there is no required addressing mechanism. However, the MAC address inherited from the original MAC layer specification is used in many higher level protocols such as Internet Protocol (IP) over Ethernet.

The local network address used in IP-Ethernet is called MAC address because it historically was part of the MAC layer in early Ethernets. The MAC layer's addressing mechanism is called physical address or MAC address. A MAC address is a unique serial number. Once a MAC address has been assigned to a particular network interface (typically at time of manufacture), that device should be uniquely identifiable amongst all other network devices in the world. This guarantees that each device in a network will have a different MAC address (analogous to a street address). This makes it possible for data packets to be delivered to a destination within a subnetwork, i.e. hosts interconnected by some combination of repeaters, hubs, bridges and switches, but not by IP routers. Thus, when an IP packet reaches its destination (sub)network, the destination IP address (a layer-3, network layer, construct) is resolved into the MAC address (a layer-2 construct) of the destination host.

An example of a physical network is an Ethernet network, perhaps extended by wireless local area network (WLAN) access points and WLAN network adapters, since these share the same 48-bit MAC address hierarchy as Ethernet.

A MAC layer is not required in full-duplex point-to-point communication, but address fields are included in some point-to-point protocols for compatibility reasons.

Channel access control mechanism

The channel access control mechanisms provided by the MAC layer are also known as a multiple access protocol. This makes it possible for several stations connected to the same physical medium to share it. Examples of shared physical media are bus networks, ring networks, hub networks, wireless networks and half-duplex point-to-point links. The multiple access protocol may detect or avoid data packet collisions if a packet mode contention based channel access method is used, or reserve resources to establish a logical channel if a circuit switched or channelization based channel access method is used. The channel access control mechanism relies on a physical layer multiplex scheme.

The most widespread multiple access protocol is the contention based CSMA/CD protocol used in Ethernet networks. This mechanism is only utilized within a network collision domain, for example an Ethernet bus network or a hub network. An Ethernet network may be divided into several collision domains, interconnected by bridges and switches.

A multiple access protocol is not required in a switched full-duplex network, such as today's switched Ethernet networks, but is often available in the equipment for compatibility reasons.

Common multiple access protocols

Examples of common packet mode multiple access protocols for wired multi-drop networks are:

Examples of common multiple access protocols that may be used in packet radio wireless networks are:

For a more extensive list, see List of channel access methods.

See also

References

  1. ^ IEEE 802.3

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Media Access Control — (MAC), уровень управления доступом к среде (передачи) подуровень протокола передачи данных, также известен, как Medium Access Control. Является подуровнем канального (второго) уровня модели OSI. MAC обеспечивает адресацию и механизмы управления… …   Википедия

  • Media Access Control —   [Abk. MAC, dt. »Medienzugriffssteuerung«], Kommunikationsprotokoll für lokale Netzwerke nach einem der 802.x Standards. Man betrachtet die MAC als eine Unterschicht der Sicherungsschicht (OSI Schichtenmodell), die den Kanalzugriff und die… …   Universal-Lexikon

  • Media Access Control — The Media Access Control (MAC) data communication protocol sub layer, also known as the Medium Access Control, is a sublayer of the Data Link Layer specified in the seven layer OSI model (layer 2). It provides addressing and channel access… …   Wikipedia

  • Media Access Control — Schicht ursprünglich erweitert 7 Anwendung Anwendung 6 Darstellung Darstellung 5 Sitzung Sitzung 4 Transport Transport 3 …   Deutsch Wikipedia

  • Media Access Control — Contrôle d accès au support Pile de protocoles 7 • Application 6 • Présentation 5 • Session 4 • …   Wikipédia en Français

  • Media access control — Contrôle d accès au support Pile de protocoles 7 • Application 6 • Présentation 5 • Session 4 • …   Wikipédia en Français

  • media access control protocol —    See access control list …   Dictionary of networking

  • media access control —    Abbreviated MAC. The lower component of the datalink layer that governs access to the transmission medium. The logical link control layer is the upper component of the datalink layer. MAC is used in CSMA/CD and token ring LANs as well as in… …   Dictionary of networking

  • Sensor Media Access Control — [ˈsɛnsə ˈmiːdiə ˈæksɛs kənˈtɹəʊl] (S MAC, engl. „Sensor Medienzugriffskontrolle“) ist ein Netzwerkprotokoll für Sensornetze. Sensornetze bestehen aus winzigen, drahtlos kommunizierenden Computern (Sensorknoten), die in großer Zahl in einem Gebiet …   Deutsch Wikipedia

  • Berkeley Media Access Control — (B MAC, engl. „Berkeley Medienzugriffskontrolle“) ist ein Netzwerkprotokoll für Sensornetze. Es steuert als Media Access Control (MAC) den Zugriff auf das gemeinsame Kommunikationsmedium des Netzes. Netzwerkprotokolle legen bis ins kleinste… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”