Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Apple devices not receiving IP address

Hello everyone,

I searched for a resolution to my problem but couldn't find one so hopefully I can get some help here.

We have a 2504 controller (Code 7.0.220.0) deployed with 7 LAPs.  We have a few SSIDs, both with WPA/WPA2 configured.  There is an external DHCP server that all clients get their IP address from.  Laptops can connect to these SSIDs with no problem.

Lately tho, no APPLE devices (iphone 4, 4s, 5, ipads, etc) can get an IP address.  They are all stuck in the DHCP_REQD state.  I ran some debugs and I see that an APPLE device keeps getting a DHCPOFFER with an IP address but the APPLE device never accepts.  Has anyone ever had this issue ?

Here is the debug of the client getting DHCP offers but never accepting:

*DHCP Socket Task: Oct 01 10:26:48.083: 3c:d0:f8:99:1b:fe DHCP setting server from OFFER (server 192.168.34.253, yiaddr 192.168.34.151)

*DHCP Socket Task: Oct 01 10:26:49.111: 3c:d0:f8:99:1b:fe DHCP received op BOOTREQUEST (1) (len 308,vlan 934, port 2, encap 0xec00)

*DHCP Socket Task: Oct 01 10:26:49.111: 3c:d0:f8:99:1b:fe DHCP dropping looped REQUEST from DS (encap type 0xec00)

*DHCP Socket Task: Oct 01 10:26:49.111: 3c:d0:f8:99:1b:fe DHCP received op BOOTREPLY (2) (len 257,vlan 934, port 2, encap 0xec00)

*DHCP Socket Task: Oct 01 10:26:49.112: 3c:d0:f8:99:1b:fe DHCP received op BOOTREPLY (2) (len 257,vlan 932, port 1, encap 0xec03)

*DHCP Socket Task: Oct 01 10:26:59.273: 3c:d0:f8:99:1b:fe DHCP received op BOOTREQUEST (1) (len 308,vlan 934, port 2, encap 0xec00)

*DHCP Socket Task: Oct 01 10:26:59.273: 3c:d0:f8:99:1b:fe DHCP dropping looped REQUEST from DS (encap type 0xec00)

*DHCP Socket Task: Oct 01 10:26:59.370: 3c:d0:f8:99:1b:fe DHCP received op BOOTREPLY (2) (len 298,vlan 932, port 1, encap 0xec03)

*DHCP Socket Task: Oct 01 10:26:59.370: 3c:d0:f8:99:1b:fe DHCP setting server from OFFER (server 192.168.34.253, yiaddr 192.168.34.153)

*DHCP Socket Task: Oct 01 10:27:00.377: 3c:d0:f8:99:1b:fe DHCP received op BOOTREQUEST (1) (len 308,vlan 934, port 2, encap 0xec00)

*DHCP Socket Task: Oct 01 10:27:00.377: 3c:d0:f8:99:1b:fe DHCP dropping looped REQUEST from DS (encap type 0xec00)

*DHCP Socket Task: Oct 01 10:27:00.377: 3c:d0:f8:99:1b:fe DHCP received op BOOTREPLY (2) (len 257,vlan 934, port 2, encap 0xec00)

I saw in another thread that disable WPA/TKIP can work, however this isn't an association issue because they association just fine, they just can get an IP address.

Any help would be great.  Thanks!

7 REPLIES

Apple devices not receiving IP address

Hi,

I had this problem too,but on autonomous APs.Laptops and android devices worked perfect but apple devices not.

I didn't find any solution so my last option was to setup dhcp server on the L3 switch.

This fixed the problem.

Regards.

Hall of Fame Super Gold

Apple devices not receiving IP address

Lately tho, no APPLE devices (iphone 4, 4s, 5, ipads, etc) can get an IP address.

What firmware are these apple devices running on?

There is an external DHCP server that all clients get their IP address from.

I know this could be fruitless, but did you try to delete the DHCP lease of the devices?  How many available IP addresses are there?

Hall of Fame Super Silver

Re: Apple devices not receiving IP address

Apple devices will not authenticate properly with both WPA and WPA2. Set the authentication to WPA2/AES only and then try it. My iOS devices will not get an address also when I have a mixed environment, because it does fail authentication.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***
New Member

Apple devices not receiving IP address

I tried only using WPA2/AES and still no luck. 

Hall of Fame Super Silver

Re: Apple devices not receiving IP address

If other devices are working fine on that ssid, it's hard to believe that the Apple devices don't work. You will need to post the show WLAN and also the debug client

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***
Hall of Fame Super Gold

Apple devices not receiving IP address

I tried only using WPA2/AES and still no luck.

Try OPEN SSID.  If that works, then turn on WPA2/AES.  Then post the output to the command "debug client " and get one of the clients to join.

New Member

Apple devices not receiving IP address

Hey all,

Thanks again everyone for the help.  Turns out after a lot of packet captures and pointless calls with TAC, I found the issue was a bug with the ASA firewall. 

https://tools.cisco.com/bugsearch/bug/CSCuh79288

The DHCP lease time to Apple devices was 0 seconds (might be due to the fact that Apple devices request Options 119 and 252).  The fix was configure "dhcprelay timeout 60" on the firewall.  

Makes no sense I know but it fixed it.

811
Views
0
Helpful
7
Replies
CreatePlease login to create content