Specifying NAS-IP-Address in eapol_test CLI

Brian Julin BJulin at clarku.edu
Wed Jun 29 18:54:16 CEST 2016

Alex Sharaz wrote:

> I've tried
> eapol_test -c /usr/local/etc/peap-ydh.conf -A -a
> -s <key> -N 61:d:15 -N 6:d:8 -N 4:s:

> but that gives me

> Attribute 4 (NAS-IP-Address) length=16
>     Invalid IP address length 14

Use hex for the IP.  This is more or less what we use in our tests scripts:

eapol_test -a -Mdd:cc:bb:aa:99:88 -N4:x:0x0a090807 -N30:s:00-01-02-03-04-0f:eduroam

More information about the Freeradius-Users mailing list