Showing posts with label Wireless. Show all posts
Showing posts with label Wireless. Show all posts

Wednesday, June 20, 2012

Wireless clients getting DHCP Server in a different subnet

Issue:

  • Running "ipconfig /all" on the client shows that the wireless DHCP server is in a different subnet and/or a different DHCP server than expected;
  • Confirmed no network connections observed from wireless client;
  • Wireless network infrastructure consists of Lightweight Access Points controlled by Wireless LAN Controller (WLC);
  • Even if IP address is released and renewed, client is still getting the correct IP address but DHCP Server is still in the different subnet.


#SNIPPET START

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . : my.company.com
   Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6200 AGN
   Physical Address. . . . . . . . . : 00-27-EE-EE-EE-EE
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::c010:5d39:eeee:eee%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.100.30.228(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.254.0
   Lease Obtained. . . . . . . . . . : Saturday, June 09, 2012 6:56:11 PM
   Lease Expires . . . . . . . . . . : Sunday, June 10, 2012 12:56:11 AM
   Default Gateway . . . . . . . . . : 10.100.30.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 218113808
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-9D-76-61-00-EE-EE-EE-EE-EE
   DNS Servers . . . . . . . . . . . : 10.100.5.130
                                       10.100.5.132
                                       10.20.4.100
                                       10.20.4.80
   Primary WINS Server . . . . . . . : 10.100.30.209
   Secondary WINS Server . . . . . . : 10.100.30.210
   NetBIOS over Tcpip. . . . . . . . : Enabled


#SNIPPET END

Resolution:

  • First thing to confirm is if there is any actual network issue; i.e., does the client have any network connectivity issues? In this example, it's already confirmed that there are no issues.
  • In this case, there is actually no network/configuration issue; the WLC is configured as a DHCP Relay (as opposed to instead of as a DHCP Server); hence, the client sees a virtual IP address of the WLC, instead of the actual DHCP server.
  • Here's the rough run-through of the process;
    • Wireless Client DHCP request --> AP --> WLC (dhcp relay) ---> DHCP Server
    • DHCP Server reply --> WLC --> AP --> Wireless Client

Reference:
Wireless LAN Controller (WLC) FAQ

Tuesday, March 20, 2012

Apple iOS Upgrade Not Working over Wireless

Some iPhone and iPad users are trying to update to iOS 5 through wireless connection but fails.




Apple iOS OTA (over-the-air) update is not proxy-aware.

To check if using proxy, go to Settings > Wi-Fi > the name wifi network, and scroll down to HTTP Proxy.

Workaround: use other methods to update (such as using wired connection iTunes).

Laptop WiFi Connection fails

Laptop cannot get any IP address on the wireless adapter; previously connected via both wired and wifi.
AlwaysResolved by toggling or turning off/on the wifi switch of the laptop.

Windows XP, Windows 7

Checking the AP and/or WLC shows authentication failure due similar to below:
Mar 12 06:54:04.731: %DOT11-4-MAXRETRIES: Packet to client ABCD.EFGH.IJKL reached max retries, removing the client
Mar 12 06:54:04.731: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station ABCD.EFGH.IJKL Reason: Previous authentication no longer valid
Mar 12 06:54:04.738: %DOT11-4-MAXRETRIES: Packet to client ABCD.EFGH.IJKL reached max retries, removing the client
This happens usually during the following situations:
  1. laptops go back from standby/hibernate mode;
  2. when laptop is using both wired and wifi connections then disconnects from wired; or
  3. combination of above both situations.
Resolution:
Change 802.1X Authentication to use 'user authentitcation' only. Computer authentication uses only the cached information which maybe stale, inactive, and/or expired. Specifying user authentication forces the laptop to re-authenticate with the authentication servers -- essentially 'refreshing' the authentication information.

Note that this may not apply to every office network.

Wednesday, November 4, 2009

Wireless: %DTL-1-ARP_POISON_DETECTED

CSCsm25943 Change label for %DTL-1-ARP_POISON_DETECTED message
http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCsm25943

Symptom:

A Wireless LAN Controller may emit a message similar to the following:

DTL-1-ARP_POISON_DETECTED: STA [00:01:02:0e:54:c4, 0.0.0.0] ARP (op 1) received with invalid SPA 192.168.1.152/TPA 192.168.0.206

However, when one peruses the entry in the Cisco Wireless LAN Controller System Message Guide, 4.2, for this message, he may find it to be misleading and bereft of useful information.

Conditions:

This message does not necessarily imply that any actual "ARP poisoning" (ARP spoofing) is going on. Rather, it is emitted whenever the following conditions pertain:

- WLAN is configured with DHCP Required
- A client, after associating on that WLAN, transmits an ARP message without first DHCPing

This may be normal behavior - for example, when the client is statically addressed, or when the client is holding a valid DHCP lease from a prior association.

The effect of this condition is that the client will be unable to send or receive any data traffic, until it DHCPs thru the WLC.

In more detail, here is how to interpret the example message above:

DTL-1-ARP_POISON_DETECTED: STA [00:01:02:0e:54:c4, 0.0.0.0] ARP (op 1) received with invalid SPA 192.168.1.152/TPA 192.168.0.206

DTL-1-ARP_POISON_DETECTED
- WLC received an ARP packet from a client in DHCP_REQ state

STA [00:01:02:0e:54:c4, 0.0.0.0]
- the client ("STA" - 802.11 wireless station) has a MAC address of 00:01:02:0e:54:c4, and an IP address unknown to the WLC ("0.0.0.0")

ARP (op 1)
- the offending packet received from client was an ARP request (opcode 1)

invalid SPA 192.168.1.152/TPA 192.168.0.206
- the source IP address (SPA - "sender protocol address") of the ARP request was 192.168.1.152
- the target IP address (TPA - "target protocol address") of the ARP request was 192.168.0.206

Workaround:

  1. figure out whether or not you want to force your wireless clients to DHCP first, after associating, before they can send IP packets.


  2. If no, then unconfigure DHCP required, and you won't get this problem.


  3. If yes, then configure all clients to use DHCP.


  4. If the client is configured for DHCP, but still sometimes sends IP packets after associating without re-DHCPing, then:

    • See if the client eventually does re-DHCP & if so doesn't suffer an unacceptable outage before re-DHCPing. If the outage before re-DHCPing is acceptable, then you can just ignore this message.


    • If the client never does re-DHCP after associating, then it will never be able to pass L3 traffic. So in that case, either figure out how to change the client's behavior so that it always does re-DHCP after associating, or else just accept that this client won't work in this application, or else reconsider your decision to use "DHCP required".



Further Problem Description:

If the source IP address (SPA) of the ARP is an APIPA address (i.e. one in 169.254.0.0 /16), then this may be indicative of the STA's attempting but failing to acquire an address via DHCP. In which case you may want to verify that your DHCP implementation works.

1st Found-In:
4.2(61.0)

Fixed-In:
7.0(63.0)

Wireless: %APF-3-USER_DEL_FAILED

Event : %APF-3-USER_DEL_FAILED: Unable to delete username unknown for mobile mac-address

Explanation: This error can mean slightly different things depending on EAP method. Basically it is a side effect of an EAP method with identity protection.

EAP authentication is done in two phases. The first phase of authentication uses generic anonymous external identity in order to establish the tunnel. In phase 2, client authentication is done in the established tunnel. The client sends the original username and password to authenticate and establish a client authorization policy. As this authentication method hides the original user name at the first phase of authentication, the controller does not have a way to add the correct username to the authenticated user list. So the controller uses the anonymous username. The end result generates this error.

Further details on the related bug below:



%APF-1-USER_DEL_FAILED: apf_ms.c:5055 flooding msglogs.
http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCsz51403

Symptom:
The "%APF-1-USER_DEL_FAILED: apf_ms.c:5055" message floods msglogs

Conditions:
1. Multiple clients connect to the controller with the same user name, or
2. AAA server returns a user name that is different to what is registered by the client.

Workaround:
No, but it does not affect any controller feature

1st Found-In
  • 5.2(178.12)
  • 5.2(178.13)

    Fixed-In
  • 6.0(176.0)
  • 5.2(186.0)
  • 6.1(34.0)
  • 6.0(182.0)
  • 4.2(205.1)
  • 5.2(193.0)
  • 4.2(207.0)