CN1265585C - Method of implementing bridge group multiplexing on WAN interface - Google Patents

Method of implementing bridge group multiplexing on WAN interface Download PDF

Info

Publication number
CN1265585C
CN1265585C CN 02131779 CN02131779A CN1265585C CN 1265585 C CN1265585 C CN 1265585C CN 02131779 CN02131779 CN 02131779 CN 02131779 A CN02131779 A CN 02131779A CN 1265585 C CN1265585 C CN 1265585C
Authority
CN
China
Prior art keywords
bridge group
message
bridge
multiplexing port
router
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
CN 02131779
Other languages
Chinese (zh)
Other versions
CN1486030A (en
Inventor
杨磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 02131779 priority Critical patent/CN1265585C/en
Publication of CN1486030A publication Critical patent/CN1486030A/en
Application granted granted Critical
Publication of CN1265585C publication Critical patent/CN1265585C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a method for realizing multiple bridge group multiplexing on a wide-area network interface, which belongs to the technical field of data communication. Firstly, multiplexing ports are respectively arranged on two routers, and the bridge group which the interface belongs to is marked; the information of bridge group which the message to be sent belongs to is written into the header of the message, and encapsulation of a link layer is carried out; the corresponding information of the link layer in the message is removed in the link layer, the information of the bridge group of the header of the message is taken out, and the message is forwarded to corresponding bridge groups; different send arrays are arranged at the multiplexing ports of the routers for each of the bridge groups requiring communication, the length of the arrays are adjusted, and the bandwidth of each of the bridge group is limited. The method of the present invention can be independent of the protocol of the link layer and realizes the communication of multiple group data on any single link which can transmit messages. Simultaneously, the using ratio of the bandwidth of different bridge groups to a multiplex link can be adjusted according to user needs so as to guarantee the priority pass of important messages.

Description

A kind of method that realizes many bridge group multiplexings at Wide Area Network interface
Technical field
The present invention relates to a kind of method at the many bridge group multiplexings of Wide Area Network interface realization, belong to data communication technology field.
Background technology
Bridging functionality on router can be realized the division of a plurality of bridge groups, and between the bridge interface that belongs to identical bridge group, the Ethernet message can be transmitted mutually, but between the bridge interface of different bridge groups, data can not be transmitted mutually.This mode can guarantee the user according to using and practical service environment carries out flexibly bridge group division, can communication thereby reach in the identical bridge group, the purpose of isolating between the different bridge group.But bridge interface can only belong to a bridge group, when two bridge groups are carried out in the bridge group communication by a link, just can not realize that many bridges group carries out simultaneous communications by a link.
On router, if need to realize bridging functionality, must specify corresponding bridge interface, and which bridge group is this bridge interface belong to.Between the bridge interface that belongs to same bridge group, data can be transmitted mutually, and between the bridge interface of different bridge groups, just mutual forwarding data.When two routers connect different bridge groups and needs each other during communication, can take following three kinds of methods:
First method is to use multilink between router, and every link belongs to a bridge group, like this, and communication mutually between each bridge group.
Second method is to use Ethernet interface to connect two routers, and builds an ethernet sub-interface at router for each needs the bridge of communication to form, and different sub-interfaces belong to different bridge groups, so also can realize communication.
The third method by X25 or frame-relay network, and is formed for each bridge and to be built sub-interface, and different sub-interfaces belong to different bridge groups, so also can realize communication.
In Fig. 1, disposed two bridge interface on the router-A, Ethernet 1 and Ethernet 2 have connected respectively bridge group 1 and bridge group 2, have also disposed two bridge interface on the router B, and Ethernet 1 and Ethernet 2 have connected respectively bridge group 1 and bridge group 2.In order to realize bridge group 1 and the upward communication of bridge group 1 of router B on the router-A, must between router-A and router B, dispose one mutually the interface of communication belong to bridge group 1, this interface can be physical interface, i.e. said method, also can be sub-interface, i.e. said method two and method three; In order to realize the communication of the upper bridge group 2 of bridge group 2 and router B on the router-A, also must between router-A and router B, dispose one mutually the interface of communication belong to bridge group 2.
In above-mentioned three kinds of methods of using at present, first method needs extra link support, cost height; Second method is used limitation, can only connect router by Ethernet, and mostly be the low speed serial ports in the practical application; Though the communication of the third method can realize the communication of many bridges group to specific protocol on serial ports, but configuration more complicated, depend on specific link layer protocol simultaneously, can not support link layer protocols such as PPP, HDLC, increase the cost of management and monitoring, and, need the secondary route of X25 and frame relay, reduced forwarding of data efficient.
Summary of the invention
The objective of the invention is for many bridges group only by a link-attached situation, a kind of method that realizes many bridge group multiplexings at Wide Area Network interface is proposed, on a link, realize the multiplexing of a plurality of bridge group data, make between many bridges group and can carry out fast, simply communication.
The method at the many bridge group multiplexings of Wide Area Network interface realization that the present invention proposes comprises the steps:
1, on two routers, disposes respectively multiplexing port, and indicate the affiliated bridge group of each multiplexing port;
When 2, the first router sends message by above-mentioned multiplexing port, the information of bridge group under this message is write the stem of message, carry out link layer packaging;
When 3, the second router receives message by above-mentioned multiplexing port, remove corresponding link layer information in the message at link layer, take out the bridge group information of this heading, forward the packet in the corresponding bridge group according to bridge group information under the message then.
In the said method, the multiplexing port on the router is configured by the user.
In (1) step of said method, for each needs the bridge group of communication different transmit queues being set at the multiplexing port of router, adjusting queue length, is that each bridge group is distinguished limiting bandwidth.
Multiplexing port at router is each bridge group process of limiting bandwidth respectively, comprises as next step:
1, according to the quantity of bridge group under the multiplexing port of configuration, generates the formation that equates with affiliated bridge group number;
When 2, initial, the length of above-mentioned individual queue equals the message transmit queue length of bridge interface;
3, according to the bandwidth ratio of the bridge group multiplexing port of setting in advance, by to router configuration command, change the queue length corresponding with each bridge group on the multiplexing port.
When message repeating is to the multiplexing port of bridge group, earlier message data is put into the formation corresponding with this bridge group, then by the message in the multiplexing port transmission individual queue, that is multiplexing port sends earlier the whole messages in first formation, send the whole messages in second formation, the rest may be inferred again.When the formation on the multiplexing port corresponding with this bridge group is expired, then abandon the message of being transmitted by this bridge group.
The method at the many bridge group multiplexings of Wide Area Network interface realization that the present invention proposes when a plurality of bridge groups connect by a link, makes the interface that connects this link participate in simultaneously the forwarding of a plurality of bridge groups, is about to an interface configuration and becomes to belong to a plurality of bridge groups.Like this, when each bridge group sends data by this link, can use the unique interface that connects this link.Belong to which bridge group in order to make router can correctly distinguish data when multiplexing port receives data, the bridge group information that in the transmission data data is belonged to also is transferred to the router of this function of support of far-end.Simultaneously, at interface of a plurality of bridge group multiplexings and link, carry out flow-control, for each bridge group arranges independent transmit queue, so just can adjust each bridge group to the usage ratio of bandwidth according to the needs of management.Therefore method of the present invention can not rely on concrete link layer protocol, but realizes the communication of many bridges group data at the single link of any message transmission.Simultaneously, can adjust the bandwidth usage ratio of different bridge groups, thereby guarantee preferentially passing through of important message according to user's needs multiplex link.
Description of drawings
Fig. 1 is a schematic diagram of realizing the communications simultaneously of different bridge groups between two equipment of prior art.
Fig. 2 is application example schematic diagram of the inventive method.
Embodiment
The method at the many bridge group multiplexings of Wide Area Network interface realization that the present invention proposes at first disposes respectively multiplexing port on two routers, and indicates the affiliated bridge group of this interface; When the first router sends message by above-mentioned multiplexing port, the information of bridge group under this message is write the stem of message, carry out link layer packaging; When the second router receives message by above-mentioned multiplexing port, remove corresponding link layer information in the message at link layer, take out the bridge group information of this heading, forward the packet in the corresponding bridge group according to bridge group information under the message then.
In the said method, the multiplexing port on the router can be configured by the user.
In the said method, multiplexing port at router is provided with different transmit queues for each needs the bridge group of communication, adjust queue length, be each bridge group difference limiting bandwidth, its detailed process is, at first, generate the formation that equates with affiliated bridge group number according to the quantity of bridge group under the multiplexing port of configuration; When initial, the length of individual queue equals the message transmit queue length of bridge interface; According to the bandwidth ratio of the bridge group multiplexing port of prior setting, by to router configuration command, change on the multiplexing port and the corresponding queue length of each bridge group; When message is forwarded on the multiplexing port of bridge group, earlier message data is put into and this bridge group corresponding queues, then by the message in the multiplexing port transmission individual queue, that is multiplexing port sends the whole messages in first formation earlier, send the whole messages in second formation again, when with the corresponding multiplexing port of this bridge group on formation when having expired, then abandon the message of transmitting by this bridge group.
Figure 2 shows that one embodiment of the present of invention, wherein, router-A is a first router, and router B is a second router, and the effect of two routers is identical, can exchange, and promptly router-A becomes the second router, and router B becomes the first router.Multiplexing port belongs to bridge group 1 and 2 simultaneously, and multiplexing port can generate two formations.The length of formation equals the message transmit queue length of bridge interface when initial, this length is that each interface is intrinsic on the router.
The user is by configuration order, and according to the bandwidth ratio of the bridge group multiplexing port of prior setting, changes length corresponding to each bridge group on the multiplexing port.When initial, queue length equates, equals the message transmit queue length of bridge interface.In this case, the bandwidth that each bridge group can the maximum multiplexing port that uses also equates.If the message that needs to guarantee some bridge groups wherein can use bigger bandwidth, so just change queue length value corresponding to other bridge groups little.If realize that it is 1: 2 that two bridge groups are used the bandwidth ratio of multiplexing port, so just can change a bridge group into another half in the queue length of multiplexing port.
When bridge group message repeating is to the multiplexing port, earlier message is put into the formation corresponding with this bridge group, when multiplexing port sends message, the message in each formation is sent successively, for example send earlier the whole messages in first formation, send again the whole messages in second formation.
When the formation on the multiplexing port corresponding with the bridge group was expired, the message of then sending from this bridge group can not enter formation and directly abandon.
Said process namely can limit respectively the limit bandwidth of different bridge groups, such as in Fig. 2, if the queue length that bridge group 1 and 2 is set at the multiplexing port of router-A is 1: 2, so just represents that bridge group 2 operable bandwidth are twices of bridge group 1.The formation length of supposing bridge group 1 is 100, then the formation length of bridge group 2 is 200, if the packet that bridge group 1 and bridge group 2 are forwarded to multiplexing port all is 200 or more at one time, in the formation of bridge group 2, can preserve so 200 packets, and in the formation of bridge group 1 only to preserve 100 packets, remaining is dropped.The result is exactly that bridge group 2 can send 200 packets, and bridge group 1 is only to send 100 packets.Thereby reach the purpose of bandwidth pro-rata.
In Fig. 2, two bridge groups on the router-A and two bridge groups on the router B can be carried out communication by a serial ports circuit.When bridge group on the router-A 1 needs to send message to the bridge group 1 of router B, message is added into the information of bridge group 1 before the serial ports transmission of router-A, router B receives after such message, judge the bridge group information in the message, discovery is the message of bridge group 1, so send in the bridge group 1 by Ethernet interface 1, thereby communication of realization bridge group 1; The communication of bridge group 2 also is realization like this.
In some cases, may need preferentially to guarantee the significant data of some bridge groups, can distribute in multiplexing serial ports configuration the bandwidth ratio of different bridge groups.If in the example of Fig. 2, can specify bridge group 1 and bridge group 2 bandwidth on serial ports to use is 2: 1, and just can guarantee has in the situation of mass data two bridge groups, and bridge group 1 data can reach the twice of bridge group 2 data to the use of serial ports bandwidth.

Claims (7)

1, a kind of method that realizes many bridge group multiplexings on Wide Area Network interface is characterized in that this method comprises the steps:
(1) on two routers, disposes respectively multiplexing port, and indicate the affiliated bridge group of each multiplexing port;
When (2) the first router sends message by above-mentioned multiplexing port, the information of bridge group under this message is write the stem of message, carry out link layer packaging;
When (3) the second router receives message by above-mentioned multiplexing port, remove corresponding link layer information in the message at link layer, take out the bridge group information of this heading, and forward the packet in the corresponding bridge group according to bridge group information under the message.
2, the method for claim 1 is characterized in that the multiplexing port on the router is configured by the user.
3, the method for claim 1 is characterized in that for each needs the bridge group of communication different transmit queues being set at the multiplexing port of router in (1) step, adjusts queue length, is that each bridge group is distinguished limiting bandwidth.
4, method as claimed in claim 3 is characterized in that the multiplexing port at router is each bridge group process of limiting bandwidth respectively, comprises as next step:
(1) according to the quantity of bridge group under the multiplexing port of configuration, generates the formation that equates with affiliated bridge group number;
When (2) initial, the length of above-mentioned individual queue equals the message transmit queue length of bridge interface;
(3) according to the bandwidth ratio of the bridge group multiplexing port of setting in advance, by to router configuration command, change the queue length corresponding with each bridge group on the multiplexing port.
5, method as claimed in claim 4 is characterized in that, when message repeating is to the multiplexing port of bridge group, earlier message data is put into the formation corresponding with this bridge group, sends message in the individual queue by multiplexing port then.
6, method as claimed in claim 5 is characterized in that, multiplexing port sends the whole messages in first formation earlier, sends the whole messages in second formation again, and the rest may be inferred.
7, method as claimed in claim 5 is characterized in that, when message repeating is to the multiplexing port of bridge group, when the formation on the multiplexing port corresponding with this bridge group is expired, then abandons the message of being transmitted by this bridge group.
CN 02131779 2002-09-23 2002-09-23 Method of implementing bridge group multiplexing on WAN interface Expired - Fee Related CN1265585C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02131779 CN1265585C (en) 2002-09-23 2002-09-23 Method of implementing bridge group multiplexing on WAN interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02131779 CN1265585C (en) 2002-09-23 2002-09-23 Method of implementing bridge group multiplexing on WAN interface

Publications (2)

Publication Number Publication Date
CN1486030A CN1486030A (en) 2004-03-31
CN1265585C true CN1265585C (en) 2006-07-19

Family

ID=34145030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02131779 Expired - Fee Related CN1265585C (en) 2002-09-23 2002-09-23 Method of implementing bridge group multiplexing on WAN interface

Country Status (1)

Country Link
CN (1) CN1265585C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8149837B2 (en) * 2007-01-16 2012-04-03 Futurewei Technologies, Inc. Method of supporting an open provider backbone network
CN101697519B (en) * 2009-11-05 2012-07-18 中兴通讯股份有限公司 Method and device for port mirroring
CN101834783B (en) * 2010-03-29 2012-01-25 北京星网锐捷网络技术有限公司 Method and device for forwarding messages and network equipment
CN116545934B (en) * 2023-07-06 2023-09-15 成都星联芯通科技有限公司 Message scheduling method and device, satellite communication system and storage medium

Also Published As

Publication number Publication date
CN1486030A (en) 2004-03-31

Similar Documents

Publication Publication Date Title
US6671256B1 (en) Data channel reservation in optical burst-switched networks
EP1695517B1 (en) Method and architecture for optical networking between server and storage area networks
EP1305915B1 (en) Interface for sonet lines of different capacities
US6553030B2 (en) Technique for forwarding multi-cast data packets
DK2523397T3 (en) Method and device for operating the wind farm-interconnectors with improved data transfer protocol
US8472312B1 (en) Stacked network switch using resilient packet ring communication protocol
CN101258719B (en) Method to extend the physical reach of an Infiniband network
US20020085565A1 (en) Technique for time division multiplex forwarding of data streams
CN101277196B (en) Communication system, communication method and cable fastener plate based on PCIE switching network
US20020085567A1 (en) Metro switch and method for transporting data configured according to multiple different formats
CN101682442A (en) The dynamic load leveling that is used for the layer 2 link polymerization
US20020085548A1 (en) Quality of service technique for a data communication network
CN1825836A (en) System and method for avoiding network apparatus jamming
US20020085507A1 (en) Address learning technique in a data communication network
EP0685951A2 (en) Line interface devices for fast-packet networks
CN1366399A (en) Realization of control channel in data exchange network
EP1075740A1 (en) Method for managing failures on dynamic synchronous transfer mode dual ring topologies
CN1812362A (en) Gateway unit
CN1265585C (en) Method of implementing bridge group multiplexing on WAN interface
Skeie et al. The road to an end-to-end deterministic Ethernet
US20020085545A1 (en) Non-blocking virtual switch architecture
CN101170711B (en) Information transmission device and method for automatically switching optical network SCN and MCN
CN1192548C (en) Method of flow load sharing
US7580426B2 (en) Interface with multilevel packet preemption based on balancing of start and end indicators
US9130730B1 (en) Apparatus and methods for aggregation of communication bandwidth over multiple wireless communication links

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060719

Termination date: 20110923