(RADIATOR) Allocator DHCP not sending correct dhcpdrelease

Arwin Knöps arwin at infopact.nl
Thu Apr 25 09:31:30 CDT 2002


Hello,

I'm having some problems with AddressAllocator DHCP.
I've configured Radiator to allocate addresses from a pool on a dhcpserver
(ISC v3).
This works fine except for DHCPRELEASE situations.
In the log I see that Radiator is sending dhcpdiscover and dhcprequest for
xid 3.
But when sending the dhcprelease for this client, I see that Radiator sends
it for xid 4 ...
I also see it on the dhcpserver but the ip doesn't get released because the
chaddr is different now
(xid = 4 now and not 3) :(
Is this a bug or am I missing something here?

T.i.a.
	Arwin.


<AddressAllocator DHCP>
        Identifier dhcpserver_1
        Host xxx.xxx.xxx.xxx
        LocalAddress yyy.yyy.yyy.yyy
        DHCPClientIdentifier %{Reply:PoolHint}_%{NAS-Port}_%{User-Name}
        SubnetSelectionOption 211
</AddressAllocator DHCP>

<Handler User-Name=aktest>
        AcctLogFileName /usr/local/etc/Radius/detail/Test/%Y%m%d.detail
        AuthLog logintest
        AuthByPolicy ContinueWhileAccept
        <AuthBy FILE>
                Filename /usr/local/etc/Radius/users/users.test
                AddToReply PoolHint=004
        </AuthBy>
        <AuthBy DYNADDRESS>
                AddressAllocator dhcpserver_1
                StripFromReply PoolHint
        </AuthBy>
</Handler>

Thu Apr 25 15:55:15 2002: DEBUG: Handling request with Handler
'User-Name=aktest'
Thu Apr 25 15:55:15 2002: DEBUG: SDB_default Deleting session for aktest,
Thu Apr 25 15:55:15 2002: DEBUG: Handling with Radius::AuthFILE:
Thu Apr 25 15:55:15 2002: DEBUG: Radius::AuthFILE looks for match with
aktest
Thu Apr 25 15:55:15 2002: DEBUG: Radius::AuthFILE ACCEPT:
Thu Apr 25 15:55:15 2002: DEBUG: Handling with Radius::AuthDYNADDRESS
Thu Apr 25 15:55:15 2002: DEBUG: Sending DHCPDISCOVER to xxx.xxx.xxx.xxx:67
for xid 3
Thu Apr 25 15:55:15 2002: DEBUG: Received reply in AddressAllocatorDHCP for
req 3 from xxx.xxx.xxx.xxx:67
Thu Apr 25 15:55:15 2002: DEBUG: Sending DHCPREQUEST to xxx.xxx.xxx.xxx:67
for xid 3
Thu Apr 25 15:55:16 2002: DEBUG: Received reply in AddressAllocatorDHCP for
req 3 from xxx.xxx.xxx.xxx:67
Thu Apr 25 15:55:16 2002: DEBUG: Access accepted for aktest

Thu Apr 25 15:55:34 2002: DEBUG: Handling with Radius::AuthDYNADDRESS
Thu Apr 25 15:55:34 2002: DEBUG: Sending DHCPRELEASE to xxx.xxx.xxx.xxx:67
for xid 4
Thu Apr 25 15:55:34 2002: DEBUG: Accounting accepted



===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list