Trouble "SQL Based IP Pool"
Leander S.
leander.schaefer at gmx.net
Tue May 6 19:38:10 CEST 2008
This is my actual output for a user who has attribute: "Pool-Name = mypool"
root ~ # radtest leander 123456 10.1.10.80:1812 2 schaefer
Sending Access-Request of id 79 to 10.1.10.80 port 1812
User-Name = "leander"
User-Password = "123456"
NAS-IP-Address = 255.255.255.255
NAS-Port = 2
rad_recv: Access-Accept packet from host 10.1.10.80:1812, id=79, length=122
Framed-Protocol = PPP
Framed-MTU = 1492
Framed-Compression = Van-Jacobson-TCP-IP
Session-Timeout = 86400
Framed-IP-Address = 255.255.255.254
Service-Type = Framed-User
Framed-IP-Netmask = 255.255.255.255
root ~ #
^^ Btw. Why is my NAS-IP-Address = 255.255.255.255 ? I didn't write that
in clients.conf? Where might I change that?
... just once again .. because I can't get rid of the guess that my
mistake is in the data I typed into the DB table:
INSERT INTO radippool (pool_name, framedipaddress, nasipaddress,
expiry_time, pool_key) VALUES ('mypool', '192.168.5.1', '10.1.10.80',
'2008-12-31 00:00:00', '0');
^^ 1. What is pool_key standing for? Why do _I_ have to write that in
manually?
^^ 2. What is expiry_time good for if there is already an
lease-duration = 3600 configured in the postgresqlippool.conf? And why
do I get forced to use unix timestamp instead of using a simple time in
secounds when it'll be expired?
Thank you
Regards,
Leander
More information about the Freeradius-Users
mailing list