Re: Framed-IP-Address not working

2012-01-04 Thread Azfar Hashmi
Subnet topology was enabled in openvn conf.

On 1/4/2012 12:49 PM, Marinko Tarlać wrote:
> And what was the problem ?
>
> On 1/4/2012 6:55 AM, Azfar Hashmi wrote:
>> Solved, problem was in openvpn.
>>
>> On 1/3/2012 3:30 PM, Azfar Hashmi wrote:
>>> I have assigned static ip to some users but users still getting ip
>>> addresses from openvpn server pool. what I am missing?
>>> -
>>> List info/subscribe/unsubscribe? See
>>> http://www.freeradius.org/list/users.html
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html

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


Re: Framed-IP-Address not working

2012-01-03 Thread Marinko Tarlać

And what was the problem ?

On 1/4/2012 6:55 AM, Azfar Hashmi wrote:

Solved, problem was in openvpn.

On 1/3/2012 3:30 PM, Azfar Hashmi wrote:

I have assigned static ip to some users but users still getting ip
addresses from openvpn server pool. what I am missing?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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



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


Re: Framed-IP-Address not working

2012-01-03 Thread Azfar Hashmi
Solved, problem was in openvpn.

On 1/3/2012 3:30 PM, Azfar Hashmi wrote:
> I have assigned static ip to some users but users still getting ip
> addresses from openvpn server pool. what I am missing?
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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


Re: Framed-IP-Address not working

2012-01-03 Thread Fajar A. Nugraha
2012/1/3 Marinko Tarlać :
> The same thing happens with Mikrotik.
>
> If you send the pool name then assigned ip address is ignored...

... except that with openvpn radius plugin, there's no attribute to
send the pool name. It's usually either:
- misconfigured radius, which doesn't send Framed-IP-Address attribute
correctly (which is why I asked what the debug log says), or
- misconfigured openvpn radius plugin (cause it works just fine when
configured correctly), or
- misconfigured openvpn, in that it doesn't use radius plugin, but
some other method that doesn't support framed-ip-address (e.g.
pam+libpam-radius-auth)

-- 
Fajar

>
>
>
> On 1/3/2012 3:19 PM, Alan DeKok wrote:
>>
>> Azfar Hashmi wrote:
>>>
>>> I have assigned static ip to some users but users still getting ip
>>> addresses from openvpn server pool. what I am missing?

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


Re: Framed-IP-Address not working

2012-01-03 Thread Marinko Tarlać

The same thing happens with Mikrotik.

If you send the pool name then assigned ip address is ignored...


On 1/3/2012 3:19 PM, Alan DeKok wrote:

Azfar Hashmi wrote:

I have assigned static ip to some users but users still getting ip
addresses from openvpn server pool. what I am missing?

   If it's being sent to OpenVPN in an Access-Accept, then the problem is
in OpenVPN.  Ask them.

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



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


Re: Framed-IP-Address not working

2012-01-03 Thread Alan DeKok
Azfar Hashmi wrote:
> I have assigned static ip to some users but users still getting ip
> addresses from openvpn server pool. what I am missing?

  If it's being sent to OpenVPN in an Access-Accept, then the problem is
in OpenVPN.  Ask them.

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


Re: Framed-IP-Address not working

2012-01-03 Thread Fajar A. Nugraha
On Tue, Jan 3, 2012 at 5:30 PM, Azfar Hashmi  wrote:
> I have assigned static ip to some users but users still getting ip
> addresses from openvpn server pool. what I am missing?

What does freeradius debug log say?

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