Search
Home Search Center IP Encyclopedia Online Courses

What Is MAC Address Authentication?

MAC address authentication controls network access permissions of users based on their MAC addresses. The access device obtains the MAC addresses of user endpoints and compares them with the addresses in the preconfigured MAC address list. If the MAC address of a user endpoint matches a MAC address in the list, the user is allowed to access the network. Otherwise, whether the user can be authenticated is determined based on the configuration.

What Is MAC Address Authentication?

MAC address authentication controls network access permissions of users based on their MAC addresses. When the access device detects the MAC address of a user for the first time on the interface where MAC address authentication has been enabled, it compares this MAC address with the addresses in the preconfigured MAC address list. If the MAC address of the user matches a MAC address in the list, the user is allowed to access the network. Otherwise, the user is denied access. During MAC address authentication, the user does not need to enter a username or password.

A MAC address authentication system consists of three components: user client, authentication control point, and authentication server (generally a RADIUS server).

MAC address authentication system

  • A client is usually a user endpoint. The client can be a wired client (such as a desktop computer or a printer), a wireless client (such as a tablet), or an IoT device (such as a camera). When a client connects to the network, it sends ARP or DHCP packets. The access device obtains these packets and triggers MAC address authentication.
  • The access device obtains packets sent by the client and extracts the MAC address of the client from the packets.
  • The authentication server (generally a RADIUS server) authenticates the received username and password.

MAC address authentication system

Why Do We Need MAC Address Authentication?

MAC address authentication is applicable to dumb terminals that cannot have client software installed, such as printers and fax machines. MAC address authentication controls the access of dumb terminals through comparing their MAC addresses with the addresses in the preconfigured MAC address list. MAC address authentication is also ideal for enterprise intranets with high security requirements and stationary endpoints.

How Does MAC Address Authentication Work?

Process of Going Online Through MAC Address Authentication

  • iMaster NCE-Campus functions as a RADIUS server, or a third-party RADIUS server is used.
    Figure 1-2 MAC address authentication process

    1. The client sends a network access request such as an ARP, DHCP, ND, or DHCPv6 packet to trigger MAC address authentication.
    2. The access device detects the network request packet and obtains the client's MAC address.
    3. The device sends a username and a password to the authentication server for authentication.
    4. The authentication server authenticates the received username and password. If the authentication succeeds, it sends an authentication success packet to the device.
    5. After receiving the authentication success packet, the device changes the interface status to authorized, allowing the user to access the network through the interface.
    6. The user is successfully authenticated and can access the network.
  • iMaster NCE-Campus functions as a RADIUS relay server.
    MAC address authentication process (iMaster NCE-Campus as the RADIUS relay server)
    MAC address authentication process (iMaster NCE-Campus as the RADIUS relay server)
    1. The client requests to access the network.
    2. The device triggers MAC address authentication when detecting any ARP, DHCP, ND, or DHCPv6 packet sent by the client.
    3. Based on the configuration, the device sends a username and a password to iMaster NCE-Campus.
    4. iMaster NCE-Campus sends the username and password to the third-party RADIUS server for authentication.
    5. The RADIUS server authenticates the received username and password. If the authentication succeeds, it sends an authentication success packet to the device.
    6. iMaster NCE-Campus sends the authentication success packet to the device and requests authorization.
    7. After receiving the authentication success packet, the device changes the interface status to authorized, allowing the user to access the network through the interface.
    8. The access device notifies the user of an authentication success.
    9. The user can access the network.

Process of Going Offline Through MAC Address Authentication

  • A client actively logs out and goes offline.

    Process of active client logout and going offline

    1. A client sends a logout request.
    2. The access device sends an Accounting-Request(Stop) packet to the RADIUS server, stops interface authorization, and deletes the user from the local online user list.
    3. The RADIUS server sends an Accounting-Response(Stop) packet to the access device and deletes the user from the local online user list.

    Process of active client logout and going offline
  • Logging a user out as an administrator (iMaster NCE-Campus as a RADIUS server or a RADIUS relay server)
    Administrator logging a user out
    Administrator logging a user out
    1. The tenant administrator disconnects a user on iMaster NCE-Campus.

    2. iMaster NCE-Campus notifies the RADIUS server of the user disconnection event.

    3. The RADIUS server sends a logout notification packet (REQ_LOGOUT) to the access device.

    4. The access device sends an Accounting-Request(Stop) packet to the RADIUS server, stops interface authorization, and deletes the user from the local online user list.

    5. The RADIUS server sends an Accounting-Response(Stop) packet to the access device and deletes the user from the local online user list.

Application Scenarios

MAC address authentication is typically used in the following scenarios where dumb terminals such as printers and IP phones that cannot be authenticated using usernames and passwords.

  1. Client software cannot be installed on dumb terminals, such as printers, IP phones, and cameras. You can use MAC address authentication to ensure that only dumb terminals with the matching MAC addresses can access the network, improving network security.
  2. For devices that do not need to be frequently replaced, such as the computers in office areas, you can use MAC address authentication to avoid frequent username and password authentication, simplifying the authentication process and improving user experience.
About This Topic
  • Author: Li Yanxia
  • Updated on: 2026-11-04
  • Views: 235
  • Average rating:
Share link to