IP address allocation based on Calling-station-id

Matias E. Fabiano mfabiano at gmail.com
Thu Dec 1 17:37:41 CET 2005


Hi all,

I have an application running on a server which stores data sent from
GPRS phones. In order to do it without traversing the internet, the
telco created me an APN which my GPRS phones will use to connect to my
server. But my server's application also needs to connect back to the
phones, for example, to reprogramm some parameters, and I can't do it
because the phone's IPs are changing all the time. One way to solve it
is assign IP address statically. So, they told me that what I can do
is set up a table on my Radius server with all my phone numbers on one
column and the desired IP address on the other, so everytime the user
logs in and requests an IP address, i'll assign the same.
I've runned some tests and the phone's number comes on the
calling-station-id attribute, inside the authentication request.
Is possible on freeradius to assign IP address based on the
calling-station-id attribute? How can I accomplish this?

Best regards and thanks!!!




More information about the Freeradius-Users mailing list