CN104506668A - Route configuration method and device of dedicated cloud host - Google Patents

Route configuration method and device of dedicated cloud host Download PDF

Info

Publication number
CN104506668A
CN104506668A CN201410831030.7A CN201410831030A CN104506668A CN 104506668 A CN104506668 A CN 104506668A CN 201410831030 A CN201410831030 A CN 201410831030A CN 104506668 A CN104506668 A CN 104506668A
Authority
CN
China
Prior art keywords
address
host
network
main frame
subnet
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.)
Pending
Application number
CN201410831030.7A
Other languages
Chinese (zh)
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.)
Chengdu Chi Chi Technology Co., Ltd.
Original Assignee
CHENGDU ZHIYUN SCIENCE & TECHNOLOGY 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 CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd filed Critical CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd
Priority to CN201410831030.7A priority Critical patent/CN104506668A/en
Publication of CN104506668A publication Critical patent/CN104506668A/en
Pending legal-status Critical Current

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/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses

Abstract

The invention provides a route configuration method of a dedicated cloud host. The route configuration method includes receiving a request message for network activity sent from a request end; acquiring the IP address of the request end based on the request message; according to routing list rule, transmitting the IP address of the request end to a host machine hosting the cloud host; according to the routing list rule, transmitting the IP address of a request end of the host machine to the cloud host, and then subjecting the cloud host to processing the request message corresponding to the IP address of the request end; the host machine and the cloud host are in different intranet segments, such as the cloud host stays in a private intranet segment (such as 192.168.x.x) divided by the host machine, the host machine stays in the working intranet segment (such as 172.16.x.x), and the IP address of the host machine keeps; in this way, public network IP resources are saved, and as the IP of the cloud host moves or changes, the routing list rule and the host machine IP are unaffected, leading to high flexibility.

Description

