[RP-PPPoE] rp-pppoe + 2 freeradius
EasyHorpak.com
info at easyhorpak.com
Wed Jul 4 00:03:33 EDT 2012
On 04/07/2555 03:04, Tiago wrote:
> Hello Mike,
> Here is the crazy thing... my first in order freeradius server is the
> newer already that was disabled since God knows when, but I would
> expect that when I put it online it should start to get requests, and
> its not happening :/
>
>
>
>
>
> 2012/7/3 Insane Laughing Clown<mike-rppppoe at tiedyenetworks.com>:
>> On 07/03/2012 11:36 AM, Tiago wrote:
>>> Hello guys,
>>> I've a rp-pppoe + freeradius + mysql server in production, and now I
>>> would like to add a new freeradius server to distribute/load balance
>>> auth requests or to work as failover. I already have the new
>>> freeradius online and working ok.
>>>
>>> I've added to my /etc/radiusclient/servers my both IPs:ports and
>>> shared secret. From my pppoe-server I can communicate using radtest to
>>> my new freeradius server.
>>>
>>> However, I'm only getting requests to my old freeradius... so what am
>>> I missing??? Is there anything else I need to do to enable
>>> distributing requests?
>>>
>> This is in reference to radiusclient, which is part of PPPd. As I understand
>> it, in practice, pppd-radius uses the servers in the given order and does
>> not 'load balance' or 'distribute' requests across servers. I can be wrong
>> about this however (this is just my indirect observation, so YMMV). Here's a
>> question however - can you disable the first freeradius server and observe
>> requests timing out and then going to the second? If so, then I'd have to
>> say you are configured correctly and seeing the expected result.
>>
>> -ILC
>> _______________________________________________
>> RP-PPPoE mailing list
>> RP-PPPoE at lists.roaringpenguin.com
>> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
> _______________________________________________
> RP-PPPoE mailing list
> RP-PPPoE at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
>
By my idea with easy way
on pppoe-server which has not second radius option to put in backup
You can run bash scripts at your pppoe-server to check radius status.
and switch your /etc/radiusclient/servers file to point pppoe-server
to active radius
don't forgot to change your radiusclient.conf too.
you can change your config without restart pppoe-server
just only my easy idea, hope you get the best idea .
More information about the RP-PPPoE
mailing list