NEIGHBOR DISCOVERY PROXY WITH DISTRIBUTED PACKET INSPECTION SCHEME

Information

  • Patent Application
  • 20080298277
  • Publication Number
    20080298277
  • Date Filed
    August 15, 2008
    16 years ago
  • Date Published
    December 04, 2008
    15 years ago
Abstract
A network device is to receive traffic including neighbor discovery messages from requesting customer devices, and can detect the neighbor discovery messages within the traffic according to a distributed inspection scheme that includes the network device and a remote component. The network device is to then examine the neighbor discovery messages to determine if the neighbor discovery message should be forwarded to other of the customer devices, and respond to the requesting customer devices.
Description
TECHNICAL FIELD

The present disclosure relates generally to the field of networking.


BACKGROUND

Neighbor Discovery (ND) is a protocol currently being deployed in the Internet Protocol (IP) version 6, abbreviated here as IPv6. It is possible that subsequent versions of IP as well as other communications protocols may use similar protocols, all of which will be referred to here as neighbor discovery. The Neighbor Discovery protocol is specified in the Internet Engineering Task Force (IETF) Request for Comments (RFC) 2462 and RFC 4862, and concepts disclosed here, while discussed with regard to IPv6, may be applicable to other protocols.


Hosts, routers and other network devices using IPv6 use the Neighbor Discovery protocol messages for several purposes. A host may use neighbor discovery to identify the hardware address associated with an IP address, and perform duplicate address detection (DAD) when employing stateless address autoconfiguration per RFC 2462 or RFC 4862. A host may use neighbor discovery to locate a network device such as a router. The network device will forward datagrams for the host. A network device such as a router may use neighbor discovery to identify itself to hosts on a link, and announce prefixes available on a link for hosts employing stateless address autoconfiguration. Datagrams, as that term is used here, are the ‘bundles’ of data employed to transmit data across the network, such as IP packets, Asynchronous Transfer Mode (ATM) cells, and Frame Relay (FR) frames.


Neighbor discovery messages are transmitted on a regular basis by both hosts and network devices. The neighbor discovery traffic on a link increases as the number of hosts on the link increases, and can represent a significant fraction of the total traffic on a link. Neighbor discovery messages are often sent to a multicast address, so that those messages are delivered to all of the hosts on a link and are individually processed by each host on a link.


When IPv6 is deployed by a service provider to customers over a cable medium, the network is often constructed so all of the “customer devices”, or hosts, are connected to a single “network device”, which forwards datagrams sent from customer devices. For example, customer premises equipment (CPE) devices (customer devices) are attached to the same cable modem termination system CMTS device (network device). The customer devices may be either cable modems (CMs) or home computers (PCs).


The upstream and downstream connectivity between the network device and the customer devices is asymmetric. In the downstream direction, from network device to customer device, the physical link is shared by all the customer devices. Hence they appear to be connected to the same link.


In the upstream direction, i.e., customer device to network device, the link is not shared; each device has its own unidirectional physical link to the network device. Hence, data sent by one device is not visible to the other devices. There are sometimes as many as 50,000 customer devices connected to a single network device. All of these devices generate neighbor discovery messages which are sent to various multicast addresses on the link, generating significant overhead on the link and causing significant processing overhead on the other customer devices receiving the neighbor discovery messages. The disclosure that follows solves this and other problems.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 illustrates an example network device to filter neighbor discovery communications received from several customer devices.



FIG. 2 illustrates an example flowchart for processing neighbor discovery messages using the example network device shown in FIG. 1.



FIG. 3 illustrates components of the example network device shown in FIG. 1.



FIG. 4 illustrates a Cable Modem Termination System (CMTS) and a Cable Modem (CM) for neighbor discovery proxy with fast packet inspection on the CMTS.



FIG. 5 illustrates how the CM shown in FIG. 4 processes neighbor discovery messages.



FIG. 6 illustrates how the CMTS shown in FIG. 4 processes neighbor discovery messages.





DESCRIPTION OF EXAMPLE EMBODIMENTS
Overview

