Freeradius, bind addresses, and multihoming

Tanjil Ahmed tanjil at tanjil.net
Mon May 2 23:35:14 CEST 2011


Dear All

why radius is not bind auto MAC from user in first time use?like mikrotik
user manager have this option...

is there any way?

Thanks in Advance





On Tue, May 3, 2011 at 3:20 AM, Gary T. Giesen <giesen at snickers.org> wrote:

> I've compiled freeradius with the --with-udpfromto directive.
> Everything works as expected when I bind to all IPs:
>
> listen {
>       ipaddr = *
>       port = 1812
>       type = auth
> }
>
> listen {
>       ipaddr = *
>       port = 1813
>       type = acct
> }
>
>
> However, if I specify multiple IPs to bind to (rather than just one or
> all), it reverts to the the behaviour of responding to all requests
> with a source IP of the first bind directive listed. For example:
>
> listen {
>       ipaddr = 192.168.1.250
>       port = 1812
>       type = auth
> }
>
> listen {
>       ipaddr = 192.168.1.250
>       port = 1813
>       type = acct
> }
>
> listen {
>       ipaddr = 1.2.3.4
>       port = 1812
>       type = auth
> }
>
> listen {
>       ipaddr = 1.2.3.4
>       port = 1813
>       type = acct
> }
>
> In this configuration, freeradius will always respond from
> 192.168.1.250, even if the initial request was sent to 1.2.3.4. This
> is obviously breaking things for me, as I'd rather not have freeradius
> listen on every interface on the server (and there are a number of
> them). Am I doing something wrong? Am I expecting the wrong behaviour?
> Or is this a bug?
>
> GG
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
--

























Syed Tanjil Ahmed
Chairman
Netgate Online Ltd
Oval Communication Ltd.
SNS CNG & Convertion Ltd
Network Solution Ltd.
ARSHI (Non Government Organizations)
20,Siddeswari Lane,1st Floor,Dhaka
483/a,DIT Road,Dhaka-1217
Ph:8333315,9352029,9350458
Ph:9361083,9346890,9342514
Email:info at tanjil.net,tanjil at email.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110503/9960b3d3/attachment.html>


More information about the Freeradius-Users mailing list