WO2011147342A1 - 交换路由信息的方法、设备和系统 - Google Patents
交换路由信息的方法、设备和系统 Download PDFInfo
- Publication number
- WO2011147342A1 WO2011147342A1 PCT/CN2011/075231 CN2011075231W WO2011147342A1 WO 2011147342 A1 WO2011147342 A1 WO 2011147342A1 CN 2011075231 W CN2011075231 W CN 2011075231W WO 2011147342 A1 WO2011147342 A1 WO 2011147342A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual
- mac address
- module
- packet
- user edge
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000012545 processing Methods 0.000 claims description 14
- 238000005538 encapsulation Methods 0.000 claims description 2
- 108010001267 Protein Subunits Proteins 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 238000001914 filtration Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004931 aggregating effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/64—Hybrid switching systems
- H04L12/6418—Hybrid transport
-
- 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
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for exchanging routing information. Background technique
- Cloud computing or data center interconnection through a virtual private network (VPN) based on a client device is currently a hot research topic.
- VPN virtual private network
- the access network can be TR101 digital subscriber line (DSL, Digital Subscriber Line) or passive optical. Network (PON, Passive Optical Network) access network.
- DSL digital subscriber line
- PON Passive Optical Network
- MAC Media Access Control
- the user edge nodes of the VPN based on the client device need to be exchanged with each other.
- the user edge node can adopt the IS-IS (Intermediate System to Intermediate System) routing protocol through the IS-IS group.
- the broadcast message uses the flooding mechanism to spread the MAC address routing information.
- the user edge node uses the IS-IS routing protocol to spread the MAC address by using the flooding mechanism in the client device-based VPN.
- the process of routing information is shown in Figure 1.
- the IP edge node shown in FIG. 1 may be a Broadband Access Accessor (BRAS) or a Broadband Network Gateway (BNG).
- BRAS Broadband Access Accessor
- BNG Broadband Network Gateway
- the inventors of the present invention have found that since the access network does not support user multicast, the IS-IS multicast message from the user edge node will be filtered out by the access node accessing the network, for example, the access node. It can be a digital subscriber line access multiplexer (DSLAM, DSL Access Multiplexer), so that the MAC address routing information between the user edge nodes cannot be exchanged with each other through the routing protocol, so that the VPN based on the client device cannot be established under the access network. .
- DSL Access Multiplexer digital subscriber line access multiplexer
- Embodiments of the present invention provide a method, device, and system for exchanging routing information.
- a method for exchanging routing information includes: a virtual user edge CE module receiving and interconnecting it a packet sent by the user edge node, where the packet carries the first media access control MAC address information inside the site to which the user edge node belongs;
- the extended routing protocol Distributing, by the extended routing protocol, the first MAC address routing information carrying the first MAC address information to other virtual CE modules that are in the same virtual private network as the virtual CE module;
- the second MAC address routing information that is advertised by the extended routing protocol, where the second MAC address routing information carries the second MAC of the site to which the user edge node connected to the other virtual CE module belongs Address information.
- a user edge node comprising: obtaining a media access control address information unit, configured to obtain MAC address information inside the local station;
- the message sending unit is configured to send a message to the virtual CE module that is interconnected with the message, where the message carries the MAC address information.
- a system for exchanging routing information comprising: at least two virtual user edge modules, each virtual user edge module is configured to receive a packet sent by a user edge node connected thereto, where the packet carries the user edge node
- the first media access control MAC address information in the site, and the first MAC address routing information carrying the first MAC address information is advertised to other virtual CE modules in the same virtual private network as the virtual CE module by using the extended routing protocol.
- each user edge node is configured to obtain MAC address information of the internal station, and send a message to the virtual CE module interconnected with the MAC address information, where the packet carries the MAC address information.
- the virtual CE module receives the packet sent by the user edge node connected to the user, and the packet carries the first media access control MAC address information inside the site to which the user edge node belongs, so that the virtual CE module obtains The first MAC address information, the virtual CE module then advertises the first MAC address routing information carrying the first MAC address information to other virtual CE modules in the same VPN through the extended routing protocol, so that other virtual CE modules in the same VPN are obtained.
- the first MAC address information the virtual CE module can also receive the second MAC address routing information advertised by the other virtual CE modules in the same VPN through the extended routing protocol, because the second MAC address routing information carries the other virtual CE modules.
- FIG. 1 is a schematic diagram of spreading MAC address information between user edge nodes in the background art
- FIG. 2 is a virtual private network model for performing data center interconnection in the embodiment of the present invention
- FIG. 3 is a method for exchanging routing information in an embodiment of the present invention
- Schematic diagram of an embodiment
- FIG. 4 is a schematic diagram of the second virtual CE module 42 receiving and distributing routing information
- FIG. 5 is a schematic diagram of receiving and distributing routing information by the first virtual CE module 41 and the second virtual CE module 42.
- FIG. 6 is a schematic flowchart of another embodiment of a method for exchanging routing information according to an embodiment of the present invention.
- FIG. 8 is a schematic flowchart of another embodiment of a method for exchanging routing information in an embodiment of the present invention;
- FIG. 9 is a first site 31 and FIG. A communication diagram between the second stations 32;
- Figure 9-B is another communication diagram of the first station 31 and the second station 32 in a network hierarchical structure model
- Figure 10-A is a schematic diagram of another communication between the first station 31 and the second station 32;
- Figure 10-B is a schematic diagram of another communication between the first station 31 and the second station 32 in a network hierarchical structure model
- FIG. 11 is a schematic diagram of a logical structure of a virtual CE module according to an embodiment of the present invention.
- FIG. 12 is a schematic diagram of a logical structure of a PE node in an embodiment of the present invention.
- FIG. 13 is a schematic diagram showing the logical structure of a user edge node in an embodiment of the present invention.
- FIG. 14 is a schematic diagram showing the logical structure of a system for exchanging routing information in an embodiment of the present invention. detailed description
- the embodiment of the invention provides a method for exchanging routing information, and an embodiment of the present invention further provides a corresponding device and system. The details are described below separately.
- the VPN model for implementing data center interconnection in the embodiment of the present invention is described in detail.
- the VPN model for performing cloud computing interconnection or enterprise network interconnection is similar to the VPN model for data center interconnection. I won't go into details.
- the VPN model for data center interconnection is as shown in FIG. 2, including a data center (DC, Date Center) interconnection network, a first data center 21 located at the first server 11, a second data center 22 located at the second server 12, and located at The third data center 23 of the third server 13, the first server 11, the second server 12, and the third server 13 are located at the first site 31, the second site 32, and the third site 33, respectively, and the first site 31, the second site The site 32 and the third site 33 belong to the same virtual private network (VPN).
- one server may include any number of multiple data centers, and each data center may include Any number of node devices or virtual machines, one site may include any number of multiple servers, so the VPN model is not limited to the structure shown in FIG. 2.
- the DC internetwork can be an operator network.
- the user edge node is an edge device directly connected to the carrier network in the own site.
- a user edge node is always considered to be in a separate site.
- the user edge node is usually a router in the site. Or the Layer 3 switching device can even be a host.
- the user edge node function of the user edge node (ie, the function of exchanging MAC address routing information between all user edge nodes of the VPN) is moved up to be interconnected with the user edge node.
- the carrier network node includes a module for implementing a user edge node function of the user edge node.
- the connection relationship between the operator network node and the user edge node may be an entity.
- the interconnection relationship may also be a logical interconnection relationship, that is, there may be other devices between the operator network node and the user edge node.
- the present invention refers to the module that is located at the operator network node and is used to implement the function of the user edge node, and is called a virtual user edge (CE) module.
- the virtual CE module is mainly used to implement MAC address routing between virtual user edge nodes. The information is exchanged with each other.
- the carrier network node including the virtual CE module may be an IP edge node located in the carrier network, or an access node (AN, Access Node) with access function, or an aggregation function with aggregation function. Node, but for convenience of description, in this paper, the nodes that contain the virtual CE module are collectively referred to as the Provider Edge (PE) node.
- PE Provider Edge
- the first user edge node 61 can be turned into a fool.
- the Layer 2 device (such as a Layer 2 switch) facilitates the maintenance and management of the first user edge node 61 by the carrier. In this way, the user edge node can be implemented with the existing Layer 2 switch.
- the user edge node function of the first user edge node 61 may not be moved up to the first PE node 51 in theory, and the embodiment of the present invention may also be implemented, but this requires upgrading all user edge nodes to support The function of exchanging MAC address routing information between user edge nodes.
- an embodiment of a method for exchanging routing information in an embodiment of the present invention includes:
- 301 Receive a packet sent by a user edge node connected to the user, and obtain first media access control address information inside the site to which the user edge node belongs;
- the virtual CE module located in the PE node can receive the packet sent by the user edge node connected to the peer node, and the packet carries the first MAC address information inside the site to which the user edge node belongs, so the virtual CE module can obtain the first MAC address. information.
- the first media access control address routing information is advertised to other virtual user edge modules of the same virtual private network by using an extended routing protocol.
- the virtual CE module After the virtual CE module receives the packet sent by the user edge node connected to it, and the virtual CE module obtains the first MAC address information from the packet, the virtual CE module extends the routing protocol (such as extending BGP or IS-IS). The first MAC address routing information carrying the first MAC address information is advertised to other virtual CE modules that are in the same VPN as the virtual CE module.
- the routing protocol such as extending BGP or IS-IS.
- the so-called extended routing protocol refers to routing protocol packets carrying MAC address routing information.
- the MAC address routing information includes the MAC address information obtained by the virtual CE module, and the address of the virtual CE module that advertises the MAC address routing information. It should be noted that each virtual CE module has an address, and the virtual CE The address of the module is usually an independent address.
- the address of the virtual CE module can be a MAC address or an IP address. However, if the address is saved, the virtual CE module can also use the address of the PE node and the address of the virtual CE module is The MAC address routing information is called the next hop address.
- each virtual CE module Since the virtual CE modules in the VPN need to use the routing protocol to spread the MAC address routing information, each virtual CE module also receives the second MAC address routing information advertised by the other virtual CE modules in the same VPN through the extended routing protocol.
- the second MAC address routing information carries the second MAC address information inside the site to which the user edge node connected to the other virtual CE module belongs.
- the first and second identifiers are only used to distinguish the MAC address routing information of different content, and the first MAC address information and the second MAC address information are also different in this embodiment.
- the MAC address information of the content is not limited.
- this step may be implemented before step 301 or before step 302.
- each virtual CE module within the virtual private network performs the steps described above.
- the virtual CE module obtains the first MAC address information inside the site to which the user edge node belongs by receiving the packet sent by the user edge node connected to the virtual CE module, and the virtual CE module then uses the extended routing protocol to the same
- the other virtual CE modules in the VPN advertise the first MAC address routing information carrying the first MAC address information, so that the other virtual CE modules obtain the first MAC address information, and the virtual CE module can also receive the same VPN by using the extended routing protocol.
- the second MAC address routing information is advertised by the other virtual CE modules to obtain the second MAC address information of the site to which the user edge node connected to the other virtual CE module belongs. Therefore, all virtual CE modules in the same VPN can be routed. Protocols exchange MAC address routing information with each other.
- FIG. 4 is a schematic diagram showing the second virtual CE module 42 receiving and distributing routing information.
- FIG. 5 is a schematic diagram of the first virtual CE module 41 and the third virtual CE module 43 receiving and distributing routing information.
- FIG. 6 another embodiment of the method for exchanging routing information in the embodiment of the present invention includes:
- Each user edge node at the site corresponds to a default virtual network located on the DC internetwork.
- the CE module address for example, the first user edge node 61 corresponds to the first virtual CE module 41 address, and the second user edge node 62 corresponds to the second virtual CE module 42 address.
- the virtual CE module can obtain the first MAC address information inside the site to which the user edge node connected to it is located, as follows:
- the second virtual CE module 42 located at the second PE node 52 can receive the routing protocol message carrying the MAC address information by the second user edge node 62, for example, the second virtual
- the CE module 42 can receive the IS-IS routing protocol packet or the BGP routing protocol packet sent by the second user edge node 62, where the IS-IS routing protocol packet or the BGP routing protocol packet carries the second user edge node 62.
- the MAC address information of the second site 32 is obtained, so that the second virtual CE module 42 obtains the MAC address information of the second site 32 of the second user edge node 62.
- the first virtual CE module of the first PE node 51. 41 and the third virtual CE module 43 may also receive the routing protocol message sent by the first user edge node 61 and the third user edge node 63, respectively, thereby obtaining the MAC address inside the first site 31 to which the first user edge node 61 belongs.
- the virtual CE module can also receive the packet sent by the user edge node connected to it, and learn the MAC address information inside the site to which the connected user edge node belongs by learning the MAC address.
- the routing protocol packet sent by the user edge node can be used to prevent the access node AN from filtering the routing protocol multicast packet.
- the routing protocol multicast packet is carried in a unicast IP packet whose destination address is a virtual CE module address that is interconnected with the user edge node.
- the routing protocol packet sent by the second user edge node 62 may be a route.
- the protocol multicast packet is carried by the unicast IP packet whose destination address is the address of the second virtual CE module 42.
- the routing protocol multicast packet carries the MAC address routing information, and the virtual CE module receives the unicast IP packet.
- the unicast IP packet is decapsulated to obtain a routing protocol multicast packet, and then the MAC address routing information carried by the unicast IP packet is obtained.
- the routing protocol packet sent by the user edge node to the virtual CE module connected to the user interface may be a unicast ETH packet carrying the routing protocol multicast packet to the virtual CE module address whose destination address is interconnected with the user edge node.
- the routing protocol multicast packet carries the MAC address routing information.
- the virtual CE module After receiving the unicast ETH packet, the virtual CE module also decapsulates the unicast ETH packet to obtain the routing protocol multicast packet.
- the routing protocol packet sent by the user edge node may also be the destination address.
- a unicast routing protocol packet (for example, a unicast IP packet or a unicast MAC address) of the virtual CE module address, where the unicast routing protocol packet carries the MAC address routing information, so that the virtual CE module directly decapsulates the packet.
- the MAC address routing information carried by the router can be obtained.
- the second virtual CE module 42 issues MAC address routing information to the first virtual CE module 41 and the third virtual CE module 43 by using an extended routing protocol (such as extended BGP or IS-IS) to extend the border gateway protocol (BGP, Border Gateway Protocol).
- extended BGP border gateway protocol
- the second virtual CE module 42 needs to extend BGP to carry the "MAC®, VPN ID, NH: Second Virtual CE Module Address 42" information, where MAC@ is the MAC address information, as in this example,
- the MAC address information obtained by the second user edge node 62; the VPN ID (VPN ID) can be identified by using the extended community attribute of BGP, for example, using a route target (RT, Route Target) to identify an unused VPN, in order to solve the MAC without the VPN.
- the address routing can be repeated.
- VLAN virtual local area network
- MPLS label to identify unused VPNs.
- the address of the virtual CE module connected to the site is used as the next hop address in the MAC address routing (NH , Next Hop ) , for example, when the second virtual CE module 42 issues a MAC to the first virtual CE module 41 and the third virtual CE module 43 through BGP
- a second virtual address is NH CE module 42.
- the first virtual CE module 41 may also issue MAC routing information to the second virtual CE module 42 and the third virtual CE module 43 by using an extended routing protocol, and the third virtual CE module 43 may also extend the routing protocol to the first virtual
- the CE module 41 and the second virtual CE module 42 issue MAC routing information, and the process of the specific extended routing protocol is as described above.
- the first virtual CE module 41 and the second virtual CE module 42 are in the same PE node, and the first virtual CE module 41 can issue MAC routing information to the second virtual CE module 42 without using the extended routing protocol.
- the MAC addresses are exchanged between the devices.
- the first virtual CE module 41 receives the MAC address routing information advertised by the second virtual CE module 42 and the third virtual CE module 43 respectively by the extended routing protocol
- the second virtual CE module 42 receives the first virtual CE module 41 and the third virtual
- the CE module 43 each passes the MAC address routing information advertised by the extended routing protocol
- the third virtual CE module 43 also receives the first virtual CE module 41 and the second virtual CE module 42 respectively.
- the process of the MAC address routing information advertised by the routing protocol is extended.
- the process of the advertised MAC address routing information by the virtual routing module is as described in step 603.
- the first virtual CE module 41 and the second virtual CE module are required. 42.
- the first virtual CE module 41 can issue MAC address routing information to the second virtual CE module 42 without using an extended routing protocol, and only need to exchange their respective MAC addresses in the same device.
- the routing protocol packet sent by the user edge node may be a unicast IP packet or a single packet carrying the routing protocol multicast packet to the virtual CE module address whose destination address is interconnected with the user edge node.
- the virtual CE module can decapsulate the unicast packet to obtain the MAC address routing information, or the routing protocol packet sent by the user edge node can also be the MAC address routing information of the virtual CE module address.
- Unicast routing protocol packets (such as unicast IP packets or unicast MAC frames), thus preventing the access node AN from filtering routing protocol multicast packets.
- the foregoing two embodiments are a method for exchanging routing information from the perspective of a virtual CE module.
- the following embodiment will describe a method for exchanging routing information from the perspective of a user edge node. Referring to FIG. 7, the embodiment of the present invention performs the exchange.
- Another embodiment of a method of routing information includes:
- the user edge node can learn the MAC address information of the internal station by using the MAC address learning.
- the MAC address information may be the MAC address of any node device or virtual machine within the site to which the user edge node belongs.
- the node device or the virtual machine may adopt a virtual MAC address, and set the MAC address information to a virtual MAC address domain (or a virtual MAC address prefix) that is aggregated by the virtual MAC addresses of all nodes in the site to which the user edge node belongs, and virtual
- the MAC address field is just an address segment, which is part of the virtual MAC address, and therefore greatly reduces the MAC forwarding table of the virtual CE module.
- the specific process of aggregating virtual MAC address domains is as follows:
- the node device in the DC or the enterprise network may be classified into at least one virtual MAC network management domain according to the service object's geographic or service provider classification, and the virtual MAC address prefix of the node device or virtual machine in the same virtual network management domain is the same. It can also be said that the mask of the virtual MAC address of the node device or virtual machine in the same virtual network management domain is the same, and the mask is represented by the length, which can be positive.
- the mask that is, the number of bits with a high order of 1, for example, the mask is 4, which means F000-0000-0000, and can also be ⁇ mask, that is, by the number of bits whose position is 0, the column mask is 4, indicates FFFF-FFFF-FFF0, the reverse mask is used in this paper, and the prefix of the virtual MAC address of the node device inside the same DC or enterprise network is the same.
- the virtual MAC address field is set to the address segment with a mask.
- the virtual MAC address field is identified in the form of 00E0-2000-XXXX/16, where "X" is a hexadecimal character of 0 ⁇ F, and "16" is masked.
- This virtual MAC address field contains the virtual MAC address space of 00E0-2000-0000 ⁇ 00E0-2000-FFFF.
- the DC has three node devices or virtual machines, and the node devices or virtual machines inside the DC are classified into one virtual MAC network management domain.
- the virtual MAC addresses of the three node devices are prefixed with 00E0-1010.
- the virtual MAC addresses of the node devices are 00E0-1010-0001/0, 00E0-1010-0002/0, 00E0-1010-0003/0, and the user edge nodes of the site where the DC is located learn the three node devices through MAC address learning.
- the virtual MAC address of the virtual machine the user edge node finds that the mask of the three node devices or the virtual machine is 16 by searching for the longest prefix of the three virtual MAC addresses, so the user edge node will be the three node devices.
- the virtual MAC address of the virtual machine is aggregated into the virtual MAC address field of 00E0-1010-0000/16.
- the DC has three node devices or virtual machines, and the node devices or virtual machines inside the DC are set as a virtual MAC network management domain.
- the virtual MAC addresses of the three node devices are prefixed with 00E0-2000-1.
- the virtual MAC addresses of the three node devices or virtual machines are 00E0-2000-1001/0, 00E0-2000-1002/0, 00E0-2000-1003/0, and the user edge nodes of the site where the DC is located are learned by MAC address.
- the virtual MAC address of the three node devices or virtual machines are prefixed with 00E0-2000-1.
- the virtual MAC addresses of the three node devices or virtual machines are 00E0-2000-1001/0, 00E0-2000-1002/0, 00E0-2000-1003/0, and the user edge nodes of the site where the DC is located are learned by MAC address.
- the virtual MAC address of the three node devices or virtual machines are 00E0-2000-1001/0, 00E0-2000-
- the user edge node finds that the mask of the three node devices or virtual machines is 8 by searching for the longest prefix of the three virtual MAC addresses, so the user edge node will
- the virtual MAC addresses of the three node devices or virtual machines are aggregated into virtual MAC address domains of 00E0-2000-1000/8.
- the user edge node also reserves a certain virtual MAC address space in the virtual MAC address field as the broadcast virtual MAC address field.
- the lower address of the virtual MAC address indicates the broadcast virtual MAC address of the corresponding domain by using all "1", for example, 00E0. -2000-1FFF/12 indicates the node broadcast address in the 00E0-2000-1XXX/12 domain, and 00E0-2000-1XXX/12 represents the broadcast domain of 00E0-2000-1FFF/12.
- the user edge node When the user edge node is pre-processed, it will first set or obtain the default virtual CE module address connected to it.
- the user edge node can send a packet carrying the MAC address information of the internal station to the virtual user edge module that is interconnected. There are two ways:
- the user edge node uses the routing protocol packet to carry the MAC address information, and sends the routing protocol packet to the virtual user edge module interconnected with the user, in order to prevent the access node AN from filtering the routing protocol multicast packet, the user
- the edge node can send a unicast routing protocol packet (for example, a unicast IP packet or a unicast MAC frame) whose destination address is the address of the virtual CE module to the virtual CE module that is interconnected, where the unicast routing protocol packet carries the MAC address.
- a unicast routing protocol packet for example, a unicast IP packet or a unicast MAC frame
- Address routing information or the user edge node can also carry the routing protocol multicast packet to the unicast IP packet or the unicast ETH packet whose destination address is the address of the virtual CE module, and carry the MAC address routing in the routing protocol multicast packet.
- the MAC address information may be of two types, as described in step 701, being a MAC address or a virtual MAC address field.
- the user edge node can also use the packet to carry the MAC address information.
- the virtual CE module can learn the MAC address information carried by the packet through the MAC address learning.
- the user edge protocol packet, or the routing protocol multicast packet is carried in the destination address as the virtual CE module address interconnected with the address.
- An IP packet or a unicast ETH packet is broadcasted, and the user edge node can aggregate the virtual MAC address of all the node devices in the obtained site into a virtual MAC address domain, so that the user edge node only needs to send the virtual MAC address domain.
- the virtual CE module To the virtual CE module connected to it, the virtual CE module only needs to advertise the MAC address routing information carrying the virtual MAC address to other virtual CE modules, which reduces the amount of routing interaction information, reduces the time for route formation, and reduces the virtual CE.
- FIG. 8 another embodiment of the method for exchanging routing information in the embodiment of the present invention includes: Still described with reference to the VPN model shown in FIG. 2, from the perspective of the second user edge node 62, and the second virtual CE module 42.
- the user edge node sets or obtains a default virtual user edge module address. Since a user edge node corresponds to a default virtual CE module address, the second user edge node 62 first performs the following preprocessing: setting or obtaining the default second virtual CE module 42 address interconnected with it.
- the user edge node learns, by using the media access control address, the media access control address information of the internal station.
- the second user edge node 62 learns the MAC address information inside the second site 32 by the MAC address learning.
- the MAC address information may be of two types, which are respectively a MAC address or a virtual MAC address field, as described in step 701 in the embodiment shown in FIG.
- the user edge node sends a packet that includes the third media access control address routing information to the virtual user edge module that is interconnected with the network edge control module.
- the second user edge node 62 combines the MAC address information of the second site 32 and the address of the second user edge node 62 into the third MAC address routing information, and encapsulates the routing protocol packet including the third MAC address routing information to the destination address.
- the unicast IP packet or the unicast MAC frame of the second virtual CE module 42 the unicast IP packet or the unicast MAC frame is sent to the second virtual CE module 42.
- the second user edge node 62 can also carry the routing protocol multicast packet to the unicast IP packet or the unicast ETH packet with the destination address being the virtual CE module address interconnected by the routing protocol group.
- the broadcast message carries the third MAC address routing information and sends the unicast IP packet or the unicast ETH packet to the second virtual CE module 42.
- the virtual user edge module sends, by using an extended routing protocol, a routing protocol packet that includes the fourth media access control address routing information to other virtual user edge modules in the same virtual private network.
- the second virtual CE module 42 obtains the MAC address information of the second site 32 according to the received packet carrying the third MAC address routing information, and the MAC address information of the second site 32 and the address of the second virtual CE module 42 are formed.
- the fourth MAC address routing information is sent to the other virtual CE modules in the same VPN by the extended routing protocol, that is, the first virtual CE module 41 and the third virtual CE module 43. .
- the extended routing protocol that is, the first virtual CE module 41 and the third virtual CE module 43.
- the other virtual user edge modules in the same virtual private network obtain media access control address routing information.
- the first virtual CE module 41 and the third virtual CE module 43 receive the second virtual CE module 42 through the expansion. After the routing protocol packet containing the fourth MAC address routing information sent by the routing protocol is obtained, the fourth MAC address routing information is obtained.
- the third and fourth identifiers are only used to distinguish MAC address routing information of different contents, and are not limited.
- the user edge node and the virtual CE module can advertise the MAC address routing information through the routing protocol, so that the MAC address routing information can be spread among all the virtual CE modules in the VPN.
- FIG. 9-A shows the first site 31 and the second site 32.
- the communication diagram is specifically described as follows:
- the interconnection network of the first site 31 and the first virtual CE module 41, and the interconnection network of the second site 32 and the second virtual CE module 42 are both ETH networks, and the DC interconnection network is an MPLS network.
- the first server 11 may provide the first virtual CE module 41 with the MAC address information of the first site 31 by sending an ETH message to the first virtual CE module 41, and the second server 12 may also send the ETH to the second virtual CE module 42.
- the packet provides the MAC address information of the second site 32 to the first virtual CE module 41.
- the first virtual CE module 41 and the second virtual CE module 42 can carry the routing protocol packet carrying the MAC address routing information to the MPLS packet. To achieve routing information exchange.
- Figure 9-B is a schematic diagram of the communication between the first station 31 and the second station 32, which is described in the manner of the network hierarchy model corresponding to Figure 9-A.
- the forwarding table of the second virtual CE module 42 may be as shown in Table 1.
- the forwarding table of the second virtual CE module 42 can be as shown in Table 2.
- FIG. 10-A is also a schematic diagram of communication between the first station 31 and the second station 32, and the specific description is as follows: the interconnection network of the first station 31 and the first virtual CE module 41, And the internetwork of the second site 32 and the second virtual CE module 42 are both ETH networks, and the DC internetwork is an IP network.
- the first server 11 may provide the first virtual CE module 41 with the MAC address information of the first site 31 by sending an ETH message to the first virtual CE module 41, and the second server 12 may also send the ETH to the second virtual CE module 42.
- the packet provides the MAC address information of the second site 32 to the first virtual CE module 41.
- FIG. 10-B is a schematic diagram of communication between the first site 31 and the second site 32, which is described in the manner of a network hierarchical structure model corresponding to Figure 10-A.
- the forwarding table of the second virtual CE module 42 can be as shown in Table 3.
- the forwarding table of the second virtual CE module 42 can be as shown in Table 4.
- an embodiment of the present invention further provides an embodiment of a virtual CE module, including: a packet processing unit 1101, where a virtual user edge CE module receives a packet sent by a user edge node connected to the user, where the packet carries a user.
- the first medium access control MAC address information in the site to which the edge node belongs, and the packet may be a routing protocol packet or a packet used by the virtual CE module to learn MAC address.
- the media access control routing protocol processing unit 1102 by using the extended routing protocol, advertises the first MAC address routing information carrying the first MAC address information to other virtual CE modules in the same virtual private network as the virtual CE module; receiving the other virtual CE modules.
- the second MAC address routing information is advertised by the extended routing protocol, and the second MAC address routing information carries the second MAC address information inside the site to which the user edge node connected to the other virtual CE module belongs.
- the MAC address information obtained by the virtual CE module is the media access control MAC address of any node device in the site to which the user edge node belongs, or the virtual MAC address field where the virtual MAC addresses of all the node devices in the site to which the user edge node belongs are aggregated.
- the virtual CE module may further include a media access control routing table processing module 1103.
- the media access control routing table processing module 1103 is configured to store and maintain a MAC routing forwarding table, and implement a MAC routing forwarding function according to the MAC routing forwarding table.
- the virtual CE module further includes a unicast packet decapsulation processing unit 1104, configured to: when the routing protocol message sent by the user edge node is a user edge node, the routing protocol multicast When a packet is carried in a unicast IP packet or an ETH packet whose destination address is the address of the virtual CE module, the routing protocol multicast packet carries the MAC address routing information, and receives the routing protocol report sent by the user edge node connected to it.
- a unicast packet decapsulation processing unit 1104 configured to: when the routing protocol message sent by the user edge node is a user edge node, the routing protocol multicast When a packet is carried in a unicast IP packet or an ETH packet whose destination address is the address of the virtual CE module, the routing protocol multicast packet carries the MAC address routing information, and receives the routing protocol report sent by the user edge node connected to it.
- the unicast IP packet or the ETH packet is decapsulated; in order to prevent the access node AN from filtering the routing protocol multicast packet, the unicast packet decapsulation processing unit 1104 is further configured to be sent by the user edge node.
- the routing protocol packet is the destination address of the virtual CE module address.
- the routing protocol unicast packet in which the routing protocol unicast packet carries the MAC address routing information, and decapsulates the unicast packet after receiving the routing protocol packet sent by the user edge node connected to it.
- the routing protocol unicast packet can be a unicast IP packet or a unicast MAC frame. Referring to FIG. 12, an embodiment of the present invention further provides an embodiment of a PE node that includes a virtual CE module, including:
- the PE node may further include an operator edge node processing unit 1202.
- the operator edge node processing needs to be described.
- the virtual user edge module 1201 in this embodiment may be the same as the virtual user edge module shown in FIG. 11 above.
- the edge node processing unit 1202 and the media access control routing table processing module 1103 in the virtual user edge module communicate with each other.
- an embodiment of the present invention further provides an embodiment of a user edge node, including: a media access control address information unit 1301, configured to obtain, by a user edge node, MAC address information of an internal station;
- the message sending unit 1302 is configured to send a message to the virtual CE module that is connected to the virtual CE module, where the message carries the MAC address information of the site that is obtained by the user edge node, and the message may be a routing protocol message or used for Let the virtual CE module interconnected with it perform MAC address learning.
- the 13021 is configured to send a routing protocol packet to the virtual CE module connected to the virtual CE module or a packet used for learning the MAC address of the virtual CE module.
- the message sending unit 1302 includes at least one of the following subunits:
- the unicast packet processing sub-unit 13022 is configured to configure the routing information of the routing protocol unicast packet including the routing information to the virtual CE module, where the MAC address information of the owning site and the address of the user edge node are obtained by the user edge node, where
- the routing protocol unicast packet can be a unicast IP packet or a unicast MAC frame.
- the unicast packet encapsulation processing unit 13023 is configured to send the routing protocol multicast packet to the unicast IP packet or the ETH packet whose destination address is the virtual CE module address, and send the unicast IP packet to the virtual CE module. Or the ETH message.
- the MAC address information unit 1301 is configured to obtain the MAC address of any node in the own station by using the MAC address learning, and then the packet sending unit 1302 virtualizes the routing protocol through the routing protocol.
- the CE node sends routing information carrying the MAC address of any node, and one MAC address corresponds to one routing information.
- the MAC address information unit 1301 is configured to obtain the virtual MAC address of all nodes in the site by using MAC address learning; The address is aggregated to obtain a virtual MAC address field.
- the obtaining MAC address information unit 1301 is configured to aggregate the virtual MAC addresses of all nodes according to the prefix of the virtual MAC address to obtain a virtual MAC address field.
- an embodiment of the present invention further provides an embodiment of a system for exchanging routing information, including:
- each virtual user edge module 1401 is configured to receive a message sent by a user edge node connected thereto, and the message carries the first media inside the site to which the user edge node connected with the user belongs Accessing the control MAC address information, and releasing the first MAC address routing information carrying the first MAC address information to other virtual CE modules in the same virtual private network by using the extended routing protocol, and receiving other virtual CE modules in the same virtual private network respectively through extension
- the second MAC address routing information advertised by the routing protocol where the second MAC address routing information carries the second MAC address information inside the site to which the user edge node connected to the other virtual CE module in the same virtual private network belongs;
- each user edge node 1402 is configured to obtain MAC address information of the internal station, and send a message to the virtual CE module that is interconnected with the network, and the message carries the MAC address information of the internal station obtained by the user edge node.
- the system for exchanging routing information in this embodiment has the following features:
- the virtual user edge module 1401 is further configured to: when the user edge node connected to the user sends a packet, the user edge node carries the routing protocol multicast packet to the unicast IP address of the virtual CE module address whose destination address is interconnected.
- the method further includes: decapsulating the unicast IP packet or the ETH packet;
- the user edge node 1402 is further configured to send the routing protocol multicast packet to the unicast IP packet or the ETH packet whose destination address is the virtual CE module address that is interconnected with the routing protocol, and send the unicast IP to the virtual CE module by using the routing protocol. Packet or ETH packet.
- the program can be stored in a computer readable storage medium.
- the storage medium can include: ROM, RAM, disk or CD, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供一种交换路由信息的方法,本发明实施例还提供相应的设备和系统。在本发明实施例中,虚拟CE模块接收与其互连的用户边缘节点发送的报文,从而获得该用户边缘节点所属站点内部的第一MAC地址信息,虚拟CE模块还可以通过扩展路由协议向同一个虚拟专用网内的其他虚拟CE模块发送携带第一MAC地址信息的第一MAC地址路由信息,虚拟CE模块还可以通过扩展路由协议来接收其他虚拟CE模块各自发布的携带与同一个虚拟专用网内其他虚拟CE模块相连接的用户边缘节点所属站点内部的第二MAC地址信息的第二MAC地址路由信息,因此同一VPN的所有虚拟CE模块都能够通过路由协议来互相交换MAC地址路由信息。
Description
交换路由信息的方法、 设备和系统 技术领域
本发明涉及通信技术领域, 具体涉及交换路由信息的方法、 设备和系统。 背景技术
通过基于客户端设备的虚拟专用网 (VPN, Virtual Private Network )来进行 云计算或者数据中心的互联是目前研究的热点。 目前, 研究人员大多选择在宽 带论坛定义的接入网络下进行基于 CPE-Based VPN的云计算或者数据中心的互 联, 接入网络可以是 TR101数字用户线( DSL, Digital Subscriber Line )或无源 光网络(PON, Passive Optical Network )接入网。 在每个云计算或者数据中心 内部都会有很多虚拟机或节点设备, 每个虚拟机或节点设备都有一个媒体访问 控制( MAC, Media Access Control )地址, 这些由 MAC地址组成的 MAC地址 路由信息需要在基于客户端设备 的 VPN 的用户边缘节点间彼此交换, 从理论 的角度出发, 用户边缘节点可以采用中间系统到中间系统( IS-IS , Intermediate System to Intermediate System )路由协议通过 IS-IS组播报文利用泛洪的机制来 扩散 MAC地址路由信息, 例如, 在 TR101 DSL接入网络下, 在基于客户端设 备 的 VPN中用户边缘节点采用 IS-IS路由协议利用泛洪的机制扩散 MAC地址 路由信息的过程如图 1所示。 其中如图 1所示的 IP边缘节点可以是宽带接入服 务器( BRAS, Broadband Remote Access Server )或宽带网络网关( BNG, Broadband Network Gateway ) .
但是, 本发明的发明人发现, 由于接入网络不支持用户组播, 因此来自用 户边缘节点的 IS-IS组播报文将会被接入网络的接入节点滤除, 例如, 接入节点 可以是数字用户线接入复用器(DSLAM, DSL Access Multiplexer ), 从而导致用 户边缘节点间的 MAC地址路由信息无法通过路由协议彼此交换,使得基于客户 端设备的 VPN在接入网络下无法建立。 发明内容 本发明实施例提供交换路由信, 的方法、 设备和系统。
一种交换路由信息的方法, 包括: 虚拟用户边缘 CE模块接收与其互连的用
户边缘节点发送的报文, 所述报文携带所述用户边缘节点所属站点内部的第一 媒体访问控制 MAC地址信息;
通过扩展路由协议向与所述虚拟 CE模块处于同一个虚拟专用网的其他虚拟 CE模块发布携带所述第一 MAC地址信息的第一 MAC地址路由信息;
接收所述其它虚拟 CE模块各自通过扩展路由协议发布的第二 MAC地址路 由信息, 所述第二 MAC地址路由信息携带与所述其他虚拟 CE模块相连接的用户 边缘节点所属站点内部的第二 MAC地址信息。
一种用户边缘节点, 包括: 获取媒体访问控制地址信息单元, 用于获得所 属站点内部的 MAC地址信息;
报文发送单元, 用于向与其互连的虚拟 CE模块发送报文, 所述报文携带所 述 MAC地址信息。
一种交换路由信息的系统, 包括: 至少两个虚拟用户边缘模块, 每个虚拟 用户边缘模块用于接收与其互连的用户边缘节点发送的报文, 所述报文携带所 述用户边缘节点所属站点内部的第一媒体访问控制 MAC地址信息, 通过扩展路 由协议向与所述虚拟 CE模块处于同一个虚拟专用网的其他虚拟 CE模块发布携 带所述第一 MAC地址信息的第一 MAC地址路由信息,接收所述其它虚拟 CE模块 各自通过扩展路由协议发布的第二 MAC地址路由信息, 所述第二 MAC地址路由 信息携带与所述其他虚拟 CE模块相连接的用户边缘节点所属站点内部的第二 MAC地址信息;
至少两个用户边缘节点, 每个用户边缘节点用于获得所属站点内部的 MAC 地址信息, 向与其互连的虚拟 CE模块发送报文, 所述报文携带所述 MAC地址信 息。
在本发明实施例中,虚拟 CE模块接收与其互连的用户边缘节点发送的报文, 并且此报文携带该用户边缘节点所属站点内部的第一媒体访问控制 MAC地址信 息,从而虚拟 CE模块获得第一 MAC地址信息,虚拟 CE模块再通过扩展路由协议 向同一个 VPN内的其他虚拟 CE模块发布携带第一 MAC地址信息的第一 MAC地 址路由信息, 从而让同一 VPN内的其它虚拟 CE模块获得第一 MAC地址信息, 虚 拟 CE模块还可以接收同一 VPN内其他虚拟 CE模块各自通过扩展路由协议发布 的第二 MAC地址路由信息,由于第二 MAC地址路由信息携带与其他虚拟 CE模块
相连接的用户边缘节点所属站点内部的第二 MAC地址信息, 虚拟 CE模块从而获 得第二 MAC地址信息, 因此同一 VPN内的虚拟 CE模块能够通过路由协议来互相 交换 MAC地址路由信息。 附图说明
图 1是背景技术中用户边缘节点间扩散 MAC路由地址信息的示意图; 图 2是本发明实施例中进行数据中心互联的虚拟专用网模型; 图 3是本发明实施例中交换路由信息的方法的一个实施例的流程示意图; 图 4是第二虚拟 CE模块 42接收和发布路由信息的示意图;
图 5是第一虚拟 CE模块 41和第二虚拟 CE模块 42接收和发布路由信息的示意图; 图 6是本发明实施例中交换路由信息的方法的另一个实施例的流程示意图; 图 7是本发明实施例中交换路由信息的方法的另一个实施例的流程示意图; 图 8是本发明实施例中交换路由信息的方法的另一个实施例的流程示意图; 图 9-A是第一站点 31和第二站点 32间的一个通信示意图;
图 9-B是采用网络分层结构模型方式的第一站点 31与第二站点 32的另一个 通信示意图;
图 10- A是第一站点 31和第二站点 32间的另一个通信示意图;
图 10-B是采用网络分层结构模型方式的第一站点 31与第二站点 32的另一个 通信示意图;
图 11是本发明实施例中虚拟 CE模块的逻辑结构示意图;
图 12是本发明实施例中 PE节点的逻辑结构示意图;
图 13是本发明实施例中用户边缘节点的逻辑结构示意图;
图 14是本发明实施例中交换路由信息的系统的逻辑结构示意图。 具体实施方式
本发明实施例提供一种交换路由信息的方法, 本发明实施例还提供相应的 设备和系统。 以下分别进行详细说明。
先详细说明一下本发明实施例实现数据中心互联的 VPN模型, 由于进行云 计算互联或者企业网互联的 VPN模型与进行数据中心互联的 VPN模型相类似,
就不再赘述。 进行数据中心互联的 VPN模型如图 2所示, 包括数据中心 (DC, Date Center )互联网络、 位于第一服务器 11的第一数据中心 21、 位于第二服务器 12的第二数据中心 22、 位于第三服务器 13的第三数据中心 23 , 第一服务器 11、 第二服务器 12和第三服务器 13分别位于第一站点 31、 第二站点 32和第三站点 33, 并且第一站点 31、第二站点 32和第三站点 33属于同一个虚拟专用网( VPN, Virtual Private Network ), 需要说明的是, 在一个 VPN模型中, 一个服务器可以包括任 意数量的多个数据中心, 每个数据中心可以包括任意数量的节点设备或者虚拟 机, 一个站点可以包括任意数量的多个服务器, 因此 VPN模型并不限定为如图 2 所示的结构。
DC互联网络可以是运营商网络, 用户边缘节点是所属站点中直接与运营商 网络相连的边缘设备, 一个用户边缘节点总是被认为处于一个单独的站点, 用 户边缘节点通常是站点中的一个路由器或者三层交换设备甚至可以是一个主 机。
在如图 2所示的 VPN模型中, 将用户边缘节点的用户边缘节点功能 (即在 VPN的所有用户边缘节点之间交换 MAC地址路由信息的功能)上移到与该用户 边缘节点互连的运营商网络节点内, 使得该运营商网络节点包括用于实现用户 边缘节点的用户边缘节点功能的模块, 需要说明的是, 该运营商网络节点与该 用户边缘节点之间的连接关系可以是实体上的互连关系, 也可以是逻辑上的互 连关系, 即在运营商网络节点与用户边缘节点之间还可以有其他设备。
本发明将这个位于运营商网络节点且用于实现用户边缘节点功能的模块称 之为虚拟用户边缘( CE, Customer Edge )模块, 此虚拟 CE模块主要用于实现虚 拟用户边缘节点间的 MAC地址路由信息的彼此交换, 这个包含虚拟 CE模块的运 营商网络节点可以是位于运营商网络的 IP边缘节点,或者是具有接入功能的接入 节点 (AN, Access Node ), 或者是具有汇聚功能的汇聚节点, 但是为了描述方 便, 在本文中, 将包含虚拟 CE模块的节点都统称为运营商边缘(PE, Provider Edge ) 节点。
在如图 2所示的 VPN模型中, 第一用户边缘节点 61的用户边缘节点功能上移 到与互连的第一 PE节点 51后, 第一用户边缘节点 61就可以筒化为一个傻瓜式的 二层设备(如二层交换机),便于筒化运营商对第一用户边缘节点 61的维护管理,
这样就可以用现有的二层交换机即可实现用户边缘节点。 需要说明的是, 第一 用户边缘节点 61的用户边缘节点功能在理论上也可以不上移到第一 PE节点 51 , 同样可以实现本发明实施例, 但是这要求升级所有的用户边缘节点以支持用户 边缘节点间的 MAC地址路由信息彼此交换的功能。
在如图 2所示的 VPN模型中, 第三用户边缘节点 63 和第一 PE节点 51互连, 第三用户边缘节点 63的用户边缘节点功能也上移到第一 PE节点 51 , 使得第一 PE 节点 51还包括第三虚拟 CE模块 43, 同样在如图 2所示的 VPN模型中, 第二用户边 缘节点 62和第二 PE节点 52互连, 第二用户边缘节点 62的用户边缘节点功能上移 到第二 PE节点 52, 使得第二 PE节点 52包括第二虚拟 CE模块 42, 并且第二用户边 缘节点 62和第三用户边缘节点 63也设置为一个傻瓜式的二层设备。 请参阅图 3, 本发明实施例中交换路由信息的方法的一个实施例包括:
301、 接收与其互连的用户边缘节点发送的报文, 得到该用户边缘节点所属 站点内部的第一媒体访问控制地址信息;
位于 PE节点内的虚拟 CE模块可以接收与其互连的用户边缘节点发送的报 文, 并且该报文携带用户边缘节点所属站点内部的第一 MAC地址信息, 因此虚 拟 CE模块可以获得第一 MAC地址信息。
302、 通过扩展路由协议向同一个虚拟专用网的其他虚拟用户边缘模块发布 第一媒体访问控制地址路由信息;
在虚拟 CE模块接收到与其互连的用户边缘节点发送的报文, 并且虚拟 CE模 块从该报文中获得第一 MAC地址信息之后, 虚拟 CE模块通过扩展路由协议(如 扩展 BGP或 IS-IS )向与虚拟 CE模块处于同一个 VPN的其他虚拟 CE模块发布携带 第一 MAC地址信息的第一 MAC地址路由信息。
所谓的扩展路由协议是指让路由协议报文携带 MAC地址路由信息。 其中, MAC地址路由信息除了包含虚拟 CE模块所获得的 MAC地址信息, 还包含发布 MAC地址路由信息的虚拟 CE模块的地址, 需要说明的是,每个虚拟 CE模块都有 一个地址, 该虚拟 CE模块的地址通常为独立的地址, 虚拟 CE模块的地址可以是 MAC地址或 IP地址, 但如果从节省地址的角度考虑, 虚拟 CE模块也可以采用所 属 PE节点的地址,并且虚拟 CE模块的地址在 MAC地址路由信息中被称为下一跳 地址。
303、 接收同一个虚拟专用网内其它虚拟用户边缘模块通过扩展路由协议各 自发布的第二媒体访问控制地址路由信息。
由于 VPN内的虚拟 CE模块之间需要通过路由协议来扩散 MAC地址路由信 息, 每个虚拟 CE模块还要接收同一个 VPN内其它虚拟 CE模块各自通过扩展路由 协议发布的第二 MAC地址路由信息, 其中该第二 MAC地址路由信息携带与其它 虚拟 CE模块相连接的用户边缘节点所属站点内部的第二 MAC地址信息。
在本实施例中, 标识第一和第二只是为了区别不同内容的 MAC地址路由信 息, 并不具有限定作用, 同样本实施例中标识第一 MAC地址信息和第二 MAC地 址信息也是为了区别不同内容的 MAC地址信息, 并不具有限定作用。
需要说明的是, 本步骤和本实施例其他步骤之间的次序关系不做限定, 例 如, 本步骤可以在步骤 301之前实施, 也可以在步骤 302之前实施。
还需要说明的是, 在虚拟专用网内的每个虚拟 CE模块都要执行如上所述的 步骤。
在本实施例中,虚拟 CE模块通过接收与其互连的用户边缘节点发送的报文, 从而获得该用户边缘节点所属站点内部的第一 MAC地址信息, 虚拟 CE模块再通 过扩展路由协议向同一个 VPN内的其他虚拟 CE模块发布携带第一 MAC地址信 息的第一 MAC地址路由信息, 从而让其它虚拟 CE模块获得第一 MAC地址信息, 虚拟 CE模块还可以通过扩展路由协议来接收同一个 VPN内其他虚拟 CE模块各 自发布的第二 MAC地址路由信息, 从而获得与其他虚拟 CE模块相连接的用户边 缘节点所属站点内部的第二 MAC地址信息, 因此同一 VPN内的所有虚拟 CE模块 都能够通过路由协议来互相交换 MAC地址路由信息。
下面将参照图 2所示的 VPN模型,具体阐述 VPN中的所有虚拟 CE模块之间通 过路由协议来交换路由信息的过程, 其中, 图 4表示第二虚拟 CE模块 42接收和发 布路由信息的示意图, 图 5表示第一虚拟 CE模块 41和第三虚拟 CE模块 43接收和 发布路由信息的示意图, 请参阅图 6, 本发明实施例中交换路由信息的方法的另 一个实施例包括:
601、 接收与其互连的用户边缘节点发送的的报文, 得到该用户边缘节点所 属站点内部的媒体访问控制地址信息;
位于站点的每个用户边缘节点都对应有一个位于 DC互联网络的缺省的虚拟
CE模块地址, 例如第一用户边缘节点 61对应第一虚拟 CE模块 41地址, 第二用户 边缘节点 62对应第二虚拟 CE模块 42地址。 虚拟 CE模块可以有两种方式来得到与 其互连的用户边缘节点所属站点内部的第一 MAC地址信息, 具体为:
1)、如图 2所示的 VPN模型,位于第二 PE节点 52的第二虚拟 CE模块 42可以接 收第二用户边缘节点 62携带有 MAC地址信息的路由协议报文, 例如, 第二虚拟
CE模块 42可以接收第二用户边缘节点 62发送的 IS-IS路由协议报文或 BGP路由协 议报文, 其中 IS-IS路由协议报文或 BGP路由协议报文携带有第二用户边缘节点 62所属第二站点 32内部的 MAC地址信息, 从而第二虚拟 CE模块 42获得第二用户 边缘节点 62所属第二站点 32内部的 MAC地址信息, 同样的, 位于第一 PE节点 51 的第一虚拟 CE模块 41和第三虚拟 CE模块 43也可以分别接收第一用户边缘节点 61和第三用户边缘节点 63发送的路由协议报文, 从而获得第一用户边缘节点 61 所属的第一站点 31内部的 MAC地址信息和第三用户边缘节点 63所属的第三站点
33内部的 MAC地址信息。
2 )、 虚拟 CE模块也可以接收与其互连的用户边缘节点发送的报文, 通过 MAC地址学习得到相连接的用户边缘节点所属站点内部的 MAC地址信息。
602、 解封装单播报文;
当与虚拟 CE模块互连的用户边缘节点向虚拟 CE模块发送的是路由协议报 文时, 为了避免接入节点 AN对路由协议组播报文的过滤, 用户边缘节点发送的 路由协议报文可以是将路由协议组播报文承载于目的地址为与该用户边缘节点 互连的虚拟 CE模块地址的单播 IP报文, 例如, 第二用户边缘节点 62发送的路由 协议报文可以是将路由协议组播报文承载于目的地址为第二虚拟 CE模块 42地址 的单播 IP报文, 其中路由协议组播报文携带 MAC地址路由信息, 虚拟 CE模块在 接收到该单播 IP报文后, 要解封装该单播 IP报文, 从而获得路由协议组播报文, 进而得到其携带的 MAC地址路由信息。
用户边缘节点向与其互连的虚拟 CE模块发送的路由协议报文也可以是将路 由协议组播报文承载于目的地址为与该用户边缘节点互连的虚拟 CE模块地址的 单播 ETH报文, 其中路由协议组播报文携带 MAC地址路由信息, 虚拟 CE模块在 接收到该单播 ETH报文后,也要解封装该单播 ETH报文,从而获得路由协议组播 报文, 进而得到其携带的 MAC地址路由信息。
需要说明的是, 用户边缘节点发送的路由协议报文还可以是目的地址为与
其互连的虚拟 CE模块地址的单播路由协议报文(例如单播 IP报文或者单播 MAC 帧), 其中单播路由协议报文携带 MAC地址路由信息, 从而虚拟 CE模块直接解 封装单播路由协议报文, 即可获得其携带的 MAC地址路由信息。
603、 通过扩展路由协议向同一个虚拟专用网的其他虚拟用户边缘模块发布 媒体访问控制地址路由信息;
第二虚拟 CE模块 42通过扩展路由协议(如扩展 BGP或 IS-IS )向第一虚拟 CE 模块 41和第三虚拟 CE模块 43发布 MAC地址路由信息, 以扩展边界网关协议 ( BGP, Border Gateway Protocol)为例, 第二虚拟 CE模块 42需要扩展 BGP携带 "MAC® , VPN ID, NH:第二虚拟 CE模块地址 42"信息, 其中, MAC @为 MAC 地址信息, 如在本例中即为从第二用户边缘节点 62获得的 MAC地址信息; VPN 标识( VPN ID )可以利用 BGP的 extended community属性来标识, 例如利用路由 目标(RT, Route Target )来标识不用的 VPN, 为了解决不用 VPN的 MAC地址路 由可以重复的问题,也可以利用虚拟局域网( VLAN, Virtual Local Area Network) 或 MPLS标签来标识不用的 VPN; 站点连接的虚拟 CE模块的地址在 MAC地址路 由中被作为下一跳地址( NH , Next Hop ) ,例如, 当第二虚拟 CE模块 42通过 BGP 向第一虚拟 CE模块 41和第三虚拟 CE模块 43发布 MAC地址路由信息时, NH就是 第二虚拟 CE模块 42的地址。
同样的, 第一虚拟 CE模块 41也可以通过扩展路由协议向第二虚拟 CE模块 42 和第三虚拟 CE模块 43发布 MAC路由信息,第三虚拟 CE模块 43也可以通过扩展路 由协议向第一虚拟 CE模块 41和第二虚拟 CE模块 42发布 MAC路由信息,具体的扩 展路由协议的过程如上所述。 由于第一虚拟 CE模块 41和第二虚拟 CE模块 42在同 一个 PE节点中,第一虚拟 CE模块 41可以不用通过扩展路由协议向第二虚拟 CE模 块 42发布 MAC路由信息, 只需要在同一个设备内彼此交换 MAC地址。
604、 接收同一虚拟专用网内其它虚拟用户边缘模块通过扩展路由协议各自 发布的媒体访问控制地址路由信息。
第一虚拟 CE模块 41接收第二虚拟 CE模块 42和第三虚拟 CE模块 43各自通过 扩展路由协议发布的 MAC地址路由信息, 同样第二虚拟 CE模块 42接收第一虚拟 CE模块 41和第三虚拟 CE模块 43各自通过扩展路由协议发布的 MAC地址路由信 息,第三虚拟 CE模块 43也接收第一虚拟 CE模块 41和第二虚拟 CE模块 42各自通过
扩展路由协议发布的 MAC地址路由信息, 所有虚拟 CE模块通过扩展路由协议发 布 MAC地址路由信息的过程都如步骤 603所述, 需要说明的是, 由于第一虚拟 CE模块 41和第二虚拟 CE模块 42在同一个 PE节点中, 第一虚拟 CE模块 41可以不 用通过扩展路由协议向第二虚拟 CE模块 42发布 MAC地址路由信息, 只需要在同 一个设备内彼此交换各自的 MAC地址。
在本实施例中, 在用户边缘节点发送的路由协议报文可以是将路由协议组 播报文承载于目的地址为与该用户边缘节点互连的虚拟 CE模块地址的单播 IP报 文或者单播 ETH报文时, 虚拟 CE模块可以解封装该单播报文, 从而获得 MAC地 址路由信息, 或者用户边缘节点发送的路由协议报文还可以是目的地址为虚拟 CE模块地址的携带 MAC地址路由信息的单播路由协议报文(例如单播 IP报文或 者单播 MAC帧), 因此能够避免接入节点 AN对路由协议组播报文的过滤。
上述两个实施例是从虚拟 CE模块的角度来阐述交换路由信息的方法, 下面 的实施例将从用户边缘节点的角度来阐述交换路由信息的方法, 请参阅图 7, 本 发明实施例中交换路由信息的方法的另一个实施例包括:
701、 获得所属站点内部的媒体访问控制地址信息;
用户边缘节点可以通过 MAC地址学习获得所属站点内部的 MAC地址信息。
1 )MAC地址信息可以是用户边缘节点所属站点内部任一节点设备或虚拟机 的 MAC地址。
2 )但是考虑到 DC或企业网内部的节点设备或虚拟机会很多 ,每个节点设备 或虚拟机都有一个 MAC地址, 从而导致 MAC地址总量会艮大, 所以本发明提出 DC或企业网内部的节点设备或虚拟机可以采用虚拟 MAC地址, 将 MAC地址信 息设置成由用户边缘节点所属站点内部所有节点的虚拟 MAC地址汇聚而成的虚 拟 MAC地址域(或称为虚拟 MAC地址前缀), 虚拟 MAC地址域只是个地址段, 它是虚拟 MAC地址的一部分, 因此将大大减少虚拟 CE模块的 MAC转发表。 汇聚 虚拟 MAC地址域的具体过程为:
DC或企业网内部的节点设备可以按照服务对象的地域或者运营商所提供的 服务归类分成至少一个虚拟 MAC网络管理域, 同一个虚拟网络管理域内的节点 设备或虚拟机的虚拟 MAC地址前缀相同, 也可以说同一个虚拟网络管理域内的 节点设备或虚拟机的虚拟 MAC地址的掩码相同, 掩码通过长度表示, 可以是正
掩码, 即通过高位为 1的 bit数表示, 例如掩码是 4, 表示 F000-0000-0000, 也可以 ^^掩码, 即通过氐位为 0的 bit数表示, 列 ^口掩码是 4, 表示 FFFF-FFFF-FFF0, 本文中采用反掩码,并且同一个 DC或企业网内部的节点设备的虚拟 MAC地址的 前缀相同。
虚拟 MAC地址域设置为含掩码的地址段, 例如使用 00E0-2000-XXXX/16的 形式标识虚拟 MAC地址域, 其中 "X" 为 0~F的十六进制字符, "16" 就是掩码 的位数, 这个虚拟 MAC地址域包含了 00E0-2000-0000~00E0-2000-FFFF的虚拟 MAC地址空间。
假设 DC有三个节点设备或虚拟机,并且 DC内部的节点设备或虚拟机就归类 分成一个虚拟 MAC网络管理域, 这三个节点设备的虚拟 MAC地址的前缀都是 00E0- 1010 , 这三个节点设备的虚拟 MAC地址分别是 00E0- 1010-0001/0 , 00E0- 1010-0002/0, 00E0- 1010-0003/0, DC所在的站点的用户边缘节点通过 MAC 地址学习得到这三个节点设备或虚拟机的虚拟 MAC地址, 用户边缘节点通过查 找这三个虚拟 MAC地址共同最长的前缀, 获知这三个节点设备或虚拟机的掩码 为 16, 因此用户边缘节点将这三个节点设备或虚拟机的虚拟 MAC地址汇聚成 00E0- 1010-0000/16的虚拟 MAC地址域。
再假设 DC有三个节点设备或虚拟机,并且 DC内部的节点设备或虚拟机就设 置成一个虚拟 MAC网络管理域, 这三个节点设备的虚拟 MAC地址的前缀都是 00E0-2000-1 , 这三个节点设备或虚拟机的虚拟 MAC地址分别是 00E0-2000-1001/0, 00E0-2000- 1002/0, 00E0-2000- 1003/0, DC所在的站点的用 户边缘节点通过 MAC地址学习得到这三个节点设备或虚拟机的虚拟 MAC地址, 用户边缘节点通过查找这三个虚拟 MAC地址共同最长的前缀, 获知这三个节点 设备或虚拟机的掩码为 8, 因此用户边缘节点将这三个节点设备或虚拟机的虚拟 MAC地址汇聚成 00E0-2000- 1000/8的虚拟 MAC地址域。
并且用户边缘节点在每个虚拟 MAC地址域内还会预留一定的虚拟 MAC地 址空间作为广播虚拟 MAC地址域, 例如虚拟 MAC地址的低位用全 "1" 表示对 应域的广播虚拟 MAC地址, 例如 00E0-2000- 1FFF/12表示在 00E0-2000-1XXX/12 域内的节点广播地址, 00E0-2000-1XXX/12代表了 00E0-2000-1FFF/12的广播域。
702、 向与其互连的虚拟用户边缘模块发送携带所属站点内部的媒体访问控
制地址信息的报文。
用户边缘节点在预处理时, 会先设置或取得与其连接的缺省虚拟 CE模块地 址。
用户边缘节点可以向与其互连的虚拟用户边缘模块发送携带所属站点内部 的 MAC地址信息的报文, 具体有两种方式:
1 )、 用户边缘节点利用路由协议报文来携带 MAC地址信息, 向与其互连的 虚拟用户边缘模块发送该路由协议报文, 为了避免接入节点 AN对路由协议组播 报文的过滤, 用户边缘节点可以向与其互连的虚拟 CE模块发送目的地址为该虚 拟 CE模块地址的单播路由协议报文(例如单播 IP报文或单播 MAC帧), 其中单 播路由协议报文携带 MAC地址路由信息, 或者用户边缘节点也可以将路由协议 组播报文承载于目的地址为该虚拟 CE模块地址的单播 IP报文或单播 ETH报文, 在路由协议组播报文中携带 MAC地址路由信息。 MAC地址信息如步骤 701所述 可以有两种类型, 分别是 MAC地址或虚拟 MAC地址域;
2 )、 用户边缘节点还可以利用报文来携带 MAC地址信息, 虚拟 CE模块接收 到该报文后, 可以通过 MAC地址学习获得该报文携带的 MAC地址信息。
本实施例中, 为了避免接入节点 AN对路由协议组播报文的过滤, 用户边缘 协议报文, 或者将路由协议组播报文承载于目的地址为与其互连的虚拟 CE模块 地址的单播 IP报文或单播 ETH报文,并且用户边缘节点可以将获得的所属站点内 部的所有节点设备的虚拟 MAC地址, 汇聚为虚拟 MAC地址域, 使得用户边缘节 点只需将虚拟 MAC地址域发送给与其连接的虚拟 CE模块,而该虚拟 CE模块也只 需要向其他虚拟 CE模块发布携带虚拟 MAC地址的 MAC地址路由信息,降低了路 由交互信息量, 减少了路由形成的时间, 减少了虚拟 CE模块存储和维护的 MAC 路由转发表的容量。
为了便于理解, 下面对虚拟 CE模块和用户边缘节点的交互过程进行详细描 述, 请参阅图 8, 本发明实施例中的交换路由信息的方法的另一实施例包括: 在本实施例中, 仍参照如图 2所示的 VPN模型, 从第二用户边缘节点 62, 和第二 虚拟 CE模块 42的角度来进行描述。
801、 用户边缘节点设置或取得缺省的虚拟用户边缘模块地址;
由于一个用户边缘节点要对应有一个缺省的虚拟 CE模块地址, 所以第二用 户边缘节点 62要先进行如下的预处理: 设置或取得与其互连的缺省的第二虚拟 CE模块 42地址。
802、 用户边缘节点通过媒体访问控制地址学习获得所属站点内部的媒体访 问控制地址信息;
第二用户边缘节点 62通过 MAC地址学习获得所属第二站点 32内部的 MAC 地址信息。 MAC地址信息如图 7所示的实施例中的步骤 701所述可以有两种类型, 分别是 MAC地址或虚拟 MAC地址域。
803、 用户边缘节点发送包含第三媒体访问控制地址路由信息的报文给与其 互连的虚拟用户边缘模块;
第二用户边缘节点 62将第二站点 32内部的 MAC地址信息和第二用户边缘节 点 62地址组成第三 MAC地址路由信息, 将包含第三 MAC地址路由信息的路由协 议报文封装到目的地址为第二虚拟 CE模块 42的单播 IP报文或单播 MAC帧中, 向 该第二虚拟 CE模块 42发送单播 IP报文或单播 MAC帧。
需要说明的是, 第二用户边缘节点 62也可以将路由协议组播报文承载于目 的地址为与其互连的虚拟 CE模块地址的单播 IP报文或单播 ETH报文, 其中路由 协议组播报文携带第三 MAC地址路由信息向该第二虚拟 CE模块 42发送该单播 IP报文或单播 ETH报文。
804、 虚拟用户边缘模块通过扩展路由协议向同一虚拟专用网内的其他虚拟 用户边缘模块发送包含第四媒体访问控制地址路由信息的路由协议报文;
第二虚拟 CE模块 42根据接收到的携带第三 MAC地址路由信息的报文得到 第二站点 32内部的 MAC地址信息, 将第二站点 32内部的 MAC地址信息和第二虚 拟 CE模块 42地址组成第四 MAC地址路由信息, 通过扩展路由协议将包含第四 MAC地址路由信息的路由协议报文发送给同一 VPN内的其他虚拟 CE模块, 也就 是第一虚拟 CE模块 41和第三虚拟 CE模块 43。 具体扩展路由协议的过程请参见如 图 6所示的实施例的步骤 603。
805、 同一虚拟专用网内其他虚拟用户边缘模块获得媒体访问控制地址路由 信息。
第一虚拟 CE模块 41和第三虚拟 CE模块 43接收到第二虚拟 CE模块 42通过扩
展路由协议发送的包含第四 MAC地址路由信息的路由协议报文后, 就可以得到 第四 MAC地址路由信息。
在本实施例中, 标识第三和第四只是为了区别不同内容的 MAC地址路由信 息, 并不具有限定作用。
本实施例中, 用户边缘节点和虚拟 CE模块能够通过路由协议发布 MAC地址 路由信息, 使得 MAC地址路由信息在 VPN中的所有虚拟 CE模块间能够扩散。 本文接下来将对如图 2所示的 VPN模型中的第一站点 31和第二站点 32之间 的数据通信进行描述, 图 9-A所示的是第一站点 31与第二站点 32的通信示意图, 具体描述如下: 第一站点 31和第一虚拟 CE模块 41的互联网络、 以及第二站点 32 和第二虚拟 CE模块 42的互联网络都是 ETH网络, DC互联网络是 MPLS网络。 第 一服务器 11可以通过向第一虚拟 CE模块 41发送 ETH报文向第一虚拟 CE模块 41 提供第一站点 31的 MAC地址信息, 第二服务器 12也可以通过向第二虚拟 CE模块 42发送 ETH报文向第一虚拟 CE模块 41提供第二站点 32的 MAC地址信息, 第一虚 拟 CE模块 41和第二虚拟 CE模块 42可以通过将携带 MAC地址路由信息的路由协 议报文承载于 MPLS报文来实现路由信息交换。 图 9-B是与图 9- A对应的采用网络 分层结构模型的方式来描述的第一站点 31与第二站点 32的通信示意图。
当 MAC地址信息是与第一用户边缘节点 61所述的站点内部任一节点设备的 MAC地址时, 第二虚拟 CE模块 42的转发表可以如表 1所示,
表 1 第二虚拟 CE模块 42的转发表
当 MAC地址信息是虚拟 MAC地址域时,第二虚拟 CE模块 42的转发表可以如 表 2所示,
表 2 第二虚拟 CE模块 42的转发表
目的虚拟 MAC地
VPN ID 出端口
址
00E0-1010-0000/16 100 1 图 10-A所示的也是第一站点 31和第二站点 32间的通信示意图, 具体描述如 下: 第一站点 31和第一虚拟 CE模块 41的互联网络、 以及第二站点 32和第二虚拟 CE模块 42的互联网络都是 ETH网络, DC互联网络是 IP网络。 第一服务器 11可以 通过向第一虚拟 CE模块 41发送 ETH报文向第一虚拟 CE模块 41提供第一站点 31 的 MAC地址信息, 第二服务器 12也可以通过向第二虚拟 CE模块 42发送 ETH报文 向第一虚拟 CE模块 41提供第二站点 32的 MAC地址信息,第一虚拟 CE模块 41和第 二虚拟 CE模块 42可以通过将携带 MAC地址路由信息的路由协议报文承载于 IP 报文来实现路由信息交换。 图 10-B是与图 10- A对应的采用网络分层结构模型的 方式来描述的第一站点 31与第二站点 32的通信示意图。
当 MAC地址信息是与第一用户边缘节点 61所述的站点内部任一节点设备的
MAC地址时, 第二虚拟 CE模块 42的转发表可以如表 3所示,
表 3 第二虚拟 CE模块 42的转发表
当 MAC地址信息是虚拟 MAC地址域时,第二虚拟 CE模块 42的转发表可以如 表 4所示,
表 4 第二虚拟 CE模块 42的转发表
目的虚拟 MAC地 下一跳 IP地
出端口
址 址
第一虚拟
00E0-1010-0000/16 CE模块 41 1
地址
第一虚拟 CE模块 41的转发表与第二虚拟 CE模块 42的转发表类似 , 此处不再 赘述。 请参阅图 11 , 本发明实施例还提供虚拟 CE模块的一个实施例, 包括: 报文处理单元 1101 , 虚拟用户边缘 CE模块接收与其互连的用户边缘节点发 送的报文, 该报文携带用户边缘节点所属站点内部的第一媒体访问控制 MAC地 址信息, 该报文可以是路由协议报文或者是虚拟 CE模块用于进行 MAC地址学习 的报文;
媒体访问控制路由协议处理单元 1102, 通过扩展路由协议向与虚拟 CE模块 处于同一个虚拟专用网的其他虚拟 CE模块发布携带第一 MAC地址信息的第一 MAC地址路由信息; 接收其它虚拟 CE模块各自通过扩展路由协议发布的第二 MAC地址路由信息,并且第二 MAC地址路由信息携带与其他虚拟 CE模块相连接 的用户边缘节点所属站点内部的第二 MAC地址信息。
虚拟 CE模块获得的 MAC地址信息是用户边缘节点所属站点内部任一节点 设备的媒体访问控制 MAC地址, 或者是由用户边缘节点所属站点内部所有节点 设备的虚拟 MAC地址汇聚的虚拟 MAC地址域。
虚拟 CE模块还可以包括媒体访问控制路由表处理模块 1103, 该媒体访问控 制路由表处理模块 1103用于存储和维护 MAC路由转发表, 根据 MAC路由转发表 实现 MAC路由转发功能。
为了避免接入节点 AN滤除路由协议组播报文,虚拟 CE模块还包括单播报文 解封装处理单元 1104, 用于当用户边缘节点发送的路由协议报文是用户边缘节 点将路由协议组播报文承载于目的地址为虚拟 CE模块地址的单播 IP报文或 ETH 报文时, 其中路由协议组播报文携带 MAC地址路由信息, 在接收与其互连的用 户边缘节点发送的路由协议报文的步骤之后, 解封装该单播 IP报文或 ETH报文; 为了避免接入节点 AN滤除路由协议组播报文, 单播报文解封装处理单元 1104还用于当用户边缘节点发送的路由协议报文是目的地址为虚拟 CE模块地址
的路由协议单播报文时, 其中路由协议单播报文携带 MAC地址路由信息, 在接 收与其互连的用户边缘节点发送的路由协议报文的步骤之后, 解封装该单播报 文。 该路由协议单播报文可以是单播 IP报文或者单播 MAC帧。 请参阅图 12 , 本发明实施例还提供包括虚拟 CE模块的 PE节点的一个实施 例, 包括:
至少一个如图 11所示的实施例中的虚拟用户边缘模块 1201 ,
PE节点还可以包括运营商边缘节点处理单元 1202, 该运营商边缘节点处理 需要说明的是, 本实施例中的虚拟用户边缘模块 1201可以与前述图 11所示 的虚拟用户边缘模块相同, 运营商边缘节点处理单元 1202和虚拟用户边缘模块 中的媒体访问控制路由表处理模块 1103互通。 请参阅图 13, 本发明实施例还提供用户边缘节点的一个实施例, 包括: 获取媒体访问控制地址信息单元 1301 , 用于用户边缘节点获得所属站点内 部的 MAC地址信息;
报文发送单元 1302, 用于向与其互连的虚拟 CE模块发送报文, 该报文携带 用户边缘节点获得的所属站点内部的 MAC地址信息, 该报文可以是路由协议报 文或者是用于让与其互连的虚拟 CE模块进行 MAC地址学习的报文。
13021用于向与其互连的虚拟 CE模块发送路由协议报文或者用于该虚拟 CE模块 进行 MAC地址学习的报文。
为了避免接入节点 AN滤除路由协议组播报文, 报文发送单元 1302包括如下 子单元的至少一个:
单播报文处理子单元 13022, 用于将用户边缘节点获得的所属站点内部的 MAC地址信息和用户边缘节点的地址组成路由信息, 将包含路由信息的路由协 议单播报文向虚拟 CE模块发送, 其中路由协议单播报文可以是单播 IP报文或者 单播 MAC帧;
或者,
单播报文封装处理子单元 13023, 用于将路由协议组播报文承载于目的地址 为虚拟 CE模块地址的单播 IP报文或 ETH报文, 向虚拟 CE模块发送该单播 IP报文
或者该 ETH报文。
当用户边缘节点所属站点内部的 MAC地址信息为 MAC地址时, 获取 MAC地 址信息单元 1301用于通过 MAC地址学习获得所属站点内部任一节点的 MAC地 址, 然后报文发送单元 1302通过路由协议向虚拟 CE节点发送携带任一节点的 MAC地址的路由信息, 一个 MAC地址对应一条路由信息。
当用户边缘节点所属站点内部的 MAC地址信息 MAC地址信息是虚拟 MAC 地址域时, 获取 MAC地址信息单元 1301用于通过 MAC地址学习获得所属站点内 部所有节点的虚拟 MAC地址; 将所有节点的虚拟 MAC地址进行汇聚, 得到虚拟 MAC地址域。
进一步的, 获取 MAC地址信息单元 1301用于将所有节点的虚拟 MAC地址按 照虚拟 MAC地址的前缀进行汇聚, 得到虚拟 MAC地址域。
请参阅图 14, 本发明实施例还提供交换路由信息的系统的一个实施例, 包 括:
至少两个虚拟用户边缘模块 1401 , 每个虚拟用户边缘模块 1401用于接收与 其互连的用户边缘节点发送的报文, 并且该报文携带与其互连的用户边缘节点 所属站点内部的第一媒体访问控制 MAC地址信息, 通过扩展路由协议向处于同 一个虚拟专用网内其他虚拟 CE模块发布携带第一 MAC地址信息的第一 MAC地 址路由信息, 接收同一虚拟专用网内其它虚拟 CE模块各自通过扩展路由协议发 布的第二 MAC地址路由信息, 第二 MAC地址路由信息携带与同一虚拟专用网内 其他虚拟 CE模块相连接的用户边缘节点所属站点内部的第二 MAC地址信息; 至少两个用户边缘节点 1402, 每个用户边缘节点 1402用于获得所属站点内 部的 MAC地址信息, 向与其互连的虚拟 CE模块发送报文, 并且该报文携带前述 用户边缘节点获得的所属站点内部的 MAC地址信息。
为了避免接入节点 AN滤除路由协议组播报文, 本实施例中交换路由信息的 系统还具有如下特征:
虚拟用户边缘模块 1401还用于当与其互连的用户边缘节点发送的报文是该 用户边缘节点将路由协议组播报文承载于目的地址为与其互连的虚拟 CE模块地 址的单播 IP报文或 ETH报文时,在虚拟用户边缘模块接收与其互连的用户边缘节 点发送的报文的步骤之后, 还包括: 解封装单播 IP报文或 ETH报文;
用户边缘节点 1402还用于将路由协议组播报文承载于目的地址为与其互连 的虚拟 CE模块地址的单播 IP报文或 ETH报文, 通过路由协议向该虚拟 CE模块发 送单播 IP报文或者 ETH报文。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤 是可以通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可读存 储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。 以上对本发:明实施例所提供的交换路由信息的 法、、设备^系统进行了详 实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领 域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均会有 改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。
Claims
1、 一种交换路由信息的方法, 其特征在于, 包括:
虚拟用户边缘 CE模块接收与其互连的用户边缘节点发送的报文, 所述报文 携带所述用户边缘节点所属站点内部的第一媒体访问控制 MAC地址信息;
通过扩展路由协议向与所述虚拟 CE模块处于同一个虚拟专用网的其他虚拟 CE模块发布携带所述第一 MAC地址信息的第一 MAC地址路由信息;
接收所述其它虚拟 CE模块各自通过扩展路由协议发布的第二 MAC地址路 由信息, 所述第二 MAC地址路由信息携带与所述其他虚拟 CE模块相连接的用户 边缘节点所属站点内部的第二 MAC地址信息。
2、 根据权利要求 1所述的方法, 其特征在于,
虚拟 CE模块接收的与其互连的用户边缘节点发送的报文是用于进行 MAC 地址学习的报文或者路由协议报文。
3、 根据权利要求 2所述的方法, 其特征在于,
当所述用户边缘节点发送的路由协议报文是所述用户边缘节点将路由协议 组播报文承载于目的地址为所述虚拟 CE模块地址的单播 IP报文或 ETH报文时, 在虚拟 CE模块接收与其互连的用户边缘节点发送的报文的步骤之后, 还包括: 解封装所述单播 IP报文或所述 ETH报文。
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于,
所述 MAC地址信息是用户边缘节点所属站点内部任一节点设备的媒体访问 控制 MAC地址, 或者是由用户边缘节点所属站点内部所有节点设备的虚拟 MAC 地址汇聚的虚拟 MAC地址域。
5、 一种用户边缘节点, 其特征在于, 包括:
获取媒体访问控制地址信息单元,用于获得所属站点内部的 MAC地址信息; 报文发送单元, 用于向与其互连的虚拟 CE模块发送报文, 所述报文携带所 述 MAC地址信息。
6、 根据权利要求 5所述的用户边缘节点, 其特征在于, 报文发送单元包括 报文发送子单元, 模块进行 MAC地址学习的报文或者路由协议报文。
7、 根据权利要求 6所述的用户边缘节点, 其特征在于, 报文发送单元还包 括如下子单元的至少一个:
单播报文处理子单元, 用于将所述 MAC地址信息和所述用户边缘节点的地 址组成路由信息, 将包含路由信息的路由协议报文封装到目的地址为所述虚拟 CE模块的单播 IP报文或者单播 MAC帧中,通过路由协议向所述虚拟 CE模块发送 所述单播 IP报文或者所述单播 MAC帧;
或者,
单播报文封装处理子单元, 用于将路由协议组播报文承载于目的地址为所 述虚拟 CE模块地址的单播 IP报文或 ETH报文, 通过路由协议向所述虚拟 CE模块 发送所述单播 IP报文或者所述 ETH报文。
8、根据权利要求 5至 7中任一项所述的用户边缘节点,其特征在于,所述 MAC 地址信息是 MAC地址,
所述获取媒体访问控制地址信息单元用于通过 MAC地址学习获得所属站点 内部任一节点设备的 MAC地址。
9、根据权利要求 5至 7中任一项所述的用户边缘节点,其特征在于,所述 MAC 地址信息是虚拟 MAC地址域,
所述获取媒体访问控制地址信息单元用于通过 MAC地址学习获得所属站点 内部所有节点设备的虚拟 MAC地址, 将所有节点设备的虚拟 MAC地址进行汇 聚, 得到虚拟 MAC地址域。
10、 根据权利要求 9所述的用户边缘节点, 其特征在于, 所述获取 MAC地址 信息单元用于将所有节点设备的虚拟 MAC地址按照所述虚拟 MAC地址的前缀 进行汇聚, 得到虚拟 MAC地址域。
11、 一种交换路由信息的系统, 其特征在于, 包括:
至少两个虚拟用户边缘模块, 每个虚拟用户边缘模块用于接收与其互连的 用户边缘节点发送的报文, 所述报文携带所述用户边缘节点所属站点内部的第 一媒体访问控制 MAC地址信息, 通过扩展路由协议向与所述虚拟 CE模块处于同 一个虚拟专用网的其他虚拟 CE模块发布携带所述第一 MAC地址信息的第一 MAC地址路由信息, 接收所述其它虚拟 CE模块各自通过扩展路由协议发布的第 二 MAC地址路由信息,所述第二 MAC地址路由信息携带与所述其他虚拟 CE模块 相连接的用户边缘节点所属站点内部的第二 MAC地址信息;
至少两个用户边缘节点, 每个用户边缘节点用于获得所属站点内部的 MAC 地址信息, 向与其互连的虚拟 CE模块发送报文, 所述报文携带所述 MAC地址信 息。
12、 根据权利要求 11所述的系统, 其特征在于,
所述虚拟用户边缘模块还用于当与其互连的用户边缘节点发送的报文是与 其互连的用户边缘节点将路由协议组播报文承载于目的地址为所述虚拟 CE模块 地址的单播 IP报文或 ETH报文时, 在所述虚拟 CE模块接收与其互连的用户边缘 节点发送的报文的步骤之后, 还包括: 解封装所述单播 IP报文或所述 ETH报文; 所述用户边缘节点还用于将路由协议组播报文承载于目的地址为与其互连 的虚拟 CE模块地址的单播 IP报文或 ETH报文, 通过路由协议向与其互连的虚拟 CE模块发送所述单播 IP报文或者所述 ETH报文。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010563953.0 | 2010-11-29 | ||
CN201010563953.0A CN102137001B (zh) | 2010-11-29 | 2010-11-29 | 交换路由信息的方法、设备和系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011147342A1 true WO2011147342A1 (zh) | 2011-12-01 |
Family
ID=44296661
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/075231 WO2011147342A1 (zh) | 2010-11-29 | 2011-06-02 | 交换路由信息的方法、设备和系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102137001B (zh) |
WO (1) | WO2011147342A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104703211A (zh) * | 2013-12-04 | 2015-06-10 | 华为技术有限公司 | 一种虚拟化接入方法及设备 |
CN112671579A (zh) * | 2020-12-23 | 2021-04-16 | 安徽长泰信息安全服务有限公司 | 一种基于云管理的远程网关管理系统 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103430149B (zh) * | 2011-08-15 | 2016-03-30 | 华为技术有限公司 | 虚拟机迁移通知方法和系统 |
CN103716245B (zh) * | 2012-09-29 | 2017-02-08 | 上海贝尔股份有限公司 | 基于虚拟专用局域网服务的边缘路由器 |
EP2922246B1 (en) * | 2012-12-06 | 2019-04-03 | Huawei Technologies Co., Ltd. | Method and data center network for cross-service zone communication |
CN105337865B (zh) * | 2014-06-03 | 2018-09-21 | 华为技术有限公司 | 一种建立转发表项的方法、装置和系统 |
CN105227454B (zh) * | 2014-06-18 | 2019-02-26 | 中兴通讯股份有限公司 | 虚拟路由系统及方法 |
CN110224844B (zh) * | 2019-07-26 | 2021-01-15 | 宙安科技河北有限公司 | 虚拟专网的调度方法及系统 |
CN113364893B (zh) * | 2020-03-06 | 2022-09-16 | 华为技术有限公司 | 数据传输方法、装置及系统 |
CN113518104B (zh) * | 2021-03-11 | 2024-02-27 | 网宿科技股份有限公司 | 一种数据报文的处理方法、中转设备及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1475942A2 (en) * | 2003-04-11 | 2004-11-10 | Alcatel | Address Resolution in IP Internetworking Layer 2 point-to-point connections |
CN1606303A (zh) * | 2003-10-10 | 2005-04-13 | 华为技术有限公司 | 一种基于二层虚拟专用网的网络通信方法 |
CN101155130A (zh) * | 2006-09-30 | 2008-04-02 | 华为技术有限公司 | 学习mac地址的方法及传送vpls客户数据的系统及设备 |
CN101345715A (zh) * | 2008-08-28 | 2009-01-14 | 中兴通讯股份有限公司 | 基于vpls双归属网络的mac地址学习方法及系统 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100502343C (zh) * | 2003-05-22 | 2009-06-17 | 华为技术有限公司 | 多协议标签交换虚拟专用网相互通信的方法 |
CN101800691A (zh) * | 2009-02-10 | 2010-08-11 | 华为技术有限公司 | 一种建立网络中数据转发路径的方法、设备和系统 |
-
2010
- 2010-11-29 CN CN201010563953.0A patent/CN102137001B/zh not_active Expired - Fee Related
-
2011
- 2011-06-02 WO PCT/CN2011/075231 patent/WO2011147342A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1475942A2 (en) * | 2003-04-11 | 2004-11-10 | Alcatel | Address Resolution in IP Internetworking Layer 2 point-to-point connections |
CN1606303A (zh) * | 2003-10-10 | 2005-04-13 | 华为技术有限公司 | 一种基于二层虚拟专用网的网络通信方法 |
CN101155130A (zh) * | 2006-09-30 | 2008-04-02 | 华为技术有限公司 | 学习mac地址的方法及传送vpls客户数据的系统及设备 |
CN101345715A (zh) * | 2008-08-28 | 2009-01-14 | 中兴通讯股份有限公司 | 基于vpls双归属网络的mac地址学习方法及系统 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104703211A (zh) * | 2013-12-04 | 2015-06-10 | 华为技术有限公司 | 一种虚拟化接入方法及设备 |
CN104703211B (zh) * | 2013-12-04 | 2018-06-19 | 华为技术有限公司 | 一种虚拟化接入方法及设备 |
CN112671579A (zh) * | 2020-12-23 | 2021-04-16 | 安徽长泰信息安全服务有限公司 | 一种基于云管理的远程网关管理系统 |
Also Published As
Publication number | Publication date |
---|---|
CN102137001B (zh) | 2014-12-10 |
CN102137001A (zh) | 2011-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102025591B (zh) | 虚拟专用网络的实现方法及系统 | |
WO2011147342A1 (zh) | 交换路由信息的方法、设备和系统 | |
EP3151510B1 (en) | Mac (l2) level authentication, security and policy control | |
EP3151509B1 (en) | Enhanced evpn mac route advertisement having mac (l2) level authentication, security and policy control | |
AU2011315150B2 (en) | Multipath transmission control protocol proxy | |
US8121126B1 (en) | Layer two (L2) network access node having data plane MPLS | |
KR101340495B1 (ko) | 가상 전용 네트워크의 구현 방법 및 시스템 | |
CN103685022B (zh) | 报文转发方法及服务提供商网络边缘设备 | |
CN104168184B (zh) | 报文转发方法及设备 | |
EP1816796B1 (en) | Bi-directional forwarding in ethernet-based service domains over networks | |
US20070253432A1 (en) | Network device providing access to both layer 2 and layer 3 services on a single physical interface | |
CN101399742B (zh) | 数据业务网络系统及数据业务的处理方法 | |
CN102137173A (zh) | 路由信息发布方法、设备及虚拟专用网系统 | |
CN107040463A (zh) | 用于避免由于非对称mac获悉的流量泛洪的系统 | |
EP1589705B1 (en) | Method and system configured for facilitating residential broadband service | |
WO2015055016A1 (zh) | 网元设备配置和管理方法、装置及网元设备 | |
CN102238075A (zh) | 基于以太网点对点协议的IPv6路由建立方法及接入服务器 | |
WO2020098611A1 (zh) | 一种获取路由信息方法及装置 | |
WO2013139270A1 (zh) | 实现三层虚拟专用网络的方法、设备及系统 | |
CN102571375B (zh) | 组播转发方法、装置及网络设备 | |
EP3387801A1 (en) | Customer premises lan expansion | |
CN100473040C (zh) | 一种虚拟专用网络的实现方法 | |
CN101378340A (zh) | 一种获取互联网协议地址前缀的方法、运营商边缘设备和客户端设备 | |
EP3190752B1 (en) | Method, apparatus and medium for avoiding traffic flooding due to asymmetric mac learning and achieving predictable convergence for pbb-evpn active-active redundancy | |
US9025606B2 (en) | Method and network node for use in link level communication in a data communications network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11786114 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11786114 Country of ref document: EP Kind code of ref document: A1 |