<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Andi, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">You said the RADIUS server rejects the packet. Can you show us the rejection as well (full debug log is preferred by everyone on the list)?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If 10.1.1.10 is not one of your listed clients (in clients.conf), then no, the RADIUS server won’t accept the packet.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> freeradius-users-bounces+stefan.paetow=diamond.ac.uk@lists.freeradius.org
[mailto:freeradius-users-bounces+stefan.paetow=diamond.ac.uk@lists.freeradius.org]
<b>On Behalf Of </b>Morris, Andi<br>
<b>Sent:</b> 22 October 2013 12:36<br>
<b>To:</b> freeradius-users@lists.freeradius.org<br>
<b>Subject:</b> Incorrect NAS-IP-Address attribute<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal">Can somebody tell me where the NAS-IP-Address attribute is pulled from?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have one particular switch that has a different IP address in this attribute to the actual switch’s IP address, and therefore radius rejects the request as this IP address isn’t a declared client. All my other switches are working fine
so the radius server is fine in general. I’m just not sure whether this is set on the radius server, or the switch. I can’t find it on either.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here’s a debug log snippet:<o:p></o:p></p>
<p class="MsoNormal">rad_recv: Access-Request packet from host 10.1.1.10 port 1812, id=9, length=159<o:p></o:p></p>
<p class="MsoNormal"> NAS-IP-Address = 10.1.1.12<o:p></o:p></p>
<p class="MsoNormal"> NAS-Port = 50024<o:p></o:p></p>
<p class="MsoNormal"> Cisco-NAS-Port = "FastEthernet0/24"<o:p></o:p></p>
<p class="MsoNormal"> NAS-Port-Type = Ethernet<o:p></o:p></p>
<p class="MsoNormal"> User-Name = "st12345678"<o:p></o:p></p>
<p class="MsoNormal"> Called-Station-Id = "00-0D-28-1A-36-98"<o:p></o:p></p>
<p class="MsoNormal"> Calling-Station-Id = "F0-DE-F1-D4-FB-D7"<o:p></o:p></p>
<p class="MsoNormal"> Service-Type = Framed-User<o:p></o:p></p>
<p class="MsoNormal"> Framed-MTU = 1500<o:p></o:p></p>
<p class="MsoNormal"> EAP-Message = 0x0200000f0173743230303235313330<o:p></o:p></p>
<p class="MsoNormal"> Message-Authenticator = 0x07b499ef56d777d5284f72c3ad2cc15a<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-------------------------------------<o:p></o:p></p>
<p class="MsoNormal">Andi Morris<o:p></o:p></p>
<p class="MsoNormal">IT Security Officer<br>
Cardiff Metropolitan University<o:p></o:p></p>
<p class="MsoNormal">T: 02920 205720<br>
E: <a href="mailto:amorris@cardiffmet.ac.uk">amorris@cardiffmet.ac.uk</a><o:p></o:p></p>
<p class="MsoNormal">--------------------------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br><P align=justify> </P>
<P align=justify>-- </P>
<P align=justify>This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<BR>Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. <BR>Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<BR>Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<BR> </P>
<br></body>
</html>