FreeRadius + FreeBSD + ipv6

Thorsten Fischer thorsten at
Mon Dec 6 10:21:05 CET 2010

Excerpts from Johann Hugo's message of Mon Dec 06 09:01:09 +0000 2010:
> I'm busy with a FreeRadius Eduroam setup, but it only works with ipv4 and not 
> with ipv6. 

You seem to be using the same ipv6 address for your proxy as well as for the
eduroam proxy; is that intentional?

>From example 1:

> Sending Access-Request of id 172 to 2001:4200:ffff:14:5054:17ff:fe36:5d3d port 
> 1812

>From example 3:

> listen {
>         type = auth
>         ipv6addr = 2001:4200:ffff:14:5054:17ff:fe36:5d3d
>         port = 0
> }

If not, then it would explain why you do not see anything in your tcpdump on 
an interface, because it's being delivered locally, and why it works when you
bind to ::, because it just binds to a different address than the one you
think you should be using.

> Failed binding to authentication address 2001:4200:ffff:14:5054:17ff:fe36:5d3d 
> port 1812: Can't assign requested address 
> /usr/local/etc/raddb/radiusd.conf[32]: Error binding to port for 
> 2001:4200:ffff:14:5054:17ff:fe36:5d3d port 1812

Maybe that just isn't your local address.

$ ping6 -c1
PING 56 data bytes
64 bytes from 2001:4200:ffff:14:5054:17ff:fe36:5d3d: icmp_seq=1 ttl=56 time=236 ms

Resolves correctly for the eduroam proxy.



Thorsten Fischer, BOWL Project Administrator
<thorsten at>
Technische Universität Berlin, FG INET, TEL16, 18th floor
Ernst-Reuter-Platz 7, 10587 Berlin, Germany
Tel: +49 30 835358542, Fax: +49 391 53478347

More information about the Freeradius-Users mailing list