ArubaOS and Controllers

Reply
Frequent Contributor I
Posts: 67
Registered: ‎01-06-2011

Mac OS not receiving valid dhcp after sleep

I have clients who are using mac devices that are trying to connect to a remote AP and are not receiving dhcp addresses after they come back from sleep mode. They have a 169.x.x.x address and it takes them 10 minutes to get a valid dhcp address. Any ideas on how to fix this?
Guru Elite
Posts: 20,808
Registered: ‎03-29-2007

Re: Mac OS not receiving valid dhcp after sleep

What kind of encryption are you using?


Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Frequent Contributor I
Posts: 67
Registered: ‎01-06-2011

Re: Mac OS not receiving valid dhcp after sleep




It is open.

Guru Elite
Posts: 20,808
Registered: ‎03-29-2007

Re: Mac OS not receiving valid dhcp after sleep

We have to turn on debugging to see what is going on when this happens:

config t
logging level debug user

show log user

We have seen issues with encryption and the macs coming out of sleep and that is normally a configuration change. The logs would show what the client is doing when this happens, and then we can get an idea.


Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor II
Posts: 12
Registered: ‎06-29-2010

Re: Mac OS not receiving valid dhcp after sleep

Hi,

I'm having same problem with Macs and iPads, cannot get an IP address coming out of sleep, I've tried turning off the wi-fi (or airport) in the devices several times and eventually some got an IP but others did not.
Windows laptops do not show this problem.
If anyone could help us we'll be grateful
Guru Elite
Posts: 20,808
Registered: ‎03-29-2007

Re: Mac OS not receiving valid dhcp after sleep

What type of encryption are you using, Alfspace98?


Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor II
Posts: 11
Registered: ‎04-13-2009

Re: Mac OS not receiving valid dhcp after sleep

Same issue here with WPA1-PSK. Laptop wakes up, uses his old IP for a few seconds, and disconnects (tries to reclaim?). We're using the controller for DHCP on this WLAN, which is authoritative by default. Could that be related to this issue? Below a debug of a user encountering this problem. Would it be useful to log a TAC-case for this issue, or should we define this as a client issue?

(CDEF_WLC) # show log user-debug all
Jan 14 01:33:46 :501102: |stm| Disassoc from sta: 78:ca:39:ae:bf:f1: AP 192.168.1.248-00:1a:1e:55:ed:50-AP03 Reason STA has left and is disassocisted
Jan 14 01:33:46 :501102: |AP AP03@192.168.1.248 stm| Disassoc from sta: 78:ca:39:ae:bf:f1: AP 192.168.1.248-00:1a:1e:55:ed:50-AP03 Reason STA has left and is disassocisted
Jan 14 01:33:46 :501065: |stm| Sending STA 78:ca:39:ae:bf:f1 message to Auth and Mobility Unicast Encr WPA PSK AES Multicast Encr Static WPA,WPA2 PSK TKIP VLAN 0x3e5, wmm:0, rsn_cap:0
Jan 14 01:33:46 :501000: |AP AP03@192.168.1.248 stm| Station 78:ca:39:ae:bf:f1: Clearing state
Jan 14 01:33:46 :522036: |authmgr| MAC=78:ca:39:ae:bf:f1 Station DN: BSSID=00:1a:1e:55:ed:50 ESSID=Seats2Meet.com VLAN=997 AP-name=AP03
Jan 14 01:33:46 :522004: |authmgr| MAC=78:ca:39:ae:bf:f1 ingress 0x1099 (tunnel 25), u_encr 512, m_encr 2056, slotport 0xfc1 , type: local, FW mode: 0, AP IP: 0.0.0.0
Jan 14 01:33:46 :522004: |authmgr| station free: bssid=00:1a:1e:55:ed:50, valid=1, @=0x107d0fbc
Jan 14 01:33:46 :500511: |mobileip| Station 78:ca:39:ae:bf:f1, 0.0.0.0: Received disassociation on ESSID: Seats2Meet.com Mobility service ON, HA Discovery on Association Off, Fastroaming Disabled, AP: Name AP03 Group CDEF-AP-GROUP BSSID 00:1a:1e:55:ed:50, phy a, VLAN 997
Jan 14 01:33:46 :501000: |stm| Station 78:ca:39:ae:bf:f1: Clearing state
Jan 14 01:33:52 :501095: |stm| Assoc request @ 01:33:52.417174: 78:ca:39:ae:bf:f1 (SN 2): AP 192.168.1.248-00:1a:1e:55:ed:50-AP03
Jan 14 01:33:52 :501095: |AP AP03@192.168.1.248 stm| Assoc request @ 01:33:52.414914: 78:ca:39:ae:bf:f1 (SN 2): AP 192.168.1.248-00:1a:1e:55:ed:50-AP03
Jan 14 01:33:52 :501100: |AP AP03@192.168.1.248 stm| Assoc success @ 01:33:52.415622: 78:ca:39:ae:bf:f1: AP 192.168.1.248-00:1a:1e:55:ed:50-AP03
Jan 14 01:33:52 :501100: |stm| Assoc success @ 01:33:52.420376: 78:ca:39:ae:bf:f1: AP 192.168.1.248-00:1a:1e:55:ed:50-AP03
Jan 14 01:33:52 :501065: |stm| Sending STA 78:ca:39:ae:bf:f1 message to Auth and Mobility Unicast Encr WPA PSK AES Multicast Encr Static WPA,WPA2 PSK TKIP VLAN 0x3e5, wmm:0, rsn_cap:0
Jan 14 01:33:52 :500511: |mobileip| Station 78:ca:39:ae:bf:f1, 0.0.0.0: Received association on ESSID: Seats2Meet.com Mobility service ON, HA Discovery on Association Off, Fastroaming Disabled, AP: Name AP03 Group CDEF-AP-GROUP BSSID 00:1a:1e:55:ed:50, phy a, VLAN 997
Jan 14 01:33:52 :522035: |authmgr| MAC=78:ca:39:ae:bf:f1 Station UP: BSSID=00:1a:1e:55:ed:50 ESSID=Seats2Meet.com VLAN=997 AP-name=AP03
Jan 14 01:33:52 :522004: |authmgr| MAC=78:ca:39:ae:bf:f1 ingress 0x1099 (tunnel 25), u_encr 512, m_encr 2056, slotport 0xfc1 , type: local, FW mode: 0, AP IP: 0.0.0.0
Jan 14 01:33:52 :522004: |authmgr| MAC=78:ca:39:ae:bf:f1 def_vlan 997 derive vlan: 0 auth_type 0 auth_subtype 0
JYL
Occasional Contributor II
Posts: 25
Registered: ‎10-08-2009

I got the same Problem and coudnt figure out why: the solution i did to make it work

I have same problem also but mine im using WPA2-PSK AES. Once Mac, IPAD went to standby mode the IP is gone and will request a new one.

the solution that works for me is to enable the DHCP on the controller for that subnet and it works not Ideal for big implementation though.

while Im waiting for IPAD to get mature then I will revisit this or maybe some folks was figure this out already.

Note: using EAP-TLS 802.1x on IPAD has no issue getting the ip address because the suplicant does the rechecking.
Guru Elite
Posts: 20,808
Registered: ‎03-29-2007

Re: Mac OS not receiving valid dhcp after sleep

To see what is going on at the time from a DHCP perspective, enable DHCP debugging:

config t
logging level debug network process dhcp
logging level debug network subcat dhcp

show log network 50


Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Search Airheads
Showing results for 
Search instead for 
Did you mean: