Код:
dhcp 03-27/09:25:20 DEBUG [dhcpLstnr-p-10-t-2] InetDhcpDeviceMap - Found device by giaddr id=2
dhcp 03-27/09:25:20 DEBUG [dhcpLstnr-p-10-t-2] InetDhcpDeviceMap - Found subDevice by identifier id=6
dhcp 03-27/09:25:20 INFO [dhcpLstnr-p-10-t-2] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Discover{1}
htype: 1, hlen: 6, hops: 2
xid: 567354839, secs: 1024, flags: 0
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 10.128.0.1
Client MAC: {044B80808003}
{116}={01}
{61}={01044B80808003}
Host name{12}={SOFT}
{60}={4D53465420352E30}
Parameter request list{55}={1, 15, 3, 6, 44, 46, 47, 31, 33, -7, 43}
{43}={DC00}
Agent information{82}=
sub{1}={3230}
sub{2}={3230392E3832302E3030312E303432}
dhcp 03-27/09:25:20 DEBUG [dhcpLstnr-p-10-t-2] InetAbstractDhcpProcessor - OP_BOOT_REQUEST
dhcp 03-27/09:25:20 DEBUG [dhcpLstnr-p-10-t-2] InetDhcpHelperProcessor - request.giaddr = 10.128.0.1
dhcp 03-27/09:25:20 ERROR [dhcpLstnr-p-10-t-2] InetDhcpHelperProcessor - Not found params for request: 6:48:044B80808003 (pattern: $remoteId:$circuitId:$mac, servSearchMode: 1, deviceId: 6, agentDeviceId: 6, mac: 044B80808003)
dhcp 03-27/09:25:20 INFO [dhcpLstnr-p-10-t-2] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP NAK{6}
htype: 1, hlen: 6, hops: 2
xid: 567354839, secs: 0, flags: 0
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 10.128.0.1
Client MAC: {044B80808003}
Agent information{82}=
sub{1}={3230}
sub{2}={3230392E3832302E3030312E303432}
dhcp 03-27/09:25:20 DEBUG [dhcpLstnr-p-10-t-2] ProcessorRequest - Sending to /172.16.100.1:67
radius 03-27/09:25:20 INFO [rdsLstnr-p-8-t-2] RadiusListenerWorker - REQUEST:
Packet type: Access-Request
Identifier: 33
Authenticator: {47 39 A4 00 4C 23 89 4D 7D AD 8A 6E 26 7E 55 F5}
Attributes:
User-Name=209.820.001.042:20:044b.8080.8003
NAS-Identifier=Router
NAS-Port-Id=0/0/0/25
User-Password=123
NAS-IP-Address=192.168.144.2
NAS-Port=1213
Service-Type=5
Acct-Session-Id=C0A8010272000000000004BD
NAS-Port-Type=33
cisco-avpair=circuit-id-tag=20
cisco-avpair=remote-id-tag=209.820.001.042
cisco-NAS-Port=0/0/0/25
radius 03-27/09:25:20 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - REQUEST_AFTER_PREPROCESS:
Packet type: Access-Request
Identifier: 33
Authenticator: {47 39 A4 00 4C 23 89 4D 7D AD 8A 6E 26 7E 55 F5}
Attributes:
User-Name=209.820.001.042:20
NAS-Identifier=Router
NAS-Port-Id=0/0/0/25
User-Password=123
NAS-IP-Address=192.168.144.2
NAS-Port=1213
Service-Type=5
Calling-Station-Id=044b.8080.8003
Acct-Session-Id=C0A8010272000000000004BD
NAS-Port-Type=33
cisco-avpair=circuit-id-tag=20
cisco-avpair=remote-id-tag=209.820.001.042
cisco-NAS-Port=0/0/0/25
Common options: {agentRemoteId=209.820.001.042, agentCircuitId=20}
radius 03-27/09:25:20 DEBUG [rdsLstnr-p-8-t-2] RadiusProcessor - Create new radius session.
radius 03-27/09:25:20 DEBUG [rdsLstnr-p-8-t-2] InetNas - agentRemoteId=209.820.001.042
radius 03-27/09:25:20 INFO [rdsLstnr-p-8-t-2] InetNas - Found agentDevice:6
radius 03-27/09:25:20 DEBUG [rdsLstnr-p-8-t-2] InetNas - findServ agentDeviceRuntime=ru.bitel.bgbilling.modules.inet.runtime.device.InetDeviceRuntime@7b7d8769
radius 03-27/09:25:20 INFO [rdsLstnr-p-8-t-2] InetNas - Search serv on deviceId=6; interfaceId=0
radius 03-27/09:25:20 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - [username=209.820.001.042:20] InetServ not found.
radius 03-27/09:25:20 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - Return code=1
radius 03-27/09:25:20 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - RESPONSE_BEFORE_POSTPROCESS:
Packet type: Access-Reject
Identifier: 33
Authenticator: {}
Attributes:
Reply-Message=1
Process time auth: 2
radius 03-27/09:25:20 DEBUG [rdsLstnr-p-8-t-2] ProcessorRequest - Sending to /192.168.144.2:1645
radius 03-27/09:25:20 INFO [rdsLstnr-p-8-t-2] InetRadiusListenerWorker - RESPONSE:
Packet type: Access-Reject
Identifier: 33
Authenticator: {6A 6B 42 B9 C0 7F 63 EC 03 7E 6D 3C 45 25 E2 42}
Attributes:
Reply-Message=1
Process time auth: 5




Конфиг устройства CiscoISG содержит
Код:
dhcp.ipCategories=4
# Удаление заголовка, при необходимости, 0 - не удалять, 2 - 2 удалить байта (тип+длина) из значения DHCP-опции
dhcp.option82.removeHeader=0
radius.agent.option.removeHeader=0
# Код субопции 82, содержащей идентификатор коммутатора клиента, позиция и длина последовательности идентификатора
dhcp.option82.agentRemoteId.code=2
dhcp.option82.agentRemoteId.position=0
dhcp.option82.agentRemoteId.length=15
#хост для отправки PoD и CoA запросов (по умолчанию - хост, заданный в параметрах устройства Хост/порт)
#radius.host=<хост устройства>
#порт для отправки PoD и CoA запросов (по умолчанию - порт, заданный в параметрах устройства Хост/порт)
#radius.port=<порт устройства>
#идентификатор - Nas-Identifier (по умолчанию - значение из поля Идентификатор параметров устройства)
#radius.identifier=<идентификатор устройства>
#используемый secret для общения по radius-протоколу (по умолчанию - значение из поля Community/secret параметров устройства)
#radius.secret=<community/sercret устройства>
radius.servSearchMode=1
dhcp.servSearchMode=1