I need help and some advice !!!

Phil Mayers p.mayers at imperial.ac.uk
Mon Mar 21 11:08:00 CET 2011


On 21/03/11 01:47, striderblue wrote:
> about IPv6 on freeradius v.2.1.test9 for ubuntu so this version is support
> IPv6 right?
> but I try to test local with IPv6 ::1
> it response like this :
>
> http://freeradius.1045715.n5.nabble.com/file/n4167834/0bcb3b1056e7d9151be5fb8fe6eeb4d3b7f0fc69555e1217fa97d8be993973676g.jpg
>
> radclient: Failed to find ip address for host ::1: success  but radtest ipv4
> worked!!!
> ----------------------------------------------------------------------
> at clients.conf
> I config :
> client localhost {
>                          ipaddr = 127.0.0.1
>                          ipv6addr = ::
>                          secret = testing
>                        }

This is wrong; you can have *either* ipaddr *or* ipv6addr, as per the 
comments in the examples:

         ipaddr = 127.0.0.1

         #  OR, you can use an IPv6 address, but not both
         #  at the same time.                ^^^^^^^^^^^^
#       ipv6addr = ::   # any.  ::1 == localhost

You will need:

client localhost_v4 {
   ipaddr = 127.0.0.1
   ...
}
client localhost_v4 {
   ipv6addr = ::1
   ...
}



More information about the Freeradius-Users mailing list