getting disconnected.
Hi, I changed the listen IP as you has told me last time. Now I am able to connect to the free radius, I get the vrf properly configured on the LNS as expected by the radius and get the proper IP also. But now the problem is that once I am connected, after 5 secs i get disconnected. I saw in the LNS logs, in which I noted that the request is send to 172.31.6.158, but I am getting reply from radius on the other IP which is 202.54.6.101, basicaly I have 2 IP`s on radius server. The later one I used for downloading the packages from internet. Please let me know what and where I should do the change so that Radius replies with the IP that it is listening from. I am attaching the debug logs on the LNS for your ref; _________________________________________________________________ 031415: Oct 12 17:23:05.705 IST: RADIUS/ENCODE(000006A8):Orig. component type = VPDN 031416: Oct 12 17:23:05.705 IST: RADIUS(000006A8): Config NAS IP: 192.168.243.250 031417: Oct 12 17:23:05.705 IST: RADIUS(000006A8): sending 031418: Oct 12 17:23:05.705 IST: RADIUS(000006A8): Send Accounting-Request to 172.31.6.158:1646 id 1646/185, len 266 031419: Oct 12 17:23:05.705 IST: RADIUS: authenticator A7 A6 49 D5 CF 5B A2 CE - 45 8E 68 4C 71 51 F6 17 031420: Oct 12 17:23:05.705 IST: RADIUS: Acct-Session-Id [44] 10 "00000A27" 031421: Oct 12 17:23:05.705 IST: RADIUS: Tunnel-Type [64] 6 00:L2TP [3] 031422: Oct 12 17:23:05.705 IST: RADIUS: Tunnel-Medium-Type [65] 6 00:IPv4 [1] 031423: Oct 12 17:23:05.705 IST: RADIUS: Tunnel-Server-Endpoi[67] 17 "192.168.243.250" 031424: Oct 12 17:23:05.705 IST: RADIUS: Tunnel-Client-Endpoi[66] 15 "172.23.119.14" 031425: Oct 12 17:23:05.705 IST: RADIUS: Tunnel-Assignment-Id[82] 3 "1" 031426: Oct 12 17:23:05.705 IST: RADIUS: Tunnel-Client-Auth-I[90] 15 "l2tp-tata-lac" 031427: Oct 12 17:23:05.705 IST: RADIUS: Tunnel-Server-Auth-I[91] 16 "hb-vsb-t1-rw01" 031428: Oct 12 17:23:05.705 IST: RADIUS: Acct-Tunnel-Connecti[68] 11 "126111449" 031429: Oct 12 17:23:05.705 IST: RADIUS: Framed-Protocol [7] 6 PPP [1] 031430: Oct 12 17:23:05.705 IST: RADIUS: User-Name [1] 16 "tcl@cisco1.com" 031431: Oct 12 17:23:05.705 IST: RADIUS: Acct-Authentic [45] 6 RADIUS [1] 031432: Oct 12 17:23:05.705 IST: RADIUS: Acct-Session-Time [46] 6 1 031433: Oct 12 17:23:05.709 IST: RADIUS: Acct-Input-Octets [42] 6 84 031434: Oct 12 17:23:05.709 IST: RADIUS: Acct-Output-Octets [43] 6 90 031435: Oct 12 17:23:05.709 IST: RADIUS: Acct-Input-Packets [47] 6 5 031436: Oct 12 17:23:05.709 IST: RADIUS: Acct-Output-Packets [48] 6 6 031437: Oct 12 17:23:05.709 IST: RADIUS: Acct-Terminate-Cause[49] 6 host-request [18] 031438: Oct 12 17:23:05.709 IST: RADIUS: Acct-Status-Type [40] 6 Stop [2] 031439: Oct 12 17:23:05.709 IST: RADIUS: NAS-Port-Type [61] 6 Virtual [5] 031440: Oct 12 17:23:05.709 IST: RADIUS: NAS-Port [5] 6 751 031441: Oct 12 17:23:05.709 IST: RADIUS: NAS-Port-Id [87] 17 "Uniq-Sess-ID751" 031442: Oct 12 17:23:05.709 IST: RADIUS: Calling-Station-Id [31] 17 "404001629241466" 031443: Oct 12 17:23:05.709 IST: RADIUS: Connect-Info [77] 13 "64000/57600" 031444: Oct 12 17:23:05.709 IST: RADIUS: Service-Type [6] 6 Framed [2] 031445: Oct 12 17:23:05.709 IST: RADIUS: NAS-IP-Address [4] 6 192.168.243.250 031446: Oct 12 17:23:05.709 IST: RADIUS: Acct-Delay-Time [41] 6 0 031447: Oct 12 17:23:05.725 IST: RADIUS: Received from id 1646/185 202.54.6.101:1646, Accounting-response, len 20 031448: Oct 12 17:23:05.725 IST: RADIUS: Response for non-existent request ident 031449: Oct 12 17:23:06.389 IST: %LINK-3-UPDOWN: Interface Virtual-Access4, changed state to down 031450: Oct 12 17:23:10.581 IST: RADIUS: no sg in radius-timers: ctx 0x654F7FC4 sg 0x0000 031451: Oct 12 17:23:10.581 IST: RADIUS: Retransmit to (172.31.6.158:1645,1646) for id 1646/184 031452: Oct 12 17:23:10.581 IST: RADIUS: acct-delay-time for C0040B4 (at C004194) now 5 031453: Oct 12 17:23:10.597 IST: RADIUS: Received from id 1646/186 202.54.6.101:1646, Accounting-response, len 20 031454: Oct 12 17:23:10.597 IST: RADIUS: Response for non-existent request ident 031455: Oct 12 17:23:11.413 IST: RADIUS: no sg in radius-timers: ctx 0x50802954 sg 0x0000 031456: Oct 12 17:23:11.413 IST: RADIUS: Retransmit to (172.31.6.158:1645,1646) for id 1646/185 031457: Oct 12 17:23:11.413 IST: RADIUS: acct-delay-time for C3A1DF4 (at C3A1EF8) now 5 031458: Oct 12 17:23:11.429 IST: RADIUS: Received from id 1646/187 202.54.6.101:1646, Accounting-response, len 20 031459: Oct 12 17:23:11.429 IST: RADIUS: Response for non-existent request ident 031460: Oct 12 17:23:15.893 IST: RADIUS: no sg in radius-timers: ctx 0x654F7FC4 sg 0x0000 031461: Oct 12 17:23:15.893 IST: RADIUS: Retransmit to (172.31.6.158:1645,1646) for id 1646/186 031462: Oct 12 17:23:15.893 IST: RADIUS: acct-delay-time for C0040B4 (at C004194) now 10 031463: Oct 12 17:23:15.909 IST: RADIUS: Received from id 1646/188 202.54.6.101:1646, Accounting-response, len 20 031464: Oct 12 17:23:15.909 IST: RADIUS: Response for non-existent request ident 031465: Oct 12 17:23:16.565 IST: RADIUS: no sg in radius-timers: ctx 0x50802954 sg 0x0000 031466: Oct 12 17:23:16.565 IST: RADIUS: Retransmit to (172.31.6.158:1645,1646) for id 1646/187 031467: Oct 12 17:23:16.565 IST: RADIUS: acct-delay-time for C3A1DF4 (at C3A1EF8) now 10 031468: Oct 12 17:23:16.581 IST: RADIUS: Received from id 1646/189 202.54.6.101:1646, Accounting-response, len 20 031469: Oct 12 17:23:16.581 IST: RADIUS: Response for non-existent request ident 031470: Oct 12 17:23:20.949 IST: RADIUS: no sg in radius-timers: ctx 0x654F7FC4 sg 0x0000 031471: Oct 12 17:23:20.949 IST: RADIUS: Retransmit to (172.31.6.158:1645,1646) for id 1646/188 031472: Oct 12 17:23:20.949 IST: RADIUS: acct-delay-time for C0040B4 (at C004194) now 15 031473: Oct 12 17:23:20.965 IST: RADIUS: Received from id 1646/190 202.54.6.101:1646, Accounting-response, len 20 031474: Oct 12 17:23:20.965 IST: RADIUS: Response for non-existent request ident 031475: Oct 12 17:23:21.781 IST: RADIUS: no sg in radius-timers: ctx 0x50802954 sg 0x0000 031476: Oct 12 17:23:21.781 IST: RADIUS: Retransmit to (172.31.6.158:1645,1646) for id 1646/189 031477: Oct 12 17:23:21.781 IST: RADIUS: acct-delay-time for C3A1DF4 (at C3A1EF8) now 15 031478: Oct 12 17:23:21.797 IST: RADIUS: Received from id 1646/191 202.54.6.101:1646, Accounting-response, len 20 031479: Oct 12 17:23:21.797 IST: RADIUS: Response for non-existent request ident 031480: Oct 12 17:23:26.005 IST: RADIUS: no sg in radius-timers: ctx 0x654F7FC4 sg 0x0000 031481: Oct 12 17:23:26.005 IST: RADIUS: No response from (172.31.6.158:1645,1646) for id 1646/190 031482: Oct 12 17:23:26.005 IST: RADIUS/DECODE: parse response no app start; FAIL 031483: Oct 12 17:23:26.005 IST: RADIUS/DECODE: parse response; FAIL 031484: Oct 12 17:23:27.381 IST: RADIUS: no sg in radius-timers: ctx 0x50802954 sg 0x0000 031485: Oct 12 17:23:27.381 IST: RADIUS: No response from (172.31.6.158:1645,1646) for id 1646/191 031486: Oct 12 17:23:27.381 IST: RADIUS/DECODE: parse response no app start; FAIL 031487: Oct 12 17:23:27.381 IST: RADIUS/DECODE: parse response; FAIL ______________________________________________________________________ Thanks and Regards, Yagnesh Dave.
I changed the listen IP as you has told me last time. Now I am able to connect to the free radius, I get the vrf properly configured on the LNS as expected by the radius and get the proper IP also. But now the problem is that once I am connected, after 5 secs i get disconnected.
According to the debug session lasted only one second and host (NAS) then kicked the user off. Debug PPP on the NAS and see why.
I saw in the LNS logs, in which I noted that the request is send to 172.31.6.158, but I am getting reply from radius on the other IP which is 202.54.6.101, basicaly I have 2 IP`s on radius server. The later one I used for downloading the packages from internet.
Please let me know what and where I should do the change so that Radius replies with the IP that it is listening from.
You have changed the IP in authentication listen section but not in accounting one as well. Ivan Kalik Kalik Informatika ISP
participants (2)
-
Ivan Kalik -
Yagnesh Dave