Routing Method for Mobile Wireless Nodes Having Overlapping Internet Protocol Home Addresses
In mobile IP wireless data networking, methods are described for correctly routing packets through a foreign agent to or from wireless nodes where the wireless nodes have the same home network IP address. Instead of using normal IP routing, the foreign agent uniquely identifies the wireless node's home network IP address and home agent IP address with a PPP link address associated with a PPP link between the foreign agent and the wireless node. This association between PPP link addresses, home agent IP addresses, and home network IP addresses, is preferably implemented in software as a table stored in the foreign agent. The routing of packets through the foreign agent to the mobile nodes is performed by reference to the table. The table allows the foreign agent to correctly and efficiently route packets in the situation where multiple wireless nodes are registered with the foreign agent, but more than one of the wireless nodes have the same home network IP address.
Latest UTSTARCOM, INC. Patents:
- Method and apparatus to facilitate broadcast packet handling
- Processing platform selection method for data packet filter installation
- METHOD AND APPARATUS TO FACILITATE BROADCAST PACKET HANDLING
- Method and apparatus to facilitate broadcast packet handling
- System and Method for Enhanced Security of IP Transactions
This application claims priority from and is a continuation of U.S. application Ser. No. 10/723,848, which was filed on Nov. 26, 2003. U.S. application Ser. No. 10/723,848 is a continuation of U.S. application Ser. No. 09/491,751, filed on Jan. 27, 2000, now U.S. Pat. No. 6,684,256, issued on Jan. 27, 2004. U.S. application Ser. No. 10/723,848 and U.S. Pat. No. 6,684,256 are herein incorporated by reference in their entirety.
BACKGROUND OF THE INVENTIONA. Field of the Invention
This invention relates to the subject of mobile Internet Protocol (“IP”) data networking.
B. Description of Related Art
Public packet switched networks can be used to carry traffic to and from a mobile communications device, such as a laptop computer or personal digital assistant equipped with a cellular telephone modem. The basic architecture of mobile IP data networking is known in the art and described in several publications, including the Request for Comments document RFC 2002 (1996) and in the textbook of Charles E. Perkins, Mobile IP Design Principles and Practices, Addison-Wesley Wireless Communications Series (1998), the contents of both of which are incorporated by reference herein.
Basically, in Mobile IP communication, a wireless mobile node communicates with a terminal on an IP network by means of a foreign agent and a home agent. Typically, foreign agent functionality is incorporated into a network access server chassis located on a mobile node's visited network. The foreign agent provides routing services for the mobile node while it is registered with the foreign agent. A Point-to-Point Protocol (PPP) session is established between the mobile node and the foreign agent. The foreign agent de-tunnels and delivers datagrams to the mobile node that were tunneled by the mobile node's home agent.
The home agent is usually a router on a mobile node's home network that tunnels datagrams for delivery to the mobile node via the foreign agent when the mobile node is away from home. The home agent maintains current location information for the mobile node, through a variety of possible mechanisms, such as described in the patent application of Richard J. Dynarski, et al., “Dynamic Allocation of Wireless Mobile Nodes Over an Internet Protocol (IP) Network”, Ser. No. 09/233,381, which is incorporated by reference herein. When multiple home agents are handling calls for multiple mobile nodes simultaneously, the home agents are providing, in essence, a service analogous to virtual private network services. Each mobile node is typically associated with a separate home network. The routing path from that home network, through the home agent, to the foreign agent and mobile node is like a virtual private network for the mobile node.
The situation can arise in which two mobile nodes are simultaneously registered with a foreign agent, and have established a PPP session with the foreign agent, but the two mobile nodes have the same home network IP address. In a typical prior art foreign agent implementation, the overlapping IP addresses will cause an IP routing failure, since more than one routing table entry could have the same network address associated with different PPP links. This overlapping IP address for both mobile nodes could be a consequence of the home network assigning the same IP address to the mobile node, either a priori or during the mobile IP registration process.
Accordingly, there is a need in the art for a method for handling overlapping IP address pools in a foreign agent. The present invention solves that need and provides methods by which a foreign agent can correctly route packets to a from any number of mobile nodes that are simultaneously registered with the foreign agent but have the same home network IP address.
SUMMARY OF THE INVENTIONIn a first aspect, a method is provided for routing a data packet through a foreign agent to a wireless node. The method is specifically designed to handle the situation where multiple wireless nodes are registered with the foreign agent but have the same home network IP addresses. The method begins by receiving a data packet at the foreign agent from a home agent associated with wireless node. The foreign agent uniquely associates a home Internet Protocol (IP) address and a home agent IP address contained in the data packet with a Point-to-Point Protocol (PPP) link address. The PPP link address is associated with a PPP link previously established between the foreign agent and the wireless node. This association is preferably implemented in software a table. The foreign agent forwards the data packet through the foreign agent to the PPP link (with the addressing done by reference to the table) for transmission to the wireless node.
In a preferred implementation, the foreign agent maintains a table mapping PPP link addresses to unique pairs of home IP addresses and home agent IP addresses. The step of associating the incoming packet from the home agent is performed automatically in the foreign agent by reference to the table. Since each wireless node having the same home network IP address will have a different home agent, multiple wireless nodes having the same home IP addresses but different home agent IP address may be distinguished from each other in the table and the foreign agent can correctly identify the PPP link to forward the packet to the proper wireless node.
In the reverse direction, the foreign agent receives packets from the wireless nodes, and some of the wireless nodes may have the same home network IP addresses. However, the wireless nodes having the same home network IP address will be associated with a separate PPP link. Be reference to the table, the foreign agent can determine which home agent to forward the packet to, since the home agents are uniquely identified with a home agent IP address and a PPP link address associated with the packet received from the wireless node. The result is that in both directions, the foreign agent can handle the situation where multiple wireless nodes are active in the foreign agent but have the same home network IP address. If conventional IP routing methods were performed, this would not be possible.
These and other features and aspects of the invention will be described in further detail in the following specification.
Overview of Representative Network System for Mobile IP nodes Referring now to
The foreign agent 13 is on a network 14 maintained by a provider of mobile IP service, such as a wireless communications company or other suitable entity. The foreign agent 13 may be of the general type of device described in the patent of Dale M. Walsh et al., U.S. Pat. No. 5,528,595 and assigned to the assignee of the present invention. Such network access servers are available from companies such as 3Com Corporation and Lucent Technologies. Basically, the network access server/foreign agent implements foreign agent functions as specified by RFC 2002 and provide access to an IP local or wide area network 14 for the mobile nodes.
IP packets for the mobile devices are tunneled to the foreign agent 13 by a home agent in accordance with the Mobile IP protocol. In the example of
Each home agent 20 typically comprises a router with an interface to the local area network 14 and a wide area network interface that connects the home agent to intermediate networks 22 (which may be an Asynchronous Transfer Mode network, frame relay network, or other type of network). The backhaul network 22 is in turn connected via suitable routers to the individual home networks 11A, 11B of the mobile nodes 10A, 10B respectively.
In the present example, mobile nodes 10A and 10B are assigned the same home IP address, say “A”. Both of them are connected to the same foreign agent and have the same mobile IP foreign agent care-of-address of “C” (IP address of foreign agent 13), for tunneling purposes. Ideally, the foreign agent 13 tunnels traffic from the mobile node 10A to the home agent 20A, which in turn routes it via intermediate networks to the home network 11A for the mobile node. Similarly, the foreign agent 13 tunnels traffic from the mobile node 10B to the home agent 20B, which in turn routes it via intermediate networks to the home network 11B for the mobile node.
The problem with this situation is that, with both mobile nodes having the same IP addresses on their home networks, if the foreign agent 13 uses conventional IP routing schemes (as is the case for remote access servers), it would not be able to properly route the IP packets from the mobile nodes to the home agents. Similarly, in the opposite direction the foreign agent 13 would not be able to determine which mobile node 10A or 10B the packet is intended for since the mobile nodes have the same home network IP address.
The present invention addresses this problem. Instead of using conventional IP routing, a preferred embodiment of the invention associates the address of the PPP link 16 between the mobile node and the foreign agent to the IP tunneling information needed to correctly route the packets to the proper home agent. In the direction of home agent to mobile node, the foreign agent receives a data packet associated with one of the wireless nodes from the respective home agent. The foreign agent maintains a tunneling table associating a home network IP address and a home agent IP address contained in the data packet with a Point-to-Point Protocol (PPP) link address in the foreign agent. The PPP link address identifies the PPP link that is established between the foreign agent and the wireless node. Since the home agent IP address and home network IP address form a unique pair or set of information, they can be used to uniquely, and correctly, identify the associated PPP link for the packet and accordingly can be used to tie any IP packets from the foreign agent to and from the mobile node via the table. The foreign agent forwards the data packet to the PPP link for transmission to the mobile node by reference to the table.
With reference to
Once the PPP link negotiation is completed, the foreign agent will perform mobile IP discovery procedures and wait for registration request messages from the mobile node. When a registration request message is received the foreign agent proceeds with registering with mobile node, indicated in step 72.
Once registration of the mobile node is completed, the home network IP address, home agent IP address and PPP link addresses are saved in a tunneling table, as indicate at step 74, such as the table illustrated in
In the table of
Thus, in the forward direction, and with reference to
In the opposite direction, and with reference to
In accordance with this method, multiple wireless nodes having the same home IP addresses but different home agent IP address may be distinguished from each other in the tunneling table and proper routing in both directions can be performed.
In the preferred embodiment, the foreign agent comprises a remote access server having a plurality of ports (such as 24, 48, or even 200 or more in a high density embodiment). The remote access server is provided with appropriate software and hardware for establishing a PPP link with a wireless node at each port. Each port has its own PPP link address. Further, the table shown in
From the forgoing, it will be appreciated that we have described an improvement to a foreign agent for a plurality of wireless nodes, in which the improvement comprises providing a software program in the foreign agent for handing routing of packets through the foreign agent for the plurality of wireless nodes having a common or overlapping home network address. The software program will typically run on either a routing card or general purpose computing platform incorporated into the foreign agent. Typically, the routing card or computing platform provides an interface between the foreign agent and a local or wide area IP network. The software program comprising a set of instructions:
-
- (a) maintaining a table (such as shown in
FIG. 2 ) uniquely identifying links (that connect the foreign agent to the plurality of wireless nodes) to home agent addresses and home network addresses for the wireless nodes; and - (b) associating packets to be transmitted to the wireless nodes by the uniquely identified links.
- (a) maintaining a table (such as shown in
Accordingly, and as explained above, wireless nodes having the same home network addresses but different home agent addresses may be distinguished from each other in the table and proper routing of packets through the foreign agent to or from the wireless nodes may be achieved. Persons skilled in the art and familiar with mobile IP data networking and foreign agents will be able to code such software instructions from the present description without undue difficulty. For example, the instructions may encode the procedure shown in
Persons skilled in the art will appreciate that various modifications and alterations from the presently preferred embodiment can be made without departure from the true scope and spirit of the invention. This true scope and spirit is defined by the appended claims, to be interpreted in light of the foregoing.
Claims
1. A communication system for communicating with a plurality of mobile nodes in a communication system, the communication system having a plurality of home agents, the plurality of home agents managing multiple Internet Protocol (IP) address pools having overlapping IP addresses, each pool being associated with a unique home agent IP address, wherein a home IP address for a given mobile node is associated with one of the multiple pools, the system comprising:
- a foreign agent configured to use a combination of the home IP address and an IP address of a home agent from a packet to identify a unique point-to-point protocol (PPP) link for the given mobile node; and
- wherein the foreign agent receives a plurality of packets from the plurality of home agents, at least one of the packets contains an IP address of a home agent, is destined for the given mobile node, and has the same assigned home IP address as at least one other mobile node; and the foreign agent routes the packet to the given mobile node using the unique PPP link.
2. The communication system of claim 1, wherein the foreign agent:
- receives a packet on a PPP link from a mobile node and the packet contains a home IP address; and
- determines a unique home agent IP address from a combination of the PPP link and the home IP address, and routes the packet to the unique home agent IP address.
3. A foreign agent for use in a communication system for communicating with a plurality of mobile nodes, wherein the communication system comprises a plurality of home agents, the plurality of home agents managing Internet Protocol (IP) addresses included in multiple address pools, the multiple address pools having one or more overlapping IP addresses and each pool being associated with a unique home agent IP address, the foreign agent comprising:
- a processing device;
- a storage device having a plurality of machine executable instructions that, when executed by the processing device, provide for the processing device: using a combination of (i) an assigned home IP address of a given mobile node of the plurality of mobile nodes and (ii) an IP address of a home agent of the plurality of home agents with which the given mobile node is associated, to identify a unique point-to-point protocol (PPP) link for the given mobile node; receiving a plurality of packets from the plurality of home agents, each packet containing an IP address of the respective home agent, wherein at least one packet is destined for the given mobile node, and wherein the given mobile node has the same assigned home IP address as at least one other mobile node of the plurality of mobile nodes; and routing a packet destined for the given mobile node using the unique PPP link.
4. The foreign agent of claim 3, wherein the plurality of machine instructions further provide for:
- receiving a packet on the unique PPP link associated with the given mobile node, the packet containing the assigned home IP address of the given mobile node;
- determining a home agent IP address with the unique PPP link; and
- routing the packet to a home agent associated with the home agent IP address.
5. The foreign agent of claim 4, wherein the foreign agent is implemented in a remote access server.
6. A foreign agent for routing a packet associated with a given mobile node, the foreign agent comprising:
- machine executable instructions that, when executed, provide for processing the packet associated with the given mobile node, the processing including: associating a home Internet Protocol (IP) address and a home agent IP address contained in the packet to determine a unique point-to-point protocol (PPP) link corresponding with the given mobile node, wherein the given mobile node has the same assigned home IP address as at least one other mobile node served by the foreign agent; and routing the packet to the given mobile node via the unique PPP link.
7. The foreign agent of claim 6, wherein the instructions further provide for:
- maintaining a table mapping PPP links to unique pairs of home IP addresses and home agent IP addresses, wherein associating home IP addresses and home agent IP addresses is accomplished by reference to the table, such that multiple mobile nodes having the same home IP addresses but different home agent IP addresses may be distinguished from each other.
8. The foreign agent of claim 6, wherein the foreign agent comprises a remote access server for establishing respective PPP links with one or more mobile nodes.
Type: Application
Filed: Jun 3, 2008
Publication Date: Nov 27, 2008
Applicant: UTSTARCOM, INC. (Alameda, CA)
Inventors: Chandra Warrrier (Schaumburg, IL), Yingchun Xu (Buffalo Grove, IL)
Application Number: 12/132,306
International Classification: H04Q 7/00 (20060101);