Framed-IP-Address to Proxy acct

Alan DeKok aland at deployingradius.com
Fri Feb 5 19:43:47 CET 2016


On Feb 4, 2016, at 6:55 PM, Elton Machado <elton.machado at tenforce.com> wrote:
> How can I sent the Framed-IP-Address  to a acct remote proxy?

  Add the attribute to the packet in the pre-proxy section.

> My authentication is being done in a Remote Radius, and I need to send back
> the accounting from Freeradius to another radius accounting server or at
> least duplicate accounting to there (Sonicwall)
> 
> Since my Dell switch are not able to send the attribute 8 but only the mac
> address.

  OK.  That's fine.

> 
> Freeradius is responsible for the DHCP and I can see the Framed-IP-Address
> being there and being set to the DHCP Client IP, but on my proxy acct
> server I don't see on the AVP the attr 8.

  The IP address is stored in an SQL database, along with the MAC address of the machine.  So... when the server receives an Accounting-Request packet containing a MAC address, look up the MAC in the SQL database to get the IP address.

pre-proxy {
	...

	update request {
		Framed-IP-Address := "%{sql:SELECT ...}"

	}
	...
}

  You'll have to write the SQL select statement.  Test it by hand first, and then add it to the server configuration.

  Alan DeKok.




More information about the Freeradius-Users mailing list