Onboard an IoT device by creating a MAC-based account using the registration portal

In this topic, you will learn how to activate the MAC account registration portal and onboard an IoT device to a network managed by Portnox™ Cloud by creating a new MAC-based account in this portal.

Important: To be able to onboard IoT devices using their MAC addresses, your NAS must support MAB authentication.

You can use this method to connect IoT devices to wired or Wi-Fi networks. The procedure is the same for both network types.

Configure a group in Portnox Cloud for MAC-based access.

In this section, you will configure your Portnox™ Cloud group to allow devices to connect using MAC-based authentication.

To connect to the network, the IoT device’s account must be in a group that allows MAC-based authentication for the selected network (wired or specific Wi-Fi).

Do one of the following:

  • If you already have a group that you want to assign this IoT device to, check its configuration for the selected network: wired and/or a specific Wi-Fi network.
  • If you don’t have a group for the IoT device, create a new group and turn on MAC-based authentication for the selected network.

For more information about creating and editing the networks in the group, see the following topic: Create a group.

Activate the MAC account registration portal

This step must be done by a Portnox Cloud administrator with full access. Then, selected Cloud administrators and groups of users will be able to use this portal to register new MAC-based accounts and edit existing ones.

  1. In the Cloud portal top menu, click on the Settings option.

  2. In the right-hand side pane, find and click on the CLEAR GENERAL SETTINGS heading.

    More options appear under the CLEAR GENERAL SETTINGS heading and description.

  3. In the right-hand side pane, find the MAC ACCOUNT MANUAL ONBOARDING (WEB APP) heading, click on the Edit link below, and activate the Enable MAC account registration portal checkbox.

    More options appear under the Enable MAC account registration portal checkbox.

  4. Click on the  ⧉  icon to copy the URL and share it with selected administrators.

    Note: The URL for this content doesn’t change. You can use your company’s link shortening services or redirects to create a URL that is easier for your administrators to remember and access.
  5. In the Administrators allowed to onboard MAC accounts section, select the Portnox Cloud administrators that will be allowed to use the MAC account registration portal.

  6. In the Groups allowed to onboard MAC accounts and Groups allowed to onboard existing MAC accounts sections, select the groups of Portnox Cloud users who will be able to use the MAC account registration portal in addition to Cloud administrators.
  7. In the Assign MAB-account to the group field, select the Portnox Cloud group that all new MAC-based accounts will be assigned to.

    This should be a group that is configured earlier for MAC-based access for all relevant networks.

  8. Optional: Activate the Set up expiration for all MAC addresses field and select a value in the field on the right-hand side.

    If this setting is turned on, all accounts created in the portal will have their MAC addresses set to expire after the selected period.

  9. Click on the Save button to save your changes or click on the Cancel button to abandon all changes.

    After you click on one of the buttons, Portnox Cloud will exit the edit mode.

Result: Selected administrators and groups of users can now use the MAC account registration portal to create and edit MAC-based accounts.

Find the network adapter’s MAC address

In this section, you will find the MAC address of the network adapter installed in the IoT device that you want to connect to the network.

  • Use the web interface or the access console of the IoT device to find out the MAC address of its network adapter.
  • If you can’t find the network adapter’s MAC address, try the following:
    1. If possible, connect the IoT device to the network managed by Portnox Cloud and enter any credentials.
    2. In the Cloud portal top menu, click on the Alerts option.
    3. Find a recent alert that says: 802.1X access attempt denied due to wrong credentials.
    4. Click on the Additional Info link in this alert.

      Under the alert, you will see the MAC address of the IoT device.

    You can also look for a recent alert that says: MAC bypass denied and click on the Add MAC(s) to new or existing account link to proceed to the next task.

Create a new MAC-based account using the MAC account registration portal

  1. Open the MAC account registration portal in your browser.

    See the previous steps to learn how to get the URL of the MAC account registration portal.

  2. On the Please login to onboard your MAC based device page, click on the relevant tile to log in to Portnox Cloud using one of the authentication repositories. If your user repository is managed by Cloud, enter your Cloud credentials in the Login and Password fields and click on the SIGN IN button.

  3. On the Choose option page, select the Create new MAC-based account option.

  4. On the Onboard MAC-based device page, enter the name for the account in the Account name field and an optional description in the Description field, and then add new MAC addresses:
    1. Click on the Add new MAC address link.
    2. Enter the MAC address in the MAC address field and enter an optional description of that MAC address in the Description field. Then, click on the Apply link.

      The value of the Expiration field is not configurable in the portal. This value is selected when activating the MAC account registration portal.

    3. Repeat the above if necessary to add more MAC addresses to the new account.
    4. After you add all MAC addresses, click on the Save button to save the new account.
Note: By default, if a device doesn’t connect to the network for 90 days, its MAC address is removed from the MAB account. You can change this period or disable this option here: Settings > Services > CLEAR GENERAL SETTINGS > INACTIVE MAC-ADDRESSES PURGE INTERVAL > Edit. This does not mean that the device will be removed from the Portnox Cloud account. It means that if the device has been inactive for the configured period, and it tries to authenticate again after that period using its MAC address, it will no longer be recognized.

Connect the IoT device to the network managed by Portnox Cloud

In this section, you will establish the network connection between the IoT device and the network managed by Portnox™ Cloud.

  1. Configure the IoT device to connect to the network.

    Use the web interface or the access console of the IoT device to configure network access.

  2. Connect the IoT device to the network.

    If the IoT device asks for credentials to access the network, enter any credentials. First, your NAS will try to authenticate your IoT device using credentials, and if that fails, the NAS will check if it can authenticate the IoT device using its MAC address.

  3. Check the Portnox Cloud logs to make sure the connection is successful.
    1. In the Cloud portal top menu, click on the Alerts option.
    2. Find a recent alert that says: 802.1X authentication success.

    Result: The IoT device is connected to the network.