IPv6 subnet as client ipaddr

Klara Mall klara.mall at kit.edu
Mon Feb 12 23:00:33 CET 2018


Hi,

we just wanted to configure an IPv6 subnet as client with the variable
ipaddr. Found out that only a single IPv6 IP address is working with the
variable ipaddr. With ipv6addr subnet is working, too.

Does not work:

client test {
    ipaddr = fd76:70:6e:1::/64
    secret = XXXXXXXXXXXXXXXXXXXXXXXXX
}

Does work:

client test {
    ipaddr = fd76:70:6e:1::1
    secret = XXXXXXXXXXXXXXXXXXXXXXXXX
}

Does work:

client test {
    ipv6addr = fd76:70:6e:1::/64
    secret = XXXXXXXXXXXXXXXXXXXXXXXXX
}

Error log message:
Failed to parse IPv4 address string "fd76:70:6e:1::/64"
/etc/freeradius/3.0/clients.conf[270]: Error parsing client section

Is it a bug? Tested in freeradius 3.0.12 and 3.0.16. Same behaviour.

Thank you
Klara


More information about the Freeradius-Users mailing list