[go: up one dir, main page]

CN100420224C - Network appiliance and method of realizing service sharing - Google Patents

Network appiliance and method of realizing service sharing Download PDF

Info

Publication number
CN100420224C
CN100420224C CNB2006100723792A CN200610072379A CN100420224C CN 100420224 C CN100420224 C CN 100420224C CN B2006100723792 A CNB2006100723792 A CN B2006100723792A CN 200610072379 A CN200610072379 A CN 200610072379A CN 100420224 C CN100420224 C CN 100420224C
Authority
CN
China
Prior art keywords
vlan
service
customer
address information
port group
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.)
Expired - Fee Related
Application number
CNB2006100723792A
Other languages
Chinese (zh)
Other versions
CN1835467A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2006100723792A priority Critical patent/CN100420224C/en
Publication of CN1835467A publication Critical patent/CN1835467A/en
Application granted granted Critical
Publication of CN100420224C publication Critical patent/CN100420224C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The present invention discloses a method for realizing service sharing in a network device. The network device comprises a client port group and at least two service port groups, and services of the client port group are shared by the service port groups. The present invention comprises: each service port group is divided in service VLANs which are not communicated mutually; client address information of service messages are corresponding to a certain service VLAN; the service messages are forwarded according to the service VLAN corresponding to the client address information. The present invention realizes service allocation according to two or three layers of information, simplifies the realization of the service sharing, increases the reliability of devices, and simultaneously reduces the cost of service sharing devices; the present invention has the functions of fault switching, fault recovery and dynamic load balancing.

Description