In one example, a network device has a communications link to communicate with customer devices. The network device is to receive neighbor discovery messages from requesting customer devices, examine the neighbor discovery messages to determine if the neighbor discovery message should be forwarded to other of the customer devices, and respond to the requesting customer devices.


The network device can distinguish the neighbor discovery messages from other received traffic according to a distributed inspection scheme that includes the network device and a remote component. The distributed inspection scheme can include a pre-negotiated bit value added by the remote component according to packet inspection by the remote component. The presence of the pre-negotiated bit value enables the network device to detect the neighbor discovery messages using a fast inspection.


Description

Several preferred examples of the present application will now be described with reference to the accompanying drawings. Various other examples of the invention are also possible and practical. This application may be exemplified in many different forms and should not be construed as being limited to the examples set forth herein.



FIG. 1 illustrates an example network device to filter neighbor discovery communications received from several customer devices.


The network device 10 serves as a connection between the customer devices 12a-12c and the network. The customer devices may be cable modems or home computers (PCs). As many as fifty thousand customer devices can be connected to a single network device.


As discussed previously, in a cable modem network deploying IPv6 with neighbor discovery, or similar discovery protocols, the messages will generate significant overhead on the link, and significant processing overhead on the customer and network devices. For example, when the customer device 12a initializes it sends a neighbor discovery message across its connection to the network device 10 to perform duplicate address detection (DAD). The DAD process allows a device to determine if its chosen address is duplicated in the system. If it is duplicated, there are mechanisms in the DAD process to allow for selection of a unique address. Currently, the network device relays this message to any other customer devices that are currently connected to the network device, such as cable modems 12b through 12c. Each customer device receives a copy of the message from the customer device 12a.


Similarly, a customer device may need to identify the Media Access Control (MAC) address associated with a network address. Generally, this occurs when a customer device such as 12a is sending a packet to the network address of another device such as 12c. The customer device 12a sends a neighbor discovery message to determine the MAC address of the device that is associated with that network address. This message currently gets relayed by the network device to all of the customer devices.


One possible solution would be to filter out the messages for other devices at each customer device. All of these messages require some level of processing by each customer device, contributing to the inefficiencies of the network. Filtering the messages at the device interface on the customer device would alleviate part of this problem. However, it is not possible to do this in cable modem networks.


In embodiments of this invention, the network device uses filtering and proxying to reduce the link traffic and processing overhead in a cable network. The network device receives all of the messages from the customer devices prior to relaying them out to the other customer devices. By altering the operation of the network device, it is possible to avoid sending out a bulk of the neighbor discovery messages to other customer devices.



FIG. 2 illustrates an example flowchart for processing neighbor discovery messages using the example network device shown in FIG. 1.


At 20, the network device receives a neighbor discovery request from the customer device. Essentially, the network device intercepts the message. These messages may be DAD messages 22a, MAC address requests 22b, or other types of messages, such as multicast messages. These specific examples will be addressed at each part of the process to demonstrate principles of the invention.


At 24, the message is examined. The network device ‘reads’ the message and determines the appropriate action needed in response. For example, when the message is a DAD message from a customer device 12a performing initialization, the network device would intercept the message and examine it at 24. If the message is a DAD message, at 26a, the network device examines its list of customer device information. If the network address does not already appear in the list, the network device forwards the request to select other devices in 30.


If there is no response, the network device adds the network address, such as an IPv6 address and MAC address for the customer device to its list of customer device information. If the address does appear in the list of customer device information, or some other device responds to DAD request forwarded by the network device, the network device then responds to the customer device at 28, in this example by sending an acknowledgement of the address at 32a. This process is repeated for each device as it initializes, adding its information to the list and responding directly to the device, rather than sending them out to all of the other customer devices.


For the example of the message being a MAC address request 26b, a similar process occurs. The network device intercepts the neighbor discovery from the requesting customer device. It then accesses its list of customer device information to determine the MAC address associated with a particular network address. If the address in the request appears in the list, the network device sends a response to the requesting CPE at 28 and does not forward the message to any of the other customer devices. In this example, the response includes the requested MAC address at 32b. If the address in the request does not appear in the list of customer device information, the network device forwards the request to other devices in 30. Any responses from other devices are returned to the customer device that sent the original request in 32b.


In some instances, there may be a need to send the neighbor discovery request to other devices. In those cases, the network device would intercept the message and determine which, if any, other customer devices need to receive the message. The neighbor discovery message would only be sent to relevant customer devices at 30, not to all devices connected to the network device, as currently happens.



FIG. 3 illustrates components of the network device shown in FIG. 1.


The device has a communications link 46 to allow the device to communicate with customer devices. In a cable network, this communications link will generally be a cable link.


The device also has a processor 40 to receive neighbor discovery messages from requesting customer devices and to examine the neighbor discovery messages to determine if the neighbor discovery message should be forwarded to other of the customer devices. The processor also allows the device to respond to the requesting customer devices. The processor may be a general-purpose processor, a digital signal processor, etc., or any device that can process commands and perform the necessary operations of the network device.


In addition, the device may have a local storage 44 that contains the list of customer device information 42. This information may take the form of a table that lists the MAC address of devices associated with the devices network addresses. The storage may also be located elsewhere in the system.



FIG. 4 illustrates a Cable Modem Termination System (CMTS) and a Cable Modem (CM) for neighbor discovery proxy with fast packet inspection on the CMTS.


The example system 100 includes a CMTS 50 and a CM 51 configured with software 56 and 57, respectively, for neighbor discovery proxy with fast packet inspection on the proxy device. It should be apparent that the CMTS 50 is one example of the network device 10 shown in FIG. 1, and the CM 51 is one example of the customer devices 12A-C shown in FIG. 1.


Referring still to FIG. 4, as part of its proxy function, the CMTS 50 distinguishes the neighbor discovery messages from other traffic. Such distinguishing consumes some amount of a finite amount of available processing resources on the CMTS 50.


The amount of processing resources consumed by such distinguishing depends on the configuration of the neighbor discovery messages received by the CMTS 50. For example, if a received neighbor discovery message is sent via multicast, for example, the CMTS 50 can easily distinguish the neighbor discovery message from other traffic by observing the destination network address of received traffic. In other words, a relatively small amount of CMTS 50 resources are consumed by observing whether the destination network address contains a multicast address associated with neighbor discovery.


Conversely, if the neighbor discovery message is a conventional, unmodified unicast IPv6 transmission, the message cannot be as easily distinguished as a neighbor discovery message. Deep packet inspection can be used to identify these unicast IPv6 neighbor discovery messages. However, this deep packet inspection consumes a relatively large amount of processing resources for each inspection. When the processing resources per inspection are multiplied by the amount of packets routed by the CMTS 50, the CMTS 50 can be overloaded by the processing load of this deep packet inspection.


To address this and other problems, in the system 100 the CM 51 offloads a portion of packet inspection from the CMTS 50. Compared to the CMTS 50, which is an access router for many downstream devices and a gateway between the cable network 59 and another network such as the Internet, the CM 51 receives only a fraction of the traffic received by the CMTS 51. Accordingly, the processing burden for the CM 51 to perform packet inspection on received traffic to detect neighbor discovery messages is significantly less than the processing burden for the CMTS 50. Accordingly, in the system 100, a distributed scheme is used whereby the CM 51 performs packet inspection on upstream traffic to identify neighbor discovery messages sent upstream to the CMTS 50 to offload that burden from the CMTS 50.


The concept described above can best be described by way of an example. When the subscriber computer 52A unicasts a neighbor discovery message 60 using IPv6 to another computer 52B (which may be behind a different cable modem) for the purposes of Neighbor Unreachability Dedection (NUD), the message 60 is received by the CM 51 for modulation before transferring onto the modulated portion of the cable network 59. It should be understood that the message 60 is wrapped in a layer two wrapper, such as an Ethernet frame having fields 61, 62, 64, and 66. The IPv6 packet 69 representing the address request is encapsulated therein. It should be understood that the illustrated Ethernet frame is only one example of a layer two wrapper, in other examples, the message 60 may be wrapped in a different type of layer two wrapper, such as a Point-to-Point Protocol (PPP) wrapper.


