Method enabling network address translation of incoming session initiation protocol connections base on dynamic host configuration protocol address assignments
A system for using Dynamic Host Configuration Protocol (DHCP) address assignments to determine a local destination address of a received packet in a Network Address Translation (NAT) environment. The system includes a DHCP server to assign local IP addresses to devices on a network. The system has a NAT device to execute network address translation, and a packet device to receive packets. The system further includes an addressing device to determine the local destination address of a packet received by the packet device. The addressing device uses an association table created from symbolic names of the devices on the network and the local IP addresses associated with the devices.
Latest Intel Patents:
- APPARATUS, SYSTEM AND METHOD OF COMMUNICATING A PHYSICAL LAYER PROTOCOL DATA UNIT (PPDU) INCLUDING A TRAINING FIELD
- USES OF CODED DATA AT MULTI-ACCESS EDGE COMPUTING SERVER
- SELECTIVE PACKING OF PATCHES FOR IMMERSIVE VIDEO
- MULTI-LINK DEVICE RESETUP AND TRANSITION WITH STATION DEVICE ADDRESS AUTHENTICATION
- METHOD AND APPARATUS FOR SHARED VIRTUAL MEMORY TO MANAGE DATA COHERENCY IN A HETEROGENEOUS PROCESSING SYSTEM
1. Field of the Invention
This invention relates to the field of network address assigning, and, more specifically, to a system, method, and apparatus for enabling Network Address Translation (NAT) of incoming Session Initiation Protocol (SIP) connections based on Dynamic Host Configuration Protocol (DHCP) address assignments.
2. Background of the Invention
Local area networks (LANs) have been used with network devices such as personal computers. A LAN typically has a set number of unique Internet Protocol (IP) addresses for all of the devices on the LAN. More specifically, multiple computers on the LAN may be represented by the same IP address and use the same router(s). In such embodiments, there may be 10 computers, for example, assigned to one router, where the router has its own unique IP address.
In such a LAN, Network Address Translation (NAT) allows a single device, such as a router, to act as an agent between the Internet, or “public network”, and a local, or “private”, network. This means that only a single, unique IP address is required to represent an entire group of computers.
In such an embodiment, a major problem with using NAT is to locate the correct device on the internal network when a packet from the Internet arrives at the router, because all packets received from the Internet are addressed to the router and not to the devices behind the router. Configuring static mappings in the router can, in some cases, solve the problem. For example, the router may be configured to send all World Wide Web (WEB) traffic to a specific PC behind a router, and send all File Transfer Protocol (FTP) traffic to a different specified PC behind the router. However, the problem with this type of static mapping is that it requires specific configuration of the router, which may be expensive for an ISP shipping thousands of routers. Moreover, it is problematic if several PCs are performing the same service (FTP, WEB, etc.).
When a connection is initiated from a device on the internal network to an external device, the access device can always establish the NAT mapping without the use of any additional information. However, when using NAT, connections may only be made from inside a local network to a location outside of the network. A device outside the network cannot connect to a device on the local network without the router being specifically configured to do so. Therefore, the prior art suffers from a serious inefficiency in that a connection cannot be initiated with a device on a LAN by a device outside the LAN without specific configuration of the router at the LAN.
BRIEF DESCRIPTION OF THE DRAWINGS
An embodiment of the present invention includes a device that simultaneously acts as a Dynamic Host Configuration Protocol (DHCP) server and a Network Translation Address, (NAT) apparatus. The device may be used within an access router connected to the Internet. Such a device routes incoming packets to devices on a network based upon symbolic names acquired by a DHCP program running on the DHCP server. The device allows an incoming Session Initiation Protocol (SIP) Internet Protocol (IP) call originating from the Internet to be routed to the correct device on the Local Area Network (LAN) segment that uses a private IP address.
DHCP is a software program that automatically assigns IP addresses to client stations logging onto an IP network. It eliminates the need to manually assign permanent IP addresses. DHCP software typically runs on servers and is also found in network devices such as Integrated Services Digital Network (ISDN) routers and modem routers that allow multiple users access to the Internet. NAT is an Internet Engineering Task Force (IETF) standard that allows an organization to present itself to the Internet with one address. NAT converts the address of each LAN node into one IP address for the Internet and vice versa. It also serves as a firewall by keeping individual IP addresses hidden from the outside world. SIP is a protocol that provides IP telephony services, such as realtime, interactive voice and videoconferencing over LANs and the Internet. It allows any combination of voice, video and data to be transported.
The first computer 100, the second computer 105, and the SIP IP telephone 110 are all connected to the access router 115, which serves as the pathway for communication between them and destinations on the Internet 120. For the first computer 100 to send data to a destination address on the Internet, the first computer 100 must send a packet to the router 115, which then sends the packet to the destination address on the Internet 120.
In order for a device on the LAN to receive packets of data from a site on the Internet, the router 115 must be configured to route certain packets to a particular device. In other words, the router 115 must extrapolate, from a received packet, the destination address of the packet. To determine which packets must be routed to which devices on the LAN, the router 115 typically has to have prior knowledge about each of the devices.
To receive and transmit packets over the LAN, or to an Internet site outside of the LAN, a device must have an IP address. As shown in
In an embodiment of the invention, a variable number of devices may be hooked up to a router 115 over the LAN. For a device to transmit and receive data from outside the network, the device may be assigned a local IP address. A router 115 may be utilized to assign IP addresses to devices on the LAN. To assign a device a local IP address, the device may send an IP address request to the router 115, which then assigns a local IP address to the device. Each time a device is powered down, and then powered back up, it may be assigned an IP address that need not necessarily be identical to the IP address assigned to the device before being powered down. DHCP is a program, executable by a router 115, that may be used to assign a local IP address to a device on the LAN.
In the DHCP response, the IP address assigned to client is stored in the “yiaddr” field 2210. Although a basic DHCP packet 200 does not contain the client name, most clients include an optional field in the “options” field 220 of the DHCP request packet 200.
In an embodiment of the invention, the router 115 does not have any information concerning the name of any devices on the LAN before those devices send an IP address request. When the router 115 receives an IP address request in the form of a DHCP packet, the router 115 takes the symbolic name of the device from the host option field 300, assigns the IP address, and maintains a table in which the assigned IP address is associated with the symbolic name of the device. For example, if the DHCP server assigns the local IP address 10.0.01.1 to the device having the symbolic name “Victor”, the table will associate the name “Victor” with the local IP address 10.0.1.1.
Next, at step 410, the DHCP server receives the IP request. The DHCP server then assigns 415 a local IP address to the device, and stores the symbolic name of the device in memory. The symbolic name of the device is associated 420 with the assigned IP address and is then stored in memory. Finally, a DHCP response packet having the assigned IP address is sent 425 to device.
An embodiment of the present invention uses a table of symbolic names and assigned local IP addresses to route incoming packets to devices on the LAN. Referring to
When a packet is sent from a device on the LAN to the router 115, and then to a destination on the Internet, the device sends a packet with the device's local IP address and port number. The IP address is utilized to identify the device, and the port number indicates the service on the device. For example, if the IP address “100.100.100.100” is an HTTP server, its port number is “80”, the industry standard port number for HTTP. If it is a Telnet server, its port number is “23”, the industry standard port number for Telnet.
An embodiment of the present invention may use NAT to present the entire LAN, and all devices located thereon, as having only the public IP address of the router 115. In the example illustrated in
When a packet is sent from a device on the network to a device on the Internet outside the network, the packet contains a source IP address and port number, and a destination IP address and port number. If the first computer 100, “Victor”, sends a packet destined for a HTTP server at the IP address “100.100.100.100”, the packet would contain the source IP address “10.0.1.1” and a source port number. The source port number is chosen by the first computer 100. For example, the first computer may assign the port number “1050” as the source port. The destination IP address is “100.100.100.100” and the destination port number is “80”. When the router 115 receives the packet, it first verifies that no other devices on the LAN are already using the source port “1050”. If any other devices are using that port number, the router assigns a new source port number to the packet. Also, the router 115 changes the source IP address from 10.0.0.1 to the public IP address of the router, “89.20.171.92”.
When a connection is not initiated by a device on the LAN, the router 115 is configured to send a received packet to the correct device on the LAN. In an embodiment of the present invention, the system uses the association table 500 to determine which local device to route an incoming packet. For example, an incoming packet may have the symbolic name of the destination device stored in the packet payload of the incoming packet. The system can then extract the symbolic name from the packet, determine the local IP address from the association table 500, and route the packet to the correct local device. For example, in the embodiment shown in
While the description above refers to particular embodiments of the present invention, it will be understood that many modifications may be made without departing from the spirit thereof. The accompanying claims are intended to cover such modifications as would fall within the true scope and spirit of the present invention. The presently disclosed embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims, rather than the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
Claims
1-26. (canceled)
27. A method, comprising:
- receiving, at a first network device, respective Dynamic Host Configuration Protocol (DHCP) requests issued by respective devices in a set of devices, respective ones of the DHCP requests including a symbolic identifier of the device issuing the DHCP request in an options field of the DHCP request;
- responding, by the first network device, to the respective DHCP requests with respective DHCP responses, respective ones of the DHCP responses including an Internet Protocol address assigned by the first network device to the device issuing the DHCP request;
- storing, by the first network device, data associating the respective Internet Protocol addresses assigned by the first network device with the, respective, symbolic identifiers;
- receiving, at the first network device, a Session Initiation Protocol (SIP) packet to initiate an SIP Internet Protocol telephone connection from a device other than a device that issues a DHCP request to the first network device, the SIP packet including one of the symbolic identifiers and the Internet Protocol address of the first network device;
- performing a lookup of the one of the symbolic identifiers in the received SIP packet in the data associating the respective Internet Protocol addresses assigned by the first network device with the, respective, symbolic identifiers; and
- routing an SIP packet to initiate an Internet Protocol telephone connection to the device corresponding to the Internet Protocol address associated with the symbolic identifier included in the received SIP packet.
28. The method of claim 27, wherein the received SIP packet includes the one of the symbolic identifiers and the Internet Protocol of the first network device in a format of:
- symbolic-identifier@Internet-Protocol-address-of-the-first-network-device.
29. The method of claim 27, further comprising:
- receiving, at the first network device from a one of the set of devices that issued a DHCP request to the first network device, an SIP packet to initiate an SIP Internet Protocol telephone connection that includes the Internet Protocol address of the device that issued a DHCP request to the first network device and a destination Internet Protocol address; and
- transmitting an SIP packet toward the destination Internet Protocol address that replaces the Internet Protocol address of the device that issued a DHCP request to the first network device with the Internet Protocol address of the first network device.
30. An apparatus, comprising logic to:
- receive, at a apparatus, respective Dynamic Host Configuration Protocol (DHCP) requests issued by respective devices in a set of devices, respective ones of the DHCP requests including a symbolic identifier of the device issuing the DHCP request in an options field of the DHCP request;
- respond, by the apparatus, to the respective DHCP requests with respective DHCP responses, respective ones of the DHCP responses including an Internet Protocol address assigned by the apparatus to the device issuing the DHCP request;
- store, by the apparatus, data associating the respective Internet Protocol addresses assigned by the apparatus with the, respective, symbolic identifiers;
- receive, at the apparatus, a Session Initiation Protocol (SIP) packet to initiate an SIP Internet Protocol telephone connection from a device other than a device that issues a DHCP request to the apparatus, the SIP packet including one of the symbolic identifiers and the Internet Protocol address of the apparatus;
- perform a lookup of the one of the symbolic identifiers in the received SIP packet in the data associating the respective Internet Protocol addresses assigned by the apparatus with the, respective, symbolic identifiers; and
- route an SIP packet to initiate an Internet Protocol telephone connection to the device corresponding to the Internet Protocol address associated with the symbolic identifier included in the received SIP packet.
31. The apparatus of claim 30, wherein the received SIP packet includes the one of the symbolic identifiers and the Internet Protocol of the apparatus in a format of:
- symbolic-identifier@Internet-Protocol-address-of-the-apparatus.
32. The apparatus of claim 30, further comprising logic to:
- receive, at the apparatus from a one of the set of devices that issued a DHCP request to the apparatus, an SIP packet to initiate an SIP Internet Protocol telephone connection that includes the Internet Protocol address of the device that issued a DHCP request to the apparatus and a destination Internet Protocol address; and
- transmit an SIP packet toward the destination Internet Protocol address that replaces the Internet Protocol address of the device that issued a DHCP request to the apparatus with the Internet Protocol address of the apparatus.
33. A system, comprising:
- multiple networked devices including a first network device; and
- logic to provide Internet Protocol telephone connections by: receiving, at a first network device, respective Dynamic Host Configuration Protocol (DHCP) requests issued by respective devices in a set of devices, respective ones of the DHCP requests including a symbolic identifier of the device issuing the DHCP request in an options field of the DHCP request; responding, by the first network device, to the respective DHCP requests with respective DHCP responses, respective ones of the DHCP responses including an Internet Protocol address assigned by the first network device to the device issuing the DHCP request; storing, by the first network-device, data associating the respective Internet Protocol addresses assigned by the first network device with the, respective, symbolic identifiers; receiving, at the first network device, a Session Initiation Protocol (SIP) packet to initiate an SIP Internet Protocol telephone connection from a device other than a device that issues a DHCP request to the first network device, the SIP packet including one of the symbolic identifiers and the Internet Protocol address of the first network device; performing a lookup of the one of the symbolic identifiers in the received SIP packet in the data associating the respective Internet Protocol addresses assigned by the first network device with the, respective, symbolic identifiers; and routing an SIP packet to initiate an Internet Protocol telephone connection to the device corresponding to the Internet Protocol address associated with the symbolic identifier included in the received SIP packet.
34. The system of claim 33, wherein the received SIP packet includes the one of the symbolic identifiers and the Internet Protocol of the first network device in a format of:
- symbolic-identifier@Internet-Protocol-address-of-the-first-network-device.
35. The system of claim 33, further comprising:
- receiving, at the first network device from a one of the set of devices that issued a DHCP request to the first network device, an SIP packet to initiate an SIP Internet Protocol telephone connection that includes the Internet Protocol address of the device that issued a DHCP request to the first network device and a destination Internet Protocol address; and
- transmitting an SIP packet toward the destination Internet Protocol address that replaces the Internet Protocol address of the device that issued a DHCP request to the first network device with the Internet Protocol address of the first network device.
Type: Application
Filed: Jul 21, 2006
Publication Date: Dec 7, 2006
Applicant: Intel Corporation (Santa Clara, CA)
Inventor: Niels Beier (Copenhagen)
Application Number: 11/490,833
International Classification: H04L 12/56 (20060101);