<div dir="ltr">Arran,<div><br></div><div>Thanks very much. That was exactly what I was looking for, and it works like a charm. I understand how radius works a little better now as well.</div><div><br></div><div style>Thanks to Alan as well.</div>

<div style><br></div><div style>Regards,</div><div style>Örn</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 9:56 PM, Arran Cudbard-Bell <span dir="ltr"><<a href="mailto:a.cudbardb@freeradius.org" target="_blank">a.cudbardb@freeradius.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 15 Jan 2013, at 21:02, Alan DeKok <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>> wrote:<br>
<br>
> Örn Arnarson wrote:<br>
>> Hi Alan,<br>
>><br>
>> There is a Framed-IP-Address: xxx.xx.xx.xxx in the packet.<br>
<br>
</div>Outbound packet right (reply)? Because you're dealing with an Access-Request, which is why you're modifying the Post-Auth query?<br>
<div class="im"><br>
>> That should<br>
>> then presumably mean that I should be able to access this variable in<br>
>> said config file?<br>
><br>
>  Yes.  Run the server in debugging mode to see.<br>
><br>
>  Odds are the Framed-IP-Address is in the Access-Request, but not in<br>
> any subsequent Accounting-Request.  That would be the problem.<br>
<br>
</div>Accounting-Requests don't go through Post-Auth, see OP's first message, he's wanting to log the IP he assigned, else he's being an idiot and including irrelevant snippets of config.<br>
<br>
OP Use %{reply:Framed-IP-Address} in your postauth_query.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Arran<br>
</font></span><div class="HOEnZb"><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div>