As stated previously, the software 57 of the CM 51 performs packet inspection on IPv6 packets in the upstream direction to identify the message 60 as a neighbor discovery message. Specifically, the software 57 analyzes more deeply than the layer two wrapper to inspect the IPv6 packet 69 itself (the network layer in this example). Through this inspection, the software 57 observes that the message 60 is a neighbor discovery message. It should be understood that the software 57 can perform an initial inspection to detect IPv6 packets, and then perform a deeper packet inspection only on the detected IPv6 packets to determine whether they are neighbor discovery messages or some other IPv6 packet.


Responsive to this detection, the software 57 makes a pre-negotiated change to a lower layer portion of the message 60. This change is pre-negotiated with the CMTS 50 as a way to distinguish the message 60 as a neighbor discovery message at an outer layer of the message 60. The pre-negotiated change is preferably to a first layer of the packet that encapsulates a second deeper layer that was analyzed during the packet inspection.


In the present example, the pre-negotiated change is to the value 67 of the 16-bit Ethertype field 64. By way of background, the Ethernet standard defines different bit combinations to be included in this field to indicate what protocol was used to generate the data contained in the payload field 66. For example, the bit combination “86DD” is a universal value indicating that the payload 66 contains an IPv6 packet. If a different type of packet were included in the payload 66, for example an IPv4 packet, a different bit value from the Ethernet standard would be included in the Ethertype field 64.


The software 57 replaces the Ethernet standard bit value “86DD” with a non-standard pre-negotiated value 68 before modulating and transferring the packet 60. The replacement bit value 68 can be any pre-negotiated value, such as “86DE”. Preferably, the pre-negotiated value 68 is different than all other Ethernet standard values. Accordingly, it should be understood that the bit value 67 in the Ethertype field 64 is modified without modifying the data in the Ethernet payload field 66 immediately thereafter.


The software 56 on the CMTS 50 is configured to analyze the Ethertype field 64 of upstream traffic for the pre-negotiated value 68. It should be apparent that such analysis can be on the layer two wrapper of the packet (the physical layer), not deeper into the layer three information (the network layer), and accordingly consumes a relatively small amount of CMTS processing resources in comparison to the cable modem packet inspection. The software 56 distinguishes the message 60 as being a neighbor discovery message by observing the presence of the bit value “86DE” in the Ethertype field 66.


Thereafter, the CMTS 50 can perform a process similar to the process described with reference to FIG. 1. Namely, the CMTS 50 will determine whether the neighbor discovery message 60 is to be forwarded, or filtering with a response back to the subscriber computer 52A. Although the example neighbor discovery message 60 will be filtered, if a different neighbor discovery message with the value 68 is to be forwarded to the access network, as part of a link layer function the CMTS 50 will replace the layer two wrapper with a new layer two wrapper, which will contain the pre-negotiated bit value 68 within the cable network 59. Containment is useful because the pre-negotiated bit value 68 does not match with the actual protocol used to format the data contained in the payload 66, which has the potential to create errors on devices not configured with the software 56.


It should be apparent that inspection by the CMTS or other access router can operate differently for unicast messages versus non-unicast messages. For example, the CMTS can use a non-distributed inspection scheme to identify neighbor discovery messages addressed to multicast addresses, and still use the distributed inspection scheme to identify unicast neighbor discovery messages. In such a system, the cable modem can perform this packet inspection only on unicast messages.


It should be apparent that inspection by the CMTS or other access router can operate differently for IPv6 messages than IPv4 messages. For example, the CMTS can use a non-distributed inspection scheme to identify IPv4 neighbor discovery messages, and still use the distributed inspection scheme to identify IPv6 neighbor discovery messages. The cable modem can avoid this packet inspection on many packets by initially determining whether the packet is an IPv6 packet, and if not, circumvent this packet inspection. Similarly, the CMTS can circumvent its portion of the distributed inspection process for IPv4 packets and other non-IPv6 packets.


It should be apparent that the principals described above are applicable to cable networks having either an Integrated CMTS (I-CMTS) or a Modular CMTS (M-CMTS).


