<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: trouble with &amp;quot;radius-server local&amp;quot; in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/trouble-with-quot-radius-server-local-quot/m-p/4403436#M567318</link>
    <description>&lt;P&gt;I told a cisco router to&lt;/P&gt;&lt;P&gt;aaa authentication login test group radius&lt;/P&gt;&lt;P&gt;radius server test&lt;BR /&gt;address ipv4 192.168.1.158 auth-port 1812 acct-port 1813&lt;BR /&gt;key cisco&lt;/P&gt;&lt;P&gt;and the&lt;/P&gt;&lt;P&gt;line vty 0 4&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;login authentication test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the AP is setup for users test/test and testa/test. I was able to telnet into the router with test/test but failed with bad password on testa/test same I was getting with&amp;nbsp;&lt;SPAN&gt;radtest.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 15 May 2021 06:38:22 GMT</pubDate>
    <dc:creator>kundarsa</dc:creator>
    <dc:date>2021-05-15T06:38:22Z</dc:date>
    <item>
      <title>trouble with "radius-server local"</title>
      <link>https://community.cisco.com/t5/network-access-control/trouble-with-quot-radius-server-local-quot/m-p/4403422#M567317</link>
      <description>&lt;P&gt;aaa new-model&lt;/P&gt;&lt;P&gt;radius-server local&lt;BR /&gt;nas 192.168.51.175 key 0 cisco&lt;BR /&gt;user test password test&lt;BR /&gt;user testa password test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I create a local radius server I am unable to test it with the free radius tool radtest&lt;/P&gt;&lt;P&gt;freeRadius:~# radtest -t pap test test 192.168.51.194 1812 cisco&lt;BR /&gt;Sent Access-Request Id 54 from 0.0.0.0:41741 to 192.168.51.194:1812 length 74&lt;BR /&gt;User-Name = "test"&lt;BR /&gt;User-Password = "test"&lt;BR /&gt;NAS-IP-Address = 192.168.51.175&lt;BR /&gt;NAS-Port = 1812&lt;BR /&gt;Message-Authenticator = 0x00&lt;BR /&gt;Cleartext-Password = "test"&lt;BR /&gt;Received Access-Accept Id 54 from 192.168.51.194:1812 to 192.168.51.175:41741 length 88&lt;BR /&gt;State = 0x26c26313708f5aa500000000000000000000000000000000000000000000000021d94e478d5721d843697c90d24f6cd5&lt;BR /&gt;Message-Authenticator = 0x64d787d5073d2d69af4d7e359551d890&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however when i try testa&lt;/P&gt;&lt;P&gt;freeRadius:~# radtest -t pap testa test 192.168.51.194 1812 cisco&lt;BR /&gt;Sent Access-Request Id 160 from 0.0.0.0:34508 to 192.168.51.194:1812 length 75&lt;BR /&gt;User-Name = "testa"&lt;BR /&gt;User-Password = "test"&lt;BR /&gt;NAS-IP-Address = 192.168.51.175&lt;BR /&gt;NAS-Port = 1812&lt;BR /&gt;Message-Authenticator = 0x00&lt;BR /&gt;Cleartext-Password = "test"&lt;BR /&gt;Received Access-Reject Id 160 from 192.168.51.194:1812 to 192.168.51.175:34508 length 88&lt;BR /&gt;State = 0x26c26313708f5aa500000000000000000000000000000000000000000000000021d94e478d5721d843697c90d24f6cd5&lt;BR /&gt;Message-Authenticator = 0x5426653560529d8a8861bb1ef630eb6f&lt;BR /&gt;(0) -: Expected Access-Accept got Access-Reject&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and on the router&lt;/P&gt;&lt;P&gt;R1#debug radius local-server error&lt;BR /&gt;Radius server error debugging is on&lt;BR /&gt;R1#&lt;BR /&gt;*Mar 1 00:50:29.179: RADSRV: Client testa password failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what I have found is that the password must be the same as the username, so it only works when user testa has the password testa.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is with a clean config, so only setting interface fa 0/0 to ip address dhcp, no shut, and the above commands were run on the router. I have tried this on access points as well version 12 and 15. will test other cisco hardware as a client instead of the freeradius tools but i cant see the freeradius tools deviating from the RFC's.&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 05:17:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/trouble-with-quot-radius-server-local-quot/m-p/4403422#M567317</guid>
      <dc:creator>kundarsa</dc:creator>
      <dc:date>2021-05-15T05:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: trouble with "radius-server local"</title>
      <link>https://community.cisco.com/t5/network-access-control/trouble-with-quot-radius-server-local-quot/m-p/4403436#M567318</link>
      <description>&lt;P&gt;I told a cisco router to&lt;/P&gt;&lt;P&gt;aaa authentication login test group radius&lt;/P&gt;&lt;P&gt;radius server test&lt;BR /&gt;address ipv4 192.168.1.158 auth-port 1812 acct-port 1813&lt;BR /&gt;key cisco&lt;/P&gt;&lt;P&gt;and the&lt;/P&gt;&lt;P&gt;line vty 0 4&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;login authentication test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the AP is setup for users test/test and testa/test. I was able to telnet into the router with test/test but failed with bad password on testa/test same I was getting with&amp;nbsp;&lt;SPAN&gt;radtest.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 06:38:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/trouble-with-quot-radius-server-local-quot/m-p/4403436#M567318</guid>
      <dc:creator>kundarsa</dc:creator>
      <dc:date>2021-05-15T06:38:22Z</dc:date>
    </item>
  </channel>
</rss>

