NAS-Port and IP pool

Alan DeKok aland at
Tue Oct 16 11:21:51 CEST 2007

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.

More information about the Freeradius-Users mailing list