A kind of method for configuring route and device exclusively enjoying cloud main frame
Technical field
The present invention relates to cloud Host routes field of configuration, in particular to a kind of method for configuring route and the device that exclusively enjoy cloud main frame.
Background technology
Cloud main frame incorporates calculating, stores and the IT infrastructure ability rental service of Internet resources, can provide to use the rental server service with ability of payment as required as required based on cloud computing mode.Client can by the self-service platform of web interface, the server environment needed for deployment.
Cloud main frame is the host leasing service of a new generation, it incorporates high-performance server and the high-quality network bandwidth, efficiently solve legacy hosts and rent the shortcomings such as on the high side, service quality is uneven, medium-sized and small enterprises can be met comprehensively, individual head of a station user serves low cost, highly reliable and manageable demand to host leasing.Virtualized cloud main frame all operates on physical host, and utilizes the network equipment of physical host to carry out network communication and access.
At present, the major way that cloud main frame operator carries out the configuration of cloud Host routes is: be bridged in physical host job network by cloud main frame by the network equipment of physical host, then by obtaining the IP address of himself from the pre-assigned IP address pool of keeper, finally carry out NAT (Network Address Translation in public network route, network address translation), that is: the particular port access request of public network IP is forwarded to the enterprising row relax of virtual cloud host ip.
Such as, user Xiang Yun main frame sends network access request information, now, namely router obtains the IP address of the request end corresponding with solicited message, and the cloud main frame IP address of request end is forwarded on host, in the same network segment, (the IP address as host is: 202.115.178.15, and the IP address of cloud main frame is: 202.115.178.16) in the IP address of host and cloud main frame.
But the IP address of host and cloud main frame is in the same network segment in correlation technique, because cloud host number is a lot, need to take a large amount of public network network segment IP, make the IP resource of the public network network segment inadequate, and a large amount of cloud main frames take whole public network network segments, also result in the waste of resource; Further, underaction, when the cloud host ip of on host needs migration time, all cloud host ips on server all need adjustment.
Summary of the invention
The object of the present invention is to provide a kind of method for configuring route and the device that exclusively enjoy cloud main frame, in order to reduce the occupancy of public network network segment IP, save the resource of the public network network segment, and each cloud main frame can be separate, its flexibility is better.
First aspect, embodiments provides a kind of method for configuring route exclusively enjoying cloud main frame, comprising:
Receive the request message that request end sends; Request message is used for request and carries out network activity;
According to request message, obtain the IP address of request end;
According to routing table rule, the IP address of request end is forwarded on the host of carrying cloud main frame; Host is physical server;
According to routing table rule, the IP address of the request end on host is forwarded on cloud main frame, so that the cloud main frame request message corresponding to the IP address of request end processes; Wherein, host and cloud main frame are in the different Intranet network segments.
In conjunction with first aspect, embodiments provide the first possible execution mode of first aspect, wherein, according to routing table rule, the IP address of the request end on host be forwarded on cloud main frame, comprise:
Private network set up by host; Wherein, described host is on IP address of internal network;
In private network, it is cloud host assignment private network IP address;
According to routing table rule, the IP address of request end is forwarded on the private network IP address of cloud main frame from the IP address of internal network of host.
In conjunction with the first possible execution mode of first aspect, embodiments provide the execution mode that the second of first aspect is possible, wherein, private network set up by host, comprising:
IP network based on every class is divided into subnet, and each subnet is defined; Wherein, IP network and subnet include category-A, category-B, C class, D class and E class;
For each subnet distributes new subnet address; Wherein, subnet address is that the host machine part of using based on the network address of every class creates.
In conjunction with the execution mode that the second of first aspect is possible, embodiments provide the third possible execution mode of first aspect, wherein, in private network, be cloud host assignment private network IP address, comprise:
In private network, in every platform host, be cloud host assignment C class private network IP address with subnet; Wherein, private IP address scope is: 192.168.0.0--192.168.255.255, and maximum host number has 255.
In conjunction with the third possible execution mode of first aspect, embodiments provide the 4th kind of possible execution mode of first aspect, wherein, subnet IP is dynamic IP.
Second aspect, the embodiment of the present invention additionally provides a kind of routing configuration device exclusively enjoying cloud main frame, comprising:
Receiver module, for receiving the request message that request end sends; Request message is used for request and carries out network activity;
Acquisition module, for the request message received according to receiver module, obtains the IP address of request end;
First forwarding module, for according to routing table rule, is forwarded on the host of carrying cloud main frame by the IP address of the request end of acquisition module acquisition; Host is physical server;
Second forwarding module, for according to routing table rule, the IP address of the request end on the host be forwarded to the first forwarding module is forwarded on cloud main frame, so that the cloud main frame request message corresponding to the IP address of request end processes; Wherein, host and cloud main frame are in the different Intranet network segments.
In conjunction with second aspect, embodiments provide the first possible execution mode of second aspect, wherein, the second forwarding module comprises:
Set up unit, for setting up private network on host; Wherein, described host is on IP address of internal network;
Allocation units, in the private network setting up unit foundation, are cloud host assignment private network IP address;
Retransmission unit, for according to routing table rule, is forwarded to the IP address of request end on the private network IP address that allocation units are cloud host assignment from the IP address of internal network of host.
In conjunction with the first possible execution mode of second aspect, embodiments provide the execution mode that the second of first aspect is possible, wherein, set up unit, comprising:
Divide submodule, for the IP network based on every class is divided into subnet; Wherein, IP network and subnet include category-A, category-B, C class, D class and E class;
Define submodule, the subnet divided for dividing submodule to each defines; For each subnet distributes new subnet address; Wherein, subnet address is that the host machine part of using based on the network address of every class creates.
In conjunction with the execution mode that the second of second aspect is possible, embodiments provide the third possible execution mode of second aspect, wherein, allocation units, specifically at private network in every platform host, be cloud host assignment C class private network IP address with subnet; Wherein, private IP address scope is: 192.168.0.0--192.168.255.255, and maximum host number has 255.
In conjunction with the third possible execution mode of second aspect, embodiments provide the 4th kind of possible execution mode of second aspect, wherein, subnet IP is dynamic IP.
A kind of method for configuring route and device exclusively enjoying cloud main frame that the embodiment of the present invention provides, comprising: receive the request message that request end sends; Request message is used for request and carries out network activity; According to request message, obtain the IP address of request end; According to routing table rule, the IP address of request end is forwarded on the host of carrying cloud main frame; Host is physical server; According to routing table rule, the IP address of the request end on host is forwarded on cloud main frame, so that the cloud main frame request message corresponding to the IP address of request end processes; Wherein, host and cloud main frame are in the different Intranet network segments,
With in correlation technique because cloud host number is a lot, need to take a large amount of public network network segment IP, make IP resource inadequate, and a large amount of cloud main frames take whole network segments, also result in the waste of resource, and, underaction, when the cloud host ip of on host needs migration time, all cloud host ips on server all need the routing configuration scheme adjusted to compare, its host and cloud main frame be not in the same network segment, being in host cloudlike main frame is the privately owned Intranet network segment (as 192.168.x.x section) that it divides, host is in the Intranet network segment (as 172.16.x.x section) of work, the IP address of host can not become, save public network IP resource, and when there is migration in the IP of cloud main frame or IP needs to adjust, routing rule and host IP can not be affected, flexibility is better.
For making above-mentioned purpose of the present invention, feature and advantage become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, be described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, be to be understood that, the following drawings illustrate only some embodiment of the present invention, therefore the restriction to scope should be counted as, for those of ordinary skill in the art, under the prerequisite not paying creative work, other relevant accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 shows a kind of structural representation exclusively enjoying the routing configuration system of cloud main frame that the embodiment of the present invention provides;
Fig. 2 shows a kind of flow chart exclusively enjoying the method for configuring route of cloud main frame that the embodiment of the present invention provides;
The another kind that Fig. 3 shows the embodiment of the present invention to be provided exclusively enjoys the flow chart of the method for configuring route of cloud main frame;
Fig. 4 shows a kind of structural representation exclusively enjoying the routing configuration device of cloud main frame that the embodiment of the present invention provides;
The another kind that Fig. 5 shows the embodiment of the present invention to be provided exclusively enjoys the structural representation of the routing configuration device of cloud main frame;
The another kind that Fig. 6 shows the embodiment of the present invention to be provided exclusively enjoys the structural representation of the routing configuration device of cloud main frame;
The another kind that Fig. 7 shows the embodiment of the present invention to be provided exclusively enjoys the overall flow figure of the method for configuring route of cloud main frame.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.The assembly of the embodiment of the present invention describing and illustrate in usual accompanying drawing herein can be arranged with various different configuration and design.Therefore, below to the detailed description of the embodiments of the invention provided in the accompanying drawings and the claimed scope of the present invention of not intended to be limiting, but selected embodiment of the present invention is only represented.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
For ease of understanding the present embodiment, first to the present embodiment based on communication connecting system carry out brief description.As shown in Figure 1, communication connecting system involved in the present invention comprises: at least one request end 11, cloud management platform 12 and router one 3; Wherein, request end 11, data communications context between two can be set up between cloud management platform 12 and router one 3.And in embodiments of the present invention, above-mentioned request end 11 can for having the main frame of data communication function, such as computer, panel computer or other electronic equipments; Also can be intelligent terminal etc.
And the cloud management platform 12 in the embodiment of the present invention comprises host 21, storage server 22 and cloud main frame 23; Wherein, data communications context between two can be set up between host 21, storage server 22 and cloud main frame 23.
Embodiment 1
Embodiments provide a kind of method for configuring route exclusively enjoying cloud main frame, as shown in Figure 2, comprising:
101, the request message that request end sends is received; Request message is used for request and carries out network activity.
The main frame that request end in the present embodiment and user use; This main frame can have processing capacity, also can not have processing capacity, but requires that this main frame can with router, communicate between host and cloud main frame.Such as, user wants to use the online of cloud main frame, opens webpage, namely to the request message that cloud main frame sends by this cloud main frame; Concrete, as long as user carries out online activity with cloud main frame, send a request message all at last to cloud main frame, this request message is used for request and carries out network activity.
102, according to request message, the IP address of request end is obtained.
Concrete, the request message that router sends according to request end, obtains the IP address of request end, processes so that follow-up to this IP address.
103, according to routing table rule, the IP address of request end is forwarded on the host of carrying cloud main frame; Host is physical server and the network of application Intranet 172 network segment.
Routing table in the present embodiment, refers to the table that router or other internet networks store, and has the path arriving particular network terminal in this table, in some cases, also has some tolerance relevant to these paths.And in the present embodiment, router is according to its routing table rule, the IP address of the request end obtained is forwarded on the host of carrying cloud main frame; Host is physical server and the network of application Intranet 172 network segment.
Host in the present embodiment is on 172 network segments of inside, does not take public network, therefore has saved public network IP resource, and when migration occurs the IP of cloud main frame or IP needs to adjust, can not affect routing rule and host IP, flexibility is better.
104, according to routing table rule, the IP address of the request end on host is forwarded on cloud main frame, so that the cloud main frame request message corresponding to the IP address of request end processes; Wherein, host and cloud main frame are in the different Intranet network segments.
Concrete, router continues the rule according to its routing table, is forwarded on cloud main frame the IP address of the request end that host receives.And in the present embodiment, cloud main frame and host be not on the same Intranet network segment, therefore the IP address of the request end of the router needing host to be received transmission is forwarded on cloud main frame.
A kind of method for configuring route exclusively enjoying cloud main frame that the embodiment of the present invention provides, comprising: receive the request message that request end sends, request message is used for request and carries out network activity, according to request message, obtain the IP address of request end, according to routing table rule, the IP address of request end is forwarded on the host of carrying cloud main frame, host is physical server, according to routing table rule, the IP address of the request end on host is forwarded on cloud main frame, so that the cloud main frame request message corresponding to the IP address of request end processes, wherein, host and cloud main frame are in the different Intranet network segments, with in correlation technique because cloud host number is a lot, need to take a large amount of public network network segment IP, make IP resource inadequate, and a large amount of cloud main frames take whole network segments, also result in the waste of resource, and, underaction, when the cloud host ip of on host needs migration time, all cloud host ips on server all need the routing configuration scheme adjusted to compare, its host and cloud main frame be not in the same network segment, being in host cloudlike main frame is the privately owned Intranet network segment (as 192.168.x.x section) that it divides, host is the Intranet network segment (as 172.16.x.x section) being in work, save public network IP resource, and when there is migration in the IP of cloud main frame or IP needs to adjust, routing rule and host IP can not be affected, flexibility is better.
Embodiment 2
The embodiment of the present invention additionally provides a kind of method for configuring route exclusively enjoying cloud main frame, as shown in Figure 3, comprising:
201, the request message that request end sends is received; Request message is used for request and carries out network activity.
202, according to request message, the IP address of request end is obtained.
203, according to routing table rule, the IP address of request end is forwarded on the host of carrying cloud main frame; Host is physical server and the network of application Intranet 172 network segment.
204, on host, private network is set up; Wherein, host is on IP address of internal network.
Concrete, during initial design internet, for the ease of addressing and stratification tectonic network, each IP address comprises two identification codes (ID), i.e. network ID and host ids.And the All hosts on same physical network all uses same network ID, the main frame (comprising work station on network, server and router etc.) on network has a host id corresponding with it.The Internet committee defines 5 kinds of IP address class types with the network of applicable different capabilities, i.e. category-A ~ E class.
Wherein this 3 class IP address class type (as shown in table 1 below) of A, B, C is distributed unitedly in the world by InternetNIC, and D, E class is special address.
Table 1
Concrete, public address (or being called public network address), so-called IP address is exactly to 32 bit address of each connection host assignment on the internet.
And IP address class is like telephone number (address code): the telephone number having had someone, you just can converse with him.Equally, there is the IP address of certain main frame, this main-machine communication that can be corresponding with this IP address.
According to TCP/IP (Transport Control Protocol/Internet Protocol, transmission control protocol/Internet protocol) agreement regulation, IP address binary system represents, each long 32bit in IP address, bit is converted into byte, is exactly 4 bytes.Such as one the IP address adopting binary form is a string very long numeral, and such user deals with hard and bothers.The conveniently use of user, IP address is often written to metric form, the middle byte using symbol ". " separately different.So IP address above can be expressed as " 10.0.0.1 ".This representation of IP address is called " Dotted decimal notation ", and this is obviously than 1 with 0 easily remember many.
At present, the computer that most of user thinks can only have an IP address, and this viewpoint is wrong.We can specify a computer to have multiple IP address, therefore when accessing the Internet, do not think that an IP address is exactly a computer; In addition, by specific technology, multiple servers also can be made to share an IP address, and these servers seem just as a main frame user.
IP address be divide into network number and host number two parts, designer just must determine every part comprises how many positions.The figure place of network number directly determines the network number (computational methods 2^ network number figure place) that can distribute; The figure place of host number then determines host number (computational methods 2^ host number figure place-2) maximum in network.But, the network size comprised due to whole the Internet may be larger, also may be smaller, designer is finally clever have selected one scheme flexibly: IP address space is divided into different classifications, and each class has different network number figure places and host number figure place.
IP address is the foundation of transfer of data in IP network, and it identifies a connection in IP network, and a main frame can have multiple IP address.IP address in IP grouping remains unchanged in Internet Transmission.
The basic format of IP address: IP network of today uses 32 bit address, represents, as 192.168.0.1 with dotted decimal notation.
Address format is: the IP address=network address+host address or the IP address=network address+subnet address+host address.
The network address is that the ICANN (the Internet Corporation forAssigned Names and Numbers) of Internet Society distributes, under to have the InterNIC of responsible north America region, be responsible for the RIPENIC of European Region and the APNIC object of the responsible Asian-Pacific area be global uniqueness in order to ensure the network address.Host address is distributed by the system manager of each network.Therefore, in the uniqueness of the network address and network, the uniqueness of host address ensure that the global uniqueness of IP address.
The address assignment of IP address:
According to the difference of purposes and security level, IP address can also be roughly divided into two classes: public address and private address.Public address uses in Internet, arbitrarily can access in Internet.Private address can only use in internal network, only has and could be communicated with Internet by proxy server.
IP address is divided into five classes, and category-A is reserved to government organs, and category-B distributes to medium scale company, and C class distributes to the people of any needs, and D class is used for multicast, and E class is used for experiment, and all kinds of open ended address number is different.
A, B, C tri-feature of class IP address: when being write IP address as binary form, first of category-A address always 0, the front three always 110 of the front two of category-B address always 10, C class addresses.
Category-A address
(1) category-A address the 1st byte is the network address, and other 3 bytes are host address.First of its 1st byte is fixed as 0;
(2) category-A address network scope: 1.0.0.0---126.0.0.0;
(3) private address in category-A address and reserved address:
1. 10.X.X.X is private address (so-called private address is exactly do not use on the internet, and is used in the address in LAN).
Scope (10.0.0.0---10.255.255.255).
2. 127.X.X.X is reserved address, is used as loop test.
Category-B address
(1) category-B address the 1st byte and the 2nd byte are the network address, and other 2 bytes are host address.The front two of its 1st byte is fixed as 10.
(2) category-B address network scope: 128.0.0.0---191.255.0.0.
(3) private address of category-B address and reserved address:
1. 172.16.0.0---172.31.255.255 is private address.
2. 169.254.X.X is reserved address.If your IP address is automatic acquisition IP address, and you do not find available Dynamic Host Configuration Protocol server on network.One of them IP will be obtained.
191.255.255.255 be broadcast address, can not distribute.
C class address
(1) C class address the 1st byte, the 2nd byte and the 3rd byte are the network address, and the 4th byte is host address.The front three of other 1st byte is fixed as 110.
(2) C class address network scope: 192.0.0.0---223.255.255.0.
(3) private address in C class address:
192.168.X.X be private address, scope (192.168.0.0---192.168.255.255)
D class address
(1) D class address is regardless of the network address and host address, and first four of its 1st byte are fixed as 1110.
(2) D class address realm: 224.0.0.0---239.255.255.255.
E class address
(1) E class address is regardless of the network address and host address, and the first five position of its 1st byte is fixed as 11110.
(2) E class address realm: 240.0.0.0---247.255.255.255.
If IP address only uses category-A, category-B, C class, D class and E class to divide, a large amount of wastes can be caused: a network having 500 main frames, cannot use C class address.If but used a category-B address, more than 60,000 host address would only have 500 to be used, and causes a large amount of wastes of IP address.Therefore, VLSM (Variable LengthSubnet Masking: VLSM) technology is also supported in IP address, can on the basis of category-A, category-B and class c network, Further Division subnet.
Based on above-mentioned thought and design concept, in the present embodiment, specifically the IP network based on every class is divided into subnet, and each subnet is defined; Wherein, described IP network and described subnet include category-A, category-B, C class, D class and E class;
Then new subnet address is distributed for each described subnet; Wherein, described subnet address is that the host machine part of using based on the network address of every class creates.
Concrete, sub-network division is defined as follows: Internet organization defines five kinds of IP addresses, has A, B, C tri-class address.Class A Network has 126, and each Class A Network may have 16777214 main frames, and they are in same broadcast domain.And in same broadcast domain, having so many nodes to be impossible, network can be saturated because of broadcast communication, and result causes 16777214 address major parts not dispense.IP network based on every class can be divided into less network further, each subnet is defined by router and distributes a new subnet network address, and subnet address is that the host machine part of using based on the network address of every class creates.
Further, in the application, specifically the IP network based on every class is divided into subnet, and after each subnet is defined, automatically distributes new subnet address for each described subnet; Wherein, automatic distributing IP is dynamic IP, and the manual setting in correlation technique is static IP, in the application, use dynamic IP to be to solve the not enough problem in IP address, or computer environment is not fixed, such as often having external staff to come company needs with network, each all want webmaster to go to the complicated operation of setting and loaded down with trivial details, and at webmaster not in case, namely this Migrant women can not use the problem of network.
Static IP is more stable network environment, and use when the abundance of IP address, certain the application also can use static IP.
205, in private network, be cloud host assignment private network IP address.
Concrete, in described private network, in every platform host, be described cloud host assignment C class private network IP address with subnet; Wherein, private IP address scope is: 192.168.0.0--192.168.255.255, and maximum host number has 255.
Such as, C class address is belonged to the IP of host distribution to when, public ip address scope is: 192.0.1.1-223.255.254.254, maximum host number has 2,090,000, in every platform host with subnet to cloud host assignment C class private network IP address, private IP address scope is: 192.168.0.0--192.168.255.255, and maximum host number has 255.A private network IP=532950000 IP address, 2090000 public network IP × 255, the Class C IP address that altogether can use just has 532950000.Therefore the collocation method available IP-addresses aboundresources more of the prior art of dynamic routing in use the present embodiment, and saving resource.
206, according to routing table rule, the IP address of request end is forwarded on the IP address of the privately owned Intranet of cloud main frame from the work IP address of internal network of host, so that the cloud main frame request message corresponding to the IP address of request end processes; Wherein, the IP address of the privately owned Intranet of cloud main frame is that it creates by host, and host and cloud main frame are in the different Intranet network segments.
A kind of method for configuring route exclusively enjoying cloud main frame that the embodiment of the present invention provides, comprising: receive the request message that request end sends; Request message is used for request and carries out network activity; According to request message, obtain the IP address of request end; According to routing table rule, the IP address of request end is forwarded on the host of carrying cloud main frame; Host is physical server; According to routing table rule, the IP address of the request end on host is forwarded on cloud main frame, so that the cloud main frame request message corresponding to the IP address of request end processes; Wherein, host and cloud main frame are in the different Intranet network segments, with in correlation technique because cloud host number is a lot, need to take a large amount of public network network segment IP, make IP resource inadequate, and a large amount of cloud main frames take whole network segments, also result in the waste of resource; And, underaction, when the cloud host ip of on host needs migration time, all cloud host ips on server all need the routing configuration scheme adjusted to compare, its host and cloud main frame (are private Intranet network segment IP cloudlike main frame not in the same network segment, host is the Intranet network segment IP of work, the IP address of host can not become), save public network IP resource, and when there is migration in the IP of cloud main frame or IP needs to adjust, can not affect routing rule and host IP, flexibility is better.
Advantage of the present invention:
1, to cloud host assignment is subnet net IP, is dynamic IP allocation, and does not need staff's manual assignment cloud host work network segment IP;
2, saved IP resource: cloud main frame is Intranet IP, host is public network IP, and the IP address of host can not become, and when migration occurs the IP of cloud main frame or IP needs to adjust, can not affect routing rule and host IP;
In traditional method, host and cloud main frame are in the same network segment, and such as host and cloud main frame all distribute C class public network IP address, then the most multipotency of host quantity together with cloud main frame reaches 2,090,000; If host distributes the public network IP address of C class, the public network IP according to C class sets up private network, and to cloud host assignment private network IP address, then the most multipotency of host and cloud host number reaches 53,295 ten thousand.
Embodiment 3
Embodiments provide a kind of routing configuration device exclusively enjoying cloud main frame, as shown in Figure 4, comprising:
Receiver module 31, for receiving the request message that request end sends; Request message is used for request and carries out network activity;
Acquisition module 32, for the request message received according to receiver module 31, obtains the IP address of request end;
First forwarding module 33, for regular according to routing table, the IP address of the request end obtained by acquisition module 32 is forwarded on the host of carrying cloud main frame; Host is physical server;
Second forwarding module 34, for according to routing table rule, the IP address of the request end on the host be forwarded to the first forwarding module 33 is forwarded on cloud main frame, so that the cloud main frame request message corresponding to the IP address of request end processes; Wherein, host and cloud main frame are in the different Intranet network segments.
Further, as shown in Figure 5, this exclusively enjoys in the routing configuration device of cloud main frame, and the second forwarding module 34 comprises:
Set up unit 41, for setting up private network on host; Wherein, host is on IP address of internal network;
Allocation units 42, in the private network setting up unit 41 foundation, are cloud host assignment private network IP address;
Retransmission unit 43, for regular according to described routing table, it is on the private network IP address of described cloud host assignment that the IP address of described request end is forwarded to described allocation units 42 from the IP address of internal network of described host.
Further, as shown in Figure 6, this exclusively enjoys in the routing configuration device of cloud main frame, sets up unit 41 and comprises:
Divide submodule 51, for the IP network based on every class is divided into subnet; Wherein, IP network and subnet include category-A, category-B, C class, D class and E class;
Define submodule 52, the subnet divided for dividing submodule to each defines; For each subnet distributes new subnet address; Wherein, subnet address is that the host machine part of using based on the network address of every class creates.
Further, this exclusively enjoys in the routing configuration device of cloud main frame, allocation units 42, specifically at private network in every platform host, be cloud host assignment C class private network IP address with subnet; Wherein, private IP address scope is: 192.168.0.0--192.168.255.255, and maximum host number has 255.
Further, this exclusively enjoys in the routing configuration device of cloud main frame, and subnet IP is dynamic IP.
A kind of routing configuration device exclusively enjoying cloud main frame that the embodiment of the present invention provides, comprising: receive the request message that request end sends, request message is used for request and carries out network activity, according to request message, obtain the IP address of request end, according to routing table rule, the IP address of request end is forwarded on the host of carrying cloud main frame, host is physical server, according to routing table rule, the IP address of the request end on host is forwarded on cloud main frame, so that the cloud main frame request message corresponding to the IP address of request end processes, wherein, host and cloud main frame are in the different Intranet network segments, with in correlation technique because cloud host number is a lot, need to take a large amount of public network network segment IP, make IP resource inadequate, and a large amount of cloud main frames take whole network segments, also result in the waste of resource, and, underaction, when the cloud host ip of on host needs migration time, all cloud host ips on server all need the routing configuration scheme adjusted to compare, its host and cloud main frame be not in the same network segment, being in host cloudlike main frame is the privately owned Intranet network segment (as 192.168.x.x section) that it divides, host is the Intranet network segment (as 172.16.x.x section) being in work, save public network IP resource, and when there is migration in the IP of cloud main frame or IP needs to adjust, routing rule and host IP can not be affected, flexibility is better.The another kind that Fig. 7 shows the embodiment of the present invention to be provided exclusively enjoys the overall flow figure of the method for configuring route of cloud main frame.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of module, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Device embodiment described above is only schematic, such as, the division of described module, be only a kind of logic function to divide, actual can have other dividing mode when realizing, again such as, multiple module or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some communication interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. exclusively enjoy a method for configuring route for cloud main frame, it is characterized in that, comprising:
Receive the request message that request end sends; Described request message is used for request and carries out network activity;
According to described request message, obtain the IP address of request end;
According to routing table rule, the IP address of described request end is forwarded on the host of carrying cloud main frame; Described host is physical server;
According to described routing table rule, the IP address of the request end on described host is forwarded on described cloud main frame, so that described request message corresponding to the IP address of described cloud main frame to described request end processes; Wherein, described host and described cloud main frame are in the different Intranet network segments.
2. method according to claim 1, is characterized in that, described according to described routing table rule, is forwarded on described cloud main frame the IP address of the request end on described host, comprises:
Private network set up by described host; Wherein, described host is on IP address of internal network;
In described private network, it is described cloud host assignment private network IP address;
According to described routing table rule, the IP address of described request end is forwarded on the private network IP address of described cloud main frame from the IP address of internal network of described host.
3. method according to claim 2, is characterized in that, describedly on described host, sets up private network, comprising:
IP network based on every class is divided into subnet, and each subnet is defined; Wherein, described IP network and described subnet include category-A, category-B, C class, D class and E class;
For each described subnet distributes new subnet address; Wherein, described subnet address is that the host machine part of using based on the network address of every class creates.
4. method according to claim 3, is characterized in that, described in described private network, is described cloud host assignment private network IP address, comprises:
In described private network, in every platform host, be described cloud host assignment C class private network IP address with subnet; Wherein, private IP address scope is: 192.168.0.0--192.168.255.255, and maximum host number has 255.
5. method according to claim 4, is characterized in that, described subnet IP is dynamic IP.
6. exclusively enjoy a routing configuration device for cloud main frame, it is characterized in that, comprising:
Receiver module, for receiving the request message that request end sends; Described request message is used for request and carries out network activity;
Acquisition module, for the described request message received according to described receiver module, obtains the IP address of request end;
First forwarding module, for regular according to routing table, the IP address of the request end obtained by described acquisition module is forwarded on the host of carrying cloud main frame; Described host is physical server;
Second forwarding module, for regular according to described routing table, the IP address of the request end on the described host be forwarded to described first forwarding module is forwarded on described cloud main frame, so that described request message corresponding to the IP address of described cloud main frame to described request end processes; Wherein, described host and described cloud main frame are in the different Intranet network segments.
7. device according to claim 6, is characterized in that, described second forwarding module comprises:
Set up unit, for setting up private network on described host; Wherein, described host is on IP address of internal network;
Allocation units, for setting up in the described private network of unit foundation described, are described cloud host assignment private network IP address;
Retransmission unit, for according to described routing table rule, is forwarded to the IP address of described request end on the private network IP address that described allocation units are described cloud host assignment from the IP address of internal network of described host.
8. device according to claim 7, is characterized in that, describedly sets up unit, comprising:
Divide submodule, for the IP network based on every class is divided into subnet; Wherein, described IP network and described subnet include category-A, category-B, C class, D class and E class;
Define submodule, the described subnet divided for dividing submodule to each defines; For each described subnet distributes new subnet address; Wherein, described subnet address is that the host machine part of using based on the network address of every class creates.
9. device according to claim 8, is characterized in that, described allocation units, specifically at described private network in every platform host, be described cloud host assignment C class private network IP address with subnet; Wherein, private IP address scope is: 192.168.0.0--192.168.255.255, and maximum host number has 255.
10. device according to claim 9, is characterized in that, described subnet IP is dynamic IP.
CN201410831030.7A 2014-12-26 2014-12-26 Route configuration method and device of dedicated cloud host Pending CN104506668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410831030.7A CN104506668A (en) 2014-12-26 2014-12-26 Route configuration method and device of dedicated cloud host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410831030.7A CN104506668A (en) 2014-12-26 2014-12-26 Route configuration method and device of dedicated cloud host