The professional method of sharing of the network equipment and realization thereof
Technical field
The present invention relates to the switching technology of network and data communication field, relate in particular to and realize professional method of sharing and the switching equipment of using this method in a kind of switching equipment.
Background technology
Most application that realize by network all need server to bear crucial Processing tasks.And along with the growth of business, the disposal ability of server can become bottleneck of performance. owing to can take into account autgmentability and reliability simultaneously, have business and share the server cluster of function and become the preferred option that addresses this problem.
Figure 1 shows that a kind of applied representative network structure of the network equipment that business is shared function that has, server 121,122,123 and 124 is formed server cluster, share equipment 110 by business and be connected to Internet, Operational Visit from Internet is responded. server 121,122,123 and 124 clusters that constitute are externally with unified IP address and the unified unified business of application program port numbers operation, for the node on the Internet, be which server is responding not difference to it actually.Business is shared equipment 110 and is used for the service request that goes up node from Internet is distributed to 4 servers.
In the prior art, business is shared equipment and is adopted the switching equipment with WebSwitch (webpage exchange) function usually, according to four layers to seven layers information in the client-requested message these requests are assigned on the relatively idle server, to carry out load sharing. wherein, four layers of information comprise TCP/UDP (TransferControl Protocol/User Datagram Protocol, transmission control protocol/User Datagram Protoco (UDP)) source and/or destination slogan, this information usually and source IP (Internet Protocol, Internet protocol) address use together; Five to seven layers information comprises contents such as the URL (User Requirements Language, customer requirements language), application layer field of HTTP (Hyper Text Transfer Protocol, HTML (Hypertext Markup Language)).
As seen, this require professional share equipment must the perception service message in four to seven layers information, carry out equilibrium distribution according to certain strategy again.And WebSwitch is normally on the switch of middle and high end or the function that just has on the router, and it is quite complicated that four to seven layers exchange implements, and makes that the cost of application server cluster is very high.
Summary of the invention
What the present invention will solve is that business is shared the problem that equipment need carry out traffic assignments by four to seven layers exchange in the prior art.
Realize the professional method of sharing in the network equipment of the present invention, this network equipment comprises client port group and at least two serve port groups, and the business by serve port component load client port group said method comprising the steps of:
Each serve port group is divided in the mutual disconnected service virtual local area networks VLAN;
The customer address information of service message is corresponding with certain service vlan;
Service message is transmitted according to the service vlan of its customer address information correspondence.
Preferably, described method also comprises:
Be provided with service vlan and have the customer VLAN of mapping relations one by one;
Allow the client port group to transmit the message that all have the service vlan label;
Described customer address information with service message is specially with certain service vlan is corresponding: the customer address information of service message is added in certain customer VLAN.
Preferably, described method also comprises: allow the client port group to transmit the message that all have the customer VLAN label.
Preferably, described service message is transmitted according to the service vlan of its customer address information correspondence is specially:
Customer VLAN label in service message under its source address information of interpolation or the service vlan label under its inbound port;
Between corresponding client VLAN and service vlan, transmit service message;
Before sending service message, remove VLAN label wherein.
Preferably, described method also comprises: when certain serve port group breaks down, will empty with the member that its place service vlan has the customer VLAN of mapping relations, and keep the state that empties between this serve port group age at failure.
Preferably, described method also comprises: set up the customer address information of service message and the mapping table of its affiliated customer VLAN;
Described customer address information with service message adds certain customer VLAN and is specially: be the mapping table interpolation list item of certain customer VLAN, the member of described list item is described customer address information.
Preferably, described customer address information comprises Internet protocol IP address or medium access control system MAC Address or Internet protocol IP address and medium access control system MAC Address;
Described method also comprises: when described customer address information comprises the IP address, use aging mechanism on the IP address list item in customer address information and affiliated customer VLAN mapping table.
Alternatively, described customer address information comprise by the client port group be sent to the serve port group service message source address information or be sent to the destination address information of the service message of client port group by the serve port group.
Preferably, described method also comprises:
The MAC Address of study is carried out the synchronous of MAC Address and port corresponding relation between VLAN.
Preferably, described method also comprises: when certain serve port group breaks down, carry out the MAC address learning in each service vlan and the customer VLAN again.
Preferably, described method also comprises: determine to carry out corresponding service vlan with described customer address information according to the traffic load of service vlan.
The invention provides a kind of network equipment, comprise client port group and at least two serve port groups, by the business of serve port component load client port group, the network equipment also comprises vlan management unit and retransmission unit, wherein:
The vlan management unit is used for each serve port group is divided into mutual disconnected service vlan, and the customer address information of service message is corresponding with certain service vlan;
Retransmission unit is transmitted service message according to the customer address information of service message and the corresponding relation of service vlan.
Preferably, described vlan management unit comprises address assignment module, is used for each serve port group is divided into mutual disconnected service vlan, and the customer address information of service message is added certain customer VLAN; Described customer VLAN is corresponding one by one with service vlan;
The described network equipment also comprises the address list item unit, is used for storing each customer VLAN and member's address information wherein;
Described retransmission unit is transmitted service message according to the member relation of address list item unit storage between the customer VLAN under the customer address information of service message and the corresponding service vlan, and E-Packets within the client port group.
Preferably, described vlan management unit also comprises fault processing module, be used for when certain serve port group breaks down, emptying in the address list item unit member's address information of service vlan corresponding client VLAN under this serve port group, and the disable address distribution module is that this customer VLAN is added the member between age at failure.
Preferably, the described network equipment also comprises the MAC lock unit, be used for carrying out MAC address learning, and the corresponding relation of the MAC Address of study in the service vlan with corresponding relation and customer VLAN and port carried out synchronously and carry out synchronously learning the MAC Address in all customer VLAN and the corresponding relation of port.
Preferably, described fault processing module is connected to the MAC lock unit, and when certain serve port group broke down, fault processing module indication MAC lock unit was removed the MAC Address that all have been learnt.
Preferably, described retransmission unit is transmitted service message and is specially between customer VLAN and service vlan:
Customer VLAN label in service message under its source address information of interpolation or the service vlan label under its inbound port;
Between corresponding client VLAN and service vlan, transmit service message;
Before transferring the network equipment, remove the VLAN label in the service message.
The present invention is divided into different service vlans (Virtual Local AreaNetwork with the serve port group, VLAN), customer address information according to service message is dispersed to different serve port groups with it, thereby the traffic assignments that has realized according to two layers or three layers of information, simplify the realization of service dynamic equilibrium, when having improved equipment dependability, reduced the professional cost of sharing equipment;
The present invention is by being provided with the customer VLAN that has mapping relations with service vlan, according to the customer address information of service message it is divided in the customer VLAN, realized the communication between the client;
Further, when the present invention breaks down in certain serve port group, empty the member of its corresponding customer VLAN and between age at failure, forbid this customer VLAN, its service dynamic is dispensed in other the Service-Port group, realized failover and fault recovery.
Description of drawings
Fig. 1 has the applied environment exemplary plot that business is shared the equipment of function;
Fig. 2 is the flow chart of professional sharing method embodiment one of the present invention;
Fig. 3 is the flow chart of professional sharing method embodiment two of the present invention;
Fig. 4 is the structural representation of the network equipment of application professional sharing method of the present invention;
Fig. 5 is the application exemplary plot of professional sharing method embodiment two of the present invention.
Embodiment
In network configuration shown in Figure 1, all servers externally all have identical IP address as a logical node, so that for the node on the Internet provides unified reference address. to identical destination address logical node is initiated the service message of visit from Internet, business is shared equipment these service messages is assigned to servers different in the logical node, responding by individual server. this distribution is the distribution to connecting, the access service that is about to have identical destination address is assigned to and being connected of different server, the upper strata of the information IP layer in message that connects is undertaken by four layers to seven layers information of message based on the exchange that connects.
Realize that by the exchange below three layers professional sharing needs a problem of solution is how to make same IP address can be applied to different network nodes. those skilled in the art will know that, in a three-layer network, do not allow identical IP address, in two networks of isolating mutually, then can have node with identical IP address; Simultaneously, for the server that identical services is provided, in fact there is no necessity of exchange message each other. therefore, the server that identical services is provided logically can be isolated in the mutual disconnected network, the Operational Visit message is dispensed to the business that realizes in the different networks to be shared. like this, to be distribution to the distributing altering that connects, thereby reduce the level that exchanges when business is shared network.
The present invention adopts the vlan technology of generally supporting on the network equipment to realize the isolation of network. among the present invention, having business shares the network equipment of function and comprises at least two serve port groups and at least one client port group, the message of transmitting between client port group and the serve port group is a service message, and the node that is connected by these serve port groups is shared the business demand from client port group institute connected node.The node that the node that each serve port group is connected is connected to the client port group provides identical business service, and when each serve port group included only a port, the node that it connected had identical IP address, and its business has identical port numbers; When each serve port group comprised above a port, the node that these ports connected had identical ip addresses and same side slogan one to one.
To send to the service message of serve port group by the client port group, carrying service request address of node information in its source address; To send to the service message of client port group by the serve port group, carrying service request address of node information in its destination address. among the present invention, the customer address information of service message refer to the client port group send to the serve port group service message source address information or send to the destination address information of the service message of client port group by the serve port group. customer address information can be the IP address, also can be MAC (Media Access Control, medium access control system) address, because the IP address all has corresponding relation with MAC Address usually, customer address information can also be IP address and MAC Address.
The flow process of professional sharing method embodiment one of the present invention is as shown in Figure 2. at step S210, each serve port group is divided into different service vlans, and be in mutual disconnected isolation between the different service vlans. like this, the node that these serve port groups are connected can have identical IP address.
At step S220, according to the customer address information of service message, with it corresponding to certain service vlan.
When setting up the corresponding relation of the customer address information of service message and service vlan, this customer address information can be added in this service vlan. like this, service message to network equipment reception, if in certain service vlan, then this service message is corresponding to this service vlan for its customer address information; If its customer address information still not in any service vlan, then can join its customer address information in which service vlan according to the traffic load decision of each service vlan.
At step S230, in the pairing service vlan of service message, transmit this service message. because different serve port groups is kept apart by service vlan, service message can be in service vlan the serve port group and the client port group between transmit, thereby realize load sharing to service message.
At step S240, when certain serve port group breaks down, discharge the service vlan corresponding client address information at its place, and before fault recovery, forbid this service vlan.
VLAN original and failed services port set place has the service message of corresponding relation, will be again after fault takes place with all service vlans in one set up corresponding relation, this moment is owing to the service vlan at failed services port set place is forbidden, service message will obtain the response of other serve port group institute connected nodes by other service vlans. and after fault recovery, this service vlan also recovers normal operating conditions.
In embodiment one, because between the serve port group and the message between the client port group in service vlan, transmit, and be to isolate mutually between each service vlan, then have only address information can communicate corresponding to the node that client port connected of same service vlan.Increased customer VLAN in the embodiments of the invention two, to realize the intercommunication between all client port group institute connected nodes, its flow process is as shown in Figure 3.
At step S301, each serve port group is divided into different service vlans, and is in mutual disconnected isolation between the different service vlans. like this, the node that these serve port groups are connected can have identical IP address.
At step S302, the customer VLAN identical with service vlan quantity is set, and between service vlan and customer VLAN, sets up mapping relations one by one.
After setting up mapping relations between two VLAN, each VLAN has forwarding the message of the other side VLAN label; In other words, the service message that belongs to customer VLAN can be forwarded to this customer VLAN has the node that the serve port group in the service vlan of mapping relations is connected, and the serve port group that is subordinated to certain service vlan enters the service message of the network equipment and can transmit having in the customer VLAN of mapping relations with this service vlan.
At step S303, allow the client port group to transmit the message that has all service vlan labels.
Configuration through step S302 to S303, if be dispensed in each customer VLAN according to its customer address information from message with the client port group, because a customer VLAN only and between a service vlan has mapping relations, then the service message in this customer VLAN can only be forwarded in the service vlan that is shone upon, and the business that realized is shared; Simultaneously the response message with corresponding with service VLAN label that comes the customer VLAN under the distribution service message to make the serve port group return according to customer address information may be sent to the port in any client port group, configuration client port group can be transmitted the message in any one service vlan, makes response message can arrive former requesting node.
At step S304, allow the client port group to transmit the message that has all customer VLAN labels, message in promptly all customer VLAN can transfer the port in any one client port group. because the client port group can be transmitted the message in any customer VLAN, the message that then has any customer address information can be transmitted from the port any the client port group beyond its inbound port, thereby has also realized the intercommunication between the client port group institute connected node.
Need to prove, because the setting of service vlan, customer VLAN is used for realizing business and shares, for the network equipment node in addition of realizing that business is shared, these VLAN are the logical construction of reaction network not. thereby, for service vlan, if the node that its serve port group is connected is supported function corresponding, can allow service message to carry the VLAN label forwarding and go out this serve port group, but generally before transferring the serve port group, remove the label of its service vlan that carries or customer VLAN; And for the client port group, because the customer VLAN under the message is dynamically to determine, thereby be the label that does not carry service vlan on the present networks equipment or customer VLAN in the message of outbound port with the client port group.
Whether carry the VLAN label corresponding to the message that is sent, port on the network equipment is divided into following three kinds: first Access (access) port, when certain port is the Access port to certain VLAN, when message enters this port, can in message, increase the label of this VLAN; And before message is sent by this port, can remove the VLAN label in the message; It two is Trunk (converging) ports, and when certain port was the Trunk port to certain VLAN, this port belonged to a plurality of VLAN usually, one of them can be set be the default VLAN of this port; Except the message that belongs to this port default VLAN, carry the label of VLAN under this message in the message that sends by this port; It three is Hybrid ports, and the Hybrid port has increased a function than Trunk port, the message that sends from the Hybrid port promptly can be set carry or do not carry the VLAN label.
Configuration among the step S302 to S304 can realize by the Hybrid pattern, if that have mapping relations with the service vlan SVlan_1 to SVlan_n at serve port group SPort_1 to SPort_n place is customer VLAN CVlan_1 to CVlan_n, the client port group is CPort, and a kind of possible order line realizes schematically as follows:
Sport_k?hybrid?CVlan_k?untag;
CPort?hybrid?CVlan_k?untag;
CPort?hybrid?SVlan_k?untag;
In 3 top order lines, expand to n order line after the value traversal 1 to n of each order line with k.
After finishing above-mentioned configuration, at step S305, the network equipment receives service message.
At step S306, whether the customer address information of judging service message is in customer VLAN; If change step S308; If not, execution in step S307.
In the present embodiment, carry out service vlan corresponding that service message and this customer VLAN have mapping relations by mode in the customer VLAN that customer address information is joined.
At step S307, the customer address information of service message is joined in certain customer VLAN.
Can be according to determining with the load condition that customer VLAN has a serve port group institute connected node in the service vlan of mapping relations which VLAN customer address information is dispensed among. and the load condition of serve port group institute connected node may be with the disposal ability of this node, to be connected bandwidth or the like factor relevant, take all factors into consideration above-mentioned various factors and distribute customer address information can realize dynamic load balancing.
The present invention recommends to adopt the member relation table of customer VLAN and customer address information to write down the affiliated VLAN of customer address information, can also write down with customer VLAN to have the service vlan of mapping relations, the serve port group in this service vlan or the like information in this member relation table.
In the member relation table, introduce the aging mechanism of list item, discharge the node that a period of time does not have the client port group of service traffics to be connected, can realize dynamic load balancing better. as previously mentioned, customer address information may comprise IP address and/or MAC Address, consider internodal ARP (the Address Resolution Protocol that the network equipment connects, address resolution protocol) message can frequently use the MAC Address list item to cause aging mechanism to be difficult to have an effect, suggestion is introduced aging mechanism on the IP address list item, if the not accessed mistake of certain IP address list item in setting ageing time is then deleted the whole member relation list item at its place.
At step S308, judge whether to carry out MAC address learning, if execution in step S309 carries out MAC address learning with synchronously; If not, change step S310.The MAC Address processing procedure of step S308 and S309 is an optional step, can accelerate the forwarding speed of service message.
MAC address learning carries out according to VLAN usually in the network equipment, promptly carries out the source MAC of message and the record of inbound port corresponding relation in the VLAN under message.In the present invention, the service message that enters the network equipment from the client port group can have the label of customer VLAN and carry out MAC address learning in customer VLAN; And can have the service vlan label and search the corresponding relation of its target MAC (Media Access Control) address and outbound port in service vlan from the service message that the serve port group enters into the network equipment, and this corresponding relation is recorded in the customer VLAN usually.To enter the network equipment be the message of outbound port from the client port group with the serve port group and be that most of messages of outbound port also exist same problem with other ports of client port group.
So in step S309, the MAC Address of study is carried out the synchronous of MAC Address and port corresponding relation between VLAN.Be synchronized to the corresponding relation of all MAC Address in customer VLAN, learnt and port in the service vlan that has mapping relations with it and other customer VLAN in, the corresponding relation of all MAC Address learnt in service vlan and port is synchronized in the customer VLAN that has mapping relations with it.
Synchronous the present invention of MAC Address and port corresponding relation is recommended in when change takes place this corresponding relation and carries out, and can keep immediate updating like this, makes things convenient for response message to exchange to correct outbound port according to real-time MAC Address list item.
At step S310, transmit this message according to the customer address information of service message.
Transmit service message and comprise two kinds of situations: the first is forwarded to the message of client port group from the serve port group, this message is added the label of service vlan at inbound port, be forwarded to the affiliated customer VLAN of destination address information, before sending out the client port group, remove service vlan label wherein; It two is the messages that are forwarded to the serve port group from the client port group, the label of this message customer VLAN under inbound port is added its source address information, transfer have serve port group in the service vlan of mapping relations with this customer VLAN before, remove or keep customer VLAN label in the message.
To the message of transmitting between the client port group, its repeating process is: the label of customer VLAN under inbound port adds this message source address information, before transferring the destination address corresponding port, remove the customer VLAN label in the message.
At step S311, when certain serve port group breaks down, empty the member who has the customer VLAN of mapping relations with the service vlan at its place, and between age at failure, forbid this customer VLAN, promptly keep this customer VLAN to be the state of emptying.
With identical among the embodiment one, originally customer address information has service message in the customer VLAN of mapping relations at the service vlan with failed services port set place, after breaking down, will be assigned to again in the customer VLAN of other operate as normal, meet with a response by other serve port group.
If carry out the study of MAC Address with synchronously, then when emptying the customer VLAN member, remove the mapping table of MAC Address and port simultaneously, carry out the study of MAC Address again with synchronously.
After fault recovery, if the customer VLAN of former forbidding is recovered operate as normal. used aging mechanism on the IP address list item in the member relation table of each customer VLAN, the load of service message will reach balanced state again after a period of time. also can reach load balancing fast by the method that restarts the network equipment.
As seen, in the present embodiment, service vlan is based on the port division, the customer address information of service message dynamically divides and customer VLAN is based on. after using present embodiment, can provide following three orders for the user service vlan and the customer VLAN with mapping relations to be set on the network equipment, these three orders are applicable to that each serve port group includes only the situation of a port:
1)server-vlanlist?name?l?vlan_id_list?port?port_id_list
Order 1) is used for the title that configuration service VLAN.name1 is the service vlan tabulation; Vlan_id_list is an a series of service vlan number; Port_id_list is the port numbers with the service vlan equal number; Each service vlan is number corresponding one by one with the port numbers among the port_id_list according to order among the vlan_id_list, is the service vlan under the port with this port numbers.
2)client-vlanlist name2?vlan_id_list?port?port_id_list
Order 2) is used to dispose the title that customer VLAN .Name2 is the customer VLAN tabulation; Vlan_id_list is an a series of customer VLAN number, the quantity of customer VLAN and order 1) in the quantity of service vlan consistent, but that vlan number does not allow is identical; Port_id_list is a series of port numbers, and these ports have constituted the client port group, its quantity without limits, but port numbers is different from order 1) in port numbers.
3)client-vlanlist?name2?map?server-vlanlist?name?l
Order 3) is used between customer VLAN and service vlan, setting up mapping relations, promptly shines upon with setting up between the service vlan number one to one according to order in a series of customer VLAN number.
After above-mentioned 3 command configuration, can be assigned to different customer VLAN number equably with node that the client port group connects; These nodes each other can intercommunication, but each node can only be visited one of them service vlan; Can not intercommunication between the node in the different service vlans.
In embodiment one and embodiment two, situations such as the node that the serve port group connected breaks down, breaks down with being connected of node or the serve port group itself breaks down all may cause this serve port group that business service can not be provided. and the serve port group described in the present invention breaks down and comprises above-mentioned all nodes that the client port group is connected of causing, the situation of this serve port group cisco unity malfunction.
Figure 4 shows that the structure chart of the network equipment of using professional sharing method of the present invention, only represented two serve port groups 410 and 420 signals among the figure as at least two serve port groups. each serve port group is connected to retransmission unit 430 and vlan management unit 440 respectively, MAC lock unit 460, address list item unit 470 and client port group 450 also are connected to retransmission unit 430 respectively and vlan management unit 440.VLAN administrative unit 440 comprises fault processing module 441 and address assignment module 442, wherein fault processing module 441 is connected to each serve port group respectively, MAC lock unit 460 and address list item unit 470, address assignment module 442 are connected to each serve port group respectively, address list item unit 470 and client port group 450.
When not needing to intercom mutually between the node that the client port group is connected, by vlan management unit 440 each serve port group is divided into different service vlans, and be not communicated with mutually between the service vlan. to the service message of between each serve port group and client port group 450, transmitting, vlan management unit 440 with the customer address information of service message corresponding to certain service vlan.Retransmission unit 430 is according to the customer address information of service message, and the service vlan that it is corresponding is learnt in inquiry vlan management unit 440, carries out the forwarding of this service message in this service vlan.
When needing to intercom mutually between the node that the client port group is connected, the address assignment module 442 of vlan management unit 440 is divided into different service vlans with each serve port group, and is not communicated with mutually between the service vlan; Be provided with simultaneously and service vlan customer VLAN one to one, the customer address information of service message is joined in one of them customer VLAN. address assignment module 442 is with the corresponding relation of service vlan and customer VLAN, the current information of the member relation of customer VLAN and customer address information is stored in the address list item unit 470. and retransmission unit 430 is according to the customer address information of service message, customer VLAN under address list item unit 470 finds it and corresponding service vlan, between the service vlan of customer VLAN and correspondence, transmit service message. simultaneously, retransmission unit 430 also carries out message forwarding between the port of client port group 450.
The service message that retransmission unit 430 is transmitted between customer VLAN and the corresponding with service VLAN mainly comprises two kinds of situations: a kind of is the message that is forwarded to client port group 450 from certain serve port group, this message is added the label of service vlan at inbound port, be forwarded to the affiliated customer VLAN of destination address information, before sending out client port group 450, remove service vlan label wherein; Another kind is the message that is forwarded to certain serve port group from client port group 450, the label of this message customer VLAN under inbound port is added its source address information, transfer have serve port group in the service vlan of mapping relations with this customer VLAN before, remove or keep customer VLAN label in the message.
MAC lock unit 460 carries out the MAC address learning of each service vlan and customer VLAN inside, and will learn MAC Address and the corresponding relation of port in customer VLAN be synchronized to this customer VLAN corresponding service vlan and other customer VLAN in, with study in service vlan MAC Address and the corresponding relation of port be synchronized to this service vlan corresponding client VLAN in.
When certain serve port group breaks down, the fault processing module 441 of vlan management unit 440 empties member's customer address information of the service vlan corresponding client VLAN at failed services port set place, and disable address distribution module 442 is distributed customer address information for this customer VLAN between age at failure. in addition, fault processing module 441 is command M AC lock unit 460 all MAC Address of having learnt of removing when certain serve port group breaks down also, carry out MAC address learning and synchronous again.
Figure 5 shows that a kind of application example that business is shared the network equipment of function that has, used the embodiment two of professional sharing method of the present invention on this network equipment.The network equipment 520 among Fig. 5 comprises 6 ports, and its middle port Port1 and Port2 be Connection Service device 511 and 512 respectively, and port Port11, Port12, Port13 and Port14 are connected to client computer 531,532,533 and 534 respectively.
Following three orders of configuration on the network equipment 520:
server-vlanlist?svlan?1011?port port1?port2;
client-vlanlist?cvlan?100?101?port?port11?port12?port13?port14;
client-vlanlist?cvlan?map?server-vlanlist?svlan;
The port Port2 that the port Port1 that these three orders connect server 511, server 512 connect is divided into service vlan svlan10 and svlan 11 respectively; Port Port11, the Port12, Port13 and the Port14 that are connected with 534 with client computer 531,532,533 are that the client port group is provided with customer VLAN cvlan 100 and cvlan 101; And between svlan 10 and the cvlan 100, between svlan 11 and cvlan 101, set up mapping relations.
The IP address of client computer 531 is that 10.10.10.3, MAC Address are 0000-0000-0011, the IP address of client computer 532 is that 10.10.10.4, MAC Address are 0000-0000-0012, the IP address of client computer 533 is that 10.10.10.5, MAC Address are 0000-0000-0013, and the IP address of client computer 534 is that 10.10.10.6, MAC Address are 0000-0000-0014; The MAC Address of server 511 is 0000-0000-0001, and the MAC Address of server 512 is 0000-0000-0002; And the network equipment 520 adopts the combination of IP address and MAC Address as customer address information.
After starting operation, if connecting the client computer of Port11 and Port13 is divided among the cvlan100, the client computer that connects Port12 and Port14 is divided among the cvlan101, then may have the member relation table of customer address information as follows and its affiliated customer VLAN in the network equipment 520:
To service message, the network equipment 520 is according to last table, the cvlan under it and and this cvlan have between the svlan of mapping relations and transmit.
If carry out the study of MAC Address with synchronously, a kind of possible situation of the mapping table of MAC Address and port is as shown in the table in the network equipment 520:
Figure C20061007237900212
If server outage, the port of its connection will descend, then this port corresponding cvlan in the member relation table empties, svlan and cvlan be all disabled, all client computer all can be divided among the cvlan of another online Service-Port correspondence, the list item full scale clearance of all simultaneously MAC Address and port mapping table, relearn with synchronously. for client computer, switching of cvlan is sightless under it.
The present invention is by isolating serve port with VLAN, service message dynamically is divided among the VLAN that is communicated with different serve ports, can realize professional load sharing by layer 2-switched function, realize simple, better reliability is provided when reducing cost. networking simultaneously is simple, failover and restore funcitons can also be provided, have the ability of dynamic load equilibrium.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention. and any any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.

Claims (18)

1. realize the professional method of sharing in a network equipment, the described network equipment comprises client port group and at least two serve port groups, and the business by serve port component load client port group is characterized in that, said method comprising the steps of:
Each serve port group is divided in the mutual disconnected service virtual local area networks VLAN;
The customer address information of service message is corresponding with certain service vlan;
Service message is transmitted according to the service vlan of its customer address information correspondence.
2. realize the professional method of sharing in the network equipment according to claim 1, it is characterized in that described method also comprises:
Be provided with service vlan and have the customer VLAN of mapping relations one by one;
Allow the client port group to transmit the message that all have the service vlan label;
Described customer address information with service message is specially with certain service vlan is corresponding: the customer address information of service message is added in certain customer VLAN.
3. as realizing the professional method of sharing in the network equipment as described in the claim 2, it is characterized in that described method also comprises: allow the client port group to transmit the message that all have the customer VLAN label.
4. as realizing the professional method of sharing in the network equipment as described in claim 2 or 3, it is characterized in that described service message is transmitted according to the service vlan of its customer address information correspondence is specially:
Customer VLAN label in service message under its source address information of interpolation or the service vlan label under its inbound port;
Between corresponding client VLAN and service vlan, transmit service message;
Before sending service message, remove VLAN label wherein.
5. as realizing the professional method of sharing in the network equipment as described in claim 2 or 3, it is characterized in that, described method also comprises: when certain serve port group breaks down, to empty with the member that its place service vlan has the customer VLAN of mapping relations, and between this serve port group age at failure, keep the state that empties.
6. as realizing the professional method of sharing in the network equipment as described in the claim 5, it is characterized in that described method also comprises: set up the customer address information of service message and the mapping table of its affiliated customer VLAN;
Described customer address information with service message adds certain customer VLAN and is specially: be the mapping table interpolation list item of certain customer VLAN, the member of described list item is described customer address information.
7. as realizing the professional method of sharing in the network equipment as described in the claim 6, it is characterized in that: described customer address information comprises Internet protocol IP address or medium access control system MAC Address;
Described method also comprises: when described customer address information comprises the IP address, use aging mechanism on the IP address list item in customer address information and affiliated customer VLAN mapping table.
8. according to realizing the professional method of sharing in the described network equipment of claim 6, it is characterized in that: described customer address information comprises Internet protocol IP address and medium access control system MAC Address;
Described method also comprises: when described customer address information comprises the IP address, use aging mechanism on the IP address list item in customer address information and affiliated customer VLAN mapping table.
9. as realizing the professional method of sharing in the network equipment as described in the claim 6, it is characterized in that: described customer address information comprise by the client port group be sent to the serve port group service message source address information or be sent to the destination address information of the service message of client port group by the serve port group.
10. as realizing the professional method of sharing in the network equipment as described in the claim 5, it is characterized in that described method also comprises:
The MAC Address of study is carried out the synchronous of MAC Address and port corresponding relation between VLAN.
11., it is characterized in that described method also comprises: when certain serve port group breaks down, carry out the interior MAC address learning of each service vlan and customer VLAN again as realizing the professional method of sharing in the network equipment as described in the claim 10.
12., it is characterized in that described method also comprises: determine to carry out corresponding service vlan with described customer address information according to the traffic load of service vlan as realizing the professional method of sharing in the network equipment as described in any one of the claim 1 to 3.
13. a network equipment comprises client port group and at least two serve port groups, the business by serve port component load client port group is characterized in that, also comprises vlan management unit and retransmission unit, wherein:
The vlan management unit is used for each serve port group is divided into mutual disconnected service vlan, and the customer address information of service message is corresponding with certain service vlan;
Retransmission unit is transmitted service message according to the customer address information of service message and the corresponding relation of service vlan.
14. the network equipment as claimed in claim 13, it is characterized in that: described vlan management unit comprises address assignment module, be used for each serve port group is divided into mutual disconnected service vlan, the customer address information of service message is added certain customer VLAN; Described customer VLAN is corresponding one by one with service vlan;
The described network equipment also comprises the address list item unit, is used for storing each customer VLAN and member's address information wherein;
Described retransmission unit is transmitted service message according to the member relation of address list item unit storage between the customer VLAN under the customer address information of service message and the corresponding service vlan, and E-Packets within the client port group.
15. the network equipment as claimed in claim 14, it is characterized in that: described vlan management unit also comprises fault processing module, be used for when certain serve port group breaks down, emptying in the address list item unit member's address information of service vlan corresponding client VLAN under this serve port group, and the disable address distribution module is that this customer VLAN is added the member between age at failure.
16. the network equipment as claimed in claim 15, it is characterized in that: the described network equipment also comprises the MAC lock unit, be used for carrying out MAC address learning, and the corresponding relation of the MAC Address of study in the service vlan with corresponding relation and customer VLAN and port carried out synchronously and carry out synchronously learning the MAC Address in all customer VLAN and the corresponding relation of port.
17. the network equipment as claimed in claim 16 is characterized in that: described fault processing module is connected to the MAC lock unit, and when certain serve port group broke down, fault processing module indication MAC lock unit was removed the MAC Address that all have been learnt.
18. as any described network equipment of claim 14 to 17, it is characterized in that: described retransmission unit is transmitted service message and is specially between customer VLAN and service vlan:
Customer VLAN label in service message under its source address information of interpolation or the service vlan label under its inbound port;
Between corresponding client VLAN and service vlan, transmit service message;
Before transferring the network equipment, remove the VLAN label in the service message.
CNB2006100723792A 2006-04-14 2006-04-14 Network appiliance and method of realizing service sharing Expired - Fee Related CN100420224C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100723792A CN100420224C (en) 2006-04-14 2006-04-14 Network appiliance and method of realizing service sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100723792A CN100420224C (en) 2006-04-14 2006-04-14 Network appiliance and method of realizing service sharing

