On Thu, 17 Jun 2004, Pate Mark-marpate1 wrote: > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Alexander Serkin > > Sent: 17 June 2004 09:01 > > To: [EMAIL PROTECTED] > > Subject: Re: rlm_ippool and NAS-Port missing in access-request > > > > > > There is a command. > > Something like "radius-server attribute nas-port", but it > > does not work for now. The IOS Release is the last for this > > kind of hardware. And i'll definitely open a case with Cisco > > regarding this problem. But this is not a subject for the > > freeradius-users. > > > > I wonder if i could fix the problem using some friendly > > freeradius features ;-) > > > Hi Alexander, > > Presumably you'll be moving to the 7609? > > My understanding is that FreeRadius uses the NAS-Port-ID as an increment to a base > IP address to provide the client IP address. The Cisco GGSN has a constant > NAS-Port-ID, so it would make sense that when you raise this with Cisco, they > confirm that the value will usable by FreeRadius (i.e. not constant). > > Out of interest, it looks like Cisco CAR can cope with a constant IP address as it > uses the accounting ID against used IP addresses. On accounting stop, the IP is > released back to the pool. Is this possible with freeradius? > > The alternative, I guess, is to use DHCP on the PDSN and have the IP allocated > externally to the radius request :( > > Sorry, I know no more....
rlm_ippool needs the nas-port-id to work. In the future the search key will be configurable. For now you could configure your NAS to also send the accounting-session-id in the access-request: radius-server attribute 44 include-in-access-req http://www.cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a0080087b1d.html and use attr_rewrite to copy the accounting-session-id attribute to a nas-port-id attribute in the access request. > > Thanks, > Mark > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html