IP Address as User name

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Feb 7 13:03:49 CET 2014


On 6 Feb 2014, at 22:28, Darren Ward (darrward) <darrward at cisco.com> wrote:

> Hi Alan
> 
> Actually in cases where we do authorisation based on IP address such as in ISG we do need the IP or MAC as the username but you are correct I said clients when I meant users file
> 
> e.g. a WiFi user who gets an IP from DHCP then attempt to go through to the Internet - we have no auth details yet but have a need to control the session
> 
> It also worked out that my problem was that the users file was in two places on my system and I was editing the wrong one! So easily fixed
> 
> The entry in the users file would be:
> 
> 192.168.10.10 Cleartext-Password := "cisco"
> 	xxxxx attributes list;

Assuming you've set the key config item correctly it should work. Please provide debug output.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140207/fbf4f259/attachment.pgp>


More information about the Freeradius-Users mailing list