separate accounting to two modules based on NAS-IP-Address

2005-09-26 Thread Ilia Chipitsine

Dear Sirs,

how can I organize radiusd.conf in order to put accounting coming from 
nas1 to one module and from nas2 to another module ?


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


Re: separate accounting to two modules based on NAS-IP-Address

2005-09-27 Thread Nicolas Baradakis
Ilia Chipitsine wrote:

> how can I organize radiusd.conf in order to put accounting coming
> from nas1 to one module and from nas2 to another module ?

You might try to add these lines in file acct_users:

DEFAULT NAS-IP-Address == 10.0.0.1, Acct-Type := acct.nas1

DEFAULT NAS-IP-Address == 10.0.0.2, Acct-Type := acct.nas2

And in radiusd.conf:

accounting {
Acct-Type acct.nas1 {
module1
}
Acct-Type acct.nas2 {
module2
}
}

-- 
Nicolas Baradakis

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