I think you had a typo with radclient. It showed Framed-IP-Address = 10.10.50.1.2
in your capture of the outgoing packet. On Mon, 12 Jul 2004, Jeff Synnestvedt wrote: > Hello, > > I am running accounting on freeradius-1.0.0-pre3. I am using pretty much > the default configuration files as they ship with the distribution. I am > using radclient to send acct records to my radius server. My goal is to be > able to recieve acct records from another server and knowing the IP of the > client (Framed-IP-Address) is of particuliar importance. > > What happens when I run my test using radclient, it passes Framed-IP-Address > as something like 10.10.1.2 but freeradius recieves the request and for > some reason turns the Framed-IP-Address into 255.255.255.255. Is this > something that can happen because I don't have something configured > properly? > > Below is the output of my radclient command: > > ------------------------------------- > ------------------------------------- > > Sending Accounting-Request of id 10 to 127.0.0.1:1813 > User-Name = "2155551212" > NAS-IP-Address = 10.10.2.20 > Framed-IP-Address = 10.10.50.1.2 > Framed-IP-Netmask = 255.255.255.0 > Called-Station-Id = "airdesk.net" > Calling-Station-Id = "2155551212" > Acct-Status-Type = Start > rad_recv: Accounting-Response packet from host 127.0.0.1:1813, id=10, > length=20 > > ------------------------------------- > ------------------------------------- > > Below is the output of my radius server (running with -X): > ------------------------------------- > ------------------------------------- > > rad_recv: Accounting-Request packet from host 127.0.0.1:33004, id=10, > length=81 > User-Name = "2155551212" > NAS-IP-Address = 10.10.2.20 > Framed-IP-Address = 255.255.255.255 > Framed-IP-Netmask = 255.255.255.0 > Called-Station-Id = "airdesk.net" > Calling-Station-Id = "2155551212" > Acct-Status-Type = Start > Processing the preacct section of radiusd.conf > modcall: entering group preacct for request 16 > modcall[preacct]: module "preprocess" returns noop for request 16 > rlm_acct_unique: WARNING: Attribute NAS-Port was not found in request, > unique ID MAY be inconsistent > rlm_acct_unique: WARNING: Attribute Acct-Session-Id was not found in > request, unique ID MAY be inconsistent > rlm_acct_unique: Hashing ',Client-IP-Address = 127.0.0.1,NAS-IP-Address = > 10.10.2.20,,User-Name = "2155551212"' > rlm_acct_unique: Acct-Unique-Session-ID = "2aad16fe7ad6c098". > modcall[preacct]: module "acct_unique" returns ok for request 16 > rlm_realm: No '@' in User-Name = "2155551212", looking up realm NULL > rlm_realm: No such realm "NULL" > modcall[preacct]: module "suffix" returns noop for request 16 > acct_users: Matched DEFAULT at 7 > modcall[preacct]: module "files" returns ok for request 16 > modcall: group preacct returns ok for request 16 > Processing the accounting section of radiusd.conf > modcall: entering group accounting for request 16 > radius_xlat: > '/opt/tempradius/var/log/radius/radacct/127.0.0.1/detail-20040712'rlm_detail: > /opt/tempradius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d > expands to /opt/tempradius/var/log/radius/radacct/127.0.0.1/detail-20040712 > modcall[accounting]: module "detail" returns ok for request 16 > modcall[accounting]: module "unix" returns noop for request 16 > radius_xlat: '/opt/tempradius/var/log/radius/radutmp' > radius_xlat: '2155551212' > rlm_radutmp: No NAS-Port seen. Cannot do anything. > rlm_radumtp: WARNING: checkrad will probably not work! > modcall[accounting]: module "radutmp" returns noop for request 16 > modcall: group accounting returns ok for request 16 > radius_xlat: '/root/radius/dnsupdate.sh' > Exec-Program: /root/radius/dnsupdate.sh > Sending Accounting-Response of id 10 to 127.0.0.1:33004 > Finished request 16 > Going to the next request > --- Walking the entire request list --- > Cleaning up request 16 ID 10 with timestamp 40f2ce15 > Nothing to do. Sleeping until we see a request. > > ------------------------------------- > ------------------------------------- > > _________________________________________________________________ > Check out the latest news, polls and tools in the MSN 2004 Election Guide! > http://special.msn.com/msn/election2004.armx > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html