It should be apparent that the principals described are practical for other networks besides cable networks. For example, any type of access router and corresponding remote device can be used. If the modification by the remote device involves changing a standard Ethertype bit value to a non-standard Ethertype bit value, it is preferable to utilize a single point of access router such that the non-standard Ethertype bit values are contained within a network. The single point of access device can contain the non-standard values by link local addressing, filtering according to the non-standard Ethertype value, or hop count mechanisms. Containment by a hop count mechanisms works by providing the modified messages with a hop count value that, when decremented by the access router, will prevent the message from being forwarded.



FIG. 5 illustrates how the CM shown in FIG. 4 processes neighbor discovery messages.


In block 500, the CM 51 inspects a received packet to be modulated and transmitted upstream to locate a neighbor discovery message. If the received packet is not a neighbor discovery message in decision block 501, in block 502A the CM 51 modulates and transmits the packet without modifying a bit value of a packet type field contained in the packet.


If a neighbor discovery message is located in decision block 501, in block 502B the CM 51 modifies the bit value according to a pre-negotiated bit value. It should be understood that the modified bit value is preferably located in a lower layer than the highest inspected layer. In other words, the inspection included a deeper wrapper than the wrapper containing the modified bit value. In block 503, the CM 51 modulates and transmits the packet upstream.



FIG. 6 illustrates how the CMTS shown in FIG. 4 processes neighbor discovery messages.


In block 600, the CMTS 50 inspects a predefined portion of packets received over the cable network for the pre-negotiated bit value. If the pre-negotiated bit value is absent in decision block 601, in block 602A the CMTS 50 observes that the packet is not a neighbor discovery packet.


If the pre-negotiated bit value is included in decision block 601, in block 602B the CMTS 50 observes that the received packet is a neighbor discovery packet. In block 603 the CMTS 50 continues with block 20 of FIG. 2.


It should be understood that the principals described above are not limited to cable networks. For example, the principals described above can be applied to wireless IPv6 networks where an access router and other network devices operate according to a distributed packet inspection scheme.


Several preferred examples have been described above with reference to the accompanying drawings. Various other examples of the invention are also possible and practical. The system may be exemplified in many different forms and should not be construed as being limited to the examples set forth above.


The figures listed above illustrate preferred examples of the application and the operation of such examples. In the figures, the size of the boxes is not intended to represent the size of the various physical components. Where the same element appears in multiple figures, the same reference numeral is used to denote the element in all of the figures where it appears.


Only those parts of the various units are shown and described which are necessary to convey an understanding of the examples to those skilled in the art. Those parts and elements not shown may be conventional and known in the art.


The system described above can use dedicated processor systems, micro controllers, programmable logic devices, or microprocessors that perform some or all of the operations. Some of the operations described above may be implemented in software and other operations may be implemented in hardware.


For the sake of convenience, the operations are described as various interconnected functional blocks or distinct software modules. This is not necessary, however, and there may be cases where these functional blocks or modules are equivalently aggregated into a single logic device, program or operation with unclear boundaries. In any event, the functional blocks and software modules or features of the flexible interface can be implemented by themselves, or in combination with other operations in either hardware or software.


Having described and illustrated the principles of the invention in a preferred embodiment thereof, it should be apparent that the invention may be modified in arrangement and detail without departing from such principles. I claim all modifications and variation coming within the spirit and scope of the following claims.

