CN104954155A - Network equipment with multiple service boards and method for sharing multiple service boards - Google Patents

Network equipment with multiple service boards and method for sharing multiple service boards Download PDF

Info

Publication number
CN104954155A
CN104954155A CN201410116447.5A CN201410116447A CN104954155A CN 104954155 A CN104954155 A CN 104954155A CN 201410116447 A CN201410116447 A CN 201410116447A CN 104954155 A CN104954155 A CN 104954155A
Authority
CN
China
Prior art keywords
business board
message
l2tp
address
allocation strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410116447.5A
Other languages
Chinese (zh)
Other versions
CN104954155B (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech 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 DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201410116447.5A priority Critical patent/CN104954155B/en
Publication of CN104954155A publication Critical patent/CN104954155A/en
Application granted granted Critical
Publication of CN104954155B publication Critical patent/CN104954155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides network equipment with multiple service boards. The network equipment comprises a front-end chip and the multiple service boards, wherein the front-end chip is connected with the multiple service boards and is used for transmitting an L2TP message to a corresponding service board for processing after the L2TP message which is transmitted by a client is received. The service board selects an IP address from an address pool for dispensing to the client which transmits the L2TP message as an inner-layer IP address, and furthermore performs L2TP tunneling decapsulation processing on the received L2TP message and forwards the decapsulated L2TP message to a corresponding server. The network equipment and the method realize relatively uniform sharing of the L2TP service processing on different service boards, and are particularly suitable for the structure with multiple service boards in one set of equipment. A service board resource utilization efficiency of the structure can be greatly improved.

Description

There is the network equipment and the multi-service plate sharing method of multiple business board
Technical field
The present invention relates to communication technical field, particularly relate to a kind of network equipment and the multi-service plate sharing method with multiple business board.
Background technology
In order to meet protean business demand in communication service, in existing communication equipment, design various types of single business board to realize corresponding function.When normally working, business board is used for receiving and processing the corresponding business of distribution of services, uses single business board can meet consumers' demand completely when network idle.But, when customer volume causes more greatly the quantity of message to increase, single device use single business board then can cannot support the use of more users due to heavier loads.
Summary of the invention
In view of this, the invention provides a kind of there is multiple business board the network equipment and multi-service plate sharing method solve the problems referred to above.
The invention provides a kind of network equipment with multiple business board, comprise front-end chip and multiple business board, wherein:
Described front-end chip, is connected with multiple business board, for after the L2TP message receiving client transmission, according to default allocation strategy, described L2TP message is sent to corresponding business board process;
Described business board, chooses IP address as internal layer IP address assignment to the client of described transmission L2TP message, and is forwarded to corresponding server after the L2TP message received is carried out L2TP Tunnel decapsulation process from address pool.
The present invention also provides a kind of multi-service plate sharing method, is applied to the network equipment, and the described network equipment comprises front-end chip and multiple business board, comprising:
Steps A, after receiving the L2TP message that client sends, according to default allocation strategy by described L2TP message repeating to corresponding business board process;
Step B, from address pool, choose IP address as internal layer IP address assignment to the client of described transmission L2TP message, and after the L2TP message received is carried out L2TP Tunnel decapsulation process, be forwarded to corresponding server.
As can be seen here, the network equipment with multiple business board provided by the invention passes through to distribute internal layer IP address to the L2TP message received according to default allocation strategy, and the L2TP message repeating of reception is carried out L2TP Tunnel process to corresponding business board.Present invention achieves L2TP Business Processing to share on different business plate relatively uniformly and carrying out, the framework for single device multi-service plate is particularly applicable, can the business board level of resources utilization of this framework of significant increase.
Accompanying drawing explanation
Fig. 1 is the network equipment logical construction schematic diagram with multi-service plate in the embodiment of the present invention;
Fig. 2 is the multi-service plate sharing method flow chart in the embodiment of the present invention;
Fig. 3-1,3-2 are that networking diagram shared by the multi-service plate in the embodiment of the present invention.
Embodiment
In order to tackle the higher performance of existing communication apparatus and capacity, usually all adopt the system of multi-service type structure to carry out distributed treatment, the system of this multi-service type structure generally uses polylith business board to carry out load balancing.As shown in Figure 1, the invention provides a kind of network equipment with multiple business board, comprise front-end chip and multiple business board, this network equipment can be router, fire compartment wall, bras(BAS Broadband Access Server) or switch etc., set forth further for router does the present invention for this network equipment below.
Router provided by the invention is when its front-end chip receives the L2TP message from client, according to the allocation strategy preset, message is delivered to corresponding business version, business version is that this L2TP message distributes internal layer IP address according to default allocation strategy, and the L2TP message repeating of reception is carried out L2TP Tunnel process to corresponding business board.Please refer to Fig. 2, this router performs following flow process in running particularly:
Step 201, described L2TP message repeating, after the L2TP message receiving client transmission, processes to corresponding business board according to default allocation strategy by described front-end chip;
Step 202, described business board chooses IP address as internal layer IP address assignment to the client of described transmission L2TP message from address pool, and is forwarded to corresponding server after the L2TP message received is carried out L2TP Tunnel decapsulation process.
Please refer to Fig. 3-1, Fig. 3-2, particularly, the front-end chip of described router is connected with multiple business board, front-end chip is when receiving the L2TP message of the tunnel foundation negotiation request that client is initiated, and described L2TP message is sent to corresponding business board according to default allocation rule by the source IP address according to the L2TP message of client.
Address pool resource Corresponding business board numbering
5.5.1.1--5.5.1.254 Business board 01
5.5.2.1--5.5.2.254 Business board 02
5.5.3.1--5.5.3.254 Business board 03
Table 1
Table 1 is address pool resource and business version numbering corresponding relation list item, and this list item is for understanding the present invention further and illustrating.As shown in table 1, each business board preserves different address pool respectively, and the IP address network segment of each address pool is different.Business board is after receiving the L2TP message of request for its distribution internal layer IP address, and business board chooses IP address as internal layer IP address assignment to the client sending L2TP message from the address pool of self preserving.
The private network IP address of the IP address that client is assigned to normally enterprises, from use, it is the source IP address of internal layer in L2TP message, and outer field source IP address is still the public network IP address that client uses.Had the private network IP address be assigned to, client then may have access to the resource on internal server.In preferred mode, be the mode that client distributing IP address adopts cycle assignment from address pool, if a certain client disconnects, then resource reclaim carried out in the IP address distributing to this client, can recycle to make the IP address in address pool.
Business board is after distributing internal layer IP address for described L2TP message, namely tunnel is successfully established, if this L2TP message is L2TP data message, then decapsulation is carried out to it, obtain internal layer message, the object IP address of this internal layer message is the private network IP address of enterprises, and source IP address is then business board is the IP address that client is distributed from address pool, after this L2TP Message processing is completed, according to the object IP address of message by described internal layer message repeating to corresponding server.
The present invention passes through when receiving the L2TP message from client, distribute internal layer IP address according to default allocation strategy to the L2TP message received, and the business board being sent to correspondence carries out L2TP Tunnel process.Even if the network equipment of this multi-service type structure provided by the invention also can realize more high efficiency business contact when L2TP height is concurrent in single device.
In the preferred embodiment of the present invention, this router also comprises master control borad and back-end chip, wherein master control borad is used for being that each business board distributes corresponding address pool in advance, and preserve address pool and business board numbering corresponding relation list item, the business board of the corresponding numbering of each address pool, and the IP address network segment of each address pool is different.
This service message, then for preserving the allocation strategy that master control borad issues, when receiving the service message that server returns, is sent to corresponding business board according to the allocation strategy that chip internal is preserved by described back-end chip.Wherein front-end chip described in the embodiment of the present invention and back-end chip can be integrated in a forwarding chip, and certain front-end chip and back-end chip also can on different phy chips, and to this, there is no particular restriction in the present invention.
The embodiment of the present invention is in initialized process, and master control borad can issue allocation strategy respectively to front-end chip and back-end chip.This default allocation strategy can be ACL, ACL(Access Control List, ACL Access Control List (ACL)) be the instruction list of router and exchange interface, being used for the packet of control port turnover is a kind of network technology means of access control.Particularly, the allocation strategy being handed down to front-end chip is: the business board that L2TP message is corresponding is the business board corresponding according to the IP address assignment of described L2TP message source; The L2TP message source IP address transition being about to obtain is metric integer, and divided by business board sum, remainder number A, carries out L2TP Tunnel process by described L2TP message repeating to the business board being numbered A+1.Then, business board chooses IP address as internal layer IP address assignment to the client of described transmission L2TP message in its address pool.
Exemplarily, the L2TP message source IP address obtained as front-end chip is 192.10.5.3, first being converted to four corresponding hexadecimal digits is 0x c0,0x0a, 0x05,0x03 respectively, four bit combinations are hexadecimal digit 0xc00a0503 at one piece, then to change into ten's digit be then 3221882115.Suppose this router there are three pieces of business boards, be labeled as numbering 1,2,3 respectively, so the ten's digit 3221882115 of IP address 192.10.5.3 is 0 divided by the remainder that business board sum 3 calculates, therefore corresponding with it business board is then for being numbered 1(0+1) business board, so then described L2TP message repeating to the business board of numbering 1 is carried out L2TP Tunnel process.
Business board is that the client sending described L2TP message chooses IP address as internal layer IP address according to allocation order after receiving this L2TP message from the IP address network segment 5.5.1.1-5.5.1.245 belonging to its address pool.
The allocation strategy being handed down to back-end chip is specially: the business board of the address pool belonging to this message object IP address of the business board corresponding to service message that Intranet sends, and processes for the correct business board service message that server sends being forwarded to correspondence.The allocation strategy being handed down to back-end chip can the example of reference table 2.
Object IP address Target service plate is numbered
5.5.1.1--5.5.1.254 Business board 01
5.5.2.1--5.5.2.254 Business board 02
5.5.3.1--5.5.3.254 Business board 03
Table 2
The object IP address that table 2 is preserved in the allocation strategy of back-end chip for master control borad is handed down to and business board corresponding relation list item, this list item is for understanding the present invention further and illustrating.
Receive the service message of server reply in back-end chip after, obtain the object IP address of this service message, this object IP address is generally the IP address that client is assigned to from business board there, namely aforementioned internal layer source IP address.Now back-end chip is according to place, the object IP address network segment of this service message, searches in table 2 and numbers with the business board corresponding to described object IP network section, and this message is sent to the business board process of reference numeral.
Suppose, the service message object IP address that back-end chip gets server reply is 5.5.1.222, determine that the business board that place, the described object IP address network segment is corresponding is business board 01 in table 2, so then the service message that server is replied is forwarded to business board 01 and carries out L2TP Tunnel encapsulation process.Client is forwarded to after the service message that business board is then replied server carries out encapsulation process.
In sum, the present invention is the machine-processed organic cooperation in L2TP message distribution service plate and two, IP address by allocation strategy, achieve L2TP Message processing to share on different business plate relatively uniformly and carrying out, framework for single device multi-service plate is particularly applicable, can the business board level of resources utilization of this framework of significant increase, in addition, the present invention can also ensure that the data flow of same client is processed on same business board, ensure that the continuity of business.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (8)

1. there is a network equipment for multiple business board, it is characterized in that, comprise front-end chip and multiple business board, wherein:
Described front-end chip, is connected with multiple business board, for after the L2TP message receiving client transmission, according to default allocation strategy, described L2TP message is sent to corresponding business board process;
Described business board, chooses IP address as internal layer IP address assignment to the client of described transmission L2TP message, and is forwarded to corresponding server after the L2TP message received is carried out L2TP Tunnel decapsulation process from address pool.
2. the network equipment as claimed in claim 1, it is characterized in that, the described network equipment also comprises master control borad and back-end chip, described master control borad is used for for described business board distributes corresponding address pool, and preserve the corresponding relation that described address pool and business board number, and issue allocation strategy respectively to front-end chip and back-end chip;
The allocation strategy being wherein handed down to front-end chip is: the business board that L2TP message is corresponding is the business board corresponding according to the IP address assignment of described L2TP message source; The allocation strategy being handed down to back-end chip is the business board business board that address pool is corresponding belonging to this service message object IP address corresponding to the service message that Intranet sends;
Described front-end chip is further used for the allocation strategy that preservation master control borad issues;
Described business board is further used for the service message from back-end chip to carry out L2TP Tunnel encapsulation process, and packaged L2TP message is sent to client;
Described back-end chip is further used for the allocation strategy that preservation master control borad issues, and when receiving the service message that server returns, according to the allocation strategy that chip internal is preserved, this service message is sent to corresponding business board.
3. the network equipment as claimed in claim 1, it is characterized in that, described default allocation strategy is:
The source IP address of described L2TP message is converted to metric integer, and divided by business board sum, remainder number A;
Described L2TP message repeating is processed to the business board being numbered A+1.
4. the network equipment as claimed in claim 1, it is characterized in that, described default allocation strategy is ACL.
5. a multi-service plate sharing method, is applied to the network equipment, and the described network equipment comprises front-end chip and multiple business board, it is characterized in that, described method comprises:
Steps A, after receiving the L2TP message that client sends, according to default allocation strategy by described L2TP message repeating to corresponding business board process;
Step B, from address pool, choose IP address as internal layer IP address assignment to the client of described transmission L2TP message, and after the L2TP message received is carried out L2TP Tunnel decapsulation process, be forwarded to corresponding server.
6. method as claimed in claim 5, is characterized in that, also comprised before steps A:
For described business board distributes corresponding address pool, and preserve the corresponding relation that described address pool and business board number, and issue allocation strategy respectively to front-end chip and back-end chip;
The allocation strategy being wherein handed down to front-end chip is: the business board that L2TP message is corresponding is the business board corresponding according to the IP address assignment of described L2TP message source; The allocation strategy that is handed down to back-end chip is the business board of the address pool belonging to this message object IP address of the business board corresponding to service message.
Described steps A comprises the allocation strategy preserved master control borad and issue further;
Described step B comprises further the service message from back-end chip is carried out L2TP Tunnel encapsulation process, and packaged L2TP message is sent to client;
Described method also comprises step C, preserves the allocation strategy that master control borad issues, and when receiving the service message that server returns, according to the allocation strategy that chip internal is preserved, this service message is sent to corresponding business board.
7. method as claimed in claim 5, is characterized in that, presets allocation strategy to be described in step B:
The source IP address of described L2TP message is converted to metric integer, and divided by business board sum, remainder number A;
Described L2TP message repeating is processed to the business board being numbered A+1.
8. method as claimed in claim 5, it is characterized in that, described default allocation strategy is ACL.
CN201410116447.5A 2014-03-26 2014-03-26 The network equipment with multiple business boards and multi-service plate sharing method Active CN104954155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410116447.5A CN104954155B (en) 2014-03-26 2014-03-26 The network equipment with multiple business boards and multi-service plate sharing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410116447.5A CN104954155B (en) 2014-03-26 2014-03-26 The network equipment with multiple business boards and multi-service plate sharing method

Publications (2)

Publication Number Publication Date
CN104954155A true CN104954155A (en) 2015-09-30
CN104954155B CN104954155B (en) 2018-07-31

Family

ID=54168532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410116447.5A Active CN104954155B (en) 2014-03-26 2014-03-26 The network equipment with multiple business boards and multi-service plate sharing method

Country Status (1)

Country Link
CN (1) CN104954155B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN105939400A (en) * 2015-12-24 2016-09-14 杭州迪普科技有限公司 PPPoE address distribution method and device
CN106341338A (en) * 2016-09-09 2017-01-18 杭州迪普科技有限公司 Message forwarding method and apparatus thereof
CN107547666A (en) * 2016-06-24 2018-01-05 迈普通信技术股份有限公司 The implementation method and device of network address translation
CN108170533A (en) * 2017-12-27 2018-06-15 杭州迪普科技股份有限公司 The processing method and processing device of message, computer readable storage medium
CN109787914A (en) * 2019-03-28 2019-05-21 新华三技术有限公司 Load sharing method, device and the network equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787489A (en) * 2005-12-22 2006-06-14 港湾网络有限公司 Method for average distributing interface flow at multi network processor engines
CN1863121A (en) * 2006-01-09 2006-11-15 华为技术有限公司 Two layer tunnel protocol network server and method for establishing tunnel thereof
CN101141494A (en) * 2007-10-12 2008-03-12 杭州华三通信技术有限公司 Method for settling resource allocation conflict under load sharing condition
CN101350759A (en) * 2008-08-18 2009-01-21 华为技术有限公司 Method for processing packet, service plate, interface plate and network communication equipment
CN101965014A (en) * 2010-11-03 2011-02-02 北京中创信测科技股份有限公司 Distribution method and distribution control device for Gn interface data
CN102148881A (en) * 2011-03-30 2011-08-10 华为技术有限公司 Address processing method and device
CN102447752A (en) * 2012-02-09 2012-05-09 杭州华三通信技术有限公司 Service access method, system and device based on layer2 tunnel protocol (L2TP)
CN102546349A (en) * 2012-02-09 2012-07-04 杭州华三通信技术有限公司 Message forwarding method and equipment
CN102571587A (en) * 2012-01-13 2012-07-11 大唐移动通信设备有限公司 Method and equipment for forwarding messages

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787489A (en) * 2005-12-22 2006-06-14 港湾网络有限公司 Method for average distributing interface flow at multi network processor engines
CN1863121A (en) * 2006-01-09 2006-11-15 华为技术有限公司 Two layer tunnel protocol network server and method for establishing tunnel thereof
CN101141494A (en) * 2007-10-12 2008-03-12 杭州华三通信技术有限公司 Method for settling resource allocation conflict under load sharing condition
CN101350759A (en) * 2008-08-18 2009-01-21 华为技术有限公司 Method for processing packet, service plate, interface plate and network communication equipment
CN101965014A (en) * 2010-11-03 2011-02-02 北京中创信测科技股份有限公司 Distribution method and distribution control device for Gn interface data
CN102148881A (en) * 2011-03-30 2011-08-10 华为技术有限公司 Address processing method and device
CN102571587A (en) * 2012-01-13 2012-07-11 大唐移动通信设备有限公司 Method and equipment for forwarding messages
CN102447752A (en) * 2012-02-09 2012-05-09 杭州华三通信技术有限公司 Service access method, system and device based on layer2 tunnel protocol (L2TP)
CN102546349A (en) * 2012-02-09 2012-07-04 杭州华三通信技术有限公司 Message forwarding method and equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939400A (en) * 2015-12-24 2016-09-14 杭州迪普科技有限公司 PPPoE address distribution method and device
CN105939400B (en) * 2015-12-24 2019-06-07 杭州迪普科技股份有限公司 A kind of PPPoE address distribution method and device
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN107547666A (en) * 2016-06-24 2018-01-05 迈普通信技术股份有限公司 The implementation method and device of network address translation
CN106341338A (en) * 2016-09-09 2017-01-18 杭州迪普科技有限公司 Message forwarding method and apparatus thereof
CN106341338B (en) * 2016-09-09 2019-09-17 杭州迪普科技股份有限公司 A kind of retransmission method and device of message
CN108170533A (en) * 2017-12-27 2018-06-15 杭州迪普科技股份有限公司 The processing method and processing device of message, computer readable storage medium
CN109787914A (en) * 2019-03-28 2019-05-21 新华三技术有限公司 Load sharing method, device and the network equipment
CN109787914B (en) * 2019-03-28 2022-07-01 新华三技术有限公司 Load sharing method, device and network equipment

Also Published As

Publication number Publication date
CN104954155B (en) 2018-07-31

Similar Documents

Publication Publication Date Title
CN104954155A (en) Network equipment with multiple service boards and method for sharing multiple service boards
CN102801599B (en) A kind of communication means and system
CN102647355B (en) LACP (Link Aggregation Control Protocol) consultation processing method, relay node and system
CN104780088A (en) Service message transmission method and equipment
CN105099898B (en) A kind of PPPOE message forwarding methods and BRAS servers
CN104243608B (en) A kind of communication means, cloud management server and virtual switch
CN102946354A (en) Message forwarding method and device and network equipment thereof
CN104243269A (en) Processing method and device of messages in VxLAN (virtual extensible local area network)
CN102025630A (en) Load balancing method and load balancing system
CN103250397A (en) Methods and arrangements for enabling data transmission between a mobile device and a static destination address
CN103825834B (en) The method and network-switching equipment of flow load sharing are adjusted in a kind of EVI
CN104065759A (en) Method for improving utilization efficiency of NAT address pool resource and device thereof
US10693785B2 (en) Method and system for forwarding data, virtual load balancer, and readable storage medium
CN104348798A (en) Network assigning method and device, scheduling server, and system
CN102946351A (en) Data transmission method and system
CN112968965B (en) Metadata service method, server and storage medium for NFV network node
CN102821165A (en) Method and device for converting internet protocol (IP) address
CN101001264A (en) Method, device, network edge equipment and addressing server for L1VPN address distribution
CN104301247A (en) Method and device for load balancing of PPPOE access equipment
CN105939267A (en) Out-of-band management method and device
CN104301229A (en) Data packet forwarding method and device and routing table generating method and device.
CN105743781A (en) VRRP load balancing method and VRRP load balancing device
US20220078606A1 (en) Apparatus, method and computer program
CN105450775A (en) Load balancing method and load balancing device for DNS
CN107257558B (en) Message forwarding method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant after: Hangzhou Dipu Polytron Technologies Inc

Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant before: Hangzhou Dipu Technology Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant