Hi Ryan,
Just working on this now. So have set the authentication order to MAC, 802.1x and Web. Additionally configured a default role that contains the port to a specific VLAN - Guest VLAN in this case. Only currently testing this on one port, 1:4.
Have disabled the NAC and testing if the end-system can still connect.
Looking at the logs the device first tries MAC auth then 802.1x but fails both, and then cant connect to the network.
Here is the log:
10/08/2018 10:30:35.07 Slot-1: Authentication failed for Network Login 802.1x user host/CAN3079.domain.org.uk Mac B8:6B:23:82:06:85 port 1:4
10/08/2018 10:30:35.06 Slot-1: Authentication failed for Network Login MAC user B86B23820685 Mac B8:6B:23:82:06:85 port 1:4
The configuration for Netlogin and Policy is shown below:
enable netlogin dot1x mac
configure netlogin authentication protocol-order mac dot1x web-based
enable netlogin ports 1:4 dot1x
enable netlogin ports 1:1-48,2:1-48,3:1-48 mac
configure netlogin add mac-list ff:ff:ff:ff:ff:ff 48 encrypted "#$blVDSCrXyf9R/WdJIgkGS7+UVGf8Fg=="
configure policy profile 5 name "Guest Access" pvid-status "enable" pvid 4095 cos-status "enable" cos
configure policy rule admin-profile port 1:4 mask 16 port-string 1:4 admin-pid 5
This is the output from show netlogin:
Floor_18-EDGE-STK-02.1 # show netlogin port 1:4
Port : 1:4
Authentication : 802.1x, mac-based
Port State : Enabled
Authentication Mode : Required (Policy Enabled only)
Max Supported Users : 1024 (Policy Enabled only)
Allowed Users : 128 (Policy Enabled only)
Current Users : 0 (Policy Enabled only)
------------------------------------------------
802.1x Port Configuration
------------------------------------------------
Quiet Period : 60
Supplicant Response Timeout : 30
Re-authentication : On
Re-authentication period : 3600
Max Re-authentications : 3
RADIUS server timeout : 30
------------------------------------------------
MAC Mode Port Configuration
------------------------------------------------
Re-authentication period : 3600
Re-authentication : Off
Authentication Delay : 0 seconds (Default)
------------------------------------------------
Netlogin Clients
------------------------------------------------
MAC IP address Authenticated Type ReAuth-Timer User
b8:6b:23:82:06:85 0.0.0.0 No 802.1x 0
-----------------------------------------------
(B) - Client entry Blackholed in FDB
So in this case, even though there is a default policy the client will not connect. What is odd is the type says 802.1x. So I decided to disable the supplicant on the client, clear the netlogin season for port 1:4 and reconnect.
When the device connects the logs now just show is trying MAC auth, no entry for 802.1x:
10/08/2018 10:48:39.15 Slot-1: Authentication failed for Network Login MAC user B86B23820685 Mac B8:6B:23:82:06:85 port 1:4
10/08/2018 10:48:39.15 Slot-1: Attempted the configured number of retries (3) to each of the 1 authentication servers without a server response for B8-6B-23-82-06-85(username 'B86B23820685') on port 1:4.
When you look as the session information it still says the type is 802.1x, either way I can't get the port to fallback to the default role:
------------------------------------------------
Netlogin Clients
------------------------------------------------
MAC IP address Authenticated Type ReAuth-Timer User
b8:6b:23:82:06:85 0.0.0.0 No 802.1x 0
-----------------------------------------------
Just wondering if you can see anything wrong, maybe share the configuration in the example you have provided.
Many thanks in advance