The present invention relates generally to wireless packet based networks.
A major consideration in planning wireless units is reducing their power utilization so that they may be used for as long a period as possible after recharging. In wireless networks, when a wireless unit is not in use it moves into a sleep state having a low power consumption level. The wireless unit moves back to a normal state when it receives a transmission. In packet based networks, various network managing tasks are performed by transmitting control packets to all the nodes of the network. As wireless packet based networks are planned to be an integral part of a packet based network, the wireless units in the network also receive the control packets. The reception of the control packets by the wireless units, wakes the wireless units and uses their battery power.
For example, address resolution protocol (ARP) packets are transmitted by a sender unit to all the nodes of the network in order to determine the address of a destination to which the sender is interested in transmitting data.
The request for comments RFC 3220, the disclosure of which is incorporated herein by reference, describes an ARP proxy that services end units, intercepts ARP packets and responds to the ARP packets, if necessary, instead of the end units. Similar provisions are described in “ProxyARP Subnetting HOWTO”, by Bob Edwards and in “Proxy ARP with Linux”, by David Weis, the disclosures of which documents are incorporated herein by reference.
A dynamic host configuration protocol (DHCP) is used to configure IP units in a packet based network. Among other tasks, DHCP is used to automatically assign IP addresses to units. Generally, in a simplified manner, when a unit needs an IP address so that it can be contacted, the unit transmits a DHCP request with a broadcast address. An address server in charge of allocating the IP addresses generates a DHCP response packet with the requested IP address and transmits the response packet to the requesting unit, with a broadcast or unicast address. DHCP response packets with broadcast addresses are commonly used for the last step of the transmission, so that the response packets reach their destination even if the destination is not in the same local network (e.g., VLAN) as the sender, and a router along the path needs to provide the destination address of the requesting unit.
DHCP requests are for allocation of addresses, and for other tasks which should be performed by a single entity or by a plurality of coordinated entities. ARP requests are requests for address information which may be supplied by any unit knowing the information.
U.S. Pat. No. 5,920,699 to Bare, the disclosure of which is incorporated herein by reference, describes a switch that directs DHCP requests through a port leading to the address server according to the IP address of the address server in the DHCP request packet, if the IP address appears in the packet and the switch previously learned the port leading to the target location. According to the U.S. Pat. No. 5,920,699, if either the port leading to the address server is not known or the DHCP packet does not contain a specific server IP address, then the switch broadcasts the packet out all its ports.
For broadcast DHCP replies, the U.S. Pat. No. 5,920,699 suggests keeping track of the transaction ID in the DHCP requests handled by the switch and using the tracked IDs to direct broadcast DHCP replies back through the port leading to the requesting unit.
The method of the U.S. Pat. No. 5,920,699 is not sufficient in cases in which many wireless units are located behind a single port, as is commonly performed. In addition, the method of the U.S. Pat. No. 5,920,699 is relatively complex as it requires keeping the state of DHCP requests in order to correlate between the requests and replies.
An aspect of some embodiments of the invention relates to a network node (e.g., an access point or a switch) that identifies packets having a broadcast address, but directed to a single network unit, e.g., DHCP requests, and forwards the packets only through ports not leading to wireless units. Optionally, the wireless units and wire connected units of the network are connected to the network node through separate ports. In some embodiments of the invention, the network node has a plurality of ports leading to wire connected units and the network node forwards the DHCP requests through all the ports leading to wire connected units (except the port from which the request was received), without spending resources on determining which port leads to the address server.
An aspect of some embodiments of the invention relates to a network node (e.g., an access point or a switch) that identifies packets having a broadcast address, but directed to a single network unit, e.g., broadcast DHCP replies, and replaces their destination broadcast address by the address of the single network unit, e.g., the unit requesting an IP address in a respective DHCP request. The replacement of the destination address allows directing the packet to a single unit, even when the port leading to the unit leads to a plurality of other units.
In some embodiments of the invention, the address of the requesting unit is determined from an application layer field of the packet.
There is therefore provided in accordance with an exemplary embodiment of the invention, a method of handling broadcast packets, which are for a single network unit, comprising receiving, by a network device, a packet, having a broadcast address, but directed to a single network unit, and forwarding the packet through a plurality of ports of the network device, but not through at least one port of the device through which the packet was not received.
Optionally, receiving the packet comprises receiving an address allocation request or response, for example a DHCP request or response packet. Optionally, receiving the packet comprises receiving a DHCP response packet directed to a wireless unit. Alternatively, receiving the packet comprises receiving a DHCP response packet directed to a wire-connected unit. Optionally, forwarding the packet comprises forwarding through ports not leading to wireless units. Optionally, forwarding the packet comprises forwarding through a list of ports configured in the network device.
There is further provided in accordance with an exemplary embodiment of the invention, a method of handling broadcast packets, which are for a single network unit, comprising receiving, by a network device, a packet, having a broadcast address, but directed to a single network unit, replacing the broadcast address of the packet with a unicast address of the network unit for which the packet is intended and forwarding the packet as a unicast packet.
Optionally, receiving the packet comprises receiving a DHCP packet, such as a DHCP response packet or a DHCP request packet. Optionally, replacing the broadcast address comprises replacing to a unicast address extracted from an application field of the packet.
There is further provided in accordance with an exemplary embodiment of the invention, a network device, comprising a plurality of physical ports, an input interface for receiving packets through the ports, a determination module, adapted to identify in the packets received by the input interface packets that have a broadcast address, but are directed to a single network unit; and a forwarding unit adapted to forward packets identified by the determination module through a plurality of the physical ports, but not through at least one port of the device through which the packet was not received.
Optionally, the determination module is adapted to identify DHCP packets. Optionally, the device includes a configuration module adapted to configure the forwarding unit with a list of ports through which identified packets are to be forwarded. Optionally, the configuration module is adapted to exchange control packets with neighboring network devices to determine the ports through which identified packets are to be forwarded. Optionally, the device includes a user interface for receiving indications of the ports through which identified packets are to be forwarded from a human operator.
There is further provided in accordance with an exemplary embodiment of the invention, a network device, comprising a plurality of physical ports, an input interface for receiving packets through the ports, a determination module, adapted to identify in the packets received by the input interface packets that have a broadcast address, but are directed to a single network unit, and a replacing module adapted to replace the broadcast address of the packet with a unicast address of the network unit for which the packet is intended.
Optionally, the replacing module is adapted to determine the unicast address from an application field of the packet.
Particular non-limiting embodiments of the invention will be described with reference to the following description of embodiments in conjunction with the figures. Identical structures, elements or parts which appear in more than one figure are preferably labeled with a same or similar number in all the figures in which they appear, in which:
In some embodiments of the invention, as is now described, power saving switch 106 is configured to perform acts that reduce the number of unnecessary broadcast packets received by wireless units 102. Thus, switch 106 reduces the power consumption of wireless units 102. It is noted that power saving switch 106 is not directed at reducing the power consumption of the switch itself. In fact, power saving switch 106 may have a higher power consumption than prior art switches, due to the tasks it performs in accordance with the present invention. Typically, power saving switch 106 has a plurality of ports (schematically indicated by 130), different ports 130 optionally being used for wireless units 102 and for wire-connected units. That is, local switches 110 optionally handle only wire end units 104 and/or APs 112 handle only wireless units 102. Power saving switch 106 is optionally configured, or automatically determines, with information on which of its ports lead to wireless units 102. In some embodiments of the invention, the information on the ports leading to wireless units 102 is configured by a human system operator. Alternatively or additionally, the information on the ports is discovered automatically, for example, based on a protocol which involves exchanging control packets between neighboring and/or non-neighboring network elements.
As is known in the art, when a wireless unit 102 or a wire end unit 104 needs to request an IP address for itself, the unit transmits a DHCP request packet as a broadcast message to all the nodes of network 100. The DHCP request is generally transmitted as a broadcast message since the end units 102 and 104 are not always configured with the IP address of the address server 108 they are to approach and may not have an IP address at the time of transmission. In some embodiments of the invention, APs 112 are configured to forward packets received from a wireless unit 102 only to wire connected nodes (in the layout of
In some cases, the DHCP response is generated by address server 108 with a broadcast address, as the requesting unit 102 or 104 may not be in the same local area network as the address server. As described below, power saving switch 106 optionally replaces the broadcast address with a unicast address of the unit 102 or 104 that transmitted the DHCP request, so that the response only reaches that unit 102 or 104.
The determination of whether the packet is a DHCP packet is optionally performed by examining the protocol field of the packet. In some embodiments of the invention, the determination of whether the packet is a DHCP packet is performed after the determination of whether the packet is a broadcast packet. Alternatively the determination is performed concurrently or it is first determined whether the packet is a DHCP packet.
In some embodiments of the invention, power saving switch 106 comprises a hardware unit that performs regular tasks and a software unit that handles special packets that cannot be handled automatically by the hardware unit. Optionally, the hardware unit identifies DHCP broadcast packets and transfers them to the software unit for handling. Alternatively, DHCP requests are handled by the hardware unit while the DHCP responses are handled by the software unit.
As is known in the art, DHCP packets have a field which indicates whether the packet is a request or response. This field is optionally used in determining (202) whether the packet is a request or a response.
Referring in more detail to forwarding (204) DHCP requests through the ports of switch 106 that lead to wire connected units, in some embodiments of the invention as described above, wireless and wire-connected units are connected to different ports of switch 106, and DHCP requests are forwarded only through ports leading to wire connected units. Alternatively or additionally, when possible, switch 106 is configured with the port leading to address server 108 and DHCP requests are forwarded only through this port. Further alternatively or additionally, wire-connected units and wireless units may be connected through a single port of switch 106, provided that address server 108 is not connected along with wireless units. In accordance with this alternative, switch 106 is configured to forward DHCP requests through ports that are not connected to any wireless units or only through the port connected to address server 108. Further alternatively or additionally, switch 106 is configured with (or automatically determines) the IP address of address server 108 and switch 106 replaces the destination address of DHCP requests with the address of address server 108.
Referring in more detail to determining (206) the unicast address of the unit to which the response is directed, in some embodiments of the invention, switch 106 examines an application layer field of the packet in which the address is stated, for example a client identifier field (e.g., stating a MAC address of the client). Alternatively or additionally, whenever a DHCP request is received, switch 106 registers, in a table entry, an ID of the request appearing in the packet along with a source address of the packet. When a DHCP response is received, switch 106 matches the response to a table entry and accordingly determines the unicast destination address of the packet.
Alternatively to handling all broadcast DHCP packets in the same way, DHCP responses directed to wireless units are handled differently from DHCP responses directed to wire-connected units. In some embodiments of the invention, the destination address of DHCP responses directed to wire-connected units are not replaced, but rather these DHCP responses are forwarded as DHCP requests, only through ports that lead to wire-connected units (there is generally no need to reduce the power consumption of wire connected units).
Although in the above description, the invention is described as being performed by a central switch 106 through which substantially all the traffic of network 100 passes, this is not necessary. In some embodiments of the invention, power-saving switch 106 covers only a portion of network 100 that leads to wireless units 102. Other units, e.g., wire end units 104, may optionally communicate with address server 108 and/or other network elements, without their traffic passing through power-saving switch 106.
Furthermore, the tasks described above as being performed by central switch 106 may optionally be performed by other network elements, such as by one or more of APs 112. Alternatively to performing all the handling tasks of the present invention by a single unit, in some embodiments of the invention, the special handling rules of the present invention are applied to different DHCP packets by different units. For example, DHCP request packets are optionally handled by APs 112, by preventing their transmission to wireless units, while DHCP responses are handled by switch 106 as described above. In some embodiments of the invention, a plurality of units throughout the network perform the same above described tasks, thus distributing the load between the units. Optionally, the address replacements are performed by a network unit located within a same local area network as the destination of the packet.
It will be appreciated that the above described methods and apparatus may be varied in many ways, including, changing the order of acts of the methods, and the exact implementation used for the apparatus. It should also be appreciated that the above described methods and apparatus are to be interpreted as including apparatus for carrying out the methods and methods of using the apparatus.
The present invention has been described using non-limiting detailed descriptions of embodiments thereof that are provided by way of example and are not intended to limit the scope of the invention. For example, the method of the present invention is not limited to the DHCP protocol and may be used with similar protocols, such as the BOOTP protocol. It should be understood that features and/or steps described with respect to one embodiment may be used with other embodiments and that not all embodiments of the invention have all of the features and/or steps shown in a particular figure or described with respect to one of the embodiments. Variations of embodiments described will occur to persons of the art.
It is noted that some of the above described embodiments may describe the best mode contemplated by the inventors and therefore may include structure, acts or details of structures and acts that may not be essential to the invention and which are described as examples. Structure and acts described herein are replaceable by equivalents which perform the same function, even if the structure or acts are different, as known in the art. Therefore, the scope of the invention is limited only by the elements and limitations as used in the claims. When used in the following claims, the terms “comprise”, “include”, “have” and their conjugates mean “including but not limited to”.
Number | Name | Date | Kind |
---|---|---|---|
5570366 | Baker et al. | Oct 1996 | A |
5684800 | Dobbins et al. | Nov 1997 | A |
5920699 | Bare | Jul 1999 | A |
6493767 | Ishida et al. | Dec 2002 | B1 |
6553421 | Frick et al. | Apr 2003 | B1 |
6556575 | Denio et al. | Apr 2003 | B1 |
6587127 | Leeke et al. | Jul 2003 | B1 |
6678827 | Rothermel et al. | Jan 2004 | B1 |
6795106 | Cooper | Sep 2004 | B1 |
7305459 | Klemba et al. | Dec 2007 | B2 |
20020083206 | Volpano | Jun 2002 | A1 |
20030043781 | Proctor et al. | Mar 2003 | A1 |
20030204560 | Chen et al. | Oct 2003 | A1 |
20040162992 | Sami et al. | Aug 2004 | A1 |
20040167988 | Rune et al. | Aug 2004 | A1 |
20040187156 | Palm et al. | Sep 2004 | A1 |
20040215687 | Klemba et al. | Oct 2004 | A1 |
20040258012 | Ishii | Dec 2004 | A1 |
20050018624 | Meier et al. | Jan 2005 | A1 |
20050025129 | Meier | Feb 2005 | A1 |
20050209927 | Aaltonen et al. | Sep 2005 | A1 |
20050256926 | Muhonen et al. | Nov 2005 | A1 |
20060080469 | Coward et al. | Apr 2006 | A1 |
20060182117 | Chen et al. | Aug 2006 | A1 |
20070208864 | Flynn et al. | Sep 2007 | A1 |
20070259700 | Meier et al. | Nov 2007 | A1 |
20070263538 | Hueck et al. | Nov 2007 | A1 |
20080030363 | Rezvani et al. | Feb 2008 | A1 |
20080159174 | Enomoto et al. | Jul 2008 | A1 |
20090147718 | Liu et al. | Jun 2009 | A1 |
Number | Date | Country |
---|---|---|
2491674 | Jan 2004 | CA |
0 967 759 | Dec 1999 | EP |
05 25 4082 | Oct 2005 | EP |
9-200262 | Jul 1997 | JP |
2001-292168 | Oct 2001 | JP |
2003-78545 | Mar 2003 | JP |
2003-224576 | Aug 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20060007924 A1 | Jan 2006 | US |