This article describes how to manage network access based on the MAC address of hosts and devices.
You can enable sites with Cato Sockets to provide network access only to hosts and devices based on their MAC addresses. Enter each MAC address in a CSV file that is uploaded to the Cato Authentication Server in the Cato Cloud. The sites only authenticate the devices with MAC addresses that are in this file. All other devices are rejected from connecting to the network. For example, guest users are only allowed access if they are added to the CSV file.
Note
Note: This feature is supported from Socket 8.0 and higher.
-
When you upload a CSV file to the Cato Authentication Server, a log is generated for the Audit Trail window (Monitoring > Audit Trail).
-
Uploading a new CSV file replaces and overwrites the previous file.
-
The maximum size for the CSV file is 1 MB.
-
The maximum number of MAC addresses that are cached in a site is 32,000.
You can choose to enable MAC address authentication as a Global Setting for all Socket sites in the account, or only for specific sites.
This section is a high-level overview that describes how to implement MAC Address Authentication as global setting for all Socket sites in the account.
-
Upload the CSV file with the MAC addresses to the Cato Authentication Server.
-
Configure the authentication time settings.
-
For each site that is NOT performing MAC address authentication, override the global settings for that site and disable the feature.
-
Enable the MAC address authentication global setting for the account.
This section is a high-level overview to only implement MAC Address Authentication for specific Socket sites.
-
Upload the CSV file with the MAC addresses to the Cato Authentication Server.
-
Configure the authentication time settings.
-
For each site that is performing MAC address authentication, override the global settings for that site and enable the feature.
Even though the global setting for MAC address authentication is disabled, the CSV file and the authentication time settings are still applied to the enabled sites.
You can use the MAC Address Authentication window to:
-
Configure the network access based for the entire account based on the MAC addresses
-
Manage the time settings for how long each MAC address is authenticated or rejected
-
Upload the CSV file that contains the list of MAC addresses that are allowed to connect to the network
Note
Note: If you enable MAC address authentication before you upload the CSV file, then all connections are blocked.
To enable or disable authentication with the MAC address for the entire account:
-
From the navigation menu, click Access > MAC Authentication.
-
Select Enable MAC authentication control.
To disable MAC authentication, clear this option.
-
Configure the MAC approval and MAC rejection validation lengths
-
Click Save.
Use the Cato Management Application to upload a CSV file to the Cato Authentication Server that contains all the MAC addresses that are authenticated to access the network. The Socket then pulls this file and compares each connection to the MAC addresses in the CSV file. If the MAC address is listed in the file, then the connection is allowed. Otherwise, the connection is rejected. To update the authenticated MAC addresses, upload a new CSV file to the Cato Authentication Server.
When the MAC Authentication window for the Global Settings shows the No file uploaded message, then no MAC addresses are allowed. The sites block all network traffic. We recommend that you upload the CSV file before you enable the MAC address authentication feature.
Each account uses one CSV file for the authenticated MAC addresses for all the sites with Sockets. You can choose to enable or disable individual sites (see below Excluding a Site from MAC Address Authentication). The MAC addresses in the CSV file must be in the correct format to upload the file, for example: 00:0a:95:9d:68:16. The maximum file size is 1 MB.
The CSV file contains these columns:
-
Allowed MAC Address
-
Username (optional)
-
Comment (optional)
To define MAC addresses that are allowed to connect to the network:
-
Prepare the CSV file with the MAC addresses. You can also add usernames and comments.
-
From the navigation menu, click Access > MAC Authentication.
-
Select Enable MAC authentication control.
-
Click Upload CSV File.
-
From the browser pop-up window, select the CSV file. The file is uploaded to the Cato Authentication Server.
-
Click Save.
The MAC Address Authentication window shows the status of the CSV file that is uploaded. It shows the number of MAC addresses in the file and the time stamp of when the file was uploaded.
If the window shows the No file uploaded message, then you can download a CSV file that is an empty template for the MAC addresses and other data.
To download the CSV file from the Cato Management Application:
-
From the navigation menu, click Access > MAC Authentication.
-
Select Enable MAC authentication control.
-
Click Download CSV File.
-
From the browser pop-up window, select the directory to save the CSV file. The file is downloaded to the directory.
Define the authentication behavior for how long the Cato Authentication Server waits before checking if the specific MAC address is in the CSV file. The MAC approval is valid for setting defines the amount of time that the MAC authentication is valid for. For example, if the value of this setting is 12 hours, then a device that was authenticated at 8:00 am is valid until 8:00 pm. After 8:00 pm, when the device tries to connect to the network, the site checks if the specific MAC address is in the CSV file in the Cato Authentication Server.
The MAC rejection is valid for setting defines the amount of time that a rejected device waits before trying to authenticate. During this time, the rejection of the MAC address is enforced and the site doesn't compare the device MAC address with the CSV file in the Cato Authentication Server. Afterwards, when the device tries to connect to the network, the Cato Authentication Server compares the specific MAC address with the CSV file. The minimum time value for MAC rejection is valid for is 1 hour.
To define the MAC approval and rejection settings:
-
From the navigation menu, click Access > MAC Authentication.
-
Select Enable MAC authentication control.
-
Set the time amount and value for how long the MAC approval is valid for.
-
Set time amount and value for how long the MAC rejection is valid for.
-
Click Save.
You can choose to override the global MAC address authentication settings and disable this feature for specific sites.
To disable MAC address authentication for a site:
-
From the navigation menu, click Network > Sites and select the site.
-
From the navigation menu, click Site Settings > MAC Authentication.
-
Select Override account authentication control.
-
Make sure that Enable MAC authentication control is cleared.
-
Click Save.
You can choose to only enable MAC address authentication for specific Socket sites. Upload the CSV file to the Cato Authentication Server and configure the authentication time settings for the entire account. Then for each site, override the MAC authentication settings for the account and enable MAC address authentication.
Note
Note: In this configuration, you don't enable MAC address authentication for the account, instead only enable the feature for the specific sites.
To enable MAC address authentication for a site:
-
From the navigation menu, click Access > MAC Authentication.
-
Select Enable MAC authentication control.
-
Click Upload CSV File to upload the Cato Authentication Server, and define the MAC addresses that are authenticated to the network (see above, Defining MAC Addresses that are Authenticated).
-
Define the authentication time settings for the account (see above, Defining the Authentication Time Settings) and click Save.
-
From the navigation menu, click Network > Sites and select the site.
-
From the navigation menu, click Site Settings > MAC Authentication.
-
Select Override account authentication control.
-
Select Enable MAC authentication control.
-
Click Save.
4 comments
From my perspective this is a useless feature unless you can enable it on network level (e.g. VLAN level) and not per site as there is always a mix of user VLANs and device VLANs (like camera's OT etc). Not sure if this can be configured by the API, that would also be a requirement to make this feature meaningful to use
I agree with Bert-Jan Kamp's comment above. It's pretty useless if you can't define allowed VLANs per user, and it needs to provide a more dynamic update mechanism than uploading a CSV file.
Is there any time frame we can expect VLANs based MAC authentication control?
Bumping this feature request. The current MAC Authentication is pretty useless in its “Global” form.
Please sign in to leave a comment.