METHODS AND APPARATUS FOR HANDLING WIRELESS ROAMING AMONG AND ACROSS WIRELESS AREA NETWORKS
Wireless roaming in a computer network may be handled through a solution provided on one or more switches in the network. A roam request sent by a switch corresponding to the user's new location may be received by the other switches in the network. If the user is known to any of these switches, then they may execute steps to accommodate the roaming. The tasks performed may vary based on whether the roaming is on layer 2 or layer 3, whether the switch is a home agent for the client, and/or whether the switch already corresponds to the user's new location.
Latest Foundry Networks, LLC Patents:
This application is a divisional of U.S. patent application Ser. No. 12/263,356, entitled “Methods and Apparatus for Handling Wireless Roaming Among and Across Wireless Area Networks”, filed on Oct. 31, 2008, which is a continuation of U.S. Patent Application Ser. No. 10/785,596, entitled “Methods and Apparatus for Handling Wireless Roaming Among and Across Wireless Area Networks,” filed on Feb. 23, 2004, the entirety of which is incorporated herein by reference.
COPYRIGHT NOTICEA portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark
FIELD OF THE INVENTIONThe present invention relates to the field of wireless networking. More particularly, the present invention relates to a solution for wireless roaming among and across wireless local area networks.
BACKGROUND OF THE INVENTIONWireless network has significantly grown in popularity. The IEEE 802.11 standards are currently the most widely used wireless networking standards. Wireless network can present unique problems when clients “roam”. Roaming may be defined as switching from one access point to another access point.
The ability of a mobile client to move freely between various segments of a wireless domain without experiencing any observable service degradation or disruption is called seamless roaming. Roaming can occur at various layers. If a client roams between two segments that are part of the same Internet Protocol (IP) subnet, then the roaming is termed layer 2 roaming. If the client roams between segments that have different IP subnets, then the roaming is termed layer 3 roaming.
The Inter Access Point Protocol (IAPP) has been suggested by the IEEE 802.11 committee to address the layer 2 roaming of clients in wireless networks. It runs on wireless access points and uses a combination of Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) to facilitate roaming. However, it fails to support layer 3 roaming as it relies on layer 2 broadcast messages to find other access points.
The IPv4 (RFC 3344) standard has been proposed by the Internet Engineering Task Force (IETF) and it attempts to address Layer 3 roaming. Though it is a generic solution, it suffers several limitations. For example, the standard relies on software upgrades to the clients to run some piece of the protocol. This requires that all users upgrade their mobile clients (laptops, mobile phones, etc.) before they can use this standard. Additionally, this standard only addresses the layer 3 roaming aspect of the generic problem.
What is needed is a solution that can seamlessly handle both layer 2 and layer 3 roaming.
BRIEF DESCRIPTION OF THE INVENTIONWireless roaming in a computer network may be handled through a solution provided on one or more switches in the network. A roam request sent by a switch corresponding to the user's new location may be received by the other switches in the network. If the user is known to any of these switches, then they may execute steps to accommodate the roaming. The tasks performed may vary based on whether the roaming is on layer 2 or layer 3, whether the switch is a home agent for the client, and/or whether the switch already corresponds to the user's new location.
The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate one or more embodiments of the present invention and, together with the detailed description, serve to explain the principles and implementations of the invention.
In the drawings:
Embodiments of the present invention are described herein in the context of a system of computers, servers, and software. Those of ordinary skill in the art will realize that the following detailed description of the present invention is illustrative only and is not intended to be in any way limiting. Other embodiments of the present invention will readily suggest themselves to such skilled persons having the benefit of this disclosure. Reference will now be made in detail to implementations of the present invention as illustrated in the accompanying drawings. The same reference indicators will be used throughout the drawings and the following detailed description to refer to the same or like parts.
In the interest of clarity, not all of the routine features of the implementations described herein are shown and described. It will, of course, be appreciated that in the development of any such actual implementation, numerous implementation-specific decisions must be made in order to achieve the developer's specific goals, such as compliance with application- and business-related constraints, and that these specific goals will vary from one implementation to another and from one developer to another. Moreover, it will be appreciated that such a development effort might be complex and time-consuming, but would nevertheless be a routine undertaking of engineering for those of ordinary skill in the art having the benefit of this disclosure.
In accordance with the present invention, the components, process steps, and/or data structures may be implemented using various types of operating systems, computing platforms, computer programs, and/or general purpose machines. In addition, those of ordinary skill in the art will recognize that devices of a less general purpose nature, such as hardwired devices, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), or the like, may also be used without departing from the scope and spirit of the inventive concepts disclosed herein. Furthermore, the present invention is described in the context of a switch. However, one of ordinary skill in the art will recognize that the term switch should be read broadly, so as to include any device that directs packets, including a router and a gateway.
Layer 2 and Layer 3 roaming are based on the Open Systems Interconnection (OSI) network standard of layers. Layer 2 represents the data-link layer, while layer 3 represents the network layer. For purposes of this document, layer 2 roaming may involve the roaming from one access point (AP) to a new AP having the same virtual local area network (VLAN) and subnet. Layer 3 roaming may involve the roaming from one AP to a new AP that has either a different VLAN, or the same VLAN but different subnet.
Clients in a wireless network can roam from one access point to another. A combination of access points, wireless local area network (WLAN) switches, and the underlying topology presents a challenge to manage roaming clients. The present invention provides a solution that allows WLAN switches to properly manage wireless roaming.
One embodiment of the present invention involves the use of new protocols between the access point (AP) and the WLAN switch, and between WLAN switches. The protocol between the AP and the WLAN switch may be called the Switch Access Point Protocol (SAPP). The protocol between the WLAN switches may be called the Inter Switch Roaming Protocol (ISRP). Use of these protocols is optional, however, and one of ordinary skill in the art will recognize that the present invention may be practiced without the use of either of these protocols.
SAPP may begin with a discovery phase in which the APs send a discovery request frame, causing any WLAN switch receiving the frame to respond with a discover reply frame. From all the discovery replies received, an AP may select a WLAN switch with which to associate, and then may send out a join request. The WLAN switch receiving the join request may then send a join reply. Upon receiving the join reply, the AP may establish a TCP session with the WLAN switch. Once the TCP session is up, the Access Point may communicate to the WLAN switch all the client related events.
Each of the WLAN switches within a mobility domain may be configured with the IP addresses of all the other WLAN switches in that domain. This helps to establish a full mesh of TCP connections amongst them.
Once the TCP connection is established, the WLAN switch may send out an initialization message via ISRP to the peer WLAN switch. If the peer accepts the initialization message, it may reply with its own initialization message followed by a keep alive message.
When roaming is detected, the new WLAN switch may send a roam mobile message to all the other WLAN switches in the mobility domain. When a WLAN switch receives this message, it may check to see if it knows anything about the client. If it does, then it may invoke a roaming algorithm to handle the message. Otherwise, it may simply ignore the message.
If at 1106 it was determined that the WLAN switch was not the same WLAN switch that sent the roam request, then at 1112 it may be determined if the switch is the Home Agent for the client. If not, then at 1114, information regarding the client may be removed from the switch. This may make it such that the client is no longer “known” to this switch. If, however, the switch is the Home Agent for the client, then at 1116, traffic for this client may be tunneled to the switch that sent the roam request. Then, at 1118, the switch may proxy for the client on the local (old) network. Finally, at 1120, a roam reply indicating success may be sent to the switch that sent the roam request. This roam reply may include all network configuration information (e.g., IP address) for the client from the switch. This may be also be performed after step 1110.
If at 1104 it was determined that it was not layer 3 roaming (but instead was layer 2 roaming), then at 1120, it may be determined if the switch is the same switch that sent the roam request. If not, then at 1122, information regarding the client may be removed from the switch. Then the process may move to 1118. If not, then the process may simply move to 1118.
It should be noted that at 1118, the switch may instead send a roam reply indicating failure if something went wrong during the process, such as the failure in tunnel establishment.
If it was determined that the WLAN switch was not the same WLAN switch that sent the roam request, then a first switch home agent determiner 1412 may determine if the switch is the Home Agent for the client. If not, then a client information remover 1414 coupled to the first switch home agent deteminer 1412 may remove information regarding the client from the switch. This may make it such that the client is no longer “known” to this switch. If, however, the switch is the Home Agent for the client, then a second switch traffic tunneler 1416 coupled to the first switch home agent determiner 1412 may tunnel traffic for this client to the switch that sent the roam request. Then the switch may proxy for the client on the local (old) network. Finally, a roam reply sender 1418 coupled to the client information remover 1414 and to the second switch traffic tunneler 1416 may send a roam reply indicating success to the switch that sent the roam request. This roam reply may include all network configuration information (e.g., IP address) for the client from the switch.
If it was determined that it was not layer 3 roaming (but instead was layer 2 roaming), then it may be determined if the switch is the same switch that sent the roam request. If not, then a client information remover 1420 coupled to the layer 2 or layer 3 roaming ascertainer 1404 may remove information regarding the client from the switch. If so, nothing special needs to be done.
It should be noted that the switch may instead send a roam reply indicating failure if something went wrong during the process, such as the failure in tunnel establishment.
While embodiments and applications of this invention have been shown and described, it would be apparent to those skilled in the art having the benefit of this disclosure that many more modifications than mentioned above are possible without departing from the inventive concepts herein. The invention, therefore, is not to be restricted except in the spirit of the appended claims.
Claims
1. A method comprising:
- receiving, by a first switch in a mobility domain of switches, a first request from an access point associated with the first switch, the first request indicating that a mobile client has connected to the access point; and
- in response to the first request, sending, by the first switch, a second request to all other switches in the mobility domain and to the first switch itself, the second request indicating that the mobile client has roamed to the access point from another access point.
2. The method of claim 1 wherein the access point is in a first Layer 2 network and wherein the another access point is in a second Layer 2 network distinct from the first Layer 2 network.
3. The method of claim 2 wherein the another access point is associated with the first switch.
4. The method of claim 2 wherein the another access point is associated with a second switch in the mobility domain distinct from the first switch.
5. The method of claim 1 wherein the access point is in a first Layer 3 network and wherein the another access point is in a second Layer 3 network distinct from the first Layer 3 network.
6. The method of claim 5 wherein the another access point is associated with the first switch.
7. The method of claim 5 wherein the another access point is associated with a second switch in the mobility domain distinct from the first switch.
8. The method of claim 1 wherein each switch in the mobility domain is configurable to, upon receiving the second request:
- handle the second request to determine whether the switch is a home agent for the mobile client; and
- return a first reply to the first switch.
9. The method of claim 8 further comprising, upon receiving the first reply:
- if the first reply indicates that the second request was successfully handled, setting the first switch as a foreign agent for the mobile client.
10. The method of claim 9 further comprising, if the first reply indicates that the second request was successfully handled:
- trapping an Address Resolution Protocol (ARP) packet received from the mobile client via the access point; and
- sending an ARP reply to the mobile client identifying the first switch's default router address.
11. The method of claim 10 further comprising, if the first reply indicates that the second request was successfully handled:
- sending a second reply to the access point that includes a new VLAN identifier for the mobile client.
12. The method of claim 11 wherein the access point is configurable to, upon receiving the second reply, tag all traffic for the mobile client with the new VLAN identifier.
13. The method of claim 8 further comprising, upon receiving the first reply:
- if the first reply indicates that the second request was not successfully handled, sending a second reply to the access point indicating failure.
14. The method of claim 1 wherein the first request is a Switch Access Point Protocol (SAPP) move message.
15. The method of claim 1 wherein the second request is an Inter Switch Roaming Protocol (ISRP) roam request.
16. The method of claim 1 wherein each switch in the mobility domain is configured with an IP address of every other switch in the mobility domain.
17. A network switch usable in a mobility domain of switches, the network switch comprising:
- a processor; and
- a non-transitory computer readable storage medium having stored thereon instructions that, when executed by the processor, cause the processor to: receive a first request from an access point associated with the network switch, the first request indicating that a mobile client has connected to the access point; and in response to the first request, send a second request to all other switches in the mobility domain and to the network switch itself, the second request indicating that the mobile client has roamed to the access point from another access point.
18. A non-transitory computer readable storage medium having stored thereon instructions executable by a network switch in a mobility domain of switches, the instructions comprising:
- instructions that cause the network switch to receive a first request from an access point associated with the network switch, the first request indicating that a mobile client has connected to the access point; and
- instructions that cause the network switch to, in response to the first request, send a second request to all other switches in the mobility domain and to the network switch itself, the second request indicating that the mobile client has roamed to the access point from another access point.
Type: Application
Filed: Mar 10, 2014
Publication Date: Jul 3, 2014
Applicant: Foundry Networks, LLC (San Jose, CA)
Inventor: Vishal Sinha (Union City, CA)
Application Number: 14/202,296