Reply To: Shared secret incorrect errors.

Forums Network Management ZeroShell Shared secret incorrect errors. Reply To: Shared secret incorrect errors.


I don’t understand why you specify /21.
The CIDR notation (Classless Inter-Domain Routing) and are network address and not host IP address and the problem is that they rappresent the same subnet:

Infact the binary notation of the netmask is:
1111111.1111111.11111000.00000000 (21 ones)
therefore when FreeRADIUS applies the logical AND operation the last byte of both the networks is zero. In other words you have: = =

To verify these things you could use the commands:
ipcalc -n
ipcalc -n
the output is for both:

This means that FreeRadius uses the last shared secret you specified.
To solve the issue you have to specify the IP address of the Access Points as and or if you want use CIDR notation and