Re: ip pool problem ?

2003-12-18 Thread Oliver Graf
On Thu, Dec 18, 2003 at 03:49:20PM +0700, [EMAIL PROTECTED] wrote:
> I need help on configuring freeradius , on ip pooling. issue i use mysql as the user 
> as well as ip database. But it seems , radius can works on range ip i gave but i 
> works on ip with "+", but i can control the ip assignment that server gave to user 
> who dials in. Also i previously try using main_ippool with range start & range stop, 
> it seems dont work. Can anyone help me figure out this phenomena ?

As far as I know, freeradius does not store ip pools in sql databases.

Perhaps you can provide some debugging output and confguration you
use (don't send everything, only the 'interesting' parts).

Oliver.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


ip pool problem ?

2003-12-18 Thread joko4003



Dearest Freeradiusers,
 
I need help on configuring freeradius , on ip 
pooling. issue i use mysql as the user as well as ip database. But it seems , 
radius can works on range ip i gave but i works on ip with "+", but i can 
control the ip assignment that server gave to user who dials in. Also i 
previously try using main_ippool with range start & range stop, it seems 
dont work. Can anyone help me figure out this phenomena ?
 
Thx i look fwd for any respond and 
advice
 
Joko P.


ip-pool problem

2003-07-18 Thread Kern Elvish
I can't set ip-address for user.
When I recive Access-Request packet I add to Access-Accept reply field
"Framed-IP-Address = 192.168.164.164"
but my cisco (ubr7200) ignore it and set ip-address for user from
cisco-ip-pool.
I try to remove ip-pool on cisco, but in this way user don't create at all.
I try to send Access-Accept with and without "Framed-IP-Netmask",
"Framed-Protocol", "Service-Type".
Authorize and accounting work normal, if forget about manualy set ip-address
for some users.
I have freeradius 0.8.

rad_recv: Access-Request packet from host 192.168.164.34:1645, id=167,
length=170
NAS-IP-Address = 195.38.164.34
NAS-Port = 1
Cisco-NAS-Port = "Virtual-Access1*"
NAS-Port-Type = Virtual
User-Name = "kern"
Acct-Session-Id = "01C7"
MS-CHAP-Challenge = 0x09090acf9e70a853
MS-CHAP-Response = 0x540100 ... ecbb4a
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-IP-Address = 192.168.164.164
...
...
Sending Access-Accept of id 167 to 192.168.164.34:1645
Framed-MTU = 576
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-Compression = Van-Jacobson-TCP-IP
MS-CHAP-MPPE-Keys =
0xf03aa0dca9147c4f88a2f3bd8c51e766f90bbd3bcf4ea1e332bb3bf21b7d87cc
MS-MPPE-Encryption-Policy = 0x0001
MS-MPPE-Encryption-Types = 0x0006
Framed-IP-Netmask = 255.255.255.128
Framed-IP-Address = 192.168.164.254
...
...
rad_recv: Accounting-Request packet from host 192.168.164.34:1646, id=168,
length=114
NAS-IP-Address = 192.168.164.34
NAS-Port = 1
Cisco-NAS-Port = "Virtual-Access1*"
NAS-Port-Type = Virtual
User-Name = "kern"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Framed-User
Acct-Session-Id = "01C7"
Framed-Protocol = PPP
Framed-IP-Address = 192.168.164.164
Acct-Delay-Time = 0
...




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: IP pool problem, please help

2002-10-11 Thread Kostas Kalevras
On Thu, 10 Oct 2002, Andrew Kelaidis wrote:

> I have installed the freeRADIUS server and I 'm using the rlm_ippool module.
> Everything works fine until one account-stop packet had been lost. The user
> was log out but the dialup admin interface shows him as online and active in
> finger page. I remove the correct record from the radacct table so the user
> went offline. The problem is that the server had assigned him an ip address
> and when the user is trying to login again, the following error message
> appears:
> "The server did not assign an IP Address, error 738"
>
> I know that the ippool module keeps two files (not text files) with
> information about used IP addresses. I think that the "stacked" user can't
> login because the server has already assign him an ipaddress. Is there any
> ways to solve this problem? Please help...
>
> Andrew Kelaidis

I am not sure that is the problem. The ippool modules uses the nas/port
combination as the key not the username. If you login in the same nas/port the
module will deallocate the corresponding IP.
You could run your server in debug mode and watch the output when the user logs
in. That should help you find the problem.

--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]  National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: IP pool problem, please help

2002-10-10 Thread Tim

Can someone please post a copy of the output from radiusd -X  when a 
simultaneous login is detected, and freeradius runs the checkrad prog ..

thx ...





Tim Fraser

*
Relax Internet
Internet Service Provider (dial-up & ADSL) / Web Hosting
www.relax.com.au

*



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



IP pool problem, please help

2002-10-10 Thread Andrew Kelaidis

I have installed the freeRADIUS server and I 'm using the rlm_ippool module. 
Everything works fine until one account-stop packet had been lost. The user 
was log out but the dialup admin interface shows him as online and active in 
finger page. I remove the correct record from the radacct table so the user 
went offline. The problem is that the server had assigned him an ip address 
and when the user is trying to login again, the following error message 
appears:
"The server did not assign an IP Address, error 738"

I know that the ippool module keeps two files (not text files) with 
information about used IP addresses. I think that the "stacked" user can't 
login because the server has already assign him an ipaddress. Is there any 
ways to solve this problem? Please help...

Andrew Kelaidis

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html