IPPOOL only give me two ip´s. HELP

Paloma Munoz paloma.munoz at xtratelecom.es
Tue Oct 17 18:43:33 CEST 2006


Hello to all!

I have a problem about the ippool. My pool only give me two ip´s.(More than
one user have the same ip)
I use freeradius version 1.0.1 in Red Hat EL4 with mysql

I see in other messagess this problem and someone says that the problem
comes to NAS-port. My Radius always give me the same port.
I change the format of the port in the Cisco: 
	Data format(bits): slot(4), module(1), port(3), vpi(8), vci(16)
and now the port change from 0 to 538837024 (but always the same).

In the Access-Request the NAS send the NAS-port ,the NAS-IP-Address and
NAS-Identifier

-------radiusd -X
-----------------------------------------------------------
rad_recv: Access-Request packet from host 212.230.0.207:1645, id=52,
length=132
        Framed-Protocol = PPP
        User-Name = "user1"
        User-Password = "xxxxx"
        NAS-Port-Type = Virtual
        Cisco-NAS-Port = "2/0/0/30.32"
        NAS-Port = 538837024
        Service-Type = Framed-User
        NAS-IP-Address = 212.230.0.207
        Acct-Session-Id = "2/0/0/30.32_020033AD"
        NAS-Identifier = "ATM_sp_mad_C03"

Login OK: [user1/xxxxxx] (from client ATM_sp_mad_C03 port 538837024)
  Processing the post-auth section of radiusd.conf
modcall: entering group post-auth for request 7
rlm_ippool: Searching for an entry for nas/port: 212.230.0.207/538837024
rlm_ippool: Searching for an entry for nas/port: 212.230.0.207/538837024
rlm_ippool: Allocating ip to nas/port: 212.230.0.207/538837024
rlm_ippool: num: 1
rlm_ippool: Allocated ip 192.168.1.232 to client on nas 212.230.0.207,port
538837024
  modcall[post-auth]: module "dynamic" returns ok for request 7
-------------------------------------------------------------------

How can I do that the NAS send a diferent port for each user? 
Is this posible?
Are there some option in the configuration file of the radius?
Now, all the requests has the same NAS-port

Also, i read that i can modify the file rlm_ippool with other attibute, but
i dont know a lot of programming and i need other solution.

Please, help me, I don´t Know what can I do more.
Thank you for all
Regards
Paloma







More information about the Freeradius-Users mailing list