Claims
  • 1. A system, comprising: a network component containing circuitry configured to:receive a packet encapsulated with a plurality of protocol layers;inspect the received packet to determine whether the received packet is a neighbor discovery message, wherein a first inner layer of the protocol layers is analyzed during the inspection;if the received packet is a neighbor discovery message according to the inspection, modify an attribute of a second layer according to a distributed inspection scheme between the network component and a remote routing device, wherein the second modified layer is an outer layer with respect to the first inner layer, wherein the second modified layer encapsulates the first analyzed layer; andforward the packet having the modified attribute.
  • 2. The system of claim 1 wherein the circuitry is further configured to: identify a bit value in a type field of the second layer, the bit value identifying a protocol used to format data containing in the packet; andchange the bit value independently of any modification to the formatting of the data.
  • 3. The system of claim 1 wherein the second layer is an Ethernet layer and the circuitry is configured to modify an Ethertype setting without modifying the data following the Ethertype field.
  • 4. The system of claim 1 further comprising a routing device, wherein the routing device contains circuitry configured to: receive the forwarded packet; andperform fast packet inspection on the forwarded packet to observe that the forwarded packet contains a neighbor discovery message, wherein said fast packet inspection utilizes the modified attribute and consumes fewer processing resources than the inspection by the network component.
  • 5. The system of claim 4 wherein the routing device circuitry is configured to determine whether to filter the neighbor discovery message according to a destination of the neighbor discovery message.
  • 6. The system of claim 1 wherein the inspection and modification by the network component offloads packet inspection from an access router.
  • 7. The system of claim 6 wherein the network component is a cable modem and the access router is a Cable Modem Termination System (CMTS), wherein the cable modem is configured to perform an initial inspection of the packet and the CMTS performs a fast subsequent inspection based on the initial packet inspection by the cable modem.
  • 8. The system of claim 1 wherein the network component performs the modification prior to the network component modulating the received packet for transmission on a cable network.
  • 9. A Cable Modem Termination System (CMTS), comprising circuitry configured to: exchange traffic between a cable network and another network;identify an upstream portion of the traffic that is received over the cable network;inspect a layer two portion of packets included in the identified traffic portion, said inspection to identify ones of the packets containing a predefined bit value in their respective layer two portion; andfilter the identified packets according to an address comparison.
  • 10. The CMTS of claim 9 wherein identified packets contain IPv6 packets encapsulated in an Ethernet frame, and the bit value contained in the Ethertype field of the Ethernet frame is different than the standard bit value for indicating IPv6 packets.
  • 11. The CMTS of claim 9 wherein the circuitry is further configured to format unfiltered ones of the identified packets for forwarding, wherein the formatted packets for forwarding encapsulate the same IP packet as their corresponding received packets but a different Ethertype bit value than their corresponding received packets.
  • 12. The CMTS of claim 11 wherein the pre-negotiated bit value is a non-standard Ethertype field value.
  • 13. The CMTS of claim 9 wherein the formatting of the forwarded packets provides containment of the non-standard Ethertype field value within an upstream path of the cable network.
  • 14. A method, comprising: inspecting, at a first device, a first layer of a packet, the first layer encapsulated in a second different layer;according to whether the inspection indicates that the packet is a neighbor discovery packet, modifying information contained in the second different layer of the packet to indicate a result of the inspection; andforwarding the packet having the modified information from the first device, over a network, to a second device.
  • 15. The method of claim 14, further comprising: subsequently inspecting the second layer at the second device, the subsequent inspection to observe the modified information; andresponsive to observation of the modified information, determine whether to forward the packet from the second device to an indicated destination.
  • 16. The method of claim 15 wherein the subsequent inspection to observe the modified information analyzes a subset of data analyzed during the previous inspection.
  • 17. The method of claim 14 wherein the modified information is contained within an Ethertype field of the packet.
  • 18. The method of claim 14 wherein the packet contains an IPv6 packet in a payload of the Ethernet frame and the modified information does not match a standard bit value for indicating an IPv6 packet.
  • 19. The method of claim 14, further comprising: identifying an address included in the packet;comparing the identified address to a list containing addressing information for cable modems;determining whether the list includes a stored address corresponding to the identified address according to the comparison; andpreventing the packet from being forwarded according to the determination such that the packet is not forwarded if the stored address is present in the list.
  • 20. The method of claim 19 further comprising responding to a source of the packet if the packet is prevented from being forwarded.
Parent Case Info

This application is a continuation-in-part of U.S. application Ser. No. 11/026,641, filed on Dec. 30, 2004, which claims the benefit of U.S. Provisional Application Nos. 60/574,506 filed May 25, 2004; 60/574,876 filed May 26, 2004; 60/582,732 filed Jun. 22, 2004; 60/588,635 filed Jul. 16, 2004; and 60/590,509 filed Jul. 23, 2004, and which is herein incorporated by reference in its entirety.

Provisional Applications (5)
Number Date Country
60574506 May 2004 US
60574876 May 2004 US
60582732 Jun 2004 US
60588635 Jul 2004 US
60590509 Jul 2004 US
Continuation in Parts (1)
Number Date Country
Parent 11026641 Dec 2004 US
Child 12192935 US