NAS-Port and IP pool
listuser at peternixon.net
Mon Oct 29 14:51:41 CET 2007
On Tue 16 Oct 2007, Dánial Olsen wrote:
> I'm hoping someone can assist me with my problem with assigning ip
> addresses with freeradius 1.1.6 on OpenBSD 4.1.
> I'm using freeradius to with an Ericsson CGSN and now I'm trying to
> assign ip addresses to my Mobile Stations.
> The problem is that the CGSN makes requests to freeradius always using
> the same IP and always port 1, which means only one IP is assigned.
> After a lot of searching I've come to the conclusion that freeradius
> uses NAS-port and NAS-ip to uniquely identify the clients.
> Is my conclusion correct?
> How can I assign IP addresses to my MS using another unique id, e.g.
> IMSI or MSISDN - which I can include in the request?
Take a look at http://wiki.freeradius.org/Rlm_sqlippool
We developed it specifically for use with Ericsson and Cisco GGSNs and if you
read the comments I wrote in the config file you will see exactly how to use
the Calling-Station-Id (aka MSISDN/GSM Number) as the unique id...
You should also be able to figure out how to virtualise the whole thing to
allow overlapping pools in different APNs ;-)
More information about the Freeradius-Users