WO2007062592A1 - Systeme, procede et routeur de l2vpn d'interconnexions point a multipoints, et multipoints a multipoints - Google Patents
Systeme, procede et routeur de l2vpn d'interconnexions point a multipoints, et multipoints a multipoints Download PDFInfo
- Publication number
- WO2007062592A1 WO2007062592A1 PCT/CN2006/003235 CN2006003235W WO2007062592A1 WO 2007062592 A1 WO2007062592 A1 WO 2007062592A1 CN 2006003235 W CN2006003235 W CN 2006003235W WO 2007062592 A1 WO2007062592 A1 WO 2007062592A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- local
- arp
- packet
- module
- remote
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000005540 biological transmission Effects 0.000 claims abstract description 17
- 230000027455 binding Effects 0.000 claims description 70
- 238000009739 binding Methods 0.000 claims description 70
- 230000004044 response Effects 0.000 claims description 10
- 230000011664 signaling Effects 0.000 claims description 8
- 102100024533 Carcinoembryonic antigen-related cell adhesion molecule 1 Human genes 0.000 claims description 5
- 102100026679 Carboxypeptidase Q Human genes 0.000 claims 1
- 230000006855 networking Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 238000005538 encapsulation Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/04—Interdomain routing, e.g. hierarchical routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
Definitions
- Point/multipoint-to-multipoint interworking Layer 2 virtual private network system, method and routing device
- the invention relates to the field of network communication technologies, in particular to a point/multipoint to multipoint interworking two layer virtual private network
- MPLS L2VPN Multi-Protocol Label Switching Layer 2 Virtual Private Network
- MPLS L2VPN enables operators to provide Layer 2 VPN services for various transmission media on a unified MPLS network.
- Transmission media here include ATM (Asynchronous Transfer Mode), FR (Frame Relay), VLAN (Virtual Local Area Network), Ethernet (Ethernet), PPP (Point-to-Point Protocol), HDLC (Advanced Data Link Control), and so on.
- MPLS L2VPN the concept of CE (User Edge Device), PE (Proxy Edge Device), P (Provider Device) and BGP/MPLS L3VPN (Border Gateway Protocol/Multiprotocol Label Switching Layer 3 Virtual Private Network) Like the concept, its working principle is basically the same.
- the MPLS L2VPN transparently transmits user packets in the MPLS network through the label stack.
- the outer label is called the tunnel label and is used to transfer packets from one PE to another.
- the inner label is in MPLS.
- the L2VPN is called a VC (virtual channel) tag and is used to distinguish different connections in different VPNs.
- the receiving PE determines which CE to forward packets to according to the VC label.
- the encapsulation type of the L2VPN interface of the PE uses IP interoperation (ip-interworking) on the MPLS network. Transmit the user's Layer 3 data transparently, that is, IP packets.
- Method 1 A schematic diagram of networking for implementing MPLS L2VPN heterogeneous media interworking is shown in Figure 1.
- the PE is connected to the local CE, and an Ethernet interface or sub-interface of a PE is connected to only one local CE.
- the PEs are connected through an IP/MPLS network.
- the PE uses the L2VPN heterogeneous media interworking function to establish an L2VPN connection.
- the PE in Figure 1 After receiving the packet from the local CE, the PE in Figure 1 removes the link layer encapsulation and delivers the IP packet to the MPLS network.
- the IP packet is transparently transmitted to the remote PE through the MPLS network.
- the remote PE is based on its own chain.
- the layer protocol type re-encapsulates the received IP packet and sends the encapsulated packet to the CE connected to itself.
- the link layer control packet sent by the local CE is processed by the PE connected to it, and the link layer control packet does not enter the MPLS network transmission.
- the L2VPN Ethernet interface that encapsulates ip-interworking in the PE only processes ARP packets and IP packets. Leave the other types of packets.
- the local CE can communicate with each other or the local CE can communicate with the remote CE. That is, the local CE can communicate with the remote CE. Interworking, and can not support the establishment of L2VPN when a VLAN contains multiple physical ports. Therefore, the method of MPLS L2VPN heterogeneous media interworking can only implement peer-to-peer heterogeneous media interworking.
- Method 2 Use VPLS (Virtual Private LAN Service) to implement multi-point to multi-point CE interworking.
- VPLS requires that the access link between the CE and the PE must be Layer 2 Ethernet.
- the VPLS cannot support the transmission media such as the PPP/HDLC link or the ATM 1483R PVC link.
- VPLS needs to implement the MAC address learning function in the data plane, which makes it difficult for the control plane to control and manage the CE with complex policies.
- Method 3 The MPLS L3 VP is used to implement CE interworking.
- MPLS L3 VPN is used for CE interworking, you need to run a routing protocol on the CE-PE link to propagate CE routes. You also need to run the iBGP protocol between PEs to spread private network routes between PEs. Therefore, Method 3 It has a large impact on the FIB overhead and performance of PE devices. Summary of the invention
- the embodiment of the invention provides a point/multipoint-to-multipoint interworking L2VPN system, method and routing device, which provides an effective and feasible technical solution for point-to-multipoint interworking and multi-point to multi-point interworking, and reduces The networking cost of L2VPN interworking for heterogeneous media.
- the layer-to-multipoint-to-multipoint interworking Layer 2 virtual private network system includes: multiple CEs and multiple PEs, and PEs are connected through L2VPN VCs, and each PE passes through a shared network segment broadcast network. Connected to at least one local CE, or the local PE is connected to at least one local CE through the shared network segment broadcast network, and the remote PE is connected to a local CE through a point-to-point link.
- the PE is configured with:
- Storage module used to receive and store ARP learning results
- the ARP proxy module is configured to listen to the ARP request. After the local CE accesses the ARP request of the remote CE, the ARP request is terminated. After the local ARP request is received, the local shared network segment broadcasts. The ARP proxy module performs ARP learning according to the ARP request, and sends the learning result to the storage module.
- the packet forwarding module is configured to receive information according to the received packet and information stored in the storage module. The packet transmission between the local CE and the packet between the local CE and the remote CE are performed.
- the ARP proxy module includes: The judging sub-module is configured to match the destination IP address information of the ARP request received by the PE with the IP address information in the storage module, and if not, notify the ARP proxy sub-module to terminate, if yes, notify the ARP proxy sub-module Conduct ARP learning;
- the ARP proxy sub-module is configured to perform ARP learning according to the ARP request received by the PE, and send the ARP learning result to the storage module.
- the ARP response is performed according to the MAC address of the PE where the PE is located.
- no ARP reply is sent.
- the storage module stores a VPN index, a local CE IP address, an AC type, and an AC identifier binding relationship; or a VPN index, a local CE IP address, a local CE MAC address, an AC type, and an AC identifier. Binding relationship.
- the packet forwarding module includes: a unicast packet forwarding submodule 1 and a unicast packet forwarding submodule 2;
- the unicast packet forwarding sub-module 1 is used to strip the IP packet from the packet transmitted from the local CE, and determine the destination MAC address of the IP packet. After the IP address of the local PE is transmitted, the IP packet is transmitted to the remote PE. After the destination MAC address of the IP packet is not the MAC address of the local PE, the IP packet is discarded or the IP packet is discarded. The destination IP address and the VPN index are searched for the binding relationship to obtain the AC of the destination CE, and the IP packet is transmitted to the corresponding destination CE through the obtained AC;
- the unicast packet forwarding sub-module is used to: strip the IP packet from the packet transmitted by the local CE, and transmit the IP packet to the remote PE through the VC. ;
- the unicast packet forwarding sub-module 2 is configured to obtain an MPLS packet egress AC and a VPN cable according to the VC label of the MPLS packet transmitted by the remote PE, where the egress AC is a point-to-point link type.
- the Layer 2 link is directly encapsulated and sent to the local CE.
- the egress AC is the broadcast network type of the shared network segment, the binding relationship is obtained according to the AC and the VPN index of the MPLS packet.
- the address and the AC type are encapsulated by the Layer 2 link according to the AC type and sent to the local CE.
- the PE is also provided with: an ARP request module;
- the unicast packet forwarding submodule 1 or the unicast packet forwarding submodule 2 notifies the ARP requesting module when the matching binding relationship is not found;
- the ARP request module is configured to: after receiving the notification, send an ARP request to the local CE by using the IP address of the remote CE in the MPLS packet, and refresh the information in the storage module according to the ARP response returned by the CE.
- the packet forwarding module includes: a broadcast packet forwarding sub-module, configured to transparently transmit the non-ARP broadcast packet of the local CE to the remote PE, and transmit the packet to the remote PE according to the remote PE transmission.
- the VPN index of the ARP broadcast packet finds the ARP learning result, and The non-ARP broadcast packet transmitted by the remote PE is transmitted to the local CE according to the search result, or the non-ARP broadcast packet transmitted by the remote PE is transparently transmitted to the CE connected thereto.
- the packet forwarding module includes:
- the multicast packet forwarding sub-module is used to broadcast the multicast packets to all the CEs in the L2VPN.
- the multicast packets transmitted by the local CE are broadcast in the VLAN and broadcast to the L2VPN VC.
- the remote PE searches for the ARP learning result based on the VPN index of the multicast packet transmitted by the remote PE, and transmits the multicast packet to the local CE according to the search result.
- the link of the shared network segment broadcast network is: a VLAN link, or an Ethernet link, or an ATM 1483B PVC link.
- the point-to-point link is: a PPP link, or an HDLC link, or an ATM 1483R PVC link, or an FR link, or an Ethernet link, or an ATM 1483B PVC link, or a single port VLAN link.
- the connection between the PEs includes: a circuit cross-connect CCC connection, an SVC connection, LDP signaling, or an L2VPN virtual private line established by BGP signaling.
- the embodiment of the present invention further provides a routing device, which is a PE in an operator network, where the routing device is provided with a storage module, an ARP proxy module, and a packet forwarding module.
- Storage module used to receive and store AR learning results
- the ARP proxy module is configured to listen to the ARP request. After the local CE accesses the ARP request of the remote CE, the ARP request is terminated. After the local ARP request is received, the local shared network segment broadcasts. The ARP proxy module performs ARP learning according to the ARP request, and sends the learning result to the storage module.
- the packet forwarding module is configured to receive information according to the received packet and information stored in the storage module. The packet transmission between the local CE and the packet between the local CE and the remote CE are performed.
- the ARP proxy module includes:
- the judging sub-module is configured to match the destination IP address information of the ARP request received by the PE with the IP address information in the storage module, and if not, notify the ARP proxy sub-module to terminate, if yes, notify the ARP proxy sub-module Conduct ARP learning;
- the ARP proxy sub-module is configured to perform ARP learning according to the ARP request received by the PE, and send the ARP learning result to the storage module.
- the ARP response is performed according to the MAC address of the PE where the PE is located.
- no ARP reply is sent.
- the storage module stores the binding of the VPN cable 1, the IP address of the local CE, the AC type, and the AC identifier. Relationships; or the binding relationship between the VPN index, the IP address of the local CE, the MAC address of the local CE, the AC type, and the AC identity.
- the packet forwarding module includes: a unicast packet forwarding submodule 1 and a unicast packet forwarding submodule 2;
- the unicast packet forwarding sub-module is used to: strip the IP packet from the packet transmitted by the local CE, and determine the destination MAC address of the IP packet. After the MAC address of the local PE is transmitted, the IP packet is transmitted to the remote PE. After the destination MAC address of the IP packet is not the MAC address of the local PE, the IP packet is discarded or the IP packet is discarded. The destination IP address and the VPN index are searched for the binding relationship to obtain the AC of the destination CE, and the IP packet is transmitted to the corresponding destination CE through the AC.
- the unicast packet forwarding sub-module is used to strip the IP packet from the packet transmitted by the local CE, and transmit the IP packet to the remote PE through the VC;
- the unicast packet forwarding sub-module 2 is configured to obtain an egress AC and a VPN index of the MPLS packet according to the VC label of the MPLS packet transmitted by the remote PE, and directly perform the second when the egress AC is a point-to-point link type.
- the layer is encapsulated and sent to the local CE.
- the egress AC is the broadcast network type of the shared network segment
- the binding relationship is obtained according to the AC and the VPN index of the MPLS packet to obtain the IP address and AC of the CE.
- the type is encapsulated by the Layer 2 link according to the AC type and sent to the local CE.
- the PE is also provided with: an ARP request module;
- the unicast packet forwarding sub-module 2 notifies the ARP request module when the matching binding relationship is not found according to the egress AC and the VPN index;
- the ARP requesting module After receiving the notification, the ARP requesting module sends an ARP request to the local CE by using the IP address of the remote CE in the MPLS packet, and refreshes the information in the storage module according to the ARP reply returned by the CE.
- the packet forwarding module includes: a broadcast packet forwarding sub-module, configured to transparently transmit the non-ARP broadcast packet of the local CE to the remote PE, and transmit the non-ARP broadcast packet according to the remote PE.
- the VPN index of the text is used to find the ARP learning result, and the non-ARP broadcast packet transmitted by the remote PE is transmitted to the CE according to the search result, or the non-ARP broadcast packet transmitted by the remote PE is transparently transmitted to the connected interface.
- the packet forwarding module includes:
- the multicast packet forwarding sub-module is used to broadcast the multicast packets to all the CEs in the L2VPN.
- the multicast packets transmitted by the local CE are broadcast in the VLAN and broadcast to the L2VPN VC.
- the remote PE searches for the ARP learning result based on the VPN index of the multicast packet transmitted by the remote PE, and transmits the multicast packet to the local CE according to the search result.
- the embodiment of the present invention further provides a point/multipoint-to-multipoint interworking method, in which PEs are connected through an L2VPN VC, and each PE is connected to at least one local CE through a shared network segment broadcast network, or the local PE passes through the shared network.
- the segment broadcast network is connected to at least one local CE, and the remote PE is connected to a local CE through a point-to-point link.
- the method includes the following steps:
- the PE listens to the ARP request. After the local CE accesses the ARP request from the remote CE, the PE terminates the ARP request. After the ARP request is received, the local shared network segment broadcasts the network. The PE performs ARP learning according to the ARP request it hears, and stores the learning result.
- the PE performs packet transmission between the local CE and packet transmission between the local CE and the remote CE according to the information carried in the received packet and the stored learning result information.
- the method includes: the PE performs ARP learning according to the ARP request received by the PE, and receives the received
- the embodiment of the present invention provides a multi-point to multi-point and point-to-multipoint Layer 2 VPN system based on a shared network segment broadcast network, and the system transmits IP packet streams.
- L2VPN Universal Mobile Network
- a DSLAM Digital Subscriber Line Access Multiplexer
- a remote network such as a remote headquarters network through a VC
- the networking cost of the enterprise provides an economical and practical L2VPN solution for the SMEs to realize the remote interconnection of the enterprise network.
- the CE binding list of the present invention is generated by the control plane, and various policies can be used for these entries. Control, enhance the security of L2VPN services and networks.
- FIG. 1 is a schematic diagram of networking of a MPLS L2VPN in the prior art
- FIG. 2 is a schematic diagram of networking of a multi-point to multi-point MPLS L2VPN according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of networking of a point-to-multipoint MPLS L2VPN according to an embodiment of the present invention. Mode for carrying out the invention
- the embodiment of the present invention constructs a point-to-multipoint network topology or a multi-point to multi-point network topology.
- the PE device listens for ARP requests and detects Hear
- the local CE can access the ARP request of the remote CE and the ARP request of the local CE to perform different processing. This ensures that the local CE and the remote CE can communicate with each other.
- the PE in the embodiment of the present invention can process the non-ARP broadcast packet and the ARP broadcast packet sent by the local CE, and can process the IP unicast packet sent by the local CE, and can process the L2VPN MPLS packet sent by the remote PE.
- the local CE and the multicast packets sent by the remote PE can process the non-ARP broadcast packet and the ARP broadcast packet sent by the local CE, and can process the IP unicast packet sent by the local CE, and can process the L2VPN MPLS packet sent by the remote PE.
- FIG. 2 A networking diagram of a multi-point to multi-point L2VPN provided by an embodiment of the present invention is shown in FIG. 2.
- an L2VPN VC tunnel is set up between the PE1 and the PE2.
- the PE1 is connected to multiple local CEs through the shared network segment broadcast network.
- the PE2 is connected to multiple local CEs through the shared network segment broadcast network. Point-to-multipoint network topology.
- the local CE connected to PE1 through the shared network segment broadcast network can be the host.
- the local CE connected to PE2 through the shared network segment broadcast network can also be the host.
- FIG. 3 A networking diagram of a point-to-multipoint L2VPN provided by another embodiment of the present invention is shown in FIG. 3.
- an L2VPN VC tunnel is set up between PE1 and PE2.
- PE1 is connected to multiple local CEs through a shared network segment.
- the PE2 is connected to a local CE through a point-to-point link.
- the CEs at both ends form a point-to-multipoint Network topology.
- the local CE connected to the PE1 through the shared network segment broadcast network can be the host.
- the local CE connected to the PE2 through the point-to-point link can be the IP device such as the host and the router.
- L2VPN is used to transmit IP packets between CEs.
- This L2VPN is an IP-based interoperable L2VPN.
- Figure 2, Figure 3 shows the links of the shared network segment broadcast network: VLAN link, Ethernet link, or ATM 1483B PVC link.
- the point-to-point link in Figure 3 is: PPP link, or HDLC link, or ATM 1483R PVC link, or FR link, or Ethernet link, or ATM 1483B PVC link, or single-port VLAN link, etc. .
- connection between the PEs in the embodiment of the present invention includes: a circuit cross-connect CCC connection, an SVC (Switched Virtual Circuit) connection, an LDP (Label Distribution Protocol) signaling, or an L2VPN virtuality established by BGP signaling. Private line and so on.
- the PE of the embodiment of the present invention is provided with a storage module, an ARP proxy module, an ARP request module, and a packet forwarding module.
- the storage module is mainly used to store the results of ARP learning.
- the ARP learning result stored in the storage module is obtained for the local CE connected to the PE.
- the ARP learning result is mainly learned through the ARP proxy module.
- the information stored in the storage module can also be obtained through static configuration.
- the ARP proxy module is mainly used to process the ARP request sent by the CE, and the operation performed by the ARP proxy module can be implemented by the determining submodule and the ARP proxy submodule.
- the ARP learning result stored in the lL HWU can be called the CE binding list.
- the CE binding list stores ⁇ VPN cable 1, IP address, MAC address, and AC (Access Circuit).
- the binding relationship of the type, AC ID > The MAC address in the above binding relationship is optional. When the AC type is Ethernet, the MAC address needs to appear in the binding relationship, so that the packet forwarding module can The packet is used for Layer 2 encapsulation.
- the binding relationship stored in the storage module is for the local CE.
- the AC type stored in the storage module can be a physical port, an Ethernet sub-interface, a VLAN interface, or a logical link such as an ATM/FR PVC.
- the information about the IP address and the AC type of the local CE can be configured in the CE binding list when the AC joins the L2VPN.
- the IP address of the local CE can also be represented by the IP subnet segment of the local CE. That is, the IP addresses of multiple local CEs are aggregated into one IP subnet segment. A subnet segment represents the IP addresses of multiple CEs. The IP subnet segment should not contain the IP address of the remote CE.
- the judgment sub-module is mainly used to determine whether the ARP proxy sub-module needs to proxy the remote CE to respond to the ARP request.
- the determining submodule After determining that the PE of the submodule receives the ARP request, the determining submodule obtains the destination IP address information from the ARP request, and compares the destination IP address information with the local CE binding list stored in the storage module, if the destination IP address If the address information does not match the IP address in the local CE list, the ARP request is an ARP request sent by the local CE to the remote CE. In this case, the determining submodule notifies the ARP proxy submodule to perform AR termination processing; If the address information matches the IP address in the local CE list, the ARP request is an ARP request for local CE access. In this case, the determining submodule notifies the ARP proxy submodule to perform ARP learning.
- the ARP proxy sub-module is mainly used to perform ARP termination processing according to the notification of the judgment sub-module, that is, the ARP proxy sub-module performs an ARP response according to the notification proxy remote module CE, and performs local CE binding information learning.
- the ARP proxy sub-module After receiving the notification of the ARP termination process transmitted by the sub-module, the ARP proxy sub-module responds with the ARP request received by the PE, and the MA address information in the ARP reply is filled in with the MAC address of the PE.
- the ARP proxy sub-module also needs to refresh the AC identifier and MAC address of the corresponding entry in the CE binding list according to the source MAC address of the ARP request and the AC identifier of the inbound interface.
- the ARP proxy sub-module does not send an ARP response when it receives the ARP learning notification transmitted by the sub-module. It only performs ARP learning based on the ARP request received by the PE that it is located in.
- the ARP proxy sub-module learns the binding of the local CE.
- the information is stored in the CE binding list in the storage module. That is, the ARP proxy sub-module refreshes the AC of the corresponding entry in the CE binding list according to the source MAC address of the ARP request and the AC of the inbound interface requested by the ARP. Information such as the MAC address.
- the above description shows that the ARP proxy sub-module is based on the source MAC address and the ARP packet entry in the ARP packet, regardless of whether the destination IP address information in the ARP request matches the IP address in the local CE binding list stored in the storage module.
- the AC and MAC address of the CE binding list are updated on the interface AC.
- the tuple of the CE binding list includes the ⁇ VPN index, IP address, MAC address, AC type, AC ID>.
- the AC type can be Ethernet.
- the interface, Ethernet sub-interface, and VLAN interface can also be logical links such as ATM/FR PVC.
- ARP proxy sub-module of the local PE performs ARP learning when the local CE sends an ARP request to the remote CE in the broadcast network of the shared network segment of the ATM 1483B access.
- the link information of the VPI/VCI of the PVC (Permanent Virtual Circuit) corresponding to the ARP request is learned.
- the link information is also part of the AC.
- the MAC address in the CE binding list is mandatory.
- the MAC address in the CE binding list is not mandatory. That is, the MAC address in the CE binding list does not need to be filled in during ARP learning.
- the AC may contain multiple physical ports. The AC contains physical port information in addition to VLAN information. Only one L2VPN VC is set up for each AC. Therefore, the number of VCs can be saved for a shared network segment type AC (such as a VLAN interface), thus reducing network networking costs.
- the ARP proxy sub-module broadcasts the ARP request to the local CE in the VLAN after the ARP learning is complete.
- the packet forwarding module in the embodiment of the present invention is mainly responsible for forwarding the IP packet transmitted by the CE and the MPLS packet transmitted by the PE.
- the operation performed by the packet forwarding module is mainly implemented by the unicast packet forwarding sub-module 1 and the unicast packet forwarding sub-module 2, or by the broadcast packet forwarding sub-module, or by the multicast packet forwarding sub-module.
- the processing operation of the broadcast packet of the non-ARP request received by the PE is performed by the broadcast packet forwarding submodule.
- the broadcast packet forwarding sub-module can choose to transparently transmit the broadcast packet to the local shared network segment.
- the local PE will be non-ARP.
- the broadcast packet is transparently transmitted to the remote PE through the VC of the L2VPN, and is transparently transmitted by the remote PE to the CE connected to it.
- the broadcast packet forwarding sub-module of the remote PE can determine which L2VPN the broadcast packet comes from according to the VC label of the L2VPN, that is, the VPN index can be obtained.
- the broadcast packet forwarding sub-module of the remote PE obtains the VPN index of the broadcast packet, and searches for the CE binding list through the VPN index obtained by the remote PE to obtain all the CEs of the L2VPN, and then the broadcast report of the remote PE.
- the text forwarding sub-module broadcasts the broadcast packet to all CEs.
- the processing operation of the unicast packet received by the PE is performed by the unicast packet forwarding submodule 1 and the unicast packet forwarding submodule 2.
- the unicast packet forwarding sub-module processes the unicast packet transmitted by the local CE to: remove the link layer information of the unicast packet, obtain the IP packet, and The IP packet is transmitted to the remote PE through the VC.
- the unicast packet forwarding sub-module processes the unicast packets transmitted by the local CE. First, the unicast packet forwarding sub-module obtains the unicast packet. The destination MAC address, and then the unicast packet sub-module determines whether the destination MAC address in the packet is the MAC address of the PE. If the MAC address of the PE is the MAC address of the PE, the unicast packet is the packet of the remote CE.
- the unicast packet forwarding sub-module strips the IP packet from the unicast packet and transmits the IP packet to the remote PE through the VC; if the destination MAC address in the unicast packet is not the MAC address of the PE in which the unicast packet is located
- the unicast packet is a packet that accesses the local CE.
- the unicast packet forwarding submodule can process the unicast packet in two ways:
- the local PE receives the unicast packet through the Ethernet interface. At this time, the unicast packet forwarding sub-module does not forward the unicast packet, and discards the unicast packet.
- the local PE receives unicast packets through the multi-port VLAN interface.
- the unicast packet forwarding sub-module uses the destination IP address of the VPN index and the unicast packet as a key to search for the CE binding list in the storage module. If a matching entry is found in the CE binding list, the single The broadcast packet forwarding sub-module obtains the AC of the destination CE from the matching entry, and then forwards the packet to the destination CE, that is, the corresponding local CE. If no matching entry is found in the CE binding list, the unicast report is obtained. The text forwarding sub-module discards the message and notifies the ARP requesting module to send an ARP request.
- the ARP requesting module After receiving the notification of the unicast packet forwarding sub-module 1, the ARP requesting module sends an ARP request through all the ACs. After receiving the ARP reply from the CE, the ARP requesting module refreshes the CE binding in the storage module according to the information in the ARP reply.
- the specific implementation process of the ARP request module to refresh the CE binding list is the same as the process of the ARP proxy submodule refreshing the CE binding list.
- the unicast packet of the remote CE transmitted by the remote PE is processed by the unicast packet forwarding submodule 2.
- the unicast packets transmitted from the remote PE are MPLS packets.
- the unicast packet forwarding sub-module 2 After the local PE receives the MPLS packet from the remote PE, the unicast packet forwarding sub-module 2 knows which L2VPN the unicast packet comes from based on the VC label of the MPLS packet, and obtains the VPN index. Obtaining the AC of the CE that is accessed by the unicast packet. Then, the unicast packet forwarding sub-module 2 strips the IP packet from the MPLS packet. If the AC obtained is a point-to-point link type, the unicast packet forwarding submodule 2 Will The IP packet is directly encapsulated in Layer 2 information and then sent from the AC to the destination CE.
- the unicast packet forwarding submodule 2 is stored in the storage module through the VPN index and the AC.
- the CE binding list is searched to obtain the IP address of the local CE, the AC type, and the physical interface of the AC of the outgoing interface. Then, the unicast packet forwarding sub-module 2 encapsulates the IP packet into Layer 2 information. Sent from the AC to the destination CE.
- the unicast packet forwarding sub-module 2 discards the MPLS packet. If the AC type is the broadcast network type of the shared network segment, the unicast packet forwarding sub-module 2 also needs to notify the ARP requesting module. After receiving the notification, the ARP requesting module uses the IP address of the remote CE in the MPLS packet to all the ACs. After the ARP request is sent, the ARP request module refreshes the CE binding list in the storage module according to the information in the ARP reply after receiving the ARP reply from the CE. The ARP request module refreshes the CE binding list and the ARP proxy submodule refreshes. The process of binding a list to a CE is the same.
- the multicast packets received by the PE are processed by the multicast packet forwarding submodule.
- the multicast packet forwarding sub-module can broadcast the multicast packet to all CEs in the L2VPN by using the broadcast transparent transmission mode in the L2VPN.
- the forwarding method of multicast packets is relatively simple. For a common Ethernet link and a point-to-point link such as PPP HDLC/ATM/FR, the multicast packet forwarding sub-module transparently transmits the multicast packets transmitted by the local CE to the remote PE through the L2VPN VC.
- the multicast packet forwarding sub-module broadcasts the multicast packets transmitted by the local CE to the local CE in the VLAN and broadcasts to the remote PE through the L2VPN VC.
- the remote PE can determine which L2VPN the multicast packet is from.
- the VPN index of the L2VPN searches for the CE binding list, obtains all the CEs of the L2VPN, and then copies the multicast packet to all the packets. These CEs.
- L2VPN and intra-VLAN multicast protocol packets including IGMP, PIM (Protocol-Independent Muticast), SSM (Synchronization Status Message), etc.
- IGMP Interogle-Independent Muticast
- PIM Protocol-Independent Muticast
- SSM Synchronization Status Message
- the snooping method is used to control the PE to forward multicast packets to the CEs that need the multicast packets.
- L2VPN point-to-point networking that is, the technical solution of the embodiment of the present invention covers the case of point-to-point L2VPN heterogeneous medium interconnection, and the heterogeneous medium interworking of the point-to-point L2VPN can be seen as a special case of the embodiment of the invention.
- L2VPN is used between CEs to implement IP packet transmission.
- the links of the shared network segment broadcast network in Figure 2 and Figure 3 are: VLAN link, Ethernet link, or ATM 1483B PVC link.
- the point-to-point link in Figure 3 is: PPP link, or HDLC link, or ATM 1483R PVC link, or FR link, or Ethernet link, or ATM 1483B PVC link, or single-port VLAW link, etc.
- the connections between the PEs include: circuit cross-connect CCC connection, SVC connection, LDP signaling, or L2VPN virtual private line established by BGP signaling. .
- the result of ARP learning is stored in the PE.
- the ARP learning result stored in the PE is for the local CE connected to the PE.
- the ARP learning result is mainly obtained by PE learning.
- the information stored in the PE can also be obtained through static configuration.
- the ARP learning result stored in the PE is called the CE binding list.
- the CE binding list stores the bindings of ⁇ VPN cable, IP address, MAC address, AC (Virtual Circuit) type, and AC ID. relationship.
- the MAC address in the binding relationship is optional. When the AC type is Ethernet, the MAC address needs to be in the binding relationship, so that the packet forwarding module can use the Layer 2 encapsulation packet.
- the AC type can be a physical port, an Ethernet sub-interface, a VLA interface, or a logical link such as an ATM/FR PVC.
- the information about the IP address and the AC type of the local CE can be configured in the CE binding list when the AC joins the L2VPN.
- the IP address of the local CE can also be represented by the IP subnet segment of the local CE. That is, the IP addresses of multiple local CEs are aggregated into one IP subnet segment.
- a subnet segment represents the IP addresses of multiple CEs.
- the IP subnet segment should not contain the IP address of the remote CE.
- the PE After receiving the ARP request, the PE performs the ARP learning, which is to update the AC ID and MAC address of the corresponding entry in the CE binding list based on the source MAC address of the ARP request and the AC ID of the inbound interface.
- the ARP learning process is as described in the above system implementation and will not be described in detail herein.
- the PE After receiving the ARP request, the PE obtains the destination IP address information from the ARP request, and compares the destination IP address information with the local CE binding list. If the destination IP address information is in the local CE list, If the IP address does not match, the ARP request is an ARP request sent by the local CE to the remote CE.
- the PE needs to perform ARP termination processing, that is, respond to the ARP request, and the MAC address information in the ARP reply is filled in.
- the PE After the PE receives the non-ARP broadcast packet from the local CE, such as the DHCP broadcast packet, the PE can transparently transmit the broadcast packet to the local shared network segment.
- the non-ARP broadcast packet passes through the L2VPN VC. It is transmitted to the remote PE and transparently transmitted by the remote PE to the CE connected to it.
- the remote PE can determine which L2VPN the broadcast packet comes from according to the VC label of the L2VPN, that is, the VPN index can be obtained.
- VPN obtained by the remote PE through it The index searches the CE binding list to obtain all the CEs of the L2VPN. Then, the remote PE broadcasts the broadcast packet to all CEs.
- the process of processing the unicast packet transmitted by the PE to the local CE is as follows: The link layer information of the unicast packet is removed, the IP packet is obtained, and the IP packet is received by the VC. Transfer to the remote PE.
- the PE processes the unicast packet transmitted by the local CE as follows: First, the PE obtains the destination MAC address from the unicast packet, and then the PE determines the destination MAC address in the packet. Whether the address is its own MAC address. If it is its own MAC address, the unicast packet is a packet that is accessed by the remote CE. At this time, the PE strips the IP packet from the unicast packet and adds the IP packet. The packet is transmitted to the remote PE through the VC. If the destination MAC address in the unicast packet is not its own MAC address, the unicast packet is a packet that is sent to the local CE. In this case, the PE processes the unicast packet.
- the method can be further divided into two cases, which are specifically described in the foregoing system implementation manner, and are not described in detail herein.
- the local PE After the local PE receives the MPLS packet from the remote PE, the local PE knows the L2VPN of the unicast packet from the VC label of the MPLS packet, obtains the VPN index, and obtains the unicast packet access.
- the AC of the CE and then the local PE strips the IP packet from the MPLS packet. If the AC obtained is a point-to-point link type, the local PE directly encapsulates the IP packet into Layer 2 information, and then, from the AC. If the AC is the broadcast network type of the shared network segment, the local PE searches the CE binding list through the VPN index and the AC to obtain the IP address of the local CE, the AC type, and the outgoing interface of the AC. After the physical interface, the local PE encapsulates the IP packet and then sends it from the AC to the destination CE.
- the PE If the PE does not find the CE binding entry in the CE binding list, the PE discards the MPLS packet. If the AC type is the broadcast network type of the shared network segment, the PE needs to send an ARP request to all ACs using the IP address of the remote CE in the MPLS packet. After receiving the ARP reply from the CE, the PE obtains the information according to the ARP response. Refresh the CE binding list in the storage module.
- the PE can broadcast the multicast packet to all CEs in the L2VPN.
- a routing protocol such as IGMP
- the PE transparently transmits the multicast packets transmitted by the local CE to the remote PE through the L2VPN VC.
- the PE will be local.
- the multicast packets transmitted by the CE are broadcast to the local CE in the VLAN and broadcast to the remote PE through the L2VPN VC.
- the remote PE can determine which L2VPN the multicast packet is from based on the VC label of the MPLS packet, and find the CE binding through the VPN index of the L2VPN. List, obtain all CEs of the L2VPN, and then copy the multicast packet to all CEs.
- the snooping method is used to control the PE to forward multicast packets to the CE that needs the multicast packets.
- the technical solution provided by the embodiment of the present invention has no special requirements for the distribution mode of the L2VPN VC label. Therefore, several connection modes of the L2 VPN, such as the Martini MPLS L2VPN, the circuit cross-connect CCC mode, and the SVC mode, can be supported. L2VPN can also use PWE3 technology.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
点 /多点对多点互通的二层虚拟专用网系统、 方法和路由设备 技术领域
本发明涉及网络通讯技术领域,具体涉及一种点 /多点对多点互通的二层虚拟专用网
L2VPN系统、 方法和路由设备。 发明背景
MPLS L2VPN (多协议标签交换二层虚拟专用网)提供基于 MPLS网络的二层 VPN 服务, MPLS L2VPN能够使运营商在统一的 MPLS网络上提供各种传输介质的二层 VPN 服务。 这里的传输介质包括 ATM (异步传输模式)、 FR (帧中继) 、 VLAN (虚拟局域 网) 、 Ethernet (以太网) 、 PPP (点对点协议) 、 HDLC (高级数据链路控制)等。
在 MPLS L2VPN中, CE (用户边缘设备)、 PE (提供商边缘设备)、 P (提供商设 备) 的概念与 BGP/MPLS L3VPN (边界网关协议 /多协议标签交换三层虚拟专用网) 中 的概念一样, 其工作原理也基本相同。
MPLS L2VPN通过标签栈实现用户报文在 MPLS网络中的透明传送,其中:外层标 签称为 tunnel (隧道)标签, 主要用于将报文从一个 PE传递到另一个 PE; 内层标签在 MPLS L2VPN中称为 VC (虚信道)标签, 主要用于区分不同 VPN中的不同连接, 接 收方 PE根据 VC标签决定将报文转发给哪个 CE。
如果同一 L2 VPN的两端 CE链路类型不一致,就需要使用 L2VPN异种介质互通特 性, 即在建立 L2VPN 连接时, PE 的 L2VPN 接口的封装类型使用 IP 互操作 (ip-interworking), 在 MPLS网络上透明传递用户的三层数据, 即 IP报文。
目前, 实现 MPLS VPN互通的方法主要有如下三种。
' 方法一、 实现 MPLS L2VPN异种介质互通的组网示意图如图 1所示。
图 1中, PE与本地 CE连接, 且一个 PE的一个以太网接口或子接口仅与一个本地 CE连接, PE之间通过 IP/MPLS网络连接。 PE使用 L2VPN异种介质互通功能, 建立 L2VPN连接。
图 1中的 PE接收到来自本地 CE的报文后, 解除链路层封装, 将 IP报文传递给 MPLS 网络; IP报文通过 MPLS网络透明传输到远端 PE, 远端 PE根据自己的链路层协议类型重 新对其接收的 IP报文进行封装, 并将封装后的报文发送给与自己相连的 CE。
本地 CE发送的链路层控制报文由与其相连的 PE进行处理, 链路层控制报文不进入 MPLS网络传输。 PE中封装 ip-interworking的 L2VPN以太网接口只处理 ARP报文和 IP报
文, 丢弃其他类型的报文。
如果图 1中 PE的一个以太网接口或子接口连接多个 CE, 则只能实现本地 CE互通 或者本地 CE与远端 CE的互通, 即无法在实现本地 CE互通的同时, 实现与远端 CE的 互通, 而且不能支持一个 VLAN包含多个物理端口时建立 L2VPN的情况。 因此, 方法 —的 MPLS L2VPN异种介质互通的组网方式只能实现点对点的异种介质互通。
方法二、 利用 VPLS (虚拟专用局域网服务) 实现多点对多点的 CE互通。 VPLS 要求 CE与 PE相连的接入链路必须是二层以太网封装, 对于 PPP/HDLC链路、 ATM 1483R PVC链路等传输介质 VPLS无法支持。 另外 VPLS需要在数据平面实现 MAC地 址学习功能, 使控制平面难以用复杂的策略对 CE进行控制和管理。
方法三、 利用 MPLS L3 VP 来实现 CE的互通。 由于采用 MPLS L3 VPN实现 CE 互通时, 需要在 CE-PE链路上运行路由协议, 以传播 CE路由, 并且还需要在 PE间运 行 iBGP协议, 以在 PE间扩散私网路由, 因此, 方法三对 PE设备的 FIB开销和性能有 较大影响。 发明内容
本发明实施方式提供一种点 /多点对多点互通的 L2VPN系统、 方法和路由设备, 为 点对多点的互通、 多点对多点的互通提供了一种有效可行的技术方案, 降低了异种介质 L2VPN互通的组网成本。
本发明实施方式提供的点 /多点对多点互通的二层虚拟专用网系统, 包括: 多个 CE 和多个 PE, PE之间通过 L2VPN VC连接, 各 PE均通过共享网段广播型网络与至少一 个本地 CE连接,或者本地 PE通过共享网段广播型网络与至少一个本地 CE连接,且远 端 PE通过点对点链路与一个本地 CE相连; PE中设置有:
存储模块: 用于接收并存储 ARP学习结果;
ARP代理模块: 用于侦听 ARP请求, 在侦听到本地 CE访问远端 CE的 ARP请求后, 终结该 ARP请求,在侦听到本地 CE互访的 ARP请求后,在本地共享网段广播型网络内透 传, ARP代理模块根据所述 ARP请求进行 ARP学习, 将学习结果发送至存储模块中; 报文转发模块: 用于根据接收到的报文承载的信息、存储模块中存储的信息进行本 地 CE之间的报文传输、 及本地 CE和远端 CE之间的报文传输。
下述系统的技术方案为可选技术方案。
所述 ARP代理模块包括:
判断子模块: 用于将其所在 PE接收的 ARP请求的目的 IP地址信息与存储模块中 的 IP地址信息进行匹配, 如果不匹配, 通知 ARP代理子模块进行终结, 如果匹配, 通 知 ARP代理子模块进行 ARP学习;
ARP代理子模块:用于根据其所在 PE接收的 ARP请求进行 ARP学习,将 ARP学 习结果发送至存储模块中,在接收到终结通知时,根据其所在 PE的 MAC地址进行 ARP 应答, 在接收到学习通知时, 不发送 ARP应答。
所述存储模块中存储有 VPN索引、 本地 CE的 IP地址、 AC类型、 AC标识的绑定 关系; 或者存储有 VPN索引、 本地 CE的 IP地址、 本地 CE的 MAC地址、 AC类型、 AC标识的绑定关系。
报文转发模块包括: 单播报文转发子模块一和单播报文转发子模块二;
当本地 PE与本地 CE通过共享网段广播型网络连接时, 单播报文转发子模块一: 用 于从本地 CE传输来的报文中剥离出 IP报文, 在确定该 IP报文的目的 MAC地址为本地 PE 的 MAC地址后, 将该 IP报文传输至远端 PE, 在确定该 IP报文的目的 MAC地址不为本地 PE的 MAC地址后,丢弃该 IP报文或者根据该 IP报文的目的 IP地址和 VPN索引査找绑定关 系获得目的 CE的 AC, 并将该 IP报文通过所述获得的 AC传输至相应的目的 CE;
当本地 PE与本地 CE通过点对点链路连接时, 单播报文转发子模块一用于: 从本地 CE传输来的报文中剥离出 IP报文, 并通过 VC将 IP报文传输到远端 PE;
单播报文转发子模块二: 用于根据远端 PE传输来的 MPLS报文的 VC标签获取 MPLS 报文的出口 AC和 VPN索弓 |, 在所述出口 AC为点到点链路类型时, 直接进行二层链路封 装, 并发送至本地 CE; 当所述出口 AC为共享网段广播型网络类型时, 根据该 AC和该 MPLS报文的 VPN索引査找所述绑定关系获得 CE的 IP地址和 AC类型, 根据 AC类型进行 二层链路封装, 并发送至本地 CE。
PE中还设置有: ARP请求模块;
单播报文转发子模块一或者单播报文转发子模块二在查找不到匹配的绑定关系时, 通知 ARP请求模块;
ARP请求模块: 用于在接收到通知后, 用 MPLS报文中远端 CE的 IP地址向本地 CE发送 ARP请求, 并根据 CE返回的 ARP应答刷新存储模块中的信息。
所述报文转发模块包括. · ' . 广播报文转发子模块:用于将本地 CE的非 ARP广播报文在本地内透传,并传输至 远端 PE; 根据远端 PE传输来的非 ARP广播报文的 VPN索引查找 ARP学习结果, 并
根据査找结果将所述远端 PE传输来的非 ARP广播报文传输至本地 CE,或者将远端 PE 传输来的非 ARP广播报文透传给与其连接的 CE。
' 所述报文转发模块包括:
组播报文转发子模块: 用于采用广播透传方式将组播报文广播给 L2VPN内的所有 CE; 或者将本地 CE传输来的组播报文在 VLAN内广播, 并通过 L2VPN VC广播到远 端 PE; 根据远端 PE传输来的组播报文的 VPN索引査找 ARP学习结果, 并根据查找结 果将组播报文传输至本地 CE。
所述共享网段广播型网络的链路为: VLAN链路、或以太网链路、或 ATM 1483B PVC 链路。
所述点对点链路为: PPP链路、 或 HDLC链路、 或 ATM 1483R PVC链路、 或 FR 链路、 或以太网链路、 或 ATM 1483B PVC链路、 或单端口 VLAN链路。
所述 PE之间的连接包括:电路交叉连接 CCC连接、 SVC连接、 LDP信令或者 BGP 信令建立的 L2VPN虛拟专线。
本发明实施方式还提供一种路由设备, 是运营商网络中的 PE, 所述路由设备中设 置有存储模块、 ARP代理模块和报文转发模块;
存储模块: 用于接收并存储 AR 学习结果;
ARP代理模块: 用于侦听 ARP请求, 在侦听到本地 CE访问远端 CE的 ARP请求后, 终结该 ARP请求,在侦听到本地 CE互访的 ARP请求后,在本地共享网段广播型网络内透 传, ARP代理模块根据所述 ARP请求进行 ARP学习, 将学习结果发送至存储模块中; 报文转发模块: 用于根据接收到的报文承载的信息、 存储模块中存储的信息进行本 地 CE之间的报文传输、 及本地 CE和远端 CE之间的报文传输。
下述路由设备的技术方案为可选技术方案。
所述 ARP代理模块包括:
判断子模块: 用于将其所在 PE接收的 ARP请求的目的 IP地址信息与存储模块中 的 IP地址信息进行匹配, 如果不匹配, 通知 ARP代理子模块进行终结, 如果匹配, 通 知 ARP代理子模块进行 ARP学习;
ARP代理子模块:用于根据其所在 PE接收的 ARP请求进行 ARP学习,将 ARP学 习结果发送至存储模块中;在接收到终结通知时,根据其所在 PE的 MAC地址进行 ARP 应答, 在接收到学习通知时, 不发送 ARP应答。
. 所述存储模块中存储有 VPN索弓 1、 本地 CE的 IP地址、 AC类型、 AC标识的绑定
关系; 或者存储有 VPN索引、 本地 CE的 IP地址、 本地 CE的 MAC地址、 AC类型、 AC标识的绑定关系。
报文转发模块包括: 单播报文转发子模块一和单播报文转发子模块二;
当 PE与本地 CE通过共享网段广播型网络连接时, 单播报文转发子模块一用于: 从 本地 CE传输来的报文中剥离出 IP报文, 在确定该 IP报文的目的 MAC地址为本地 PE的 MAC地址后, 将该 IP报文传输至远端 PE, 在确定该 IP报文的目的 MAC地址不为本地 PE 的 MAC地址后, 丢弃该 IP报文或者根据该 IP报文的目的 IP地址和 VPN索引査找绑定关系 获得目的 CE的 AC, 并将该 IP报文通过 AC传输至相应的目的 CE;
当 PE与本地 CE通过点对点链路连接时, 单播报文转发子模块一用于从本地 CE传输 来的报文中剥离出 IP报文, 并通过 VC将 IP报文传输到远端 PE;
单播报文转发子模块二用于根据远端 PE传输来的 MPLS报文的 VC标签获取 MPLS报 文的出口 AC和 VPN索引,在所述出口 AC为点到点链路类型时,直接进行二层链路封装, 并发送至本地 CE; 当所述出口 AC为共享网段广播型网络类型时, 根据该 AC和该 MPLS 报文的 VPN索引查找所述绑定关系获得 CE的 IP地址和 AC类型,根据 AC类型进行二层链 路封装, 并发送至本地 CE。
PE中还设置有: ARP请求模块;
单播报文转发子模块二在根据出口 AC和 VPN索引查找不到匹配的绑定关系时, 通知 ARP请求模块;
ARP请求模块用于在接收到通知后,用 MPLS报文中远端 CE的 IP地址向本地 CE 发送 ARP请求, 并根据 CE返回的 ARP应答刷新存储模块中的信息。
所述报文转发模块包括- 广播报文转发子模块:用于将本地 CE的非 ARP广播报文在本地内透传,并传输至 远端 PE; 根据远端 PE传输来的非 ARP广播报文的 VPN索引查找 ARP学习结果, 并 根据查找结果将所述远端 PE传输来的非 ARP广播报文传输至 CE, 或者将远端 PE传 输来的非 ARP广播报文透传给与其连接的 CE。
所述报文转发模块包括:
组播报文转发子模块: 用于采用广播透传方式将组播报文广播给 L2VPN内的所有 CE; 或者将本地 CE传输来的组播报文在 VLAN内广播, 并通过 L2VPN VC广播到远 端 PE; 根据远端 PE传输来的组播报文的 VPN索引査找 ARP学习结果, 并根据査找结 果将组播报文传输至本地 CE。
本发明实施方式还提供一种点 /多点对多点互通的方法, PE之间通过 L2VPN VC连 接,各 PE均通过共享网段广播型网络与至少一个本地 CE连接, 或者本地 PE通过共享 网段广播型网络与至少一个本地 CE连接,且远端 PE通过点对点链路与一个本地 CE相 连; 所述方法包括步骤:
' PE侦听 ARP请求, 在侦听到本地 CE访问远端 CE的 ARP请求后, 终结该 ARP请求, 在侦听到本地 CE互访的 ARP请求后, 在本地共享网段广播型网络内透传, PE根据其侦 听到的 ARP请求进行 ARP学习, 并存储学习结果;
PE根据接收到的报文承载的信息、 其存储的学习结果信息进行本地 CE之间的报文 传输、 及本地 CE和远端 CE之间的报文传输。
可选的, 所述方法包括: PE根据其接收的 ARP请求进行 ARP学习, 并将接收的
ARP请求的目的 IP地址信息与其存储的学习结果中的 IP地址信息进行匹配,如果不匹 配, PE根据其自身的 MAC地址进行 ARP应答, 如果匹配, 不发送 ARP应答。 通过上述技术方案的描述可知,本发明实施方式提出了一种基于共享网段广播型网 络的多点到多点的以及点对多点的二层 VPN系统, 该系统对 IP报文流的传输简单有效, 为标准 IP设备通过 L2VPN远程互连、 尤其是为类似 hub-spoke的点对多点的异种介质互 通,提供了一种经济实用的二层 VPN解决方法;本发明的技术方案可以用于多个 L2VPN 用户通过 DSLAM (Digital subscriber ling access multiplexer, 数字用户线接入复用器)接 入运营商网络, 并通过一条 VC访问远程网络如远程总部的网络, 降低了运营商网络异 种介质互通的组网成本,为中小企业实现企业网远程互连提供了一种经济实用的 L2VPN 解决方法;本发明的 CE绑定列表是通过控制平面生成的,而且可以采用各种策略对这些 表项进行控制, 增强了 L2VPN业务和网络的安全性。
附图简要说明
图 1是现有技术的 MPLS L2VPN的组网示意图;
图 2是本发明实施例的多点到多点的 MPLS L2VPN的组网示意图;
图 3是本发明实施例的点到多点的 MPLS L2VPN的组网示意图。 实施本发明的方式
本发明实施方式构建了一个点到多点的网络拓扑、 或者多点到多点的网络拓扑, 在 上述网络拓扑中, 对于共享网段广播型网络, PE设备通过侦听 ARP请求, 并对侦听到
的本地 CE访问远端 CE的 ARP请求、本地 CE互访的 ARP请求进行不同的处理,从而 保证本地 CE和远端 CE能够进行互访的同时, 不同本地 CE之间也能够进行互访。 本 发明实施方式中的 PE能够处理本地 CE发送的非 ARP广播报文和 ARP广播报文, 能 够处理本地 CE发送的 IP单播报文、 能够处理远端 PE传送来的 L2VPN MPLS报文、 能够处理本地 CE以及远端 PE发送来的组播报文。
下面结合附图对本发明实施方式提供的系统和路由设备进行描述。
本发明一个具体实施方式提供的多点到多点的 L2VPN的组网示意图如附图 2所示。 图 2中, PE1和 PE2之间设置有 L2VPN VC隧道, PE1通过共享网段广播型网络与 多个本地 CE连接, PE2通过共享网段广播型网络与多个本地 CE连接,两端 CE构成多 点到多点的网络拓扑。通过共享网段广播型网络与 PE1连接的本地 CE可以为主机, 同 样, 通过共享网段广播型网络与 PE2连接的本地 CE也可以为主机。
本发明另一个具体实施方式提供的点到多点的 L2VPN的组网示意图如附图 3所示。 图 3中, PE1和 PE2之间设置有 L2VPN VC隧道, PE1通过共享网段广播型网络与 多个本地 CE连接, PE2通过点对点链路与一个本地 CE相连,两端 CE构成点到多点的 网络拓扑。通过共享网段广播型网络与 PE1连接的本地 CE可以为主机, 通过点对点链 路与 PE2连接的本地 CE可以为主机、 路由器等 IP设备。
在图 2、 图 3所示的网络拓扑中, 两端 CE之间釆用 L2VPN来实现 IP报文的传输, 这种 L2VPN为基于 IP互操作的 L2VPN。 图 2、 图 3中共享网段广播型网络的链路为: VLAN链路、或以太网链路、或 ATM 1483B PVC链路等。图 3中的点对点链路为: PPP 链路、 或 HDLC链路、 或 ATM 1483R PVC链路、 或 FR链路、 或以太网链路、 或 ATM 1483B PVC链路、 或单端口 VLAN链路等。本发明实施方式的 PE之间的连接包括: 电 路交叉连接 CCC连接、 SVC (Switched Virtual Circuit, 交换虚电路)连接、 LDP (Label Distribution Protocol, 标记分发协议)信令或者 BGP信令建立的 L2VPN虛拟专线等。
本发明实施方 ¾的 PE中设置有存储模块、 ARP代理模块、 ARP请求模块和报文转 发模块。
存储模块主要用于存储 ARP学习的结果。存储模块中存储的 ARP学习结果均是针 对与该 PE连接的本地 CE的, ARP学习结果主要是通过 ARP代理模块学习获得的, 当 然, 存储模块中存储的信息也可以是通过静态配置获得的。
ARP代理模块主要用于对 CE发送的 ARP请求进行处理, ARP代理模块执行的操 作可以由判断子模块和 ARP代理子模块来实现。
lL HWU(>i r2V 存储模块中存储的 ARP学习结果可以称为 CE绑定列表, 该 CE绑定列表中存储有 < VPN索弓 1, IP地址, MAC地址, AC (Access Circuit, 接入电路)类型, AC标识 > 的绑定关系。上述绑定关系中的 MAC地址为可选项,在 AC类型为以太网类型时, MAC 地址需要出现在上述绑定关系中, 以便于报文转发模块对报文进行二层封装时使用。存 储模块中存储的绑定关系是针对本地 CE的。
存储模块中存储的 AC类型可以为物理端口、 以太网子接口、 VLAN接口, 也可以 是 ATM/FR PVC等逻辑链路等等。
各本地 CE的 IP地址信息和 AC类型等信息可以在 AC加入到 L2VPN时, 配置到 CE绑定列表中。 为了节省 CE绑定列表的存储空间, 本地 CE的 IP地址也可以用本地 CE的 IP子网段来表示, 即多个本地 CE的 IP地址聚合为一个 IP子网段, 用该聚合后 的 IP子网段来表示多个 CE的 IP地址。 该 IP子网段不应该包含远端 CE的 IP地址。
判断子模块主要用于判断 ARP代理子模块是否需要代理远端 CE对 ARP请求进行 应答。
当判断子模块所在 PE接收到 ARP请求后, 判断子模块从该 ARP请求中获取目的 IP地址信息, 并将该目的 IP地址信息与存储模块中存储的本地 CE绑定列表比较, 如 果该目的 IP地址信息与本地 CE列表中的 IP地址不匹配, 则说明该 ARP请求是本地 CE发送至远端 CE的 ARP请求, 此时, 判断子模块通知 ARP代理子模块进行 AR 终 结处理; 如果该目的 IP地址信息与本地 CE列表中的 IP地址匹配, 则说明该 ARP请求 是本地 CE互访的 ARP请求, 此时, 判断子模块通知 ARP代理子模块进行 ARP学习。
ARP代理子模块主要用于根据判断子模块的通知进行 ARP终结处理, 即 ARP代理 子模块根据判断子模块的通知代理远端 CE进行 ARP应答,并进行本地 CE绑定信息的 学习。
ARP代理子模块接收到判断子模块传输来的 ARP终结处理的通知后, 其所在 PE 接收到的 ARP请求进行应答, ARP应答中的 MA 地址信息填写为其所在 PE的 MAC 地址。 ARP代理子模块还需要根据 ARP请求中源 MAC地址、 ARP请求的入接口 AC 标识等信息, 刷新 CE绑定列表中相应表项的 AC标识、 MAC地址等信息。
ARP代理子模块在接收到判断子模块传输来的 ARP学习通知时, 不发送 ARP应答, 仅根据其所在 PE接收到的上述 ARP请求进行 ARP学习, ARP代理子模块学习到的本地 CE 的绑定信息存储在存储模块中的 CE绑定列表中。 也就是说, ARP代理子模块根据 ARP 请求中源 MAC地址、 ARP请求的入接口 AC等信息, 刷新 CE绑定列表中相应表项的 AC、
MAC地址等信息。
通过上述描述可知, 无论 ARP请求中目的 IP地址信息是否与存储模块中存储的本 地 CE绑定列表中的 IP地址匹配, ARP代理子模块都会根据 ARP报文中源 MAC地址、 ARP报文的入接口 AC等信息刷新 CE绑定列表的 AC、 MAC地址等信息, CE绑定列 表的元组包括 < VPN索引, IP地址, MAC地址, AC类型, AC标识 >, 其中, AC类型 可以为以太网接口、 以太子接口、 VLAN接口, 也可以是 ATM/FR PVC等逻辑链路。
下面对 ARP代理子模块的学习过程进行举例说明: 对于 ATM 1483B接入构成的共 享网段广播型网络中,本地 CE向远端 CE发送 ARP请求时,本地 PE的 ARP代理子模 块进行 ARP学习的内容包括学习 ARP请求对应的 PVC (Permanent Virtual Circuit, 永 久虚电路) 的 VPI/VCI等链路信息, 这些链路信息也是 AC的一部分。
对于以太类型的链路, CE绑定列表中的 MAC地址是必选项。 对于 PPP、 HDLC、 FR、 ATM等类型的链路, CE绑定列表中的 MAC地址不是必选项, 即在 ARP学习时 不需要填写 CE绑定列表中的 MAC地址。对于 VLAN接口类型的 AC, AC可能包含有 多个物理端口, AC除了包含 VLAN信息外还包含物理端口信息。 对于每条 AC只建立 一条 L2VPN VC, 因此对于共享网段型 AC (如 VLAN接口)可以节省 VC的数量, 从 而降低网络组网成本。
当本地 CE通过本地 PE的 VLAN接口发送 ARP请求时, ARP代理子模块在进行 ARP学习完成后, 还要将 ARP请求在 VLAN内广播给本地 CE。
本发明实施方式中的报文转发模块主要负责对 CE传输来的 IP报文和 PE传输来的 MPLS报文进行转发处理。报文转发模块执行的操作主要由单播报文转发子模块一和单 播报文转发子模块二来实现, 或者由广播报文转发子模块来实现, 或者由组播报文转发 子模块来实现。
对于 PE接收到的非 ARP请求的广播报文的处理操作由广播报文转发子模块来执行。 本地 PE接收到本地 CE传输来的非 ARP广播报文如 DHCP广播报文后,广播报文 转发子模块可以选择将该广播报文在本地共享网段内透传, 同时,本地 PE将非 ARP广 播报文通过 L2VPN的 VC透传到远端 PE, 由远端 PE透传给与其连接的 CE。 远端 PE 的广播报文转发子模块根据 L2VPN的 VC标签可以确定出该广播报文来自哪个 L2VPN, 即可以获取 VPN索引。远端 PE的广播报文转发子模块获取到该广播报文的 VPN索引, 并通过其获取到的 VPN索引查找 CE绑定列表, 以获得该 L2VPN的所有 CE, 然后, 远端 PE的广播报文转发子模块将该广播报文广播给所有 CE。
对于 PE接收到的单播报文的处理操作由单播报文转发子模块一和单播报文转发子 模块二来执行。
当本地 PE与本地 CE通过点对点链路连接时,单播报文转发子模块一对本地 CE传 输来的单播报文的处理过程为: 去掉单播报文的链路层信息, 获取 IP报文, 并通过 VC 将该 IP报文传输到远端 PE。
当本地 PE与本地 CE通过共享网段广播型网络时, 单播报文转发子模块一对本地 CE传输来的单播报文的处理过程为: 首先, 单播报文转发子模块一从单播报文中获取 目的 MAC地址,然后单播报文子模块一判断报文中的目的 MAC地址是否为其所在 PE 的 MAC地址, 如果是其所在 PE的 MAC地址, 则说明该单播报文是访问远端 CE的报 文,此时,单播报文转发子模块一从单播报文中剥离出 IP报文,并将该 IP报文通过 VC 传输到远端 PE; 如果单播报文中的目的 MAC地址不是其所在 PE的 MAC地址, 则说 明该单播报文是访问本地 CE的报文, 此时, 单播报文转发子模块一对该单播报文的处 理方式又可分为两种情况:
情况 1、 本地 PE通过以太网接口接收该单播报文。 此时, 单播报文转发子模块一 不对该单播报文进行转发处理, 将该单播报文丢弃。
情况 2、 本地 PE通过多端口 VLAN接口接收单播报文。 此时, 单播报文转发子模 块一用 VPN索引和单播报文的目的 IP地址作为关键字査找存储模块中的 CE绑定列表, 如果在 CE绑定列表中查找到匹配的表项, 则单播报文转发子模块从匹配表项中获取目 的 CE的 AC,然后将该报文转发到目的 CE, 即相应的本地 CE; 如果在 CE绑定列表中 査找不到匹配的表项, 则单播报文转发子模块一丢弃该报文, 同时通知 ARP请求模块 发送 ARP请求。 ARP请求模块在接收到单播报文转发子模块一的通知后,通过所有 AC 发送 ARP请求, ARP请求模块在接收到 CE的 ARP应答后, 根据 ARP应答中的信息 刷新存储模块中的 CE绑定列表, ARP请求模块刷新 CE绑定列表的具体实现过程与 ARP 代理子模块刷新 CE绑定列表的过程相同。
对于远端 PE传输来的远端 CE的单播报文, 由单播报文转发子模块二来处理。 远 端 PE传输来的单播报文为 MPLS报文。
• 在本地 PE接收到远端 PE传输来的 MPLS报文后, 首先, 单播报文转发子模块二 根据该 MPLS报文的 VC标签知道该单播报文来自哪个 L2VPN, 获取 VPN索引, 同时 也能获取该单播报文访问的 CE的 AC, 然后, 单播报文转发子模块二从 MPLS报文中 剥离出 IP报文,如果上述获得的 AC是点对点链路类型,则单播报文转发子模块二将该
IP报文直接进行二层信息封装, 然后, 从 AC发送给目的 CE; 如果上述获得的 AC是 共享网段广播型网络类型, 单播报文转发子模块二再通过 VPN索引和 AC在存储模块 存储的 CE绑定列表中査找, 以获得本地 CE的 IP地址、 AC类型以及报文出接口 AC 的物理接口等信息, 然后, 单播报文转发子模块二将 IP报文进行二层信息封装, 再从 AC发送到目的 CE。
如果在 CE绑定列表中查找不到 CE绑定表项, 则单播报文转发子模块二丢弃该 MPLS报文。 如果 AC类型是共享网段广播型网络类型, 单播报文转发子模块二还需要 通知 ARP请求模块, ARP请求模块在接收到通知后, 用该 MPLS报文中远端 CE的 IP 地址向所有 AC发送 ARP请求, ARP请求模块在接收到 CE的 ARP应答后, 根据 ARP 应答中的信息刷新存储模块中的 CE绑定列表, ARP请求模块刷新 CE绑定列表的具体 实现过程与 ARP代理子模块刷新 CE绑定列表的过程相同。
对于 PE接收到的组播报文, 由组播报文转发子模块来处理。 对于组播报文以及保 留组播地址的路由协议 (如 IGMP)报文, 组播报文转发子模块可以采用 L2VPN内广 播透传方式将组播报文广播给 L2VPN内的所有 CE,这种组播报文的转发方法比较简单。 对于普通以太网链路以及 PPP HDLC/ATM/FR等点对点链路,组播报文转发子模块将本 地 CE传输来的组播报文通过 L2VPN VC透传到远端 PE; 对于 VLAN接口的链路, 组 播报文转发子模块将本地 CE传输来的组播报文在 VLAN内广播到本地 CE, 同时通过 L2VPN VC广播到远端 PE。远端 PE根据 MPLS报文的 VC标签可以判断出组播报文来 自哪个 L2VPN,通过该 L2VPN 的 VPN索引查找 CE绑定列表,获取该 L2VPN的所有 CE, 然后将该组播报文复制给所有这些 CE。
对于组播报文, 也可以釆用复杂的 L2VPN、 VLAN内组播协议报文 (包括 IGMP, PIM (Protocol-Independent Muticast, 独立组播协议) 、 SSM ( Synchronization Status Message, 同步状态信息)等) snooping方法, 控制 PE只将组播报文转发给需要该组播 报文的 CE。
当图 2中与 PE1和 PE2连接的多个本地 CE均简化为一个本地 CE时, 就是 L2VPN点对 点的组网情况, 当图 3中与 PE1连接的多个本地 CE简化为一个本地 CE时, 就是 L2VPN点 对点的组网情况, 也就是说, 本发明实施方式的技术方案涵盖了点对点 L2VPN异种介 质互连的情况, 点对点 L2VPN的异种介质互通可以看成本发明实施方式的特例。
下面结合附图 2、 3对本发明实施方式的方法进行说明。
在图 2、 图 3所示的网络拓扑中, 两端 CE之间采用 L2VPN来实现 IP报文的传输,
图 2、图 3中共享网段广播型网络的链路为: VLAN链路、或以太网链路、或 ATM 1483B PVC链路等。 图 3中的点对点链路为: PPP链路、 或 HDLC链路、 或 ATM 1483R PVC 链路、或 FR链路、或以太网链路、或 ATM 1483B PVC链路、或单端口 VLAW链路等。 PE之间的连接包括: 电路交叉连接 CCC连接、 SVC连接、 LDP信令或者 BGP信令建 立的 L2VPN虚拟专线等。 .
PE中存储有 ARP学习的结果。 PE中存储的 ARP学习结果均是针对与该 PE连接 的本地 CE的, ARP学习结果主要是 PE学习获得的, 当然, PE中存储的信息也可以是 通过静态配置获得的。 PE中存储的 ARP学习结果称为 CE绑定列表, 该 CE绑定列表 中存储有< VPN索弓 1 , IP地址, MAC地址, AC (Virtual Circuit, 虚电路)类型, AC 标识 >的绑定关系。上述绑定关系中的 MAC地址为可选项,在 AC类型为以太网类型时, MAC地址需要出现在上述绑定关系中, 以便于报文转发模块对报文进行二层封装时使 用。 AC类型可以为物理端口、 以太网子接口、 VLA 接口, 也可以是 ATM/FR PVC等 逻辑链路等等。 各本地 CE的 IP地址信息和 AC类型等信息可以在 AC加入到 L2VPN 时, 配置到 CE绑定列表中。 为了节省 CE绑定列表的存储空间, 本地 CE的 IP地址也 可以用本地 CE的 IP子网段来表示, 即多个本地 CE的 IP地址聚合为一个 IP子网段, 用该聚合后的 IP子网段来表示多个 CE的 IP地址。 该 IP子网段不应该包含远端 CE的 IP地址。
PE接收到 ARP请求后, 进行 ARP学习, 即根据 ARP请求中源 MAC地址、 ARP 请求的入接口 AC标识等信息, 刷新 CE绑定列表中相应表项的 AC标识、 MAC地址等 信息, PE的 ARP学习过程如上述系统实施方式的描述,在此不再详细描述。 PE接收到 ARP请求后, 除了进行 ARP请求, 还会从 ARP请求中获取目的 IP地址信息, 并将该 目的 IP地址信息与本地 CE绑定列表比较, 如果该目的 IP地址信息与本地 CE列表中 的 IP地址不匹配, 则说明该 ARP请求是本地 CE发送至远端 CE的 ARP请求, 此时, PE需要进行 ARP终结处理,即对该 ARP请求进行应答, ARP应答中的 MAC地址信息 填写为 PE自身的 MAC地址;如果该目的 IP地址信息与本地 CE列表中的 IP地址匹配, 则说明该 ARP请求是本地 CE互访的 ARP请求, 此时, PE不进行 ARP应答。
PE接收到本地 CE传输来的非 ARP广播报文如 DHCP广播报文后, PE可以选择将 该广播报文在本地共享网段内透传, 同时, 将非 ARP广播报文通过 L2VPN的 VC透传 到远端 PE, 由远端 PE透传给与其连接的 CE。 远端 PE根据 L2VPN的 VC标签可以确 定出该广播报文来自哪个 L2VPN,即可以获取 VPN索引。远端 PE通过其获取到的 VPN
索引査找 CE绑定列表, 以获得该 L2VPN的所有 CE, 然后, 远端 PE将该广播报文广 播给所有 CE。
当 PE与本地 CE通过点对点链路连接时, PE对本地 CE传输来的单播报文的处理 过程为: 去掉单播报文的链路层信息, 获取 IP报文, 并通过 VC将该 IP报文传输到远 端 PE。
当 PE与本地 CE通过共享网段广播型网络时, PE对本地 CE传输来的单播报文的 处理过程为: 首先, PE从单播报文中获取目的 MAC地址, 然后 PE判断报文中的目的 MAC地址是否为其自身的 MAC地址, 如果是其自身的 MAC地址, 则说明该单播报文 是访问远端 CE的报文, 此时, PE从单播报文中剥离出 IP报文, 并将该 IP报文通过 VC传输到远端 PE; 如果单播报文中的目的 MAC地址不是其自身的 MAC地址, 则说 明该单播报文是访问本地 CE的报文,此时, PE对该单播报文的处理方式又可分为两种 情况, 具体如上述系统实施方式中的描述, 在此不再详细描述。
在本地 PE接收到远端 PE传输来的 MPLS报文后, 首先,本地 PE根据该 MPLS报 文的 VC标签知道该单播报文来自哪个 L2VPN, 获取 VPN索引, 同时也能获取该单播 报文访问的 CE的 AC, 然后, 本地 PE从 MPLS报文中剥离出 IP报文, 如果上述获得 的 AC是点对点链路类型, 则本地 PE将该 IP报文直接进行二层信息封装, 然后, 从 AC发送给目的 CE; 如果上述获得的 AC是共享网段广播型网络类型, 本地 PE再通过 VPN索引和 AC査找 CE绑定列表, 以获得本地 CE的 IP地址、 AC类型以及报文出接 口 AC的物理接口等信息, 然后, 本地 PE将 IP报文进行二层信息封装, 再从 AC发送 到目的 CE。
如果 PE在 CE绑定列表中查找不到 CE绑定表项, 则 PE丢弃该 MPLS报文。 如果 AC类型是共享网段广播型网络类型, PE还需要用该 MPLS报文中远端 CE的 IP地址 向所有 AC发送 ARP请求, PE在接收到 CE的 ARP应答后, 根据 ARP应答中的信息 刷新存储模块中的 CE绑定列表。
. 对于组播报文以及保留组播地址的路由协议(如 IGMP)报文, PE可以采用 L2VPN 内广播透传方式将组播报文广播给 L2VPN 内的所有 CE。 对于普通以太网链路以及 PPP/HDLC/ATM/FR等点对点链路, PE将本地 CE传输来的组播报文通过 L2VPN VC 透传到远端 PE;对于 VLAN接口的链路, PE将本地 CE传输来的组播报文在 VLAN内 广播到本地 CE, 同时通过 L2VPN VC广播到远端 PE。 远端 PE根据 MPLS报文的 VC 标签可以判断出组播报文来自哪个 L2VPN, 通过该 L2VPN 的 VPN索引査找 CE绑定
列表, 获取该 L2VPN的所有 CE, 然后将该组播报文复制给所有这些 CE。
对于组播报文, 也可以采用复杂的 L2VPN、 VLAN内组播协议报文 (包括 IGMP,
PIM、 SSM等) snooping方法, 控制 PE只将组播报文转发给需要该组播报文的 CE。
本发明实施方式提供的技术方案对 L2VPN VC标签的分发方式没有特殊要求,因此, 对于 L2 VPN的几种连接方式如 Martini方式 MPLS L2VPN, 电路交叉连接 CCC方式, SVC 方式等都能够支持。 L2VPN也可以采用 PWE3技术。
虽然通过实施例描绘了本发明, 本领域普通技术人员知道, 本发明有许多变形和变 化而不脱离本发明的精神, 本发明的申请文件的权利要求包括这些变形和变化。
Claims
1、 一种点 /多点对多点互通的 L2VPN系统, 包括: 多个 CE和多个 PE, 其特征在 于: PE之间通过 L2VPN VC连接, 各 PE均通过共享网段广播型网络与至少一个本地 CE连接, 或者本地 PE通过共享网段广播型网络与至少一个本地 CE连接, 且远端 PE 通过点对点链路与一个本地 CE相连; PE中设置有:
存储模块: 用于接收并存储 ARP学习结果;
ARP代理模块: 用于侦听 ARP请求, 在侦听到本地 CE访问远端 CE的 ARP请求后, 终结该 ARP请求,在侦听到本地 CE互访的 ARP请求后,在本地共享网段广播型网络内透 传, ARP代理模块根据所述 ARP请求进行 ARP学习, 将学习结果发送至存储模块中; 报文转发模块: 用于根据接收到的报文承载的信息、 存储模块中存储的信息进行本 地 CE之间的报文传输、 及本地 CE和远端 CE之间的报文传输。
2、 如权利要求 1所述的系统, 其特征在于, 所述 ARP代理模块包括:
判断子模块: 用于将其所在 PE接收的 ARP请求的目的 IP地址信息与存储模块中 的 IP地址信息进行匹配, 如果不匹配, 通知 ARP代理子模块进行终结, 如果匹配, 通 知 ARP代理子模块进行 ARP学习;
ARP代理子模块:用于根据其所在 PE接收的 ARP请求进行 ARP学习,将 ARP学' 习结果发送至存储模块中,在接收到终结通知时,根据其所在 PE的 MAC地址进行 ARP 应答, 在接收到学习通知时, 不发送 ARP应答。
3、 如权利要求 1所述的系统, 其特征在于, 所述存储模块中存储有 VPN索引、 本 地 CE的 IP地址、 AC类型、 AC标识的绑定关系; 或者存储有 VP 索引、 本地 CE的
IP地址、 本地 CE的 MAC地址、 AC类型、 AC标识的绑定关系。
4、 如权利要求 3所述的系统, 其特征在于, 报文转发模块包括: 单播报文转发子 模块一和单播报文转发子模块二;
当本地 PE与本地 CE通过共享网段广播型网络连接时, 单播报文转发子模块一: 用 于从本地 CE传输来的报文中剥离出 IP报文, 在确定该 IP报文的目的 MAC地址为本地 PE 的 MAC地址后, 将该 IP报文传输至远端 PE, 在确定该 IP报文的目的 MAC地址不为本地 PE的 MAC地址后,丢弃该 IP报文或者根据该 IP报文的目的 IP地址和 VPN索引査找绑定关 系获得目的 CE的 AC, 并将该 IP报文通过所述获得的 AC传输至相应的目的 CE;
当本地 PE与本地 CE通过点对点链路连接时, 单播报文转发子模块一用于: 从本地 CE传输来的报文中剥离出 IP报文, 并通过 VC将 IP报文传输到远端 PE;
单播报文转发子模块二: 用于根据远端 PE传输来的 MPLS报文的 VC标签获取 MPLS 报文的出口 AC和 VPN索引, 在所述出口 AC为点到点链路类型时, 直接进行二层链路封 装, 并发送至本地 CE; 当所述出口 AC为共享网段广播型网络类型时, 根据该 AC和该 MPLS报文的 VPN索引查找所述绑定关系获得 CE的 IP地址和 AC类型, 根据 AC类型进行 二层链路封装, 并发送至本地 CE。
5、 如权利要求 4所述的系统, 其特征在于, PE中还设置有: ARP请求模块; 单播报文转发子模块一或者单播报文转发子模块二在查找不到匹配的绑定关系时, 通知 ARP请求模块;
ARP请求模块: 用于在接收到通知后, 用 MPLS报文中远端 CE的 IP地址向本地 CE发送. ARP请求, 并根据 CE返回的 ARP应答刷新存储模块中的信息。
6、 如权利要求 3所述的系统, 其特征在于, 所述报文转发模块包括:
广播报文转发子模块:用于将本地 CE的非 ARP广播报文在本地内透传,并传输至 远端 PE; 根据远端 PE传输来的非 ARP广播报文的 VPN索引查找 ARP学习结果, 并 根据查找结果将所述远端 PE传输来的非 ARP广播报文传输至本地 CE,或者将远端 PE 传输来的非 ARP广播报文透传给与其连接的 CE。
7、 如权利要求 3所述的系统, 其特征在于, 所述报文转发模块包括:
组播报文转发子模块: 用于采用广播透传方式将组播报文广播给 L2VPN内的所有 CE; 或者将本地 CE传输来的组播报文在 VLAN内广播, 并通过 L2VPN VC广播到远 端 PE; 根据远端 PE传输来的组播报文的 VPN索引查找 ARP学习结果, 并根据査找结 果将组播报文传输至本地 CE。
8、 如权利要求 1至 7中任一权利要求所述的系统, 其特征在于, 所述共享网段广 播型网络的链路为: VLAN链路、 或以太网链路、 或 ATM 1483B PVC链路。
9、 如权利要求 1至 7中任一权利要求所述的系统, 其特征在于, 所述点对点链路 为: PPP链路、 或 HDLC链路、 或 ATM 1483R PVC链路、 或 FR链路、或以太网链路、 或 ATM 1483B PVC链路、 或单端口 VLAN链路。
10、 如权利要求 1至 7中任一权利要求所述的系统, 其特征在于, 所述 PE之间的 连接包括:电路交叉连接 CCC连接、 SVC连接、 LDP信令或者 BGP信令建立的 L2VPN 虚拟专线。 .
11、 一种路由设备, 是运营商网络中的 PE, 其特征在于, 所述路由设备中设置有 存储模块、 ARP代理模块和报文转发模块;
存储模块: 用于接收并存储 ARP学习结果;
' ARP代理模块: 用于侦听 ARP请求, 在侦听到本地 CE访问远端 CE的 ARP请求后, 终结该 ARP请求,在侦听到本地 CE互访的 ARP请求后,在本地共享网段广播型网络内透 传, ARP代理模块根据所述 ARP请求进行 ARP学习, 将学习结果发送至存储模块中; 报文转发模块: 用于根据接收到的报文承载的信息、 存储模块中存储的信息进行本 地 CE之间的报文传输、 及本地 CE和远端 CE之间的报文传输。
12、 如权利要求 11所述的设备, 其特征在于, 所述 ARP代理模块包括: 判断子模块: 用于将其所在 PE接收的 ARP请求的目的 IP地址信息与存储模块中 的 IP地址信息进行匹配, 如果不匹配, 通知 ARP代理子模块进行终结, 如果匹配, 通 知 ARP代理子模块进行 ARP学习;
ARP代理子模块:用于根据其所在 PE接收的 ARP请求进行 ARP学习,将 ARP学 习结果发送至存储模块中;在接收到终结通知时,根据其所在 PE的 MAC地址进行 ARP 应答, 在接收到学习通知时, 不发送 ARP应答。
13、 如权利要求 11所述的设备, 其特征在于, 所述存储模块中存储有 VPN索引、 本地 CE的 IP地址、 AC类型、 AC标识的绑定关系; 或者存储有 VPN索引、 本地 CE 的 IP地址、 本地 CE的 MAC地址、 AC类型、 AC标识的绑定关系。
14、 如权利要求 13所述的设备, 其特征在于, 报文转发模块包括: 单播报文转发 子模块一和单播报文转发子模块二;
当 PE与本地 CE通过共享网段广播型网络连接时, 单播报文转发子模块一用于: 从 本地 CE传输来的报文中剥离出 IP报文, 在确定该 IP报文的目的 MAC地址为本地 PE的 MAC地址后, 将该 IP报文传输至远端 PE, 在确定该 IP报文的目的 MAC地址不为本地 PE 的 MAC地址后, 丢弃该 IP报文或者根据该 IP报文的目的 IP地址和 VPN索引查找绑定关系 获得目的 CE的 AC, 并将该 IP报文通过 AC传输至相应的目的 CE;
当 PE与本地 CE通过点对点链路连接时, 单播报文转发子模块一用于从本地 CE传输 来的报文中剥离出 IP报文, 并通过 VC将 IP报文传输到远端 PE;
单播报文转发子模块二用于根据远端 PE传输来的 MPLS报文的 VC标签获取 MPLS报 文的出口 AC和 VPN索引,在所述出口 AC为点到点链路类型时,直接进行二层链路封装, 并发送至本地 CE; 当所述出口 AC为共享网段广播型网络类型时, 根据该 AC和该 MPLS 拫文的 VPN索引査找所述绑定关系获得 CE的 IP地址和 AC类型,根据 AC类型进行二层链 路封装, 并发送至本地 CE。
15、 如权利要求 14所述的设备, 其特征在于, PE中还设置有: ARP请求模块; 单播报文转发子模块二在根据出口 AC和 VPN索引査找不到匹配的绑定关系时, 通知 ARP请求模块;
ARP请求模块用于在接收到通知后,用 MPLS报文中远端 CE的 IP地址向本地 CE 发送 ARP请求, 并根据 CE返回的 ARP应答刷新存储模块中的信息。
16、 如权利要求 11所述的设备, 其特征在于, 所述报文转发模块包括:
广播报文转发子模块:用于将本地 CE的非 ARP广播报文在本地内透传,并传输至 远端 PE; 根据远端 PE传输来的非 ARP广播报文的 VPN索引査找 ARP学习结果, 并 根据查找结果将所述远端 PE传输来的非 ARP广播报文传输至 CE, 或者将远端 PE传 输来的非 ARP广播报文透传给与其连接的 CE。
17、 如权利要求 11所述的设备, 其特征在于, 所述报文转发模块包括- 组播报文转发子模块: 用于釆用广播透传方式将组播报文广播给 L2VPN内的所有 CE; 或者将本地 CE传输来的组播报文在 VLAN内广播, 并通过 L2VPN VC广播到远 端 PE; 根据远端 PE传输来的组播报文的 VPN索引査找 ARP学习结果, 并根据查找结 果将组播报文传输至本地 CE。
18、 一种点 /多点对多点互通的方法 Γ其特征在于: PE之间通过 L2VPN VC连接, 各 PE均通过共享网段广播型网络与至少一个本地 CE连接,或者本地 PE通过共享网段 广播型网络与至少一个本地 CE连接, 且远端 PE通过点对点链路与一个本地 CE相连; 所述方法包括步骤:
PE侦听 ARP请求, 在侦听到本地 CE访问远端 CE的 ARP请求后, 终结该 ARP请求, 在侦听到本地 CE互访的 ARP请求后, 在本地共享网段广播型网络内透传, PE根据其侦 听到的 ARP请求进行 ARP学习, 并存储学习结果;
PE根据接收到的报文承载的信息、 其存储的学习结果信息进行本地 CE之间的报文 传输、 及本地 CE和远端 CE之间的报文传输。
19、 如权利要求 18所述的方法, 其特征在于, 所述方法包括:
' PE根据其接收的 ARP请求进行 ARP学习,并将接收的 ARP请求的目的 IP地址信 息与其存储的学习结果中的 IP地址信息进行匹配,如果不匹配, PE根据其自身的 MAC 地址进行 ARP应答, 如果匹配, 不发送 ARP应答。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101257199A CN100550814C (zh) | 2005-12-01 | 2005-12-01 | 一种基于二层vpn异种介质互通的系统和方法 |
CN200510125719.9 | 2005-12-01 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007062592A1 true WO2007062592A1 (fr) | 2007-06-07 |
Family
ID=37390459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2006/003235 WO2007062592A1 (fr) | 2005-12-01 | 2006-11-30 | Systeme, procede et routeur de l2vpn d'interconnexions point a multipoints, et multipoints a multipoints |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100550814C (zh) |
WO (1) | WO2007062592A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778035A (zh) * | 2010-03-09 | 2010-07-14 | 中兴通讯股份有限公司 | 一种虚拟专用局域网通信的方法及装置 |
CN103078964A (zh) * | 2012-12-21 | 2013-05-01 | 浙江宇视科技有限公司 | 一种能使nvc设备与nvt设备建立业务的方法和装置 |
CN114070790A (zh) * | 2021-11-15 | 2022-02-18 | 中国联合网络通信集团有限公司 | Vpls设备中信息的转发方法、pe、系统、设备及介质 |
CN115065660A (zh) * | 2022-07-15 | 2022-09-16 | 杭州云合智网技术有限公司 | Arp代答的优化方法 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101511117B (zh) * | 2009-04-08 | 2010-11-10 | 杭州华三通信技术有限公司 | 一种二层跨网段通信的方法、系统和设备 |
CN102271154A (zh) * | 2011-06-17 | 2011-12-07 | 宁波市鄞州冰壶信息科技有限公司 | 一种两个独立网络间的信息互通方法 |
CN102315999A (zh) * | 2011-07-07 | 2012-01-11 | 杭州华三通信技术有限公司 | 二层虚拟专网互联方法及运营商边缘设备 |
US9225636B2 (en) * | 2013-04-04 | 2015-12-29 | Telefonaktiebolaget L M Ericsson (Publ) | Method and apparatus for exchanging IP packets among network layer 2 peers |
CN104702708B (zh) * | 2013-12-06 | 2018-04-27 | 华为技术有限公司 | 获取地址解析协议信息的方法、设备、系统及网络虚拟化端点 |
CN105791072A (zh) * | 2014-12-22 | 2016-07-20 | 华为数字技术(苏州)有限公司 | 以太虚拟网络的接入方法及装置 |
CN108512755B (zh) * | 2017-02-24 | 2021-03-30 | 华为技术有限公司 | 一种路由信息的学习方法及装置 |
CN113923076A (zh) * | 2021-09-06 | 2022-01-11 | 长沙市同迅计算机科技有限公司 | 一种基于sd-wan的以太网二层数据交换方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040088389A1 (en) * | 2002-11-05 | 2004-05-06 | Tenor Networks, Inc. | Methods and apparatus for automated edge device configuration in a heterogeneous network |
US20040202199A1 (en) * | 2003-04-11 | 2004-10-14 | Alcatel | Address resolution in IP interworking layer 2 point-to-point connections |
CN1567888A (zh) * | 2003-07-07 | 2005-01-19 | 华为技术有限公司 | 虚拟专用网中实现地址解析协议的网络设备及其方法 |
-
2005
- 2005-12-01 CN CNB2005101257199A patent/CN100550814C/zh not_active Expired - Fee Related
-
2006
- 2006-11-30 WO PCT/CN2006/003235 patent/WO2007062592A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040088389A1 (en) * | 2002-11-05 | 2004-05-06 | Tenor Networks, Inc. | Methods and apparatus for automated edge device configuration in a heterogeneous network |
US20040202199A1 (en) * | 2003-04-11 | 2004-10-14 | Alcatel | Address resolution in IP interworking layer 2 point-to-point connections |
CN1567888A (zh) * | 2003-07-07 | 2005-01-19 | 华为技术有限公司 | 虚拟专用网中实现地址解析协议的网络设备及其方法 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778035A (zh) * | 2010-03-09 | 2010-07-14 | 中兴通讯股份有限公司 | 一种虚拟专用局域网通信的方法及装置 |
CN101778035B (zh) * | 2010-03-09 | 2013-12-18 | 中兴通讯股份有限公司南京分公司 | 一种虚拟专用局域网通信的方法及装置 |
CN103078964A (zh) * | 2012-12-21 | 2013-05-01 | 浙江宇视科技有限公司 | 一种能使nvc设备与nvt设备建立业务的方法和装置 |
CN103078964B (zh) * | 2012-12-21 | 2016-05-25 | 浙江宇视科技有限公司 | 一种能使nvc设备与nvt设备建立业务的方法和装置 |
CN114070790A (zh) * | 2021-11-15 | 2022-02-18 | 中国联合网络通信集团有限公司 | Vpls设备中信息的转发方法、pe、系统、设备及介质 |
CN114070790B (zh) * | 2021-11-15 | 2023-09-26 | 中国联合网络通信集团有限公司 | Vpls设备中信息的转发方法、pe、系统、设备及介质 |
CN115065660A (zh) * | 2022-07-15 | 2022-09-16 | 杭州云合智网技术有限公司 | Arp代答的优化方法 |
CN115065660B (zh) * | 2022-07-15 | 2023-08-15 | 杭州云合智网技术有限公司 | Arp代答的优化方法 |
Also Published As
Publication number | Publication date |
---|---|
CN1863129A (zh) | 2006-11-15 |
CN100550814C (zh) | 2009-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2007062592A1 (fr) | Systeme, procede et routeur de l2vpn d'interconnexions point a multipoints, et multipoints a multipoints | |
EP1816796B1 (en) | Bi-directional forwarding in ethernet-based service domains over networks | |
CA2413570C (en) | Address resolution method for a virtual private network, and customer edge device for implementing the method | |
EP3070877B1 (en) | Evpn inter-subnet multicast forwarding | |
Andersson et al. | Framework for layer 2 virtual private networks (L2VPNs) | |
US8713185B2 (en) | Methods of establishing virtual circuits and of providing a virtual private network service through a shared network, and provider edge device for such network | |
US20040165600A1 (en) | Customer site bridged emulated LAN services via provider provisioned connections | |
WO2009021458A1 (en) | Method, apparatus and system for connecting layer2 network and layer3 network | |
US20130272114A1 (en) | Pseudo wire switching method and device | |
US20040202199A1 (en) | Address resolution in IP interworking layer 2 point-to-point connections | |
WO2009033428A1 (fr) | Procédé, système et dispositif pour retirer une adresse de commande d'accès au support | |
WO2005011197A1 (fr) | Procede pour reseau local virtuel (vlan) mis en oeuvre par commutation multiprotocole par etiquette (mpls) | |
WO2011113340A1 (zh) | 一种多协议标签交换二层虚拟专用网的接入方法和装置 | |
WO2007016839A1 (en) | Method and system for carrying out hierarchical virtual private switch services | |
WO2007076678A1 (fr) | Procede de transfert de donnees et appareil de commutation | |
WO2007019785A1 (fr) | Systeme de commutation reseau local virtuel a multidiffusion et procede associe | |
WO2009135404A1 (zh) | 一种l2vpn跨域的实现方法、系统和装置 | |
WO2013139159A1 (zh) | 在网络中转发报文的方法和运营商边缘设备 | |
WO2007112691A1 (en) | System, method and network device for vpn customer to access public network | |
WO2008011818A1 (fr) | Procédé de fourniture d'un service réseau local privé virtuel à hiérarchie et système réseau | |
WO2020098611A1 (zh) | 一种获取路由信息方法及装置 | |
WO2013139270A1 (zh) | 实现三层虚拟专用网络的方法、设备及系统 | |
CN101800691A (zh) | 一种建立网络中数据转发路径的方法、设备和系统 | |
CN102045250B (zh) | Vpls中组播报文的转发方法和服务提供商边缘设备 | |
WO2011020346A1 (zh) | 组播数据转发方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 06828209 Country of ref document: EP Kind code of ref document: A1 |