08-13-2018 08:59 AM - edited 08-13-2018 09:04 AM
Radius server send access-accept message but BNG is not providing IP to client. [ Using free radius and XRv9000 6.4.2 | 192.168.6.89 is NAS & 192.168.6.80 is RADIUS server. Looks issue is with radius configuration. IPSubscriber without RADIUS works fine.]
Received request [handle 0xc4ea4880] with server-group : RADIUS-01
Building header for the Authorization request
ip add v6 existing len: 16
radius_get_prfrd_srvr_info: Retrive Preferred Server info from attr list
radius_get_prfrd_srvr_info: Preferred server handle is set to NULL
(handle_nas_req) Couldn't retrive the preferred server info
Trying to find the first radius server to use.
Created transaction_id (43000051) for server group 52000001
Server 192.168.6.80/1812/1813 is UP & Quarantined: NO
enable_eap_preferred_server check : app id : 0 [nas] 0
enable_eap_preferred_server check
Error while getting authentication type
Copying remote address 192.168.6.80
Copying remote address 192.168.6.80
Remote address 192.168.6.80
Allocate id for v4 request for first try
Picking the rad id 207:3 sockfd 0xC4D2DD98
rctx 0xc4ecf798 added successfully
calling smaip for ip address cur: 192.168.6.89 [60000000]
After calling/replacing smaip for ip address : 192.168.6.89 [60000000]
RADIUS: Send Access-Request to 192.168.6.80:1812 id 207, len 216
RADIUS: authenticator F1 E4 85 86 B3 13 44 3A - D9 38 5F F5 66 47 A0 1C
RADIUS: Vendor,Cisco [26] 41
RADIUS: Cisco AVpair [1] 35 client-mac-address=000c.29f8.482c
RADIUS: Acct-Session-Id [44] 10 040003ea
RADIUS: NAS-Port-Id [87] 10 0/96/1/0
RADIUS: Vendor,Cisco [26] 16
RADIUS: cisco-nas-port [2] 10 0/96/1/0
RADIUS: User-Name [1] 16 000c.29f8.482c
RADIUS: Service-Type [6] 6 Outbound[5]
RADIUS: User-Password [2] 18 *
RADIUS: NAS-Port-Type [61] 6 IPOEOE[39]
RADIUS: Event-Timestamp [55] 6 1534195187
RADIUS: Vendor,Cisco [26] 14
RADIUS: cisco-dhcp-client-id[49] 8
RADIUS: Vendor,Cisco [26] 23
RADIUS: Cisco AVpair [1] 17 dhcp-client-id=
RADIUS: Nas-Identifier [32] 6 vBNG
RADIUS: NAS-IP-Address [4] 6 192.168.6.89
RADIUS: NAS-IPv6-Address [95] 18 ::
Got global deadtime 0
Using global deadtime = 0 sec
Start timer thread rad_ident 207 remote_port 1812 remote_addr 192.168.6.80, socket -992813672 rctx 0xc4ecf798
Successfully sent packet and started timeout handler for rctx 0xc4ecf798
Radius packet decryption complete with rc = 0
RADIUS: Received from id 207 192.168.6.80:1812, Access-Accept, len 71
RADIUS: authenticator B0 C7 B5 86 97 3B BB 47 - 8B 86 E8 FF 97 BD 97 3A
RADIUS: Acct-Interim-Interval[85] 6 120
RADIUS: Vendor,Cisco [26] 39
RADIUS: Cisco AVpair [1] 33 ipv4:ipv4-unnumberred=Loopback0
RADIUS: Service-Type [6] 6 Framed[2]
Freeing server group transaction_id (43000051)
pack_length = 71 radius_len = 71
Calling app inf callback
rad_nas_reply_to_client: Received response from id : 207,packet type 2
Total len = 71, Radius len = 71
Unknown vsa in reply : FAIL
(rad_nas_reply_to_client) Successfully decoded the response 0: FAIL
Error while getting authentication type
(rad_nas_reply_to_client) Couldn't store the preferred server info
(rad_nas_reply_to_client) Send response back to client