Publications (1)

Publication Number Publication Date
CN104506668A true CN104506668A (en) 2015-04-08

Family

ID=52948383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410831030.7A Pending CN104506668A (en) 2014-12-26 2014-12-26 Route configuration method and device of dedicated cloud host

Country Status (1)

Country Link
CN (1) CN104506668A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635336A (en) * 2015-12-31 2016-06-01 北京轻元科技有限公司 Dynamic and adaptive mixed cloud network management method
CN108780304A (en) * 2016-03-31 2018-11-09 东芝三菱电机产业系统株式会社 Complete set of equipments supervisor control data regeneration device
CN113301070A (en) * 2020-04-07 2021-08-24 阿里巴巴集团控股有限公司 Method and device for establishing data transmission channel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664972A (en) * 2012-05-11 2012-09-12 中科方德软件有限公司 Method and device for mapping address in virtual network
US20130044641A1 (en) * 2011-08-17 2013-02-21 Teemu Koponen Federating interconnection switching element network to two or more levels
US20130318219A1 (en) * 2012-05-23 2013-11-28 Brocade Communications Systems, Inc Layer-3 overlay gateways
CN103747020A (en) * 2014-02-18 2014-04-23 成都致云科技有限公司 Safety controllable method for accessing virtual resources by public network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130044641A1 (en) * 2011-08-17 2013-02-21 Teemu Koponen Federating interconnection switching element network to two or more levels
CN102664972A (en) * 2012-05-11 2012-09-12 中科方德软件有限公司 Method and device for mapping address in virtual network
US20130318219A1 (en) * 2012-05-23 2013-11-28 Brocade Communications Systems, Inc Layer-3 overlay gateways
CN103747020A (en) * 2014-02-18 2014-04-23 成都致云科技有限公司 Safety controllable method for accessing virtual resources by public network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635336A (en) * 2015-12-31 2016-06-01 北京轻元科技有限公司 Dynamic and adaptive mixed cloud network management method
CN105635336B (en) * 2015-12-31 2018-12-28 北京轻元科技有限公司 A kind of mixed cloud network management of dynamic self-adapting
CN108780304A (en) * 2016-03-31 2018-11-09 东芝三菱电机产业系统株式会社 Complete set of equipments supervisor control data regeneration device
CN113301070A (en) * 2020-04-07 2021-08-24 阿里巴巴集团控股有限公司 Method and device for establishing data transmission channel

