Skip to content
Trustaige Docs

Run a wired office on Trustaige RADIUS

Put your switch ports behind 802.1X with Trustaige RADIUS deciding each one, managed computers by certificate and headless devices by MAC or certificate.

  • Scale
  • Needs switches with 802.1X and MAC authentication bypass
  • Rolling out
View as Markdown

On a wired office run by Trustaige, every access port asks Trustaige RADIUS who may use it. Managed Windows PCs and Macs join with the certificate Trustaige gives them, held in their own hardware. Printers, phones, cameras and other devices that run no agent join as headless devices: by a certificate whose key they generated themselves, or, more weakly, by their MAC address into a restricted VLAN.

  1. Switch to Device: EAPOL: who are you?
  2. Device and Trustaige RADIUS: EAP-TLS with the device certificate, carried by the switch
  3. Trustaige RADIUS to Switch: Access-Accept with a VLAN and Session-Timeout, or Access-Reject
  4. Switch to Trustaige RADIUS: no EAPOL answer: MAC authentication bypass, the MAC as name and password
  5. Trustaige RADIUS to Switch: Access-Accept into the restricted VLAN, or Access-Reject

The switch tries 802.1X first. A device that answers no EAPOL is asked about by its MAC instead (MAC authentication bypass, or MAB), after a wait each switch sets in its own way.

Who joins, and how

DeviceHow it proves itselfWhere it lands
Windows PC managed by TrustaigeEAP-TLS with a TPM-protected certificate, through Wired AutoConfigThe wired network’s VLAN, or the port’s own
Supervised Mac with Apple silicon or the T2 chipEAP-TLS with a hardware-bound certificate, on its first active Ethernet portThe wired network’s VLAN, or the port’s own
Headless device with a certificateEAP-TLS with a key it generated, signed by TrustaigeThe restricted VLAN, or the device’s own VLAN
Headless device admitted by MACIts MAC address, at the switch port it was first admitted onThe restricted VLAN, or the device’s own VLAN
Anything elseNothing Trustaige recognisesRefused

A device out of compliance can be held in the Remediation VLAN for 15 minutes at a time, so it can update. See Headless devices for registering printers, phones and cameras.

Before you start

You needWhy
Switches that pass EAP through to RADIUS and fall back to MABTrustaige decides EAP-TLS itself; a switch that ends EAP on its own can’t carry it.
Each switch reachable from Trustaige, or a site connector on the office networkSwitches send RADIUS to Trustaige from a fixed public address, or to a connector on the office network.
The VLANs you will use, already on the switchesTrustaige names a VLAN; the switch must already carry it.

In Trustaige

  1. Add the wired network. Open Devices › Networks, choose Add network, and at Kind choose Wired. At Server, choose Trustaige RADIUS. Set the VLAN where managed devices land (empty leaves it to the switch port), and optionally a Remediation VLAN.

  2. Set the restricted VLAN. On the wired network’s settings, enter the Restricted VLAN for headless devices, for example <your-restricted-vlan>. Until it is set, no device is admitted by its MAC address.

  3. Connect a site. Open Devices › Networks › Sites and connect a site for the office. At How it connects, choose Site connector (the recommended route) or Access points send RADIUS, for switches with a fixed public address.

  4. Register each switch. At Access points, choose Access points, then the make: Cisco, Meraki, Aruba, UniFi, MikroTik, or Other for Juniper, TP-Link Omada, Ruijie and H3C. Name it and enter its address: the Office network address behind a connector, otherwise its Public address.

  5. Copy the values. The Server (or Primary server and Secondary server), the Port, and the shared secret, shown once. Each guide enters them as <your-radius-server> and <your-radius-secret>.

  6. Serve the wired network at the site. A site serves one wired network, because a switch names no network. Leave Live test open while you set up the switch.

What every switch needs

SettingWhat Trustaige expects
RADIUS serverThe hub’s servers and Port, accounting on the port after it, the shared secret.
Message-AuthenticatorOn every Access-Request, MAB included. Trustaige drops a request without it, unanswered (Blast-RADIUS, CVE-2024-3596).
802.1XEAP passed through to RADIUS, not ended on the switch.
MABPAP or CHAP with the MAC as the password, or the MAC as the user name alone. User-Name must be the same MAC as Calling-Station-Id, in any format. EAP-MD5 and one shared MAB password for every device are refused.
Host modeSeveral devices per port, each decided on its own, for a PC behind an IP phone.
Dynamic VLANThe RFC 3580 attributes: Tunnel-Type 13, Tunnel-Medium-Type 6, Tunnel-Private-Group-ID.
Re-authenticationSession-Timeout with Termination-Action set to RADIUS-Request: the switch asks again before the timeout.
AccountingStart, interim and stop, so the hub shows sessions and can disconnect them.
DisconnectsRFC 5176 Disconnect-Requests from Trustaige, on the port the hub shows.

Every Access-Accept carries a Session-Timeout, four hours for a device admitted by MAC, and Trustaige’s Class. With a VLAN set, it also carries the three tunnel attributes; without one, the device stays in the port’s VLAN.

Guides for your switch

SwitchMAB as Trustaige receives itFalls back to MABDisconnect portMake in the hub
Cisco Catalyst (IOS XE)PAPAbout 90 seconds by default1700Cisco
Cisco Meraki MSPAP8 seconds (Hybrid)1700Meraki
Aruba CX (AOS-CX)CHAPSet by precedence3799Aruba
ArubaOS-SwitchCHAPSet by order3799Aruba
Juniper EXPAP, once setAfter three unanswered EAPOL requests3799Other
UniFiNot documentedNot documentedNot documentedUniFi
TP-Link OmadaNot documented802.1X, then MAB every 30 secondsNot documentedOther
MikroTik (RouterOS 7)The MAC as user name alone3 × retrans-timeout (90 seconds)3799, once setMikroTik
Ruijie (RGOS)PAPAfter 802.1X times out3799Other
H3C (Comware 7)PAPAfter auth-delay3799Other

The disconnect port follows the make you choose in the hub. Where a switch listens elsewhere, choose Disconnects on UDP … beside it on the site’s page and set its Disconnect port.

Disconnects

When a device loses its standing, or an admin chooses Disconnect now, Trustaige sends the switch a Disconnect-Request naming the session by its Acct-Session-Id, Calling-Station-Id, User-Name and NAS-Identifier, with an Event-Timestamp for the switch’s replay protection. The switch must:

  • send accounting, since Trustaige can end only a session it saw in accounting;
  • accept Disconnect-Requests from the addresses the hub lists when you choose Disconnects on UDP …, with the same shared secret.

A switch that can’t take disconnects still asks again within the Session-Timeout, and a device that lost its standing is refused then.

Check it works

  1. On the site’s page, keep Recent joins in view, or open Devices › Networks › Activity.
  2. Plug a managed PC or Mac into a configured port. The join appears with the device and the reason, and the activity names the switch port it joined on.
  3. Plug in a headless device that isn’t registered. It is refused, and appears under Seen but not registered on Headless devices, to register.

Troubleshooting

The switch marks Trustaige as dead, and the hub shows nothing

Trustaige drops a request it can’t authenticate without answering. Check the shared secret, that the switch is registered at the address its requests come from, and that outbound UDP to the hub’s Port is allowed.

Activity says “The access point does not sign its requests. Turn on Message-Authenticator in its RADIUS settings.”

The switch sent an Access-Request without Message-Authenticator. Every guide turns it on; MAB requests are the usual cause, since EAP requests always carry it. Update the switch to a release that adds it to every request.

Activity says “The device asked for a sign-in method other than a certificate.”

On a MAB request, the switch sent EAP-MD5, or a password that isn’t the MAC. Set MAB to PAP or CHAP, and remove any shared MAB password.

Activity says “An access point that is not registered sent a request.”

The request came from an address that isn’t registered at the site. Register the address the switch sends from; behind a connector, Live test lists the addresses the connector heard.

The device is accepted but lands in the wrong VLAN

The switch didn’t apply the tunnel attributes, or doesn’t carry that VLAN. Check the switch’s dynamic VLAN setting in its guide, and that the VLAN exists on the switch.