No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

DHCP Users Did Not Went Offline Upon Lease Expiry Because the ME60 Did Not Management RADIUS-Delivered Leases

Publication Date:  2013-09-30 Views:  45 Downloads:  0
Issue Description
A RADIUS server delivered a 120s lease to a Layer 3 DHCP user. The network cable was disconnected once the use went online. However, the user kept online on the ME60 after 120s elapsed. 
Handling Process

Possible causes include:

1. The RADIUS server failed to deliver the DHCP lease properly.

2. The delivered DHCP lease was incorrect.

3. The ME60 did not manage DHCP users with a short lease.

4. The ME60 did not manage DHCP users with a short lease delivered by a RADIUS server.

Huawei performed the following operations to address the problem:

1. Performed a test again and traced the user online information.

According to the trace result, the RADIUS server delivered the DHCP lease properly.

Radius Received a Packet
Server Template: 0
Server IP : 172.16.212.11
Vpn-Instance: -
Server Port : 1812
NAS Port : 1812
Protocol: Standard
Code : Authentication accept
Len : 181
ID : 219
[Framed-Protocol(7) ] [6 ] [1]
[Unknown-attr(13) ] [6 ] [00000001]
[HW-Subnet-Mask(Huawei-72) ] [6 ] [255.255.255.0]
[HW-Gateway-Address(Huawei-73) ] [6 ] [10.90.1.254]
[Filter-Id(11) ] [5 ] [net]
[HW-Lease-Time(Huawei-74) ] [6 ] [120]
[HW-Input-Committed-Burst-Size(Huawei-1)] [6 ] [3740000]
[HW-Input-Committed-Information-Rate(Huawei-2)] [6 ] [20000000]
[HW-Output-Committed-Burst-Size(Huawei-4)] [6 ] [3740000]
[HW-Output-Committed-Inform
Nov 30 2011 18:28:49.420.9 ME60 BTRC/7/BTRC_DebugInfo:ation-Rate(Huawei-5)] [6 ] [20000000]
[HW-Input-Peak-Information-Rate(Huawei-3)] [6 ] [20000000]
[HW-Output-Peak-Information-Rate(Huawei-6)] [6 ] [20000000]
[HW-Input-Peak-Burst-Size(Huawei-77)] [6 ] [3740000]
[HW-Output-Peak-Burst-Size(Huawei-78)] [6 ] [3740000]
[Acct-Interim-Interval(85) ] [6 ] [300]
[Framed-IP-Address(8) ] [6 ] [10.90.1.25]]

2. Checked the lease.

The lease was 120s.

3. Configured the ME60 not to authenticate the user, locally deliver an address, and configure the lease under the local address pool.

The user went offline properly. It was suspected that the ME60 did not manage DHCP users with a short lease delivered by the RADIUS server.

4. Analyzed code and found that ME60 did not manage DHCP users with a short lease delivered by the RADIUS server. That is, even if a user did not extend the lease upon the lease expiry, the ME60 did not release the user. In hidden mode, the locally-delivered lease and RADIUS-delivered lease had the following difference:

[ME60-4-hidecmd]disp ip-pool local useraddr-info ip-address 10.1.1.3
-------------------------------------------------------------------------------
Self Index :1
Pre Index :4294967295
Next Index :4294967295
CID :4294967295
User Type :255
User Mac :ffff-ffff-ffff
State :disable
Current Lease(s) :-
Lease :02/07/2106 06:28:15 -> UNLIMITED ---Radius-delivered lease
-------------------------------------------------------------------------------
[ME60-4-hidecmd]
[ME60-4-hidecmd]disp ip-pool local useraddr-info ip-address 10.1.1.240
-------------------------------------------------------------------------------
Self Index :238
Pre Index :4294967295
Next Index :4294967295
CID :136
User Type :7
User Mac :0001-4455-0101
State :used
Current Lease(s) :216
Lease :12/01/2010 19:33:31 -> 12/04/2010 19:33:31 ---Locally delivered lease

5. Configured the lease under the local address pool.

The problem was resolved.
Root Cause
The ME60 did not support management of leases delivered by the RADIUS server to DHCP users.
Solution
Configured the lease under the local address pool.
Suggestions
None ME60 versions support management of leases delivered by a RADIUS server to Layer 3 or Layer 2 DHCP users.

END