RADIUS attribute 61 · type integer
NAS-Port-Type
NAS-Port-Type (attribute 61) reports how the device connected, Ethernet (15) or Wireless-802.11 (19), which is how a single RADIUS policy tells wired ports from Wi-Fi.
Also searched as: NAS-Port-Type Ethernet, NAS-Port-Type Wireless-802.11. Defined in RFC 2865.
What it means
NAS-Port-Type distinguishes the physical media behind a request. When one NPS or FreeRADIUS server backs both the wired switches and the wireless controllers, this attribute is what your connection-request and network policies key on to apply different rules (different VLANs, different EAP requirements) to wired versus wireless.
How it's used
Read it in the request as a policy condition. Ethernet = 15 for switch ports, Wireless-802.11 = 19 for Wi-Fi, Virtual = 5 for VPN concentrators.
Values
15: Ethernet, a wired switch port.19: Wireless-802.11 (Wi-Fi).5: Virtual, VPN / tunnelled access.
Common gotchas
- Some access points send Wireless-Other or a vendor value instead of 19; test with your real hardware before writing a strict equals condition.