Distributed router obtaining method suitable for cloud computing

An implementation method and distributed technology, applied in the field of cloud computing, can solve problems such as single-point failure and large load of virtual machine network, and achieve the effect of reducing communication load

Active Publication Date: 2015-03-25
G CLOUD TECH
View PDF2 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem solved by the present invention is to provide a distributed router implementation method suitable for clo

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed router obtaining method suitable for cloud computing
  • Distributed router obtaining method suitable for cloud computing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] like figure 1 Shown, the concrete implementation process of the present invention is as follows:

[0025] (1) Computing nodes create 3 bridges

[0026] #ovs-vsctl add-br br-int

[0027] #ovs-vsctl add-br br-ex

[0028] #ovs-vsctl add-br br-phy

[0029] #ovs-vsctl add-port br-phy eth1; ovs-vsctl add-port br-ex ext2

[0030] (2) Create a dhcp network space for the network

[0031] #ip netns add dhcp-net1

[0032] #ovs-vsctl add-port br-int tap9tag Taiwan 9 --set interface tap9type Taiwan internal

[0033] #ip netns exec dhcp-net1ip addr add 192.168.12.1 / 24dev tap9

[0034] #ip netns exec dhcp-net1ifconfig tap9promisc up

[0035] Then start the dhcp service on dhcp-net1

[0036] Create a routing network space for each user and set the gateway

[0037] #ip netns add qr-123456

[0038] #ovs-vsctl add-port br-int gw_tag9tag taiwan 9 --set interface gw_tag9type taiwan internal

[0039] #ip netns exec qr-123456 ip addr add 192.168.12.254dev gw_tag9

[0040] #ip net...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of cloud computing, in particular to a distributed router obtaining method suitable for cloud computing. The method includes the following steps that firstly, three network bridges are established for each computational node; secondly, an isolated virtual network space is established for each network by the corresponding computational nodes, a network interface is added to each network and connected to the internal network bridge, and the dhcp service is started in each virtual network space; thirdly, each computational node establishes a new network space for multiple networks of the same tenant with the communication requirement, each new network space is named as a router network space, a network port is added to each network and connected to the corresponding router network space and serves as a gateway, and the same mac and ip are set for the gateway of the same network; fourthly, when virtual machines are established, arp tables of the router network spaces are correspondingly updated, and the virtual machines are connected to the internal network bridges; fifthly, a flow rule is set between the internal network bridges. According to the method, the problems of virtual machine network single-point faults and large loads are solved and the method can be used for obtaining distributed routers for cloud computing.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method for implementing a distributed router suitable for cloud computing. Background technique [0002] Under the cloud platform, each user hopes that he can create a network at will, and the user hopes to control the communication of different networks. [0003] The usual solution in the industry is to set a high-performance computer as the network control node. Then the network control node has the following functions: 1) the network control node sets the ip of the virtual machine through dhcp; 2) the gateway of each network is set at the network control node; 3) each network performs NAT mapping at the network control node. [0004] However, the usual solutions in the industry have the following disadvantages: [0005] 1. A single point of failure will affect the communication of all virtual machines. If a hardware failure occurs on a network node, the virtual mac...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08H04L12/46
CPCH04L12/4641H04L61/103H04L61/5014
Inventor 张瑜科杨松莫展鹏季统凯
Owner G CLOUD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products