Aruba Clearpass - RADIUS
Introduction
This guide provides a step-by-step configuration of 802.1X authentication on the Nile Service Block (NSB) with Aruba ClearPass as the external RADIUS server. It covers a wireless 802.1X SSID and wired 802.1X ports, and it uses the Nile netseg attribute to place each user in the correct segment.
Prerequisites
- A public or private server certificate that the 802.1X clients trust, together with its CA certificate, is uploaded to the ClearPass Policy Manager Certificate Store for RADIUS/EAP use.
- ClearPass is joined to an Active Directory domain for authentication and authorization.
- The Nile Portal Service Areas and DHCP are configured. See Setup Service Areas and Setup DHCP.
- A route exists between ClearPass and the core router or firewall that connects to the Nile Service Gateway, and RADIUS traffic is allowed in both directions.
Configuration
This guide covers the two components of 802.1X authentication, and then validates the configuration:
- A. Nile Portal, the authenticator (Nile NSB)
- B. ClearPass Policy Manager, the authentication server
- C. Validation tests
A. Nile Portal
This section describes how to configure:
- ClearPass as the RADIUS server
- The Nile segments
- The 802.1X SSID (wireless only)
1. Add ClearPass as a RADIUS Server
- Log in to the Nile Portal.
- In the left navigation, select Network Setup > Authentication, and click the sign.
- Configure the following:
- Name: Enter a name for the ClearPass server.
- Port: Enter the RADIUS port. This is usually 1812.
- Shared Secret: Enter the secret. Use the same secret in ClearPass.
- Host 1, Host 2, Host 3: Enter the IP address of the primary ClearPass server in Host 1. Optionally, enter secondary and tertiary servers in Host 2 and Host 3 for failover.
- Geo Scope: Select the locations that use this RADIUS server.
- Wired Dot1x: Select this checkbox to use ClearPass for wired 802.1X at the locations in its Geo Scope. You can select it on only one RADIUS server for a location. Leave it cleared if you use ClearPass for wireless only.
- Click Display NAS IPs and note the addresses. These are the Nile addresses that send requests to ClearPass. You add them to ClearPass in section B.2.
- Optional: Click Verify Hosts and enter a test username and password to check that Nile can reach ClearPass. You can save these credentials so that Nile uses them for ongoing monitoring.
- Click Save.

Note: If the Wired Dot1x checkbox is not visible, contact Nile Support to enable it for your organization.
Note: If Nile RADIUS is also enabled for your organization, it handles wired 802.1X at a location unless Wired Dot1x is selected on an external RADIUS server for that location.
Note: Nile checks each RADIUS server every minute. Make sure that ClearPass allows MS-CHAPv2 for this check and that any credentials saved under Verify Hosts are valid. Otherwise, the server shows as down in the Nile Portal.
2. Segments
- In the left navigation, select Network Setup > Segments.
- Create a segment for each group that ClearPass returns, for example, HQ2-Dot1x-Employees and HQ2-Dot1x-Contractors. See Setup Segments.
- Click the pencil icon next to a segment, and open the Service Area tab.
- For each site, select the ClearPass server from the Authentication dropdown, and click Save. 802.1X is turned on for the segment immediately.
- Repeat steps 3 and 4 for every segment that ClearPass can return.

Note: Each segment needs a subnet at every site where its devices connect. The segment names are case-sensitive, and ClearPass must return them exactly as they appear in the Nile Portal.
3. The 802.1X SSID (Wireless Only)
Skip this section if you configure wired 802.1X only. Wired 802.1X does not use an SSID.
- In the left navigation, select Network Setup > Wireless, click the sign, and choose the Type as Enterprise.
- Enter the SSID name, and select the Security mode (WPA2, WPA3, or WPA3 Enhanced).
- Under Segments, select the segments for this SSID. Segments that use RADIUS authentication appear in the dropdown.
- Click Save.
For more details, see Setup a 802.1X SSID.


Important Note: Adding two or more segments to an SSID requires the RADIUS server to return an Access-Accept with the Nile VSA netseg that contains the exact segment name. The name is case-sensitive. If the name is missing or does not match, authentication fails. If the SSID uses a single segment, ClearPass does not need to return netseg for wireless clients.
B. ClearPass Policy Manager
1. Import the Nile Dictionary
ClearPass needs the Nile vendor dictionary (vendor ID 58313) to send the netseg attribute.
Create the Dictionary File
Using a text editor, copy the following Nile dictionary in XML format and paste it into a file. In this example, the file is called CPPM-Nile-Dictionary.xml.
Import the Dictionary
In ClearPass Policy Manager:
- Go to Administration > Dictionaries > RADIUS.
- Click Import to open the Import from file window.
- Select the Nile dictionary XML file, and click Import.

After the import, click the Nile dictionary to display its attributes: netseg, nile-avpair, and redirect-url.

Note: If ClearPass cannot use a custom dictionary, you can send the segment name in the standard Tunnel-Private-Group-ID attribute instead.
2. Add Nile as a Network Device
Add each Nile NAS IP address that you noted in section A.1 to ClearPass as a network device. Repeat the following steps for each address.
In ClearPass Policy Manager:
- Go to Configuration > Network > Devices.
- Click Add to open the Add Device pop-up.
- Enter the following information, and click Add:
- Name: A name for the device, for example, Nile NSB.
- IP or Subnet Address: The Nile NAS IP address.
- RADIUS Shared Secret: The same secret that you entered in the Nile Portal.

3. Create the 802.1X Wireless Service
The 802.1X wireless service uses the Active Directory server for authentication and authorization of the Nile 802.1X wireless clients.
Go to Configuration > Services, and click Add.
Service Tab
- Type: 802.1X Wireless
- Name: Type a name for the service. Example: Nile 802.1X wireless
- More Options: Select Authorization.
- Service Rule: Keep the two existing rules, and add a third rule that matches the Nile SSID sent in the Called-Station-Id attribute:
- Type: Radius:IETF
- Name: Called-Station-Id
- Operator: CONTAINS
- Value: The full SSID name or a subset of it
- Click Next.

Authentication Tab
- Select the authentication methods that your clients use. This example uses EAP PEAP.
- Select the Active Directory server as the authentication source.
- Click Next.

Authorization Tab
- Validate that the correct Active Directory entry is present as the authorization source.
- Click Next.

Roles Tab
This example does not use a role mapping policy. Click Next.
Enforcement Tab
Click Add New Enforcement Policy.

Enforcement Policy
Fill out the Enforcement Policy form:
- Name: Nile 802.1X Enforcement Policy
- Enforcement Type: RADIUS
- Default Profile: Deny Access Profile
- Click Add New Enforcement Profile.

Employee Enforcement Profile
Fill out the Enforcement Profiles form:
- Template: RADIUS Based Enforcement
- Name: Nile 802.1X Employee Profile
- Action: Accept
- Click Next.

Fill out the Attributes form:
- Type: Radius:Nile (the screenshots show an earlier dictionary name, Radius:Nilesecure)
- Name: netseg
- Value: The exact name of the Nile Portal segment for this group. Example: HQ2-Dot1x-Employees

Click Next to display the Summary, and then click Save.

Contractor Enforcement Profile
This example needs two enforcement profiles. On the Enforcement tab of the policy, click Add New Enforcement Profile again, and repeat the previous steps to create a second profile:
- Name: Nile 802.1X Contractor Profile
- netseg Value: HQ2-Dot1x-Contractors
The following shows the Summary of the second profile:

Enforcement Policy Rules
After you save both profiles, ClearPass opens the Rules tab. Keep Select first match as the Rules Evaluation Algorithm, and click Add Rule.

Add two rules, one for each group. For the first rule, enter the following, and click Save:
- Type: Authorization:<Active Directory source name>
- Name: memberOf
- Operator: CONTAINS
- Value: Employee
- Profile Names: Nile 802.1X Employee Profile

For the second rule, repeat the same steps with Value: Contractor and Profile Names: Nile 802.1X Contractor Profile.
Click Next to display the Summary of the policy, and then click Save.

Complete the Service
ClearPass returns to the Enforcement tab with the new Nile 802.1X Enforcement Policy selected. Click Next to display the Summary of the service, and then click Save.


Move this service up the list of ClearPass services if needed, so that ClearPass evaluates it before more general services.
4. Create the 802.1X Wired Service
The 802.1X wired service is very similar to the wireless service. It uses the same Active Directory server for authentication and authorization of the Nile 802.1X wired clients, and it can use the same Nile 802.1X Enforcement Policy.
Note: Make sure that Wired Dot1x is selected for the ClearPass server in the Nile Portal (section A.1). Otherwise, Nile does not send wired 802.1X requests to ClearPass.
Go to Configuration > Services, and click Add.
Service Tab
- Type: 802.1X Wired
- Name: Type a name for the service. Example: Nile 802.1X wired
- More Options: Select Authorization.
- Service Rule: Keep the two existing rules, and add a third rule that matches the string that Nile sends in the Called-Station-Id attribute of wired 802.1X requests:
- Type: Radius:IETF
- Name: Called-Station-Id
- Operator: CONTAINS
- Value: WiredDot1x
- Click Next.

Authentication, Authorization, and Roles Tabs
Configure these tabs as in the wireless service: the same authentication methods, and the Active Directory server as the authentication and authorization source. Click Next on the Roles tab.
Enforcement Tab
Select the existing Nile 802.1X Enforcement Policy, click Next to display the Summary, and then click Save.


Move this service up the list of ClearPass services if needed, so that ClearPass evaluates it before more general services.
Note: Unlike the 802.1X wireless service, the Enforcement Policy must always return the Nile netseg attribute for wired clients, even if you use only one segment. The value must be the exact name of the Nile segment where the wired user acquires a DHCP IP address. If the segment name is missing or does not match, the device is denied. If wired users must be placed in different segments than wireless users, create a separate Enforcement Policy with profiles that return the wired segment names.
C. Validation Tests
Two test users are created in Active Directory:
- se1 is a domain user that belongs to the Employee group.
- se2 is another domain user that belongs to the Contractor group.
1. Wireless Connection Test with se1

A connection of a client machine to the Nile SE-HQ2-Dot1x SSID with the se1 user credentials results in the client receiving an IP address from the HQ2-Dot1x-Employees segment, when ClearPass Policy Manager returns the Nile attribute netseg with the segment name, as illustrated by ClearPass Access Tracker.
2. Wireless Connection Test with se2

A connection of a client machine to the Nile SE-HQ2-Dot1x SSID with the se2 user credentials results in the client receiving an IP address from the HQ2-Dot1x-Contractors segment, when ClearPass Policy Manager returns the Nile attribute netseg with the segment name, as illustrated by ClearPass Access Tracker.
3. Wired Connection Test
- Connect an 802.1X-capable device to a Nile switch port, and sign in with the se1 or se2 credentials.
- In the Nile Portal, open Devices and search for the device by MAC address or username. Check that the device is authenticated by 802.1X, is in the expected segment, and has an IP address from that segment's subnet.
- Select Network Setup > Access Management > Wired. The device appears with Authenticated By set to 8021X Approved.
- In ClearPass Access Tracker, check the matching request and the returned netseg value.
Troubleshooting
- No request appears in ClearPass Access Tracker: Check that Wired Dot1x is selected on the correct server (wired only), the Nile NAS IPs are added as network devices, the shared secret matches, and RADIUS traffic is allowed between ClearPass and the Nile Service Gateway.
- The device is denied, but the credentials are correct: Check that the Access-Accept includes netseg and that the value exactly matches a Nile segment name (case-sensitive). Check that an enforcement rule matches the user. If no rule matches, ClearPass returns the Deny Access Profile. Also check that the segment has the ClearPass server selected for the site and has a subnet at the site where the device connects.
- ClearPass shows as down in the Nile Portal: Check that ClearPass allows MS-CHAPv2 and that the credentials saved under Verify Hosts are valid.
- A device keeps its old segment after a policy change: The device keeps its current IP address until it re-authenticates and renews DHCP. Reconnect the device to apply the new segment immediately.