§1.1 Field of the Invention
The present invention concerns methods, apparatus and data structures for providing a transport network that supports a virtual LAN service. More specifically, the present invention concerns emulating a transparent LAN segment to support a virtual LAN. The present invention also concerns configuring such a network.
§1.2 Related Art
The description of art in this section is not, and should not be interpreted to be, an admission that such art is prior art to the present invention.
§1.2.1 Known Private Networking Technologies
For many entities (such as businesses, universities, etc.), local area networks (or “LANs”) suffice for intra-entity communications. Indeed, LANs are quite popular since they are relatively inexpensive to deploy, operate, and manage, and are based on mature, well-developed technology, such as Ethernet, for example. Unfortunately, however, most entities need to communicate (voice and/or data) with their own facilities, or others, beyond their immediate location. Thus, wide area networks (or “WANs”) are needed. Very often, entities want at least some privacy or security attached to their communications.
Presently, private long-haul communications can take place over networks that can be generally classified into two types—dedicated WANs that facilitate communications among multiple sites, and public transport networks that allow one or more sites of a private network to communicate. Both of these types of networks are introduced below.
§1.2.1.1 Dedicated WANs
Dedicated wide area networks (“WANs”) are typically implemented using leased lines or dedicated circuits to connect multiple sites. Customer premise equipment (“CPE”) routers or switches at these sites connect these leased lines or dedicated circuits together to facilitate connectivity between each site of the network. Most private networks with a relatively large number of sites will not have “fully meshed” networks (i.e., direct connections between each of the sites) due to the cost of leased lines or dedicated circuits and to the complexity of configuring and managing customer premises equipment. Rather, some form of hierarchical network topology is typically employed in such instances. Dedicated WANs are relatively expensive and typically require the customer to have some networking expertise.
§1.2.1.2 Virtual Private Networks
Public transport networks, which are typically deployed by regional bell operating companies (or “RBOCs”), or some other service provider, are often used to allow remote users to connect to an enterprise network using the public-switched telephone network (or “PSTN”), an integrated services digital network (or “ISDN”), or some other type of transport network technology. (Note that the word “public” in the phrase “public transport network” connotes the fact that more than one entity may use it, even though it may be privately owned and managed, and not available to the general public.) Such remote access may be facilitated by deploying network access servers (or “NASs”) at one or more central cites. When users connect to (e.g., dial into) a NAS, it works with authentication, authorization and accounting (or “AAA”) servers to verify the identity of the user and to check which services that user is authorized to use.
§1.2.2 Limitations of Known Transport Network Technologies
As can be appreciated, private dedicated WANs are beyond the financial reach of many entities. Accordingly, so-called public transport networks have become quite popular. Unfortunately, however, various incompatible public transport networks have been introduced over the years in response to the then perceived needs to support various applications. Examples of such public transport network technologies include switched multimegabit data service (“SMDS”), X.25 packet switched networks, frame relay, broadband ISDN, and asynchronous transport mode (“ATM”).
The fact that public transport networks use incompatible technologies has two onerous implications for service providers. First, technologies with which customers access the transport network (referred to as “access technologies”) must be compatible with the technology used in the transport network (unless there is a handoff between networks, which is expensive). Thus, customers are locked into a technology from end-to-end. Further, such dependencies between access technologies and transport network technologies have forced public transport network service providers to support, maintain and administer separate networks.
Thus, an alternative public transport network is needed. Such a public transport network should (i) support the provision of virtual private network functions, (ii) isolate the transport network from incompetent or malicious actions by customers, (iii) be easy for a service provider to deploy (provision and configure) and manage, and/or (iv) allow customers to use a mature technology that is easy to install, use and manage, such as Ethernet for example, while shielding them from the complexities of the transport network.
The present invention may be use to (i) provide data transport that can act as a transparent LAN segment, (ii) facilitate the provisioning one or more such a transparent LAN segments, and (iii) facilitate the configuration of the transport network, including the service provider edge devices, to support a provisioned transparent LAN segment service.
As a packet destined for a particular device (as defined by a layer 2, e.g., MAC, destination address) is forwarded from a source device on a first LAN to a destination device on a second LAN, where both the first and second LANs are coupled via a transparent LAN segment, it may traverse a path having three basic parts; namely, (i) from the first LAN to an associated ingress service provider edge device, (ii) from that ingress service provider edge device to an egress service provider edge device associated with the second LAN having the destination device, and (iii) from that egress service provider edge device to the second LAN. The second part of the path—from the ingress service provider edge device to the egress service provider edge device—may exploit known label switched path forwarding techniques.
Using the present invention, an ingress PE router R1 can cause a packet to be delivered to the egress PE router R2 by pushing some label onto the packet and sending the result to one of its adjacencies. This label is referred to as the “tunnel label”, and the corresponding label switched path is referred to as the “tunnel LSP”. Such tunnel LSPs could be established via known protocols such as BGP, LDP, RSVP, for example. The tunnel LSP merely gets packets from the ingress PE router R1 to the egress PE router R2—the corresponding tunnel label doesn't tell the egress PE router R2 what to do with the payload. In fact, if penultimate hop popping is used, the egress PE router R2 may never even see the corresponding tunnel label. (If the ingress PE router R1 itself is the penultimate hop, a tunnel label may not even get pushed on.) The present invention may be used to provide an additional label, which is made available to the egress PE router R2 (it may be encapsulated by the tunnel label so that it is preserved), and which is used by the egress PE router R2 to determine how to treat the received packet. This label is referred to as the “TLS label”.
At the edge of the transport network, each service provider edge device may have one or more ports that the service provider uses to couple a customer's LAN to the service provider's transport network. A given (logical) port on a service provider edge device PE could be used to connect to only one virtual TLS. Thus a given (logical) port belongs to one TLS. However, if VLANs are to be supported, a logical port may be associated with a particular VLAN, and a physical port should be able to support multiple VLANs and hence, multiple logical ports.
The present invention may also be used to configure transparent LAN segments (TLSs) on a transport network by (i) providing layer 2 (MAC) forwarding information regarding the TLS to service provider edge devices (PEs) (preferably servicing at least one port of the TLS), and (ii) learning which devices (e.g., as identified by a layer 2, (e.g., MAC) address) belong to a TLS and where such devices are coupled with the TLS.
To avoid the need to make global changes (i.e., to all PEs) to configuration information each time a port is added to a TLS, the present invention may permit the service provider to configure ports locally (i.e., at the given edge device PE having the added port). The present invention may do so by providing (e.g., signaling), to all other service provider edge devices (PEs) that support the TLS, an identifier of the service provider edge device, an identifier of the TLS, a port identifier and label information used by the port. The label information may include a label offset (if any), a label base, and a label range. Service provider edge devices (PEs) receiving such signaling may then update a layer 2 (MAC) forwarding information table (an/or TLS information) related to the TLS. The service provider edge device (PE) may also update the layer 2 (MAC) forwarding information table related to the TLS based on packets received either locally, or from another (remote) service provider edge device (PE). If a forwarding entry for a particular layer 2 (MAC) destination address is not yet provided, instances of a packet destined to that layer 2 (MAC) address may be forwarded to any and all PEs having at least one port belonging to the relevant TLS. That is, multicasting packets based on “wild card” entries may be used as an interim solution until forwarding information for the layer 2 (MAC) destination device is learned/discovered.
The present invention involves novel methods, apparatus and data structures for providing a transport network that can act as a transparent LAN segment, as well as methods, apparatus and data structures for provisioning and configuring such a transport network. The following description is presented to enable one skilled in the art to make and use the invention, and is provided in the context of particular applications and their requirements. Various modifications to the disclosed embodiments will be apparent to those skilled in the art, and the general principles set forth below may be applied to other embodiments and applications. Thus, the present invention is not intended to be limited to the embodiments shown and the inventor regards his invention as the following disclosed methods, apparatus and data structures and any other patentable subject matter.
In the following, an exemplary environment in which the invention may operate is described in § 4.1. Then, high-level applications that may be performed by the present invention are introduced in § 4.2. Thereafter, an exemplary service provider edge device (PE) that may be used to effect various aspects of the present invention is introduced in § 4.3. Then, exemplary methods and data structures that may be effected by and stored by, respectively, a service provider edge device are described in § 4.4. Thereafter, examples of network configuration and packet forwarding, are provided in §4.5. Finally, some conclusions regarding various aspects of the present invention are provided in § 4.6.
§4.1 Exemplary Environment in Which the Present Invention May Operate
In one exemplary embodiment, the transport network 110 may be a label-switching network, such as a multi-protocol label switching (“MPLS”) network.
As is known, a label may be a short, fixed-length value carried in the packet's header to identify a forwarding equivalence class (or “FEC”). An FEC is a set of packets that are forwarded over the same path through a network even if their ultimate destinations are different. Alternatively, labels needn't be explicitly defined in a packet's header. Labels may be inferred. For example, in Generalized MPLS, a label could be a time slot (e.g., in SONET/SDH cross-connects), or even a port number (e.g., in Optical Cross-Connects).
In the MPLS domain, the label switching routers (LSRs) 330 simply forward the packet using label-swapping. More specifically, when a labeled packet arrives at a label switching router (LSR), the input port number and the tunnel label are used as lookup keys into an MPLS forwarding table. When a match is found, the forwarding component retrieves the associated outgoing label, the outgoing interface (or port), and the next hop address from the forwarding table. The incoming tunnel label is replaced with the outgoing tunnel label and the packet is directed to the outgoing interface for transmission to the next hop in the label switched path.
When the labeled packet arrives at the egress label switching router 320c, the router may operate in accordance with the method 450b′ described with reference to
The forgoing description of the packet forwarding using label switching presumed the existence of label switched paths and associated label entries in forwarding tables. These paths are determined and provided to each of the label switching routers (LSRs) in the label-switched path (LSP). Such path determination and distribution may be performed using known label distribution protocols such as label distribution protocol (“LDP”), resource reservation protocol (“RSVP”) and border gateway protocol (“BGP”).
§4.2 High-Level Applications that may be Performed by the Invention
As described below, a high-level application of the present invention may be to provide data transport that can act as a transparent LAN segment. This application is further described in § 4.2.1 below. Another high-level application of the present invention may be to facilitate the provisioning one or more such a transparent LAN segments. This application is further described in § 4.2.2 below. Yet another high-level application of the present invention may be to facilitate the configuration of the transport network, including the service provider edge devices, to support a provisioned transparent LAN segment service. This application is further described in § 4.2.3 below.
§4.2.1 Data (Packet) Transport
As a packet destined for a particular device (as defined by a layer 2, e.g., MAC, destination address) is forwarded from a source device on a first LAN to a destination device on a second LAN, where both the first and second LANs are coupled via a transparent LAN segment, it traverses a path having three basic parts; namely, (i) from the first LAN to an associated ingress service provider edge device, (ii) from that ingress service provider edge device to an egress service provider edge device associated with the second LAN having the destination device, and (iii) from that egress service provider edge device to the second LAN. Exemplary methods and data structures for effecting the first and third parts of the path are described in more detail in § 4.4.2 below, with reference to
Assume it is desired to transport an Ethernet packet from ingress PE router (R1) to egress PE router (R2), across an intervening MPLS network (Assume that there is a label switched path from R1 to R2.). That is, the ingress PE router R1 can cause a packet to be delivered to the egress PE router R2 by pushing some label onto the packet and sending the result to one of its adjacencies. This label is referred to as the “tunnel label”, and the corresponding label switched path is referred to as the “tunnel LSP”. Such tunnel LSPs could be established via known protocols such as BGP, LDP, RSVP, for example. The tunnel LSP merely gets packets from the ingress PE router R1 to the egress PE router R2—the corresponding tunnel label doesn't tell the egress PE router R2 what to do with the payload. In fact, if penultimate hop popping is used, the egress PE router R2 may never even see the corresponding tunnel label. (If the ingress PE router R1 itself is the penultimate hop, a tunnel label may not even get pushed on.) Thus the present invention provides an additional label, which is made available to the egress PE router R2 (it may be encapsulated by the tunnel label so that it is preserved), and which is used by the egress PE router R2 to determine how to treat the received packet. This label is referred to as the “TLS label”.
According to the present invention, when the ingress PE router R1 sends a (e.g., an Ethernet) packet to the egress PE router R2, it first pushes a TLS label on its label stack, and then (if R1 is not adjacent to R2) pushes on a tunnel label. The tunnel label gets the packet from the ingress PE router R1 to the egress PE router R2. The TLS label is not needed, and might not even be visible, until the packet reaches the egress PE router R2. To reiterate, the egress PE router R2 forwards the packet based on the TLS label.
Note that the tunnel could be a GRE encapsulated MPLS tunnel between the ingress PE router R1 and the egress PE router R2. In this case, the ingress PE router R1 would be adjacent to the egress PE router R2, and only the TLS label would be used. In such a case, the intervening network need only carry IP packets.
§4.2.2 Provisioning Transparent Lan Segments
At the edge of the transport network 110, each of the service provider edge devices (PEs) 120 has one or more ports that the service provider uses to couple a customer's LAN to the service provider's transport network 110. A given (logical) port on a service provider edge device PE 120 could be used to connect to only one virtual TLS. Thus a given (logical) port belongs to one TLS. A logical port, in principle, may include more than one physical ports Generally, a physical port will only belong to one logical port. However, if VLANs are to be supported, a logical port may be associated with a particular VLAN, and a physical port should be able to support multiple VLANs and hence, multiple logical ports.
For each TLS offered by a service provider, the service provider provisions its edge devices (PEs) such that within a given TLS, each (logical) port has a unique number (referred to as “port ID”). In addition, for each TLS offered by the service provider, the service provider estimates the number of ports that are to belong to the TLS. Note that this is just an estimate, and from a practical point of view the service provider should overprovision this number. For each TLS that has at least one port on a given service provider edge device (PE), the PE is configured with the estimated number of ports of that TLS.
Exemplary methods and data structures for effecting the provisioning of ports to TLSs, and TLS labels to ports, are described in more detail in § 4.4.1 below, with reference to
§4.2.3 Network Configuration
To avoid the need to make global changes (i.e., to all PEs) to configuration information each time a port is added to a TLS, the present invention may permit the service provider to configure ports locally (i.e., at the given edge device PE having the added port). The present invention may do so by providing (e.g., signaling), to all other service provider edge devices (PEs) that support the TLS, an identifier of the service provider edge device, an identifier of the TLS, a port identifier and label information used by the port. The label information may include a label offset (if any), a label base, and a label range. Service provider edge devices (PEs) receiving such signaling may then update a layer 2 (MAC) forwarding information table (an/or TLS information) related to the TLS. Although an advertisement with label information could be broadcast to all PEs of a transport network, and each of the PEs could save the advertisement, even if it isn't relevant to the PE, for potential future use, having a PE save irrelevant advertisements imposes extra overhead on PEs. Therefore, a better alternative is to discard irrelevant advertisements, and have a PE use BGP Route Refresh Capability when a new TLS is added to the PE so that the information related to the new TLS can get to relevant PEs.
The service provider edge device (PE) may also update the layer 2 (MAC) forwarding information table related to the TLS based on packets received either locally, or from another (remote) service provider edge device (PE). If a forwarding entry for a particular layer 2 (MAC) destination address is not yet provided, instances of a packet destined to that layer 2 (MAC) address may be forwarded to any and all PEs having at least one port belonging to the relevant TLS. That is, multicasting packets based on “wild card” entries may be used as an interim solution until forwarding information for the layer 2 (MAC) destination device is learned/discovered.
Exemplary methods and data structures for effecting various aspects of configuration are described in more detail in §4.4.3 below, with reference to FIGS. 7 and 13-15.
§4.3 Exemplary Apparatus
Information in the VFIs, 460 is managed by VFI management operation(s) 486. Such operation(s) 486 can use packets received on port operations (including data packets and signaling or control packets), as well as transparent LAN segment information (also referred to as a label information base) 470 to manage the information in the VFIs 460. The transparent LAN segment information 470 may be generated by local provisioning operation(s) 484 (for distributed provisioning locally, such as at the service provider edge device) and/or service provider transparent LAN segment provisioning operation(s) 485 (for centralized provisioning). The transparent LAN segment information 470 may be advertised to other service provider edge devices (not shown), and particularly those supporting at least one common TLS, using advertisement generation operation(s) 482.
The machine 1600 may be a router for example. In an exemplary router, the processor(s) 1610 may include a microprocessor, a network processor, and/or (e.g., custom) integrated circuit(s). In the exemplary router, the storage device(s) 1620 may include ROM, RAM, SDRAM, SRAM, SSRAM, DRAM, flash drive(s), hard disk drive(s), and/or flash cards. At least some of these storage device(s) 1620 may include program instructions defining an operating system, a protocol daemon, and/or other daemons. In a preferred embodiment, the methods of the present invention may be effected by a microprocessor executing stored program instructions (e.g., defining a part of the protocol daemon). At least a portion of the machine executable instructions may be stored (temporarily or more permanently) on the storage device(s) 1620 and/or may be received from an external source via an input interface unit 1630. Finally, in the exemplary router, the input/output interface unit(s) 1630, input device(s) 1632 and output device(s) 1634 may include interfaces to terminate communications links.
Naturally, the operations of the present invention may be effected on systems other than routers. Such other systems may employ different hardware and/or software.
§4.4 EXEMPLARY METHODS AND DATA STRUCTURES
As introduced in §4.2 above, three high-level applications may be performed by the present invention—provisioning transparent LAN segments, data forwarding, and configuring service provider edge devices to support transparent LAN segment service. Exemplary methods and data structures that may be used to effect these applications are described in §§4.4.1, 4.4.2 and 4.4.3, respectively, below.
§4.4.1 Provisioning Transparent Lan Segments of Virtual Lans
As indicated by block 840, for each TLS to be supported by the given PE, (logical) ports are assigned to the TLS. In one exemplary embodiment, the service provider sequentially numbers (starting with 1) the ports that belong to that TLS, as illustrated by columns 622 of
Referring back to
§4.4.2 Data Forwarding
Recall that as a packet destined for a particular device (as defined by a layer 2, e.g., MAC, address) is forwarded from a source device on a first LAN to a destination device on a second LAN, where both the first and second LANs are coupled with a transparent LAN segment, it traverses a path having three basic parts; namely, (i) from the first LAN to an associated ingress service provider edge device (PE), (ii) from that ingress service provider edge device (PE) to an egress service provider edge device (PE) associated with the second LAN having the destination device, and (iii) from that egress service provider edge device to the second LAN. (Note that the first and second LANs could be coupled with the transparent LAN segment via the same PE. In such a case, since one PE serves as both the ingress PE and egress PE, the second part of the path is not applicable.) Each of these three parts of the forwarding is described below, with reference to
As shown in
Forwarding on the Ingress PE
Recall that a “tunnel” label is used to forward packets over the transport network 110, from an ingress service provider edge device (PE) to an egress service provider edge device (PE). Recall further that a TLS label is used by the egress PE to select a particular outgoing port. Therefore, the ingress (PE) stacks a TLS label and a tunnel label onto an incoming packet. Briefly stated, the TLS label and the appropriate egress PE is determined based on information stored in a VFI (e.g., a layer 2 (MAC) forwarding information table). The “tunnel” label is determined from information in a forwarding table using the egress PE, the contents of which may be managed using known protocols or techniques. Finally, recall that a tunnel label might not be needed for “local” forwarding through a single given PE.
As shown in
Referring back to 915, if an entry with a matching MAC address is found, and the entry type is “remote”, then, as indicated by block 930, the ingress PE determines the TLS label and the egress PE from the found entry (See, e.g., columns 738 and 739 of
Referring back to 915, if neither a local, nor a remote type entry is found (i.e., if no entry has a matching MAC address), or if the destination MAC address is either broadcast or multicast, the packet is handled by using a wild card type entry associated with the port as follows. The wild card type entry may include a number of {TLS label, egress PE} tuples. More specifically, as indicated by loop 942-950, for each {TLS label, egress PE} tuple from the wildcard entry, a number of acts are performed. That is, for each {TLS label, egress PE} tuple from the wildcard entry, the ingress PE applies (e.g., prepends) the TLS label to (an instance of) the packet as indicated by block 944, prepares the packet for transport to the egress PE as indicted by block 946, and sends the packet toward the specified egress PE as indicted by block 948. Referring, via node A 951, to
As can be appreciated from the foregoing, wild card type entries can be used if the port/PE serving the destination MAC address isn't known. In such a case, the packet may be multicast to all PEs and ports of the TLS known to the ingress PE. Although such multicasting is not efficient, it is an interim measure, only used until the ingress PE “learns” or “discovers” the port and PE which serve the device having the relevant MAC address.
Forwarding from the Ingress PE to the Egress PE
The second part of the path—from the ingress service provider edge device PE to the egress service provider edge device PE—may exploit known forwarding techniques, such as known label switched path forwarding techniques.
Forwarding on the Egress PE
Referring back to decision block 1015, if double lookup forwarding is to be used, as indicated by block 1020, an appropriate (MAC) layer 2 forwarding information table (or VFI) is determined based on the TLS label of the received packet. Then, as indicated by decision block 1025 and block 1030, if the VFI has a local type entry with a MAC address matching the packet's destination MAC address, using the determined VFI table, an outgoing port is determined based on the destination MAC address of the packet. (Recall, e.g., columns 734 and 738 of a “local” entry.) As indicated by block 1040, the TLS label may be removed at this point. As mentioned above, since layer 2 (MAC) address learning uses the TLS label, it should be performed before the TLS label is stripped. Finally, as indicated by block 1050, the packet is placed on the determined outgoing port, before the method 450b′ is left via RETURN node 1080. Referring back to decision block 1025, if the VFI does not have a local type entry with a MAC address matching the packet's destination MAC address, then the TLS label may be removed as indicated by block 1060 and (an instance of) the packet is placed on all local ports that belong to the TLS as indicated by block 1070, before the method 450b′ is left via RETURN node 1080.
Grouping Ports Belonging to the Same TLS into One Logical Port
As alluded to above, if a PE has several ports that belong to a particular TLS, instead of assigning port IDs to each such port, the PE could assign just a single Port ID. Moreover, rather than creating and advertising label-blocks on a per (physical) port basis, the PE could create and advertise label-blocks just for one (logical) port. Such a scheme would create an association not between a port and a set of label-blocks, but between a particular VFI and a set of label-blocks. This scheme assumes that in the label information base maintained by the PE, the labels that are defined by the label-blocks that the PE advertises to other PEs point not to a particular outgoing interface, but to a particular VFI (the VFI that the label-blocks are associated with). Moreover, this scheme assumes that when the PE receives a packet with a TLS label, to determine where to forward the packet, the PE uses the TLS label to select a particular VFI, and then performs the lookup in that VFI table using the MAC destination address carried in the packet. Finally, if the VFI doesn't have a local entry with the matching MAC address, the PE sends the packet on all the local ports associated with the VFI.
§4.4.3 Configuration
In the forwarding operations described in §4.4.2 above, it was assumed that the VFI (e.g., the layer 2 (MAC) forwarding information table) was populated with appropriate entries. Although these entries may be manually entered and maintained, doing so would be difficult, slow, labor intensive, and subject to human-error. This section describes exemplary ways of maintaining the VFI. Entries of the VFI may be generated and/or maintained based on advertisements and based on (e.g., “learned” from) information taken from packets entering or exiting the transport network. Exemplary methods and data structures for performing such advertisement and VFI maintenance are described here.
For each TLS (logical) port configured on a service provider edge device (PE), the PE distributes to other PEs the information about all its label-block(s), as well as about the port ID(s) of the PE. As a result, a PE that has a particular TLS configured on it will have information about (a) which remote PE(s) has a (logical) port of the TLS with a particular port ID, and (b) the set of label-blocks that the remote PE advertises for that particular (logical) port.
A PE receiving an ad may use information in such an ad to add and/or maintain information in one of its VFIs (e.g., layer 2 (MAC) forwarding information tables). Such a PE may also use information in packets to add or maintain such information.
When a PE receives a TLS advertisement, it checks if the received Route Target Community (or more generally, a group used for targeting the distribution of the ads) matches that of any of its VFIs (Recall, e.g., 720 and 730 of
Referring back to 1510, when a PE receives a local (ingress) packet, it may update or add a “local” type of the VFI associated with the local port entry. More specifically, as indicated by block 1540, the “local” type VFI entries on a PE may be updated using the packets that the PE receives on the (local) ports associated with the TLS that the VFI is associated with. For example, when a PE receives a packet on one of its local ports, the PE creates a “local” type entry in the VFI that the port is associated with. In the “local” type entry, the MAC address 734 is set to the MAC source address in the packet, and the outgoing port 738 is set to the port on which the packet was received. The method 486′ is then left via RETURN node 1570.
Referring back to 1510, when a PE receives a packet from some other PE (also referred to as a “remote packet” or an “egress packet”), it may update or add a “remote” type VFI entry. More specifically, as indicated by block 1550, the PE may use the TLS label of the packet to determine the ingress PE and the port on the ingress PE where the packet came from. This may be done as follows. First the PE searches through the label-blocks that it advertises (or had advertised) to other PEs for the block m that satisfies LBm<=TLS_label<LBm+LRm. (Recall label information base 470 of
As indicated by the foregoing, labels provide the egress PE with the information about the ingress PE and the port on the ingress PE where the packet came from. This is used by the egress PE for what is known as “MAC address learning”, and specifically for discovering a particular {PE, port} pair that should be used to reach a particular MAC address.
As PE advertises a set of label-blocks associated with a given PE's port (means the advertisement carries the Port ID of that port), the PE installs all labels from this set in its Label Information Base with the port as the outgoing interface. As a result, when the PE receives a packet with any label that belongs to the set, the PE would send the packet (after stripping the label) over the port associated with the set.
§4.4.4 Supporting VLAN Flooding Scope
Each customer port on a PE, in addition to being associated with a particular TLS, could be also associated (e.g., via provisioning) with one of more VLANs of that TLS. In such a case VLAN membership information may be distributed (e.g., as part of BGP updates by using a VLAN Extended Community attribute). When a PE receives a BGP Update that carries a TLS advertisement, it checks if the received Route Target community matches any TLS that it is a member of (just like it does in the absence of VLAN flooding scope). If there is a match, then the PE further checks whether any of the VLANs Extended Community attributes of that update match any of the VLANs associated with the TLS. Only if the match is found, the VFI associated with that TLS is updated with the received information. Alternatively, a TLS could be associated with a single VLAN. In such a case, the TLS procedures described could be applied.
To support VLAN flooding scope, each VFI entry may be extended to include not just the MAC address, but also an associated VLAN tag. In such a case, the lookup in the VFI would be performed based on a {MAC address, VLAN tag} tuple. To reiterate, alternatively, a TLS could be associated with a single VLAN. In such a case, the TLS procedures described could be applied.
§4.5 Exemplary Operations
Examples illustrating exemplary provisioning, configuration and forwarding operations in an exemplary embodiment of the present invention are now provided.
§4.5.1 Provisioning and Configuration Example
An example of provisioning a transparent LAN segment (TLS) and of disseminating (e.g., advertising) and learning or discovering configuration information in accordance with the present invention is now described with reference to
Referring first to
At PE0, Port ID 0 has a first label-block with a label-block offset of 0, label base of 1000, and a range of 10. (Recall, e.g.,
Referring to both
Similarly, when PE0 receives the advertisement 1720, it sets a {label,egress PE} tuple(s) of the wild card entry (Recall, e.g., 736 and 739 of
As shown in
Recall also that the present invention enables local and remote MAC address learning. More specifically, it enables a outgoing port to be associated with a local MAC address and it enables a TLS label and an egress PE to be associated with a remote MAC address. (Recall
Ultimately, the packet 1820′ will arrive at PE0. Notice that the packet 1820′ is similar to that 1820, but the tunnel label has changed as the packet progressed along a label-switched path (not shown) between PE2 and PE0. PE0 now updates/creates a remote entry (ies) in its (MAC) layer 2 forwarding table associated with TLS=i. More specifically, PE0 may use the TLS label(s) of the packet(s) 1820′ to determine the ingress PE (PE2) and the port (Port ID=4) on the ingress PE where the packet came from. (Recall, e.g., 1550 of
First PE0 searches through the label-blocks that it advertises to other PEs for the block z that satisfies LBz<=TLS label<LBz+LRz. In this example, for the TLS label=1104, the first label-block of port 0 satisfies the condition since 1000<=1004 <1000+10. Similarly, for the TLS label=2004, the first label-block of port 1 satisfies the condition since 2000<=2004<2000+20.
In each case, once the label-block is found, the port ID of the ingress port is defined as LOz+TLS_label−LBz. Each case gives the same result. That is, the Port ID=0+1004−1000=4, or 0+2004−2000=4. The label block(s) satisfying the condition also identifies a particular VFI, and therefore a particular TLS that has this port. Using this Port ID and the BGP routing information that PE0 received from PE2, PE0 can determine the address of the ingress PE (PE2). (Recall message 1720 of
Back at PE2, a local type entry for the (MAC) layer 2 forwarding table associated with TLS=i (and Port ID=4) may be updated/generated. In this example, the MAC address of the entry (Recall, e.g., 734 of
The foregoing example illustrated how the present invention supports provisioning and the population of the VFI (e.g., a layer 2 (MAC) forwarding table) based on advertisements and layer 2 (MAC) address learning. Now, in §4.5.2 below, examples illustrating data forwarding using such information is described.
§4.5.2 Data Forwarding Example
Examples of data (e.g., a packet) being forwarded in accordance with the present invention are now described with reference to
In a first example, assume that a data packet having a destination MAC address arrives at PE2 and further assume that the (MAC) layer 2 forwarding table (associated with the Port ID that received the packet) has a local type entry having a MAC address (Recall 734 of
In a second example, referring to
Referring to
§4.6 Conclusions
As can be appreciated from the foregoing detailed description, the present invention permits a service provider to provide a transparent LAN segment service over a transport network. This service is easy to provision. Further, it is easy to add more ports. Finally customers can use a mature, inexpensive technology, such as Ethernet LANs, without the geographic limitations traditionally found in such technologies. Finally, the service provider's transport network is protected against malicious or incompetent customers.
This application is a continuation of U.S. patent application Ser. No. 12/329,858 (referred to as “the '858 application” and incorporated herein by reference), filed on Dec. 8, 2008, titled “ EDGE DEVICES FOR PROVIDING A TRANSPARENT LAN SEGMENT SERVICE AND CONFIGURING SUCH EDGE DEVICES,” and listing Yakov REKHTER as the inventor, which is a continuation of U.S. patent application Ser. No. 10/123,353 (referred to as “the '353 application” and incorporated herein by reference), filed on Apr. 16, 2002, titled “EDGE DEVICES FOR PROVIDING A TRANSPARENT LAN SEGMENT SERVICE AND CONFIGURATION SUCH EDGE DEVICES,” listing Yakov Rekhter as the inventor, which issued as U.S. Pat. No. 7,463,639 on Dec. 9, 2008, and which claimed benefit, under 35 U.S.C. §119(e)(1), to the filing date of provisional patent application Ser. No. 60/325,344 (referred to as “the '344 provisional application” and incorporated herein by reference), titled “SUPPORT OF TRANSPARENT LAN SEGMENT”, filed on Sep. 26, 2001 and listing Yakov Rekhter as the inventor, for any inventions disclosed in the manner provided by 35 U.S.C. §112, π1. These utility and provisional applications are expressly incorporated herein by reference. The present invention is not limited to any particular embodiments described in those applications.
Number | Date | Country | |
---|---|---|---|
60325344 | Sep 2001 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12329858 | Dec 2008 | US |
Child | 13097168 | US | |
Parent | 10123353 | Apr 2002 | US |
Child | 12329858 | US |