NAS-Port and IP pool
Hi, 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? /Danial
Dánial Olsen wrote:
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.
In 1.1.x, yes.
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?
Use CVS head. The rlm_ippool module now has a configurable key. This lets you assign IP's based on anything you want. Alan DeKok.
On 16-10-2007 at 10:21, Alan DeKok <aland@deployingradius.com> wrote: Dánial Olsen wrote: 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.
In 1.1.x, yes.
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?
Use CVS head. The rlm_ippool module now has a configurable key. This lets you assign IP's based on anything you want.
Thank you very much for your fast response. That explains the key parameter I saw in the wiki that didn't work :) I'll have a go with the CVS version. /Danial
On Tue 16 Oct 2007, Dánial Olsen wrote:
Hi,
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?
Hi Danial 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 ;-) Cheers -- Peter Nixon http://peternixon.net/
participants (3)
-
Alan DeKok -
Dánial Olsen -
Peter Nixon