Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Для проверки авторизации через 802.1x в данном примере будет использован компьютер с ОС Windows 11 подключеный к коммутатору через IP телефон Cisco

  • MAC адрес IP телефона: E8:04:62:EB:9A:09
  • MAC адрес компьютера: AC:16:2D:86:9A:50

На компьютере в свойствах сетевого адаптера должна быть включена проверка подлинности 802.1X и запущена служба "Проводная автонастройка" (подробнее с настройкой ОС Windows ознакомится по ссылке)

В результате компьютер авторизуется по протоколу 802.1X, а телефон посредством MAB. В разделе Сессии > Сессии RADIUS появляется сессии для каждого из устройств:

RADIUS cессия компьютера: 

Image Added


Expand
titleЛог подключения

+00.000 ms:

create - 24.07.2026 11:49:00.221 at node: wnam2d2

+00.000 ms:

fillFromRadiusAttributes - identity: 'host/win11h-1.lab.wnam.ru', portType: EthernetEAP

+00.000 ms:

fillFromRadiusAttributes - mac: 'AC:16:2D:86:9A:50'

+00.000 ms:

fillFromRadiusAttributes - session id: '1-38-ac-16-2d-86-9a-50'

+00.000 ms:

radius - received 10 attributes in the request:
    Service-Type = Framed
    User-Name = host/win11h-1.lab.wnam.ru
    Calling-Station-Id = ac-16-2d-86-9a-50
    NAS-IP-Address = 172.16.133.10
    NAS-Identifier = FutureNAS
    EAP-Message = [B@74da1fc (id=227, code=2, type=1, length=30)
    Message-Authenticator = 0x84af767a99b1a5c9dfa1146d02a81b09
    Acct-Session-Id = 1-38-ac-16-2d-86-9a-50
    NAS-Port-Type = Ethernet
    NAS-Port = 1

+00.001 ms:

fillFromRadiusAttributes - nas: 'Eltex MES 2424', ip: 172.16.133.10

+00.001 ms:

profiles - set 6 profiles, type: wired-802.1x

+00.001 ms:

create - a1profiles candidates: 6

+00.005 ms:

eap-radius - EAP request id=226, type=1, len=30, state=null

+00.005 ms:

newRadiusFrame - Frame type: EAP_IDENTITY, Frame ID: 227, RADIUS EAP State: -, at: 24.07.2026 11:49:00.226

+00.005 ms:

error - newRadiusFrame extra EAP_IDENTITY frame for that identity='host/win11h-1.lab.wnam.ru', mac=AC:16:2D:86:9A:50

+00.005 ms:

eap-radius - EAP Identity req, id=227, value='host/win11h-1.lab.wnam.ru'

+00.005 ms:

radius - send RADIUS CHALLENGE with 3 attributes

+00.022 ms:

eap-radius - EAP request id=227, type=3, len=6, state=0x2e6154b91fdf41c25148a14ecb4dd937

+00.022 ms:

newRadiusFrame - Frame type: EAP_NAK, Frame ID: 228, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:00.243

+00.022 ms:

eap-radius - EAP Legacy NAK, id=228, type=3, desired type=25

+00.023 ms:

radius - send RADIUS CHALLENGE with 3 attributes

+00.045 ms:

eap-radius - EAP request id=228, type=25, len=267, state=0x2e6154b91fdf41c25148a14ecb4dd937

+00.045 ms:

newRadiusFrame - Frame type: EAP_PEAP, Frame ID: 229, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:00.266

+00.045 ms:

eap-radius - PEAP message length=257, length_included=true, fragments=false, tls_start=false

+00.049 ms:

radius - send RADIUS CHALLENGE with 6 attributes

+00.403 ms:

eap-radius - EAP request id=229, type=25, len=6, state=0x2e6154b91fdf41c25148a14ecb4dd937

+00.403 ms:

newRadiusFrame - Frame type: EAP_PEAP, Frame ID: 230, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:00.624

+00.403 ms:

eap-radius - PEAP message length=0, length_included=false, fragments=false, tls_start=false

+00.404 ms:

radius - send RADIUS CHALLENGE with 6 attributes

+01.086 ms:

eap-radius - EAP request id=230, type=25, len=6, state=0x2e6154b91fdf41c25148a14ecb4dd937

+01.086 ms:

newRadiusFrame - Frame type: EAP_PEAP, Frame ID: 231, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:01.307

+01.086 ms:

eap-radius - PEAP message length=0, length_included=false, fragments=false, tls_start=false

+01.087 ms:

radius - send RADIUS CHALLENGE with 6 attributes

+01.445 ms:

eap-radius - EAP request id=231, type=25, len=90, state=0x2e6154b91fdf41c25148a14ecb4dd937

+01.446 ms:

newRadiusFrame - Frame type: EAP_PEAP, Frame ID: 232, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:01.666

+01.446 ms:

eap-radius - PEAP message length=80, length_included=true, fragments=false, tls_start=false

+01.446 ms:

tls - TLS protocol version: TLS 1.3

+01.446 ms:

eap-radius - EAP handshake is complete; send start inner EAP

+01.447 ms:

radius - send RADIUS CHALLENGE with 3 attributes

+01.465 ms:

eap-radius - EAP request id=232, type=25, len=54, state=0x2e6154b91fdf41c25148a14ecb4dd937

+01.465 ms:

newRadiusFrame - Frame type: EAP_PEAP, Frame ID: 233, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:01.686

+01.465 ms:

eap-radius - PEAP message length=0, length_included=false, fragments=false, tls_start=false

+01.465 ms:

eap-radius - PEAP inner identity='host/win11h-1.lab.wnam.ru'

+01.465 ms:

eap-radius - PEAP challenge: 10244ba24cfead2482c1d8aca5075d97

+01.465 ms:

eap-radius - PEAP identity: host/win11h-1.lab.wnam.ru

+01.465 ms:

eap-radius - PEAP inner output challenge message='1a01e900221010244ba24cfead2482c1d8aca5075d97576e616d526164697573454150'

+01.466 ms:

radius - send RADIUS CHALLENGE with 3 attributes

+01.489 ms:

eap-radius - EAP request id=233, type=25, len=108, state=0x2e6154b91fdf41c25148a14ecb4dd937

+01.489 ms:

newRadiusFrame - Frame type: EAP_PEAP, Frame ID: 234, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:01.710

+01.489 ms:

eap-radius - PEAP message length=0, length_included=false, fragments=false, tls_start=false

+01.489 ms:

authentication - MSCHAPv2 username: host/win11h-1.lab.wnam.ru

+01.490 ms:

eap-radius - PEAP inner v1challenge 8b59ad8156675531

+01.490 ms:

authentication - request ntlm_url: lab.wnam.ru

+01.490 ms:

eap-radius - ntlm_auth user win11h-1$, domain lab.wnam.ru, mschapv2 password check successful

+01.490 ms:

authentication - ntlm_auth success, user: win11h-1$

+01.492 ms:

profile match - rule Directory group: [Компьютеры домена] CONTAINS_ANY [Администраторы домена] = FALSE

+01.492 ms:

find profile - rule is not match: Directory group CONTAINS_ANY [Администраторы домена]

+01.493 ms:

profile match - rule Directory: EQUALS lab.wnam.ru = FALSE

+01.493 ms:

profile match - rule Directory group CONTAINS_ANY [Администраторы домена, Компьютеры домена, Пользователи домена], result=TRUE

+01.493 ms:

profile match - rule Directory EQUALS lab.wnam.ru, result=TRUE

+01.495 ms:

radius - send RADIUS CHALLENGE with 3 attributes

+01.834 ms:

eap-radius - EAP request id=234, type=25, len=30, state=0x2e6154b91fdf41c25148a14ecb4dd937

+01.834 ms:

newRadiusFrame - Frame type: EAP_PEAP, Frame ID: 235, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:02.055

+01.834 ms:

eap-radius - PEAP message length=0, length_included=false, fragments=false, tls_start=false

+01.835 ms:

radius - send RADIUS CHALLENGE with 3 attributes

+01.852 ms:

eap-radius - EAP request id=235, type=25, len=39, state=0x2e6154b91fdf41c25148a14ecb4dd937

+01.852 ms:

newRadiusFrame - Frame type: EAP_PEAP, Frame ID: 236, RADIUS EAP State: 0x2e6154b91fdf41c25148a14ecb4dd937, at: 24.07.2026 11:49:02.073

+01.852 ms:

eap-radius - PEAP message length=0, length_included=false, fragments=false, tls_start=false

+01.852 ms:

profile match - (Directory EQUALS lab.wnam.ru) AND (NAS CONTAINED_IN [Yadro C3030]) = FALSE

+01.852 ms:

find profile - remove profile 'Yadro_dot1x_AD', (Directory EQUALS lab.wnam.ru) AND (NAS CONTAINED_IN [Yadro C3030]), result = FALSE

+01.853 ms:

profile match - rule Auth method EQUALS EAP_PEAP, result=TRUE

+01.853 ms:

profile match - rule NAS: 6a5875e9afbd884fecc73ad6 CONTAINED_IN [6a15435697b2424aee7296c4] = FALSE

+01.853 ms:

profile match - (Auth method EQUALS EAP_PEAP) AND (NAS CONTAINED_IN [Yadro C3030]) = FALSE

+01.853 ms:

find profile - remove profile 'Yadro_dot1x_PEAP', (Auth method EQUALS EAP_PEAP) AND (NAS CONTAINED_IN [Yadro C3030]), result = FALSE

+01.853 ms:

profile match - rule NAS CONTAINED_IN [Eltex MES 2424], result=TRUE

+01.853 ms:

profile match - (Directory EQUALS lab.wnam.ru) AND (NAS CONTAINED_IN [Eltex MES 2424]) = TRUE

+01.853 ms:

find profile - select profile 'EltexMES2424_dot1x_AD'

+01.853 ms:

authorization action - VlanActionImpl VLAN_ID = 409

+01.853 ms:

authorization - add attribute: VLAN ID='409'

+01.854 ms:

authentication - final result: Allow with policy 'EltexMES2424_dot1x_AD' and authorization 'Eltex2424-authz'

+01.854 ms:

radius - send RADIUS OK with 8 attributes

+01.855 ms:

radius -     attribute: MS-MPPE-Recv-Key: 0x...

+01.855 ms:

radius -     attribute: MS-MPPE-Send-Key: 0x...

+01.855 ms:

radius -     attribute: EAP-Message: 0x...

+01.855 ms:

radius -     attribute: User-Name: host/win11h-1.lab.wnam.ru

+01.855 ms:

radius -     attribute: Tunnel-Type: VLAN

+01.855 ms:

radius -     attribute: Tunnel-Medium-Type: IEEE-802

+01.855 ms:

radius -     attribute: Tunnel-Private-Group-ID: 409

+01.855 ms:

radius -     attribute: Message-Authenticator = 0xf2cd25f17ce6ea4b5d8f0ab8618ae0f3

+01.855 ms:

authentication - authentication time: 1855ms


RADIUS cессия IP телефона: 

Image Added


Expand
titleЛог подключения

+0 ms:

fillFromRadiusAttributes

password: present in request

+0 ms:fillFromRadiusAttributes

identity: 'e80462eb9a09', portType: EthernetMAB

+0 ms:fillFromRadiusAttributes

mac: 'E8:04:62:EB:9A:09'

+0 ms:fillFromRadiusAttributes

session id: '1-34-e8-4-62-eb-9a-9'

+1 ms:radius

received 9 attributes in the request:
    Service-Type = Call-Check
    User-Name = e80462eb9a09
    Calling-Station-Id = e8-04-62-eb-9a-09
    User-Password = ********
    NAS-IP-Address = 172.16.133.10
    NAS-Identifier = FutureNAS
    Acct-Session-Id = 1-34-e8-4-62-eb-9a-9
    NAS-Port-Type = Ethernet
    NAS-Port = 1

+0 ms:fillFromRadiusAttributes

nas: 'Eltex MES 2424', ip: 172.16.133.10

+9 ms:authorization action

VlanActionImpl VLAN_ID = 128

+0 ms:authentication

final result: Allow with policy 'Eltex MES2424 MAB' and authorization 'Eltex_2424_MAB_authz'

+0 ms:radius

    attribute: Tunnel-Type: VLAN

+1 ms:radius

    attribute: Tunnel-Medium-Type: IEEE-802

+0 ms:radius

    attribute: Tunnel-Private-Group-ID: 128

+0 ms:radius

    attribute: Message-Authenticator = 0x0110371c688e809cd192db0c21864ac6

+0 ms:authentication

authentication time: 11ms

+19 ms:acct-start