[go: up one dir, main page]

CN107733801A - Receive and send the method and apparatus of message - Google Patents

Receive and send the method and apparatus of message Download PDF

Info

Publication number
CN107733801A
CN107733801A CN201610658763.4A CN201610658763A CN107733801A CN 107733801 A CN107733801 A CN 107733801A CN 201610658763 A CN201610658763 A CN 201610658763A CN 107733801 A CN107733801 A CN 107733801A
Authority
CN
China
Prior art keywords
interface
router
vnf
route
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610658763.4A
Other languages
Chinese (zh)
Other versions
CN107733801B (en
Inventor
郭锋
熊怡
张继东
宋玉金
宋宝华
王彦辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610658763.4A priority Critical patent/CN107733801B/en
Priority to PCT/CN2017/096603 priority patent/WO2018028592A1/en
Publication of CN107733801A publication Critical patent/CN107733801A/en
Application granted granted Critical
Publication of CN107733801B publication Critical patent/CN107733801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请涉及通信领域,尤其涉及一种网络中接收和发送报文的方法及设备。虚拟化网络功能VNF设备通过路由器与骨干网连接,所述VNF设备包含控制单元、第一虚拟机VM和第二VM。其中,第一VM的第一接口、第二VM的第二接口和路由器的第三接口具有相同网段的网际互联协议IP地址。所述VNF设备通过所述第一接口和所述第二接口分别与所述路由器接口建立路由协议邻居,接着所述VNF设备通过所述路由协议邻居向路由器发布路由。然后,由所述VNF设备通过所述第一VM和所述第二VM依次接收所述路由器发送的报文。通过上述方案,所述VNF设备可以通过多个VM接口依次接收路由器发送的报文,在增加VM接口时不需要在路由器上重新创建接口,有利于网络的管理和维护。

The present application relates to the communication field, and in particular to a method and device for receiving and sending messages in a network. The virtualized network function VNF device is connected to the backbone network through a router, and the VNF device includes a control unit, a first virtual machine VM and a second VM. Wherein, the first interface of the first VM, the second interface of the second VM and the third interface of the router have Internet Protocol IP addresses of the same network segment. The VNF device respectively establishes a routing protocol neighbor with the router interface through the first interface and the second interface, and then the VNF device advertises a route to the router through the routing protocol neighbor. Then, the VNF device sequentially receives the packets sent by the router through the first VM and the second VM. Through the above solution, the VNF device can sequentially receive messages sent by the router through multiple VM interfaces, and it is not necessary to recreate interfaces on the router when adding VM interfaces, which is beneficial to network management and maintenance.

Description

接收和发送报文的方法及设备Method and device for receiving and sending messages

技术领域technical field

本申请涉及通信领域,尤其涉及一种网络中接收和发送报文的方法及设备。The present application relates to the communication field, and in particular to a method and device for receiving and sending messages in a network.

背景技术Background technique

用户如果需要访问互联网,首先通过终端设备连接基站,再由基站将数据转发到路由器,然后路由器把用户数据转发到虚拟化网络功能(英文:Virtual ized NetworkFunction,简称:VNF)设备上,最终由VNF设备把数据转发至用户访问的网络设备。If a user needs to access the Internet, first connect to the base station through a terminal device, and then the base station forwards the data to the router, and then the router forwards the user data to the virtualized network function (English: Virtualized Network Function, referred to as: VNF) device, and finally the VNF The device forwards the data to the network device accessed by the user.

当用户访问互联网数据量很大时,为了提高数据传输效率,一般会在路由器和VNF设备之间配置开放式最短路径优先(英文:Open Shortest Path First,简称OSPF)邻居来发布负载分担路由,以实现在路由器和VNF设备之间报文转发的多路径负载分担。但是现有技术在实现路由器转发报文负载分担的过程中,每增加一个OSPF邻居都需要在路由器上创建一个接口,并且配置接口的网际互联协议(英文:Internet Protocol,简称:IP)地址,导致路由器配置工作量增加,不利于网络的管理和维护。When users access the Internet with a large amount of data, in order to improve data transmission efficiency, Open Shortest Path First (English: Open Shortest Path First, OSPF for short) neighbors are generally configured between the router and the VNF device to advertise load-sharing routes. Realize multi-path load balancing for packet forwarding between routers and VNF devices. However, in the prior art, in the process of realizing router forwarding message load sharing, every time an OSPF neighbor is added, an interface needs to be created on the router, and the Internet Protocol (English: Internet Protocol, referred to as: IP) address of the interface is configured, resulting in The router configuration workload increases, which is not conducive to network management and maintenance.

发明内容Contents of the invention

本申请实施例提供了一种网络中发送和接收报文的方法及设备,用于解决现有技术中在实现路由器和VNF设备之间报文转发的多路径负载分担时,导致的路由器配置量增加,进而造成网络管理和维护困难的技术问题。The embodiment of the present application provides a method and device for sending and receiving messages in the network, which is used to solve the router configuration amount caused by implementing multi-path load sharing for message forwarding between routers and VNF devices in the prior art increase, which in turn causes technical problems that make network management and maintenance difficult.

第一方面,本申请实施例提供了一种网络中接收报文的方法,所述网络包括VNF设备,所述VNF设备通过路由器与骨干网连接,所述VNF设备包含第一虚拟机(英文:VirtualMachine,简称:VM)、第二VM和控制单元,所述第一VM包含第一接口,所述第二VM包含第二接口,所述路由器包含第三接口,所述第一接口、所述第二接口和所述第三接口具有相同网段的IP地址,所述方法包括:In the first aspect, the embodiment of the present application provides a method for receiving messages in a network, the network includes a VNF device, the VNF device is connected to the backbone network through a router, and the VNF device includes a first virtual machine (English: Virtual Machine, referred to as: VM), a second VM and a control unit, the first VM includes a first interface, the second VM includes a second interface, the router includes a third interface, the first interface, the The second interface and the third interface have IP addresses of the same network segment, and the method includes:

所述控制单元通过所述第一接口以及所述第三接口与所述路由器建立第一路由协议邻居;The control unit establishes a first routing protocol neighbor with the router through the first interface and the third interface;

所述控制单元通过所述第二接口以及所述第三接口与所述路由器建立第二路由协议邻居;The control unit establishes a second routing protocol neighbor with the router through the second interface and the third interface;

所述控制单元通过所述第一路由协议邻居和所述第二路由协议邻居向所述路由器发布路由;The control unit advertises routes to the router through the first routing protocol neighbor and the second routing protocol neighbor;

所述第一VM通过所述第一接口接收所述路由器发送的第一业务报文;The first VM receives the first service packet sent by the router through the first interface;

所述第二VM通过所述第二接口接收所述路由器发送的第二业务报文,所述第一业务报文和所述第二业务报文为对应所述路由的业务报文。The second VM receives the second service packet sent by the router through the second interface, and the first service packet and the second service packet are service packets corresponding to the route.

上述方案中,设置第一VM的第一接口、第二VM的第二接口和路由器的第三接口具有相同网段的IP地址,VNF设备的控制单元可以通过第一VM的第一接口和第二VM的第二接口分别与路由器建立路由协议邻居。然后,控制单元通过路由协议邻居向路由器发送对应路由,路由器根据所述路由生成路由表项,路由器依据所述路由表项向所述第一接口和所述第二接口发送报文,这些业务报文由所述第一接口和所述第二接口轮流接收。在此过程中路由器可以通过同一个接口与所述VNF设备建立两个路由协议邻居,不仅可以实现所述VNF设备接收报文的负载分担,同时避免路由器配置新的接口,减少路由器配置的工作量,有利于网络的管理和维护。In the above solution, the first interface of the first VM, the second interface of the second VM, and the third interface of the router are set to have IP addresses of the same network segment, and the control unit of the VNF device can pass the first interface of the first VM and the third interface of the router. The second interfaces of the two VMs respectively establish routing protocol neighbors with the router. Then, the control unit sends the corresponding route to the router through the routing protocol neighbor, the router generates a routing table item according to the routing table item, and the router sends a message to the first interface and the second interface according to the routing table item, and the service report The text is received by the first interface and the second interface in turn. During this process, the router can establish two routing protocol neighbors with the VNF device through the same interface, which can not only realize the load sharing of the packets received by the VNF device, but also avoid configuring new interfaces on the router and reduce the workload of router configuration , which is conducive to the management and maintenance of the network.

在一种可能的实施方式中,所述VNF设备向所述路由器发布的路由包括:In a possible implementation manner, the route advertised by the VNF device to the router includes:

所述VNF设备向所述路由器发布对应所述VNF所属的数据中心的网络设备的路由。The VNF device advertises to the router a route corresponding to the network device of the data center to which the VNF belongs.

在一种可能的实施方式中,在所述VNF设备通过所述第一接口和所述第二接口接收所述路由器发送的业务报文之后,所述方法还包括:In a possible implementation manner, after the VNF device receives the service packet sent by the router through the first interface and the second interface, the method further includes:

所述VNF设备将所述第一业务报文和所述第二业务报文向所述数据中心的所述网络设备发送。The VNF device sends the first service packet and the second service packet to the network device in the data center.

在上述方案中,VNF设备向路由器发布所属的数据中心网络设备的路由之后,路由器根据上述路由生成路由表项,然后根据生成的路由表项将报文发送到对应网络设备,以实现用户对所述网络设备数据的访问。In the above solution, after the VNF device advertises the route of the data center network device it belongs to to the router, the router generates a routing table entry according to the above route, and then sends the packet to the corresponding network device according to the generated routing table entry, so that the user can control the data center network device. Access to the data of the network devices described above.

在一种可能的实施方式中,所述第一VM和所述第二VM通过二层交换机与所述路由器连接,所述VNF设备通过所述第一接口和所述第二接口接收所述路由器发送的业务报文包括:In a possible implementation manner, the first VM and the second VM are connected to the router through a Layer 2 switch, and the VNF device receives the router through the first interface and the second interface. The business messages sent include:

所述VNF设备通过所述第一接口和所述第二接口接收所述二层交换机转发的来自所述路由器的业务报文。The VNF device receives the service packet from the router forwarded by the Layer 2 switch through the first interface and the second interface.

上述方案中,VNF设备通过二层交换机与路由器建立连接,其中二层交换机可以实现路由器通过同一接口与VNF设备中多个虚拟机的接口建立连接,有助于实现所述路由器与所述VNF设备之间报文转发的多路径负载分担。In the above solution, the VNF device establishes a connection with the router through a layer 2 switch, wherein the layer 2 switch can realize the connection between the router and the interfaces of multiple virtual machines in the VNF device through the same interface, which helps to realize the connection between the router and the VNF device. Multi-path load balancing for packet forwarding.

在一种可能的实施方式中,所述路由协议为开放式最短路径优先OSPF协议或中间系统到中间系统(英文:Intermediate System-to-Intermediate System,简称:IS-IS)协议。In a possible implementation manner, the routing protocol is an Open Shortest Path First OSPF protocol or an Intermediate System-to-Intermediate System (English: Intermediate System-to-Intermediate System, IS-IS for short) protocol.

上述方案中,路由器用同一接口与所述VNF设备第一VM接口和第二VM接口建立连接,路由器与VNF之间通过OSPF协议或者IS-IS协议来实现路由器和VNF设备之间转发报文的多路径负载分担。In the above solution, the router uses the same interface to establish a connection with the first VM interface and the second VM interface of the VNF device, and the router and the VNF implement the packet forwarding between the router and the VNF device through the OSPF protocol or the IS-IS protocol. Multipath load sharing.

在一种可能的实施方式中,所述VNF设备还包含第三VM,所述第三VM包含第四接口,所述第四接口和所述第三接口具有相同网段的IP地址,所述方法包括:In a possible implementation manner, the VNF device further includes a third VM, and the third VM includes a fourth interface, and the fourth interface and the third interface have an IP address of the same network segment, and the Methods include:

所述控制单元通过所述第四接口以及所述路由器的所述第三接口与所述路由器建立第三路由协议邻居;The control unit establishes a third routing protocol neighbor with the router through the fourth interface and the third interface of the router;

所述第控制单元通过所述第三路由协议邻居向所述路由器发布路由;The first control unit advertises a route to the router through the third routing protocol neighbor;

所述VNF设备通过所述第四接口接收所述路由器发送的第三业务报文,所述第三业务报文为对应所述路由的业务报文。The VNF device receives the third service packet sent by the router through the fourth interface, where the third service packet is a service packet corresponding to the route.

上述方案中,在对所述VNF设备进行扩容,增加第三VM接口时,配置所述第三VM的接口与所述路由器的接口具有相同网段的IP地址,并通过第三VM与路由器建立路由协议邻居。这样可以把VNF设备接收报文的路径由两路负载分担扩展为三路负载分担,不仅可以实现所述路由器通过同一接口与所述VNF设备之间报文转发的多路径分载负担,而且不需要在所述路由器上创建新的接口,在提高报文转发效率的同时减少了对路由器的配置工作量,有利于网络的管理和维护。In the above solution, when expanding the capacity of the VNF device and adding a third VM interface, configure the interface of the third VM and the router to have an IP address of the same network segment, and establish an IP address with the router through the third VM. Routing protocol neighbors. In this way, the path for the VNF device to receive packets can be expanded from two-way load sharing to three-way load sharing, which can not only realize the multi-path load sharing burden of message forwarding between the router and the VNF device through the same interface, but also avoid A new interface needs to be created on the router, which reduces the configuration workload of the router while improving message forwarding efficiency, and is beneficial to network management and maintenance.

第二方面,提供了一种网络中发送报文的方法,所述网络包括路由器及VNF设备,所述VNF设备通过所述路由器与骨干网连接,所述VNF设备包含第一VM和第二机VM,所述第一VM包含第一接口,所述第二VM包含第二接口,所述路由器包含第三接口,所述第一接口、所述第二接口和所述第三接口具有相同网段的IP地址,所述方法包括:The second aspect provides a method for sending messages in a network, the network includes a router and a VNF device, the VNF device is connected to the backbone network through the router, and the VNF device includes a first VM and a second machine VM, the first VM includes a first interface, the second VM includes a second interface, the router includes a third interface, the first interface, the second interface, and the third interface have the same network segment IP address, the method comprising:

所述路由器通过所述第三接口以及所述第一VM的所述第一接口与所述VNF建立第一路由协议邻居;The router establishes a first routing protocol neighbor with the VNF through the third interface and the first interface of the first VM;

所述路由器通过所述第三接口以及所述第二VM的所述第二接口与所述VNF建立第二路由协议邻居;The router establishes a second routing protocol neighbor with the VNF through the third interface and the second interface of the second VM;

所述路由器通过所述第一路由协议邻居和所述第二路由邻居协议接收所述第一VM和所述第二VM发布的路由,并生成路由表项,所述路由表项中包含两条路由,所述两条路由的目的地址相同,出接口相同,下一跳不同;The router receives the routes advertised by the first VM and the second VM through the first routing protocol neighbor and the second routing neighbor protocol, and generates a routing table entry, and the routing table entry includes two Routing, the destination addresses of the two routes are the same, the outgoing interfaces are the same, and the next hops are different;

所述路由器通过根据所述路由表项向所述VNF发送业务报文。The router sends the service packet to the VNF according to the routing entry.

上述方案中,路由器通过同一接口与VNF设备建立两个路由协议邻居关系,并通过所述路由协议邻居分别接收VNF设备通过第一VM和第二VM发布的路由。然后路由器根据所述路由生成路由表项,其中路由器生成的路由表项包含两条目的地址相同但下一跳不同的路由,路由器可以通过其第三接口同时向所述第一接口和所述第二接口发送报文,以实现路由器与VNF设备之间转发报文负载分担,提高了网络的灵活性。In the above solution, the router establishes two routing protocol neighbor relationships with the VNF device through the same interface, and respectively receives the routes advertised by the VNF device through the first VM and the second VM through the routing protocol neighbors. Then the router generates a routing table item according to the route, wherein the routing table item generated by the router includes two routes with the same destination address but different next hops, and the router can simultaneously send the routing table to the first interface and the second routing table through its third interface. The two interfaces send packets to realize packet forwarding load sharing between the router and the VNF device, which improves the flexibility of the network.

在一种可能的实施方式中,所述路由器通过二层交换机与所述第一VM和所述第二VM连接,所述路由器根据所述路由表项向所述VNF发送业务报文包括:In a possible implementation manner, the router is connected to the first VM and the second VM through a Layer 2 switch, and sending a service packet to the VNF by the router according to the routing entry includes:

所述路由器通过所述二层交换机向所述VNF发送所述业务报文。The router sends the service packet to the VNF through the Layer 2 switch.

上述方案中,路由器通过二层交换机分别与两个VM接口建立连接,其中二层交换机可以实现路由器通过同一接口与VNF设备中多个VM的接口建立连接。In the above solution, the router establishes connections with two VM interfaces respectively through a Layer 2 switch, wherein the Layer 2 switch can enable the router to establish connections with multiple VM interfaces in the VNF device through the same interface.

第三方面,提供了一种网络中接收报文的VNF设备,所述VNF设备通过路由器与骨干网连接,所述VNF设备包含:第一虚拟机VM、第二虚拟机VM和控制单元,所述第一VM包含第一接口,所述第二VM包含第二接口,所述路由器包含第三接口,所述第一接口、所述第二接口和所述第三接口具有相同网段的IP地址。In a third aspect, a VNF device for receiving messages in a network is provided, the VNF device is connected to the backbone network through a router, and the VNF device includes: a first virtual machine VM, a second virtual machine VM and a control unit, so The first VM includes a first interface, the second VM includes a second interface, and the router includes a third interface, and the first interface, the second interface, and the third interface have IP addresses of the same network segment address.

所述控制单元,用于通过所述第一接口以及所述第三接口与所述路由器建立第一路由协议邻居,并且通过所述第二接口以及所述第三接口与所述路由器建立第二路由协议邻居;The control unit is configured to establish a first routing protocol neighbor with the router through the first interface and the third interface, and establish a second routing protocol neighbor with the router through the second interface and the third interface. routing protocol neighbor;

所述控制单元,还用于通过所述第一路由协议邻居和所述第二路由协议邻居向所述路由器发布路由;The control unit is further configured to advertise routes to the router through the first routing protocol neighbor and the second routing protocol neighbor;

所述第一VM,用于通过所述第一接口接收所述路由器发送的第一业务报文;The first VM is configured to receive the first service packet sent by the router through the first interface;

所述第二VM,用于通过所述第二接口接收所述路由器发送的第二业务报文,所述第一业务报文和所述第二业务报文为对应所述路由的业务报文。The second VM is configured to receive a second service packet sent by the router through the second interface, the first service packet and the second service packet are service packets corresponding to the route .

上述方案中,设置第一VM的第一接口、第二VM的第二接口和路由器的第三接口具有相同网段的IP地址的,VNF设备中的控制单元可以通过所述第一接口与路由器建立第一路由协议邻居,同时通过所述第二接口与路由器建立第二路由协议邻居。控制单元通过第一路由协议邻居和第二路由协议邻居分别向路由器发布路由,路由器依据所述路由生成路由表项,路由器依据路由表项用同一接口向VNF设备的第一VM和第二VM发送报文。所述VNF设备通过第一VM和第二VM依次接收报文,这样不仅可以实现所述VNF设备接收报文的负载分担,而且不需要在路由器上创建新的接口,有利于网络管理和维护。In the above solution, if the first interface of the first VM, the second interface of the second VM, and the third interface of the router have IP addresses of the same network segment, the control unit in the VNF device can communicate with the router through the first interface. A first routing protocol neighbor is established, and a second routing protocol neighbor is established with the router through the second interface. The control unit publishes routes to the router respectively through the first routing protocol neighbor and the second routing protocol neighbor, the router generates a routing table entry according to the routing table entry, and the router uses the same interface to send the routing table entry to the first VM and the second VM of the VNF device. message. The VNF device receives packets sequentially through the first VM and the second VM, so that not only can the load sharing of the packets received by the VNF device be realized, but also there is no need to create a new interface on the router, which is beneficial to network management and maintenance.

在一种可能的实施方式中,所述控制单元通过所述第一路由协议邻居和所述第二路由协议邻居向所述路由器发布路由包括:In a possible implementation manner, the advertising of the route by the control unit to the router through the first routing protocol neighbor and the second routing protocol neighbor includes:

所述控制单元通过所述第一路由协议邻居和所述第二路由协议邻居向所述路由器发布对应所述VNF所属的数据中心的网络设备的路由。The control unit publishes the route corresponding to the network device of the data center to which the VNF belongs to the router through the first routing protocol neighbor and the second routing protocol neighbor.

在一种可能的实施方式中,所述VNF设备还包括:In a possible implementation manner, the VNF device further includes:

发送单元,用于将所述第一业务报文和所述第一业务报文向所述网络设备发送。A sending unit, configured to send the first service packet and the first service packet to the network device.

第四方面,本申请提供了一种网络中发送报文的路由器,所述路由器与VNF设备连接,所述路由器包括处理单元、存储单元和收发单元,所述VNF设备包含第一虚拟机VM和第二VM,所述第一VM包含第一接口,所述第二VM包含第二接口,所述路由器包含第三接口,所述第一接口、所述第二接口和所述第三接口具有相同网段的网际互联协议IP地址,其中,In a fourth aspect, the present application provides a router for sending messages in a network, the router is connected to a VNF device, the router includes a processing unit, a storage unit, and a transceiver unit, and the VNF device includes a first virtual machine VM and a A second VM, the first VM includes a first interface, the second VM includes a second interface, the router includes a third interface, the first interface, the second interface, and the third interface have Internet Protocol IP addresses of the same network segment, where,

所述处理单元,用于通过所述第三接口以及所述第一VM的所述第一接口与所述VNF设备建立第一路由协议邻居;The processing unit is configured to establish a first routing protocol neighbor with the VNF device through the third interface and the first interface of the first VM;

所述处理单元,用于通过所述第三接口以及所述第二VM的所述第二接口与所述VNF设备建立第二路由协议邻居;The processing unit is configured to establish a second routing protocol neighbor with the VNF device through the third interface and the second interface of the second VM;

所述处理单元,还用于处理收发单元接收到的路由,并生成路由表项,所述路由表项中包含两条路由,所述两条路由的目标地址相同,出接口相同,下一跳不同;The processing unit is also used to process the route received by the transceiver unit and generate a routing table entry, the routing table entry contains two routes, the destination address of the two routes is the same, the outgoing interface is the same, and the next hop different;

所述存储单元,用于存储所述路由器接收所述收发单元接收到的路由;The storage unit is configured to store the router receiving the route received by the transceiver unit;

所述收发单元,用于接收所述VNF设备通过所述第一接口和所述第二接口发送的路由;The transceiver unit is configured to receive the route sent by the VNF device through the first interface and the second interface;

所述收发单元,还用于根据生成的路由表项向所述VNF设备发送业务报文。The transceiver unit is further configured to send service packets to the VNF device according to the generated routing table entries.

上述方法中,路由器通过处理单元与所述VNF建立路由协议邻居关系,然后接收所述VNF设备发布的路由。存储单元对接收到的路由进行存储。处理单元根据路由生成路由表项,路由表项中包含两条目标地址相同,出接口相同,但下一跳不同的路由,路由器可以用同一接口同时向所述第一VM和所述第二VM发送报文,而不需要路由器创建新的接口,有利于网络的管理和维护。In the above method, the router establishes a routing protocol neighbor relationship with the VNF through the processing unit, and then receives the route advertised by the VNF device. The storage unit stores the received route. The processing unit generates a routing table entry according to the route. The routing table entry contains two routes with the same destination address and the same outgoing interface but different next hops. The router can use the same interface to simultaneously send the first VM and the second VM Sending packets does not require routers to create new interfaces, which is beneficial to network management and maintenance.

第五方面,本申请提供了另一种网络中接收报文的VNF设备,该VNF设备包括:第一VM、第二VM、处理器和存储器,所述处理器以及存储器之间通过总线相连,所述处理器用于执行所述存储器中的代码,当所述代码被执行时,使得处理器执行上述第一方面以及第一方面的任一可能的实施方式中的方法。所述VNF设备通过第一VM的第一接口和第二VM的第二接口接收路由器发送的报文。In a fifth aspect, the present application provides another VNF device for receiving messages in a network, where the VNF device includes: a first VM, a second VM, a processor and a memory, the processor and the memory are connected through a bus, The processor is configured to execute codes in the memory, and when the codes are executed, the processor is made to execute the above first aspect and the method in any possible implementation manner of the first aspect. The VNF device receives the packet sent by the router through the first interface of the first VM and the second interface of the second VM.

第六方面,本申请提供了另一种网络中发送报文的路由器,该路由器包括:收发接口、处理器和存储器,所述处理器以及存储器之间通过总线相连,所述处理器用于执行所述存储器中的代码,当所述代码被执行时,使得处理器执行上述第二方面以及第二方面的任一可能的实施方式中的方法。In a sixth aspect, the present application provides another router for sending messages in a network, the router includes: a transceiver interface, a processor, and a memory, the processor and the memory are connected through a bus, and the processor is used to execute the The code in the memory, when the code is executed, causes the processor to execute the second aspect and the method in any possible implementation manner of the second aspect.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本申请实施例提供的一种现有技术场景示意图;FIG. 1 is a schematic diagram of a prior art scenario provided by an embodiment of the present application;

图2为本申请实施例提供的一种可能的应用场景示意图;FIG. 2 is a schematic diagram of a possible application scenario provided by the embodiment of the present application;

图3为本申请实施例提供的一种网络中转发报文的方法流程示意图;FIG. 3 is a schematic flowchart of a method for forwarding messages in a network provided by an embodiment of the present application;

图4为本申请实施例提供的一种可能的应用场景示意图;FIG. 4 is a schematic diagram of a possible application scenario provided by the embodiment of the present application;

图5为本申请实施例提供的一种另一种可能的应用场景示意图;FIG. 5 is a schematic diagram of another possible application scenario provided by the embodiment of the present application;

图6为本申请实施例提供了一种网络中接收报文的方法流程示意图;FIG. 6 is a schematic flowchart of a method for receiving a message in a network provided by an embodiment of the present application;

图7为本申请实施例提供的一种网络中发送报文的方法流程示意图;FIG. 7 is a schematic flowchart of a method for sending a message in a network provided by an embodiment of the present application;

图8为本申请实施例提供的一种VNF设备结构示意图;FIG. 8 is a schematic structural diagram of a VNF device provided in an embodiment of the present application;

图9为本申请实施例提供的另一种VNF设备结构示意图;FIG. 9 is a schematic structural diagram of another VNF device provided in the embodiment of the present application;

图10为本申请实施例提供的一种路由器结构示意图;FIG. 10 is a schematic structural diagram of a router provided in an embodiment of the present application;

图11为本申请实施例提供的另一种路由器结构示意图。FIG. 11 is a schematic structural diagram of another router provided in the embodiment of the present application.

具体实施方式detailed description

本申请实施例描述的应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The application scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. Those skilled in the art know that with the evolution of the network architecture With the emergence of new business scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

本申请实施例中,“虚拟化网络功能(英文:virtualized network function)”是指在硬件网络基础设备最顶层的一个或多个虚拟机中运行的控制特定网络功能模块,包括路由器功能、交换机功能、服务器功能、云计算系统功能等。VNF能够提供只在硬件中找到的网络功能,其需要把应用程序、业务流程和可以进行整合和调整的基础设施软件结合起来。In the embodiment of this application, "virtualized network function (English: virtualized network function)" refers to the control specific network function module running in one or more virtual machines at the top of the hardware network infrastructure equipment, including router function and switch function , server functions, cloud computing system functions, etc. VNFs are able to provide network functions found only in hardware, which requires a combination of applications, business processes and infrastructure software that can be integrated and tuned.

本申请实施例中,“虚拟机(Virtual Machine)”是指通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统。进入虚拟系统后,所有操作都是在这个全新的独立的虚拟系里面进行,可以独立安装运行软件,保存数据,拥有自己的独立桌面,不会对真正的系统产生任何影响。In the embodiment of the present application, "virtual machine (Virtual Machine)" refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. After entering the virtual system, all operations are carried out in this new independent virtual system, which can independently install and run software, save data, and have its own independent desktop without any impact on the real system.

本申请实施例中,设备间或接口间的“连接”关系,也可以替换为“通信”关系。In this embodiment of the present application, the "connection" relationship between devices or interfaces may also be replaced with a "communication" relationship.

本申请实施例中,终端设备可以指用户设备(英文:User Equipment,简称:UE),比如终端设备可以是包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备。In the embodiment of the present application, the terminal device may refer to user equipment (English: User Equipment, referred to as: UE), for example, the terminal device may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or connection other processing equipment to the wireless modem.

图1为本申请实施例提供的一种现有技术应用场景示意图。VNF设备101包含控制单元102,第一VM103以及第二VM104。其中第一VM103包含第一接口106,第二VM104包含第二接口107。路由器包含第三接口109和第五接口111,VNF设备101的第一接口106和第二接口107分别与路由器108的第三接口109和第五接口111连接。FIG. 1 is a schematic diagram of a prior art application scenario provided by an embodiment of the present application. The VNF device 101 includes a control unit 102 , a first VM 103 and a second VM 104 . Wherein the first VM 103 includes a first interface 106 , and the second VM 104 includes a second interface 107 . The router includes a third interface 109 and a fifth interface 111 , and the first interface 106 and the second interface 107 of the VNF device 101 are respectively connected to the third interface 109 and the fifth interface 111 of the router 108 .

基站105为一定区域内的终端设备提供无线接入服务。例如,当用户通过终端设备110访问互联网时,终端设备110在基站105提供无线接入服务的区域接入网络。终端设备110将要发送的用户数据以无线信号的方式发送给基站105,再由基站105将无线信号转换成有线信号,接着基站105将该有线信号发送给路由器108,路由器108第三接口109和第五接口111分别与第一VM103的第一接口106和第二VM104的第二接口1107连接,路由器108分别通过第三接口109和第五接口111将报文转发给VNF设备101,VNF设备分别通过第一接口106和第二接口107分别接收路由器108发送的报文。The base station 105 provides wireless access services for terminal devices within a certain area. For example, when a user accesses the Internet through the terminal device 110, the terminal device 110 accesses the network in the area where the base station 105 provides wireless access services. The terminal device 110 sends the user data to be sent to the base station 105 in the form of a wireless signal, and then the base station 105 converts the wireless signal into a wired signal, and then the base station 105 sends the wired signal to the router 108, and the third interface 109 of the router 108 and the third interface 109 of the router 108 The five interfaces 111 are respectively connected to the first interface 106 of the first VM 103 and the second interface 1107 of the second VM 104, the router 108 forwards the message to the VNF device 101 through the third interface 109 and the fifth interface 111 respectively, and the VNF device respectively passes the The first interface 106 and the second interface 107 respectively receive packets sent by the router 108 .

下面以终端设备110是手机为例,对目前通常采用的报文转发方案进行介绍。当用户要访问互联网数据时,终端设备110通过基站105接入网络,基站105将终端设备110发送的无线信号转换成有线信号。然后,基站105将该有线信号发送给路由器108。路由器108通过其两个端口分别与VNF设备上的第一VM和第二VM连接,其中,路由器108上第三接口109和第五接口111具有不同网段的IP地址,而路由器108上的两个端口分别与各自连接的VM接口具有相同网段的IP地址,即路由器108的第三接口109与第一VM103的第一接口106具有相同网段的IP地址,路由器108的第五接口111与第二VM104的第二接口107具有相同网段的IP地址。路由器108通过与VNF设备相连的两条路径转发报文。VNF设备对该报文进行处理后将报文转发给目标网络设备,目标网络设备将数据以相反路径反馈给用户的移动终端,最终实现用户通过移动终端设备对互联网数据的访问。Taking the terminal device 110 as a mobile phone as an example, the message forwarding scheme commonly used at present will be introduced below. When a user wants to access Internet data, the terminal device 110 accesses the network through the base station 105, and the base station 105 converts the wireless signal sent by the terminal device 110 into a wired signal. Base station 105 then sends the wired signal to router 108 . The router 108 is respectively connected to the first VM and the second VM on the VNF device through its two ports, wherein, the third interface 109 and the fifth interface 111 on the router 108 have IP addresses of different network segments, and the two interfaces on the router 108 Each port has an IP address of the same network segment as the respectively connected VM interface, that is, the third interface 109 of the router 108 and the first interface 106 of the first VM 103 have the IP address of the same network segment, and the fifth interface 111 of the router 108 and the first interface 106 of the first VM103 have the same network segment IP address. The second interface 107 of the second VM 104 has an IP address of the same network segment. The router 108 forwards the message through two paths connected to the VNF device. After the VNF device processes the message, it forwards the message to the target network device, and the target network device feeds the data back to the user's mobile terminal through the reverse path, and finally realizes the user's access to Internet data through the mobile terminal device.

上述方案存在以下问题:The above scheme has the following problems:

当出现大量用户使用移动终端设备访问互联网数据时,路由器向VNF设备转发报文的工作量就会相应增加。为了缓解路由器转发报文的压力,现有技术一般会在VNF设备上配置多个VM,通过多个VM接口接收路由器发送的报文,从而实现在路由器和VNF设备之间报文转发的多路径负载分担。但是在VNF设备上每增加一个VM用于和路由器建立路由协议邻居,就需要路由器重新进配置一个接口,这样就会增加路由器的配置工作量,不利于网络的管理和维护。When a large number of users use mobile terminal devices to access Internet data, the workload of the router to forward packets to the VNF device will increase accordingly. In order to alleviate the pressure on routers to forward packets, in the prior art, multiple VMs are generally configured on the VNF device, and packets sent by the router are received through multiple VM interfaces, so as to realize multi-path packet forwarding between the router and the VNF device. load sharing. However, every time a VM is added on the VNF device to establish a routing protocol neighbor with the router, the router needs to reconfigure an interface, which will increase the configuration workload of the router and is not conducive to network management and maintenance.

为了解决上述技术问题,如图2,在本申请实施例提供的应用场景中,配置第一VM103的第一接口106、第二VM104的第二接口107具有相同网段IP地址,进一步设置路由器的第三接口109和第一接口106、第二接口107具有相同网段的IP地址。In order to solve the above technical problems, as shown in Figure 2, in the application scenario provided by the embodiment of the present application, configure the first interface 106 of the first VM103 and the second interface 107 of the second VM104 to have the same network segment IP address, and further set the router's The third interface 109 has an IP address of the same network segment as the first interface 106 and the second interface 107 .

路由器108的第三接口109通过第二网络与第一VM103的第一接口106和第二VM104的第二接口107连接,路由器108通过其第三接口109与所述第一接口106和所述VNF设备101建立第一路由协议邻居,路由器108通过其第三接口109以及所述第二接口107和所述VNF设备101建立第二路由协议邻居。路由器108通过第一路由协议邻居和第二路由协议邻居分别向VNF设备101发布对应路由,路由器108根据路由生成路由表项。VNF设备通过第一VM103的第一接口106和第二VM104的第二接口107依次接收路由器108第三接口109发送的报文。The third interface 109 of the router 108 is connected to the first interface 106 of the first VM 103 and the second interface 107 of the second VM 104 through the second network, and the router 108 is connected to the first interface 106 and the VNF through its third interface 109 The device 101 establishes a first routing protocol neighbor, and the router 108 establishes a second routing protocol neighbor with the VNF device 101 through its third interface 109 and the second interface 107 . The router 108 publishes corresponding routes to the VNF device 101 through the first routing protocol neighbor and the second routing protocol neighbor respectively, and the router 108 generates a routing table entry according to the route. The VNF device sequentially receives the packets sent by the third interface 109 of the router 108 through the first interface 106 of the first VM 103 and the second interface 107 of the second VM 104 .

图3示出了本申请实施例提供的一种网络中转发报文的方法流程示意图。所述方法可以应用于图2所示的应用场景中。图3所示的方法中的路由器可以是图2中所示的路由器108。图3所示的方法中的VNF设备,可以是图2中所示的虚拟化网络功能VNF设备101。所述VNF设备通过路由器与骨干网连接,所述VNF设备包含第一VM、第二VM和控制单元,所述第一VM包含第一接口,所述第二VM包含第二接口,所述路由器包含第三接口,所述第一接口、所述第二接口和所述第三接口具有相同网段的IP地址。所述方法包括以下步骤:FIG. 3 shows a schematic flowchart of a method for forwarding packets in a network provided by an embodiment of the present application. The method can be applied to the application scenario shown in FIG. 2 . The router in the method shown in FIG. 3 may be the router 108 shown in FIG. 2 . The VNF device in the method shown in FIG. 3 may be the virtualized network function VNF device 101 shown in FIG. 2 . The VNF device is connected to the backbone network through a router, the VNF device includes a first VM, a second VM, and a control unit, the first VM includes a first interface, the second VM includes a second interface, and the router A third interface is included, and the first interface, the second interface and the third interface have IP addresses of the same network segment. The method comprises the steps of:

S301,所述控制单元通过第一VM的第一接口与路由器建立第一路由协议邻居,所述控制单元通过第二VM的第二接口与所述路由器建立第二路由协议邻居。S301. The control unit establishes a first routing protocol neighbor with a router through a first interface of a first VM, and the control unit establishes a second routing protocol neighbor with the router through a second interface of a second VM.

S302,所述控制单元通过第一路由协议邻居和第二路由协议邻居向所述路由器发送路由。S302. The control unit sends the route to the router through the first routing protocol neighbor and the second routing protocol neighbor.

S303,所述路由器通过第一路由协议邻居和第二路由协议邻居接收VNF设备发送的路由,并生成路由表项,所述路由表项包含两个目标地址相同且下一跳不同的路由。S303. The router receives the route sent by the VNF device through the first routing protocol neighbor and the second routing protocol neighbor, and generates a routing table entry, where the routing table entry includes two routes with the same destination address and different next hops.

S304,所述路由器依据生成的路由表项向VNF设备发送业务报文。S304. The router sends the service packet to the VNF device according to the generated routing table entry.

S305,所述VNF设备的第一VM通过第一接口接收路由器发送的第一业务报文,所述VNF设备的第二VM通过第二接口接收路由器发送的第二业务报文。所述第一业务报文和所述第二业务报文为对应所述路由器向VNF设备发送的业务报文。S305. The first VM of the VNF device receives the first service packet sent by the router through the first interface, and the second VM of the VNF device receives the second service packet sent by the router through the second interface. The first service message and the second service message correspond to service messages sent by the router to the VNF device.

可选地,所述对应路由的业务报文具体为:业务报文的目的地址为所述路由。Optionally, the service message corresponding to the route is specifically: the destination address of the service message is the route.

图4示出了本申请实施例提供的一种可能的应用场景示意图。所述VNF设备402向所述路由器404发布的路由为对应所述VNF所属数据库中心的网络设备401的路由。在这种情况下,VNF设备402为数据中心401的一个设备。路由器404接收到VNF设备402所属数据中心设备401的路由后生成路由表项。路由器404根据路由表项转发业务报文到VNF设备402。VNF设备402将接收到的业务报文转发到数据中心的网络设备403。网络设备403可以对所述业务报文进行流量统计等操作,实现用户对数据中心的访问。Fig. 4 shows a schematic diagram of a possible application scenario provided by the embodiment of the present application. The route published by the VNF device 402 to the router 404 is a route corresponding to the network device 401 of the database center to which the VNF belongs. In this case, the VNF device 402 is a device of the data center 401 . The router 404 generates a routing table entry after receiving the route of the data center device 401 to which the VNF device 402 belongs. The router 404 forwards the service packet to the VNF device 402 according to the routing table entry. The VNF device 402 forwards the received service packet to the network device 403 of the data center. The network device 403 can perform traffic statistics and other operations on the service packets, so as to realize the user's access to the data center.

图5为本申请实施例提供的另一种可能的应用场景示意图。VNF设备501向路由器502发布路由。该路由可以为对应连接VNF设备501的用户侧网络设备503的路由。所述路由器502接收到所述路由后生成路由表,并根据路由表项转发报文到所述VNF设备501。VNF设备501对所述报文进行处理,然后再将所述报文向用户侧网络设备503转发,从而实现网络中用户的相互访问。FIG. 5 is a schematic diagram of another possible application scenario provided by the embodiment of the present application. The VNF device 501 advertises routes to the router 502 . The route may be a route corresponding to the user-side network device 503 connected to the VNF device 501 . The router 502 generates a routing table after receiving the route, and forwards the message to the VNF device 501 according to the routing table entry. The VNF device 501 processes the message, and then forwards the message to the user-side network device 503, thereby realizing mutual access of users in the network.

可选的,在一种实施例中,所述VNF设备通过二层交换机与所述路由器连接,所述VNF设备通过所述第一接口和所述第二接口接收所述二层交换机转发的来自所述路由器的业务报文。二层交换机可以实现路由器通过同一接口与VNF设备中多个虚拟机的接口建立连接。Optionally, in an embodiment, the VNF device is connected to the router through a Layer 2 switch, and the VNF device receives the message from the Layer 2 switch forwarded by the Layer 2 switch through the first interface and the second interface. Service packets of the router. A Layer 2 switch can enable a router to establish connections with interfaces of multiple virtual machines in a VNF device through the same interface.

可选的,所述VNF设备还可以通过二层网络与所述路由器连接,该二层网络中包含多个二层交换机,这多个二层交换相互连接,为路由器用同一接口与多个VM接口连接创造条件,以实现连接所述VNF设备和所述路由器之间报文转发的多路径负载分担。Optionally, the VNF device can also be connected to the router through a layer-2 network, the layer-2 network includes multiple layer-2 switches, and these multiple layer-2 switches are connected to each other, so that the router uses the same interface to communicate with multiple VMs The interface connection creates conditions to realize multi-path load sharing for packet forwarding between the VNF device and the router.

举例来说,所述路由器通过一台二层交换机与所述VNF设备连接,这样所述路由器就可以用同一接口与所述VNF设备中第一VM和第二VM两个接口建立连接,路由器就可以通过一个接口同时向第一VM和第二VM发送报文,所述VNF设备也可以通过第一VM的第一接口和第二VM的第二接口依次接收业务报文,这样就可以实现路由器和VNF设备之间报文转发的多路径负载分担。For example, the router is connected to the VNF device through a Layer 2 switch, so that the router can use the same interface to establish a connection with the first VM and the second VM in the VNF device, and the router is A packet can be sent to the first VM and the second VM simultaneously through an interface, and the VNF device can also receive service packets sequentially through the first interface of the first VM and the second interface of the second VM, so that router Multipath load balancing for packet forwarding between VNF devices.

可选的,在一种实施例中,控制单元分别通过所述第一接口和所述第二接口与所述路由器建立路由协议邻居,所述路由协议为OSPF协议或IS-IS协议。Optionally, in an embodiment, the control unit respectively establishes a routing protocol neighbor with the router through the first interface and the second interface, and the routing protocol is an OSPF protocol or an IS-IS protocol.

举例来说,所述VNF设备通过OSPF协议或IS-IS协议向所述路由器发布路由,所述路由器根据所述路由生成路由表项。所述路由器依据所述路由表项向VNF设备发送业务报文,所述VNF设备通过第一VM的第一接口和第二VM的第二接口依次接收所述路由器发送的报文,可以实现所述路由器用同一个接口与VNF设备之间实现报文转发的多路径负载分担。For example, the VNF device advertises a route to the router through an OSPF protocol or an IS-IS protocol, and the router generates a routing table entry according to the route. The router sends service packets to the VNF device according to the routing table entry, and the VNF device sequentially receives the packets sent by the router through the first interface of the first VM and the second interface of the second VM, so that all The above-mentioned router uses the same interface to implement multi-path load sharing for message forwarding between the VNF device.

可选的,在一种实施例中,所述VNF还包含第三VM,所述第三VM包含第四接口,所述第四接口和所述路由器的第三接口具有相同网段的IP地址。所述控制单元通过所述第四VM的第四接口与所述路由器建立第三路由协议邻居。所述控制单元通过第三路由协议邻居向所述路由器发布对应路由。所述路由器根据所述路由生成路由表项,并根据所述路由表项向所述VNF设备发送业务报文。Optionally, in an embodiment, the VNF further includes a third VM, the third VM includes a fourth interface, and the fourth interface and the third interface of the router have an IP address of the same network segment . The control unit establishes a third routing protocol neighbor with the router through the fourth interface of the fourth VM. The control unit advertises a corresponding route to the router through a third routing protocol neighbor. The router generates a routing table item according to the route, and sends a service packet to the VNF device according to the routing table item.

举例来说,在对所述VNF设备进行扩容,增加所述第三VM时,需要将所述第三VM的所述第四接口设置为与所述第一接口、第二接口和第三接口具有相同网段的IP地址。然后路由器通过同一接口分别与所述VNF设备建立三个路由协议邻居,进而所述VNF设备可以通过所述第一接口、所述第二接口和所述第四接口依次接收所述路由器发送的业务报文。此外,当需要提升所述VNF设备对业务报文的处理能力时,只需在所述VNF设备上增加一个VM,并设置新增的VM的接口与第一VM的第一接口、第二VM的第二接口以及路由器的第三接口具备相同网段的IP地址,即可实现该路由器通过一个接口与VNF设备建立三个路由协议邻居,这样在不需要路由器重新设置接口的同时,可以实现路由器和VNF设备之间报文转发的多路径负载分担,并提升了所述VNF设备对报文的接收能力。For example, when expanding the capacity of the VNF device and adding the third VM, it is necessary to set the fourth interface of the third VM to be compatible with the first interface, the second interface, and the third interface. IP addresses with the same network segment. Then the router respectively establishes three routing protocol neighbors with the VNF device through the same interface, and then the VNF device can sequentially receive the services sent by the router through the first interface, the second interface and the fourth interface message. In addition, when it is necessary to improve the processing capability of the VNF device for service packets, it is only necessary to add a VM to the VNF device, and set the interface of the newly added VM to the first interface of the first VM, the second VM The second interface of the router and the third interface of the router have the IP addresses of the same network segment, so that the router can establish three routing protocol neighbors with the VNF device through one interface. The multi-path load sharing of message forwarding between the VNF device and the VNF device improves the ability of the VNF device to receive messages.

图6示出了本申请实施例提供的一种网络中接收报文的方法流程示意图。所述方法可以应用于图2所示的应用场景中。图6所示的方法中的所述VNF设备可以是图2中所示的VNF设备101,图6中提到的路由器可以是图2中所述的路由器108。FIG. 6 shows a schematic flowchart of a method for receiving packets in a network provided by an embodiment of the present application. The method can be applied to the application scenario shown in FIG. 2 . The VNF device in the method shown in FIG. 6 may be the VNF device 101 shown in FIG. 2 , and the router mentioned in FIG. 6 may be the router 108 shown in FIG. 2 .

S601,VNF设备通过第一VM的第一接口和路由器建立第一路由协议邻居,并通过第二VM的第二接口与路由器建立第二路由协议邻居。S601. The VNF device establishes a first routing protocol neighbor with the router through the first interface of the first VM, and establishes a second routing protocol neighbor with the router through the second interface of the second VM.

S602,VNF设备通过所述第一路由协议邻居和第二路由协议邻居分别向路由器发布路由。S602. The VNF device advertises routes to routers through the first routing protocol neighbor and the second routing protocol neighbor respectively.

S603,VNF设备通过所述第一VM的第一接口和所述第二VM的第二接口依次接收路由器发送的业务报文。S603. The VNF device sequentially receives service packets sent by the router through the first interface of the first VM and the second interface of the second VM.

上述方案中,在所述第一接口、所述第二接口和所述第三接口具有相同网段的IP地址的情况下,所述VNF设备通过所述第一接口和所述第二接口分别与路由器建立路由协议邻居,使所述VNF设备通过所述路由协议邻居向所述路由器发布路由。然后路由器根据所述路由生成路由表项,路由器用同一接口向所述VNF设备的第一接口和第二接口发送业务报文,所述报文由所述VNF设备的所述第一接口和所述第二接口依次接收,不仅可以实现所述VNF设备接收报文的负载分担,同时还可以减少路由器配置新接口的工作量。In the above solution, when the first interface, the second interface and the third interface have IP addresses of the same network segment, the VNF device uses the first interface and the second interface respectively Establish a routing protocol neighbor with the router, so that the VNF device advertises a route to the router through the routing protocol neighbor. Then the router generates a routing table item according to the route, and the router uses the same interface to send a service message to the first interface and the second interface of the VNF device, and the message is sent by the first interface and the second interface of the VNF device The above-mentioned second interface sequentially receives, not only can realize the load sharing of the received message of the VNF device, but also can reduce the workload of the router configuring the new interface.

图7示为本申请实施例提供了一种网络中发送报文的方法流程示意图。所述方法可以应用于图2所示的应用场景中。图7所示的方法中的所述路由器可以是图2中所示的路由器108。图7所示方法中的VNF设备,可以是图2中所示的VNF设备101。VNF设备通过路由器与骨干网连接,所述VNF设备包含第一VM和第二VM,所述第一VM包含第一接口,所述第二VM包含第二接口,所述路由器包含第三接口,所述第一接口、所述第二接口和所述第三接口具有相同网段的IP地址,所述方法包括以下步骤。FIG. 7 is a schematic flowchart of a method for sending a message in a network provided by an embodiment of the present application. The method can be applied to the application scenario shown in FIG. 2 . The router in the method shown in FIG. 7 may be the router 108 shown in FIG. 2 . The VNF device in the method shown in FIG. 7 may be the VNF device 101 shown in FIG. 2 . The VNF device is connected to the backbone network through a router, the VNF device includes a first VM and a second VM, the first VM includes a first interface, the second VM includes a second interface, and the router includes a third interface, The first interface, the second interface and the third interface have IP addresses of the same network segment, and the method includes the following steps.

S701,所述路由器通过第三接口以及所述第一VM的第一接口与所述VNF设备建立第一路由协议邻居,所述路由器通过所述第三接口以及所述第二VM的第二接口与所述VNF设备建立第二路由协议邻居。S701. The router establishes a first routing protocol neighbor with the VNF device through the third interface and the first interface of the first VM, and the router uses the third interface and the second interface of the second VM Establish a second routing protocol neighbor with the VNF device.

S702,所述路由器通过所述第一路由协议邻居和所述第二路由协议邻居分别接收第一VM和第二VM发布的路由,并生成路由表项,所述路由表项中包含两条路由,所述两条路由的目标地址相同,出接口不同,下一跳不同。S702. The router respectively receives the routes advertised by the first VM and the second VM through the first routing protocol neighbor and the second routing protocol neighbor, and generates a routing table entry, and the routing table entry contains two routes , the destination addresses of the two routes are the same, the outgoing interfaces are different, and the next hops are different.

S703,所述路由器通过所述路由表项向所述VNF设备发送业务报文。S703. The router sends the service packet to the VNF device through the routing entry.

可选的,所述路由器可以通过二层交换机向所述VNF设备发送所述业务报文,其中,所述路由器通过二层交换机与所述第一VM和所述第二VM连接。Optionally, the router may send the service packet to the VNF device through a Layer 2 switch, where the router is connected to the first VM and the second VM through a Layer 2 switch.

上述方案中,所述路由器接口通过二层交换机向所述VNF设备的第一VM和第二VM发送报文,所述二层交换机为路由器用同一接口与所述VNF设备第一VM的第一接口和第二VM的第二接口建立连接创造条件,以实现路由器用同一接口向所述VNF设备的第一VM和第二VM发送业务报文。In the above solution, the router interface sends messages to the first VM and the second VM of the VNF device through a layer-2 switch, and the layer-2 switch is the router using the same interface with the first VM of the first VM of the VNF device. Establishing a connection between the interface and the second interface of the second VM creates conditions for the router to use the same interface to send service packets to the first VM and the second VM of the VNF device.

图8为本申请实施例提供的一种网络中接收报文的VNF设备。本实施例提供的VNF设备可以为图2至图7所示实施例中的VNF设备。所述VNF设备801包含第一VM803、第二VM804和控制单元802,所述第一VM803包含第一接口806,所述第二VM804包含第二接口805,其中,所述第一接口806、所述第二接口805和路由器接口具有相同网段的IP地址。FIG. 8 is a VNF device receiving packets in a network provided by an embodiment of the present application. The VNF device provided in this embodiment may be the VNF device in the embodiments shown in FIG. 2 to FIG. 7 . The VNF device 801 includes a first VM803, a second VM804, and a control unit 802, the first VM803 includes a first interface 806, and the second VM804 includes a second interface 805, wherein the first interface 806, the The second interface 805 and the router interface have IP addresses in the same network segment.

所述控制单元802,用于通过所述第一接口806以及路由器接口与所述路由器建立第一路由协议邻居,并通过所述第二接口805以及路由器接口与所述路由器建立第二路由协议邻居。The control unit 802 is configured to establish a first routing protocol neighbor with the router through the first interface 806 and the router interface, and establish a second routing protocol neighbor with the router through the second interface 805 and the router interface .

所述控制单元802,还用于通过所述第一路由协议邻居和第二路由协议邻居向所述路由器发布路由。The control unit 802 is further configured to advertise routes to the router through the first routing protocol neighbor and the second routing protocol neighbor.

所述第一VM803,用于通过所述第一接口806接收所述路由器发送的第一业务报文。The first VM 803 is configured to receive the first service packet sent by the router through the first interface 806 .

所述第二VM804,用于通过所述第二接口805接收所述路由器发送的第二业务报文。所述第一业务报文和所述第二业务报文为对应所述路由的业务报文。The second VM 804 is configured to receive the second service packet sent by the router through the second interface 805 . The first service message and the second service message are service messages corresponding to the route.

可选的,所述控制单元802通过所述第一路由协议邻居和所述第二路由协议邻居向所述路由器发布对应所述VNF设备所属的数据中心的网络设备的路由。Optionally, the control unit 802 advertises the route corresponding to the network device of the data center to which the VNF device belongs to the router through the first routing protocol neighbor and the second routing protocol neighbor.

可选的,所述VNF设备还包括发送单元,所述发送单元用于将所述第一业务报文和所述第一业务报文向所述网络设备发送。Optionally, the VNF device further includes a sending unit, configured to send the first service packet and the first service packet to the network device.

图9为本申请实施例提供的另一种VNF设备结构示意图。该VNF设备901包括:存储器901、处理器902、第一VM903和第二VM904。本实施例提供的VNF设备901可以为图2至图7所示实施例中的VNF设备。所述处理器902以及存储器901之间通过总线相连,所述处理器902用于执行所述存储器901中的代码。所述VNF设备通过第一VM903的第一接口905和第二VM904的第二接口906分别接收路由器发送的报文。所述所述存储器901用于存储第一VM903和第二VM904接收的报文。FIG. 9 is a schematic structural diagram of another VNF device provided by the embodiment of the present application. The VNF device 901 includes: a memory 901 , a processor 902 , a first VM 903 and a second VM 904 . The VNF device 901 provided in this embodiment may be the VNF device in the embodiments shown in FIG. 2 to FIG. 7 . The processor 902 and the memory 901 are connected through a bus, and the processor 902 is configured to execute codes in the memory 901 . The VNF device respectively receives the packets sent by the router through the first interface 905 of the first VM903 and the second interface 906 of the second VM904. The memory 901 is used to store the packets received by the first VM903 and the second VM904.

图10为本申请实施例提供的一种路由器结构示意图。所述结构示意图可以应用于图2所示的场景中。图11中所示的路由器可以是可以是图2至图7所示实施例中的路由器108。所述路由器1008与VNF设备连接,所述路由器1008包括处理单元1001、存储单元1002和收发单元1003。所述路由器1008与VNF设备连接,所述VNF设备包含第一虚拟机VM和第二VM,所述第一VM包含第一接口,所述第二VM包含第二接口,所述第一接口、所述第二接口和所述第三接口具有相同网段的IP地址。FIG. 10 is a schematic structural diagram of a router provided in an embodiment of the present application. The schematic structural diagram can be applied to the scenario shown in FIG. 2 . The router shown in FIG. 11 may be the router 108 in the embodiments shown in FIGS. 2 to 7 . The router 1008 is connected to the VNF device, and the router 1008 includes a processing unit 1001 , a storage unit 1002 and a transceiver unit 1003 . The router 1008 is connected to a VNF device, the VNF device includes a first virtual machine VM and a second VM, the first VM includes a first interface, the second VM includes a second interface, the first interface, The second interface and the third interface have IP addresses of the same network segment.

所述处理单元1001,用于通过其第三接口以及所述第一接口与所述VNF设备建立第一路由协议邻居,并通过其第三接口以及所述第二接口与所述VNF设备建立第二路由协议邻居。所述处理单元1001还用于处理收发单元1003接收到的路由,并生成路由表项,所述路由表项中包含两条路由,所述两条路由的目标地址相同,出接口相同,下一跳不同。所述存储单元1002用于存储所述路由器接收所述收发单元接收到的路由。所述收发单元1003用于接收所述VNF设备通过所述第一接口和所述第二接口发送的路由,还用于根据生成的路由表项向所述VNF设备发送业务报文。The processing unit 1001 is configured to establish a first routing protocol neighbor with the VNF device through its third interface and the first interface, and establish a first routing protocol neighbor with the VNF device through its third interface and the second interface. Two routing protocol neighbors. The processing unit 1001 is further configured to process the route received by the transceiver unit 1003, and generate a routing table entry. The routing table entry contains two routes. The destination addresses of the two routes are the same, and the outgoing interfaces are the same. Jump differently. The storage unit 1002 is configured to store the route received by the router and received by the transceiver unit. The transceiver unit 1003 is configured to receive routes sent by the VNF device through the first interface and the second interface, and is also configured to send service packets to the VNF device according to the generated routing table entries.

图11为本申请实施例提供的另一种路由器结构示意图。所述路由器1108包括收发接口1102、处理器1101和存储器1103,其中所述处理器1101与所述储存器1103之间通过总线相连。所述处理器1101用于执行所述存储器1103中的代码。所述收发接口1102用于接收VNF设备发布的路由以及向VNF设备发送业务报文。所述存储器1103用于存储所述路由器1108接收到的路由。FIG. 11 is a schematic structural diagram of another router provided in the embodiment of the present application. The router 1108 includes a transceiver interface 1102, a processor 1101 and a memory 1103, wherein the processor 1101 and the memory 1103 are connected through a bus. The processor 1101 is configured to execute codes in the memory 1103 . The transceiving interface 1102 is used to receive routes advertised by the VNF device and send service packets to the VNF device. The memory 1103 is used to store the routes received by the router 1108 .

本说明书的各个部分均采用递进的方式进行描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点介绍的都是与其他实施例不同之处。尤其,对于装置和系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例部分的说明即可。Each part of this specification is described in a progressive manner, and the same and similar parts of the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for relevant details, please refer to the description of the method embodiments.

应理解,在本申请的各种实施例中,上述各方法的序号的大小并不意味着执行顺序的先后,各方法的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in various embodiments of the present application, the serial numbers of the above-mentioned methods do not mean the order of execution, and the execution order of each method should be determined by its functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的电路及方法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the circuits and method steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the relationship between hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

最后,需要说明的是:以上所述仅为本申请技术方案的较佳实施例而已,并非用于限定本申请的保护范围。显然,本领域技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。Finally, it should be noted that the above description is only a preferred embodiment of the technical solution of the present application, and is not intended to limit the scope of protection of the present application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the scope of the application. If these modifications and variations of the application fall within the scope of the claims of the application and their equivalent technologies, any modifications, equivalent replacements, improvements, etc., should be included in the protection scope of the application.

Claims (12)

1. the method for message being received in a kind of network, it is characterised in that the network includes virtualization network function VNF equipment, The VNF equipment is connected by router with backbone network, and the VNF equipment includes the first virtual machine VM, the 2nd VM and control is single Member, the first VM include first interface, and the 2nd VM includes second interface, and the router includes the 3rd interface, described First interface, the second interface and the 3rd interface have the iso-ip Internetworking protocol ISO-IP IP address of phase same network segment, methods described Including:
Described control unit establishes the first Routing Protocol by the first interface and the 3rd interface with the router Neighbours;
Described control unit establishes secondary route agreement by the second interface and the 3rd interface with the router Neighbours;
Described control unit is sent out by the first via from protocol neighbors and the secondary route protocol neighbors to the router Cloth is route;
First VM receives the first service message of the router transmission by the first interface;
2nd VM receives the second service message of the router transmission, the first business report by the second interface Literary and described second service message is the service message of the corresponding route.
2. according to the method for claim 1, it is characterised in that the route bag that the VNF equipment is issued to the router Include:
The VNF equipment issues the route of the network equipment of the data center belonging to the corresponding VNF to the router.
3. method according to claim 1 or 2, it is characterised in that pass through the first interface and institute in the VNF equipment After stating the service message that second interface receives the router transmission, methods described also includes:
The VNF equipment sets first service message and second service message to the network of the data center Preparation is sent.
4. according to the method described in claims 1 to 3 any claim, it is characterised in that the first VM and described second VM is connected by Layer 2 switch with the router, and the VNF equipment is connect by the first interface and the second interface Receiving the service message that the router is sent includes:
The VNF equipment by the first interface and the second interface receive that the Layer 2 switch forwards from described The service message of router.
5. according to the method described in Claims 1-4 any claim, it is characterised in that the Routing Protocol is open SPF ospf protocol or Intermediate System-to-Intermediate System Intermediate System to Intermediate System.
6. according to the method described in claim 1 to 5 any claim, it is characterised in that the VNF equipment also includes the 3rd VM, the 3rd VM include the 4th interface, and the 4th interface and the 3rd interface have the IP address of phase same network segment, described Method also includes:
Described control unit establishes the 3rd Routing Protocol by the 4th interface and the 3rd interface with the router Neighbours;
Described control unit issues the route by the 3rd Routing Protocol neighbours to the router;
The 3rd service message that 3rd VM is sent by router described in the 4th interface, the 3rd business report Text is the service message of the corresponding route.
7. the method for message is sent in a kind of network, it is characterised in that the network includes router and virtualization network function VNF equipment, the VNF equipment are connected by the router with backbone network, and the VNF equipment includes the first virtual machine VM, the Two VM and control unit, the first VM include first interface, and the 2nd VM includes second interface, and the router includes the Three interfaces, the first interface, the second interface and the 3rd interface are with having the iso-ip Internetworking protocol ISO-IP IP of phase same network segment Location, methods described include:
The router establishes the first via by the 3rd interface and the first VM first interface and the VNF By protocol neighbors;
The router establishes the second tunnel by the 3rd interface and the 2nd VM second interface and the VNF By protocol neighbors;
The router receives the VNF issues by the first via by protocol neighbors and the secondary route neighbor protocol Route, and route table items are generated, comprising two routes in the route table items, the destination address of two routes is identical, goes out Interface is identical, and next-hop is different;
The router sends service message according to the route table items to the VNF equipment.
8. according to the method for claim 7, it is characterised in that the router passes through Layer 2 switch and the first VM Connected with the 2nd VM, the service message that the router is sent according to the route table items to the VNF equipment includes:
The router sends the service message by the Layer 2 switch to the VNF equipment.
9. the virtualization network function VNF equipment of message is received in a kind of network, it is characterised in that the VNF equipment passes through road It is connected by device with backbone network, the VNF equipment includes:First virtual machine VM, the 2nd VM and control unit, the first VM are included First interface, the 2nd VM include second interface, and the router includes the 3rd interface, the first interface, described second Interface and the 3rd interface have the iso-ip Internetworking protocol ISO-IP IP address of phase same network segment, wherein,
Described control unit, for by the first interface and the 3rd interface and the router establish the first via by Protocol neighbors, and secondary route agreement neighbour is established with the router by the second interface and the 3rd interface Occupy;
Described control unit, it is additionally operable to by the first via from protocol neighbors and the secondary route protocol neighbors to the road Issued and route by device;
First VM, for receiving the first service message of the router transmission by the first interface;
2nd VM, for receiving the second service message of the router transmission by the second interface;Described first Service message and second service message are the service message of the corresponding route.
10. VNF equipment according to claim 9, it is characterised in that described control unit passes through first Routing Protocol Neighbours and the secondary route protocol neighbors include to router issue route:
Described control unit is sent out by the first via from protocol neighbors and the secondary route protocol neighbors to the router Cloth corresponds to the route of the network equipment of the data center belonging to the VNF.
11. VNF equipment according to claim 9, it is characterised in that the VNF equipment also includes:
Transmitting element, for first service message and first service message to be sent to the network equipment.
12. the router of message is sent in a kind of network, it is characterised in that the router is set with virtualization network function VNF Standby connection, the router include processing unit, memory cell and Transmit-Receive Unit, and the VNF equipment includes the first virtual machine VM First interface is included with the 2nd VM, the first VM, the 2nd VM includes second interface, and the router connects comprising the 3rd Mouthful, the first interface, the second interface and the 3rd interface have the iso-ip Internetworking protocol ISO-IP IP address of phase same network segment, its In,
The processing unit, for being set by the first interface of the 3rd interface and the first VM with the VNF It is standby to establish the first via by protocol neighbors;
The processing unit, for being set by the second interface of the 3rd interface and the 2nd VM with the VNF It is standby to establish secondary route protocol neighbors;
The processing unit, it is additionally operable to handle the route that Transmit-Receive Unit receives, and generates route table items, in the route table items Comprising two routes, the destination address of two routes is identical, and outgoing interface is identical, and next-hop is different;
The memory cell, the route for receiving the Transmit-Receive Unit for storing the router and receiving;
The Transmit-Receive Unit, the route sent for receiving the VNF equipment by the first interface and the second interface;
The Transmit-Receive Unit, it is additionally operable to send service message to the VNF equipment according to the route table items of generation.
CN201610658763.4A 2016-08-11 2016-08-11 Method and equipment for receiving and sending message Active CN107733801B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610658763.4A CN107733801B (en) 2016-08-11 2016-08-11 Method and equipment for receiving and sending message
PCT/CN2017/096603 WO2018028592A1 (en) 2016-08-11 2017-08-09 Method and device for receiving and sending messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610658763.4A CN107733801B (en) 2016-08-11 2016-08-11 Method and equipment for receiving and sending message

Publications (2)

Publication Number Publication Date
CN107733801A true CN107733801A (en) 2018-02-23
CN107733801B CN107733801B (en) 2021-01-29

Family

ID=61161736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610658763.4A Active CN107733801B (en) 2016-08-11 2016-08-11 Method and equipment for receiving and sending message

Country Status (2)

Country Link
CN (1) CN107733801B (en)
WO (1) WO2018028592A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020093958A1 (en) * 2018-11-08 2020-05-14 华为技术有限公司 Route processing method, apparatus, and device
CN111835635A (en) * 2019-04-18 2020-10-27 华为技术有限公司 A method, device and system for publishing routes in a BGP network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868619A (en) * 2012-09-10 2013-01-09 杭州华三通信技术有限公司 Transmitting method and device of LSA (Link State Advertisement)
CN103516782A (en) * 2012-06-26 2014-01-15 丛林网络公司 Distributed processing of network device tasks
CN105391636A (en) * 2015-10-16 2016-03-09 东南大学 Interconnection mechanism between software defined network (SDN) subnet and IP subnet in autonomous system
US20160156543A1 (en) * 2013-03-01 2016-06-02 Skytap Distributed service routing protocol suitable for virtual networks
CN105847142A (en) * 2016-03-22 2016-08-10 华为技术有限公司 Message transmission method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518935B (en) * 2013-09-27 2018-05-25 华为技术有限公司 Realize the methods, devices and systems of virtual network communication
US9866408B2 (en) * 2014-12-12 2018-01-09 Oracle International Corporation Methods, systems, and computer readable media for configuring a flow interface on a network routing element
CN104734931B (en) * 2015-03-31 2018-06-05 华为技术有限公司 Link establishing method and device between a kind of virtual network function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516782A (en) * 2012-06-26 2014-01-15 丛林网络公司 Distributed processing of network device tasks
CN102868619A (en) * 2012-09-10 2013-01-09 杭州华三通信技术有限公司 Transmitting method and device of LSA (Link State Advertisement)
US20160156543A1 (en) * 2013-03-01 2016-06-02 Skytap Distributed service routing protocol suitable for virtual networks
CN105391636A (en) * 2015-10-16 2016-03-09 东南大学 Interconnection mechanism between software defined network (SDN) subnet and IP subnet in autonomous system
CN105847142A (en) * 2016-03-22 2016-08-10 华为技术有限公司 Message transmission method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘楠等: "基于OSPF协议的网络拓扑发现算法", 《计算机工程与设计》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020093958A1 (en) * 2018-11-08 2020-05-14 华为技术有限公司 Route processing method, apparatus, and device
CN111835635A (en) * 2019-04-18 2020-10-27 华为技术有限公司 A method, device and system for publishing routes in a BGP network
CN111835635B (en) * 2019-04-18 2021-12-14 华为技术有限公司 A method, device and system for publishing routes in a BGP network

Also Published As

Publication number Publication date
CN107733801B (en) 2021-01-29
WO2018028592A1 (en) 2018-02-15

Similar Documents

Publication Publication Date Title
US9973422B2 (en) Traffic interconnection between virtual devices
EP3094052B1 (en) Method and device for forwarding information
CN102571587B (en) Method and equipment for forwarding messages
WO2020173198A1 (en) Message processing method, message forwarding apparatus, and message processing apparatus
EP3251304A1 (en) Method and apparatus for connecting a gateway router to a set of scalable virtual ip network appliances in overlay networks
CN107896195A (en) Service chaining method of combination, device and service chaining topological structure
CN106664235B (en) Method and device for fusing software defined network and traditional network
WO2014154087A1 (en) A gateway and its method of transfering data
CN104378299A (en) Flow table entry processing method and device
WO2022048412A1 (en) Method for generating table item, method for sending message, device, and system
WO2022007550A1 (en) Load balancing method, apparatus, network device, and system
CN106059946A (en) Message forwarding method and message forwarding device
CN115208888A (en) Communication method and device for cloud instance to cross available areas and electronic equipment
CN106453088B (en) A kind of static routing configuration method and terminal
CN104468304B (en) A kind of method of pond elementary state synchronizing information, pond Register and pond element
CN118612145A (en) A link abnormality processing method, device and related equipment
CN111835635B (en) A method, device and system for publishing routes in a BGP network
US12068952B2 (en) Routing information publishing method, apparatus, and system
US20230412503A1 (en) Determining unicast addresses of gateway network devices associated with an anycast address in vxlan-evpn dci environments
CN106982162B (en) Method, apparatus and system for forwarding traffic flow
CN107733801A (en) Receive and send the method and apparatus of message
CN103220217A (en) Route generating method and equipment
CN102281187A (en) System and method for realizing local exchange transmission and base station
CN112583720B (en) Inter-autonomous system traceroute messages
CN108768845B (en) Multi-homing host routing synchronization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant