ippool causes Auth-Type error

Peter Nixon listuser at peternixon.net
Mon Sep 4 21:44:14 CEST 2006


On Mon 04 Sep 2006 16:20, Sascha Djuric wrote:
> Hello
>
> this is my second try:
>
> im using freeradius 1.1.3 under solaris10. i got it installed and
> configured with mysql. everything works fine, I added a user with Password
> and all and radtest works fine. next i configured an ippool and added it to
> post-auth and acct.
>
>   ippool main_pool {
>
>                 #  range-start,range-stop: The start and end ip
>                 #  addresses for the ip pool
>                 range-start = 192.168.1.1
>                 range-stop = 192.168.1.254
>
>                 #  netmask: The network mask used for the ip's
>                 netmask = 255.255.255.255
>
>                 #  cache-size: The gdbm cache size for the db
>                 #  files. Should be equal to the number of ip's
>                 #  available in the ip pool
>                 cache-size = 800
>
>                 # session-db: The main db file used to allocate ip's to
> clients session-db = ${raddbdir}/db.ippool
>
>                 # ip-index: Helper db index file used in multilink
>                 ip-index = ${raddbdir}/db.ipindex
>
>                 # override: Will this ippool override a Framed-IP-Address
> already set override = yes
>
>                 # maximum-timeout: If not zero specifies the maximum time
> in seconds an # entry may be active. Default: 0
>                 maximum-timeout = 0
>         }
>
> still everything works fine.
>
> now i added a Pool-Name to the check attributes of my test user.
>
> Then I get:
>
> rad_recv: Access-Request packet from host 127.0.0.1:45506, id=185,
> length=55 User-Name = "SVD"
>         User-Password = "secret"
>         NAS-IP-Address = 255.255.255.255
>         NAS-Port = 0

A NAS-Port of 0 will likely confuse a module which hands out IP addresses 
based on NAS-Port :-)

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060904/d5a4abd4/attachment.pgp>


More information about the Freeradius-Users mailing list