Similar Documents

Publication Publication Date Title
CN110301104B (en) Optical line terminal OLT equipment virtualization method and related equipment
KR101840904B1 (en) Virtualization gateway between virtualized and non-virtualized networks
CN103797774B (en) A kind of network address translation apparatus and method
AU2013375618B2 (en) Load sharing method and apparatus
EP3664420B1 (en) Managing address spaces across network elements
CN110737508A (en) cloud container service network system based on wave cloud and implementation method
CN102137007B (en) Method and system for generating network topology as well as coordinator
CN110213391B (en) Method and device for configuring network protocol address
CN109617816B (en) Data message transmission method and device
KR101320962B1 (en) Management method and management device for network address translation
CN105430110A (en) Container configuration method and network transmission device of virtual network system
CN107809386B (en) IP address translation method, routing device and communication system
CN103036788A (en) Implementation method of multi-interface gateway equipment data transmitting
CN104486589A (en) Assess method and device of GVRP-based video monitoring system
CN102055641A (en) Distribution method for virtual local area network and related device
CN106453681A (en) IP address allocation method and device
CN110224917B (en) Data transmission method, device and system and server
CN104639497A (en) Remote access configuration method, remote access method, remote access configuration device, remote access device and remote access system
CN104506668A (en) Route configuration method and device of dedicated cloud host
CN104104749A (en) Method and device for allocating tunnel IP addresses
CN104333612A (en) Network address translation method and device
CN105357332A (en) Network address translation method and device
WO2015196719A1 (en) Address configuration method, apparatus and device
CN113904871B (en) Access method of network slice, PCF entity, terminal and communication system
US8615600B2 (en) Communication between a host operating system and a guest operating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171129

Address after: 610000 Chengdu City, Sichuan, Chengdu, China (Sichuan) free trade test zone, Chengdu high tech Zone, Tianfu Sanjie No. 219, 2 building

Applicant after: Chengdu Chi Chi Technology Co., Ltd.

Address before: 610000 Chengdu province high tech Zone, East Street, No. 76, grass layer, layer 4, No.

Applicant before: CHENGDU ZHIYUN SCIENCE & TECHNOLOGY CO., LTD.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150408