Publications (2)

Publication Number Publication Date
CN1835467A CN1835467A (en) 2006-09-20
CN100420224C true CN100420224C (en) 2008-09-17

Family

ID=37003077

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100723792A Expired - Fee Related CN100420224C (en) 2006-04-14 2006-04-14 Network appiliance and method of realizing service sharing

Country Status (1)

Country Link
CN (1) CN100420224C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453399B (en) * 2007-11-30 2012-07-04 华为技术有限公司 Virtual network configuration method and apparatus
CN101729427B (en) * 2010-01-20 2012-03-14 杭州华三通信技术有限公司 Multilink load sharing and routing method and router
CN102143042B (en) * 2010-07-09 2014-04-16 华为技术有限公司 Virtual cluster router system and flow sharing method thereof, controller and sub routers
CN102340436B (en) * 2010-07-14 2014-02-05 杭州华三通信技术有限公司 Cross-network message forwarding method and switch system
WO2014094218A1 (en) * 2012-12-18 2014-06-26 华为技术有限公司 Switch configuration method and cluster management device base on virtual networking
CN105376231A (en) * 2015-11-18 2016-03-02 浪潮(北京)电子信息产业有限公司 Method and device for realizing service isolation
CN106656721A (en) * 2016-11-16 2017-05-10 广州视源电子科技股份有限公司 Cross-vlan service connection method, device and system
CN107196833B (en) * 2017-04-05 2020-01-07 深圳英飞拓科技股份有限公司 VLAN (virtual local area network) dividing method and device
CN109347987A (en) * 2018-12-07 2019-02-15 迈普通信技术股份有限公司 Access request retransmission method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998053577A1 (en) * 1997-05-22 1998-11-26 Bell Communications Research, Inc. System and method for equalizing delay in a dynamic packet switching network
CN1403934A (en) * 2001-09-06 2003-03-19 华为技术有限公司 Load balancing method and equipment for convective medium server
CN1495634A (en) * 2002-06-27 2004-05-12 上海汉唐科技有限公司 Server clustering load balancing method and system
CN1599351A (en) * 2003-12-17 2005-03-23 浪潮电子信息产业股份有限公司 Method for constructing high cost performance machine group network load equilization converter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998053577A1 (en) * 1997-05-22 1998-11-26 Bell Communications Research, Inc. System and method for equalizing delay in a dynamic packet switching network
CN1403934A (en) * 2001-09-06 2003-03-19 华为技术有限公司 Load balancing method and equipment for convective medium server
CN1495634A (en) * 2002-06-27 2004-05-12 上海汉唐科技有限公司 Server clustering load balancing method and system
CN1599351A (en) * 2003-12-17 2005-03-23 浪潮电子信息产业股份有限公司 Method for constructing high cost performance machine group network load equilization converter

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宽带接入服务器备份和负载分担网络方案的研究. 黄海,周继鹏.计算机工程与应用,第19期. 2005
宽带接入服务器备份和负载分担网络方案的研究. 黄海,周继鹏.计算机工程与应用,第19期. 2005 *

Also Published As

Publication number Publication date
CN1835467A (en) 2006-09-20

Similar Documents

Publication Publication Date Title
CN100420224C (en) Network appiliance and method of realizing service sharing
US8787374B2 (en) Network system including lower and upper switches and link group interconnecting lower switches to upper switches, and method of operating the same
CN101404619B (en) Method for implementing server load balancing and a three-layer switchboard
US6397260B1 (en) Automatic load sharing for network routers
US6512774B1 (en) Fail over with multiple network interface cards
CN102577256B (en) For the method and apparatus of transparent cloud computing in virtual network infrastructure situation
US7991914B2 (en) Technique for addressing a cluster of network servers
JP3372455B2 (en) Packet relay control method, packet relay device, and program storage medium
US9281995B2 (en) Virtual network and management method of virtual network
US6560630B1 (en) Receive load balancing and fail over with multiple network interface cards
CN100446495C (en) Method and system for sharing connection dynamically
CN101217448B (en) Method and system to realize gateway dynamic load sharing
CN101286884B (en) Method for implementing non-status multi-host backup and proxy gateway
JP4763791B2 (en) Optimized synchronization of MAC address tables in network interconnect devices
CN104170331A (en) L3 gateway for VXLAN
CN102025630A (en) Load balancing method and load balancing system
CA2664564A1 (en) Distributed storage of routing information in a link state protocol controlled network
JP2005151509A (en) VLAN server
CN102143068A (en) Method, device and system for learning MAC (Media Access Control) address
US20060123204A1 (en) Method and system for shared input/output adapter in logically partitioned data processing system
CN101729404A (en) Mechanism for enabling layer two host addresses to be shielded from the switches in a network
US11050655B2 (en) Route information distribution through cloud controller
CN101127770B (en) Backup method based on address parsing protocol proxy
KR101110979B1 (en) Domain Name Device and Method for Supporting Mobile IP Network
CN111371535A (en) Disaster backup system and switching method for different-place main and standby data centers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080917

CF01 Termination of patent right due to non-payment of annual fee