CN1649321B - Data sending and receiving method for router and bridge interconnection - Google Patents
Data sending and receiving method for router and bridge interconnection Download PDFInfo
- Publication number
- CN1649321B CN1649321B CN2005100203223A CN200510020322A CN1649321B CN 1649321 B CN1649321 B CN 1649321B CN 2005100203223 A CN2005100203223 A CN 2005100203223A CN 200510020322 A CN200510020322 A CN 200510020322A CN 1649321 B CN1649321 B CN 1649321B
- Authority
- CN
- China
- Prior art keywords
- router
- interface
- data
- bridge
- layer
- 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 - Lifetime
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机网络通信领域,尤其涉及一种路由器和网桥进行互连的系统和方法。The invention relates to the field of computer network communication, in particular to a system and method for interconnecting routers and bridges.
背景技术Background technique
通过广域网进行局域网互联有三种基本方式:路由器与路由器互联、网桥与网桥互联、路由器与网桥互联。There are three basic methods for LAN interconnection via WAN: router-to-router interconnection, bridge-to-bridge interconnection, and router-to-bridge interconnection.
传统的路由器与路由器互连模式可以对网络数据进行三层以上的精细化的控制,但是路由器主要采用软件的方式工作,其自身的处理能力与CPU相关,在网络中大量采用路由器,会使网络的稳定性下降;再者路由器产品不管售价还是成本均较高,导致用户在组建广域网络时投资太大;网桥与网桥互联模式数据仅在二层以下处理,虽然非常高效稳定,网络建设成本低廉,但几乎无法对用户数据进行转发控制;而第三种虽然形式上是路由器互连网桥的组网模式,但仅限于将路由器模拟为一个桥的工作方式使用,虽然在组网上简化了网络的结构,但是其中路由器对桥接接口的数据仅仅进行了二层的处理,导致对用户数据的控制还是属于网桥与网桥的网络模式,所以该组网模式仍然属于几乎没有控制能力的简单二层联网模式。The traditional router-to-router interconnection mode can carry out more than three layers of fine-grained control on network data, but routers mainly use software to work, and their own processing capabilities are related to CPUs. A large number of routers used in the network will make the network In addition, router products have high prices and high costs, resulting in too much investment for users to build a wide-area network; bridge-to-bridge interconnection mode data is only processed below the second layer, although it is very efficient and stable, the network The construction cost is low, but it is almost impossible to control the forwarding of user data; and although the third type is a networking mode of interconnecting routers and bridges in form, it is limited to the working mode of simulating a router as a bridge. The structure of the network, but the router only performs two-layer processing on the data of the bridge interface, resulting in the control of user data still belongs to the network mode of bridge and bridge, so this networking mode is still a simple network mode with almost no control ability. Layer 2 networking mode.
通过以上三种模式的分析可将广域网互连的方式分为两类:路由器与路由器互连的方式,可以精确控制用户数据,但是需要较大的投资;另两种均属于网桥与网桥互连的同一方式,虽然投资较低,但是数据控制能力几乎无。因此,对于对既要从成本上进行控制,还要保证数据流质量的组网要求来说以上两类互连方式将是不理想的。Through the analysis of the above three modes, the ways of WAN interconnection can be divided into two categories: the way of interconnection between routers and routers, which can accurately control user data, but requires a large investment; the other two belong to bridges and bridges In the same way of interconnection, although the investment is low, there is almost no data control capability. Therefore, the above two types of interconnection methods are not ideal for the networking requirements that not only control the cost but also ensure the quality of the data flow.
发明内容Contents of the invention
本发明所要解决的技术问题是提供一种将路由器和网桥的优点融为一体的路由器和网桥互连的系统和方法,从而解决现有广域网互连方案中不能同时满足对数据严格控制的能力,以及充分满足用户对低成本要求的问题。The technical problem to be solved by the present invention is to provide a system and method for interconnecting routers and bridges that integrate the advantages of routers and bridges, so as to solve the problem that the existing wide area network interconnection schemes cannot simultaneously satisfy the strict control of data. ability, and fully meet the user's requirements for low cost.
本发明解决所述技术问题所采用的技术方案是,提供一种路由器和网桥互连的系统,该网络互连系统包括:具有广域网接口的路由器,通过广域网与其互连的网桥;其中路由器广域网接口具有虚拟以太网接口,路由器中的广域网口可以通过该虚拟以太网接口进行接收和发送以太网数据帧的处理。The technical solution adopted by the present invention to solve the technical problem is to provide a system for interconnecting routers and bridges, the network interconnection system includes: a router with a wide area network interface, and a bridge interconnected with it through the wide area network; wherein the router The WAN interface has a virtual Ethernet interface, and the WAN interface in the router can receive and send Ethernet data frames through the virtual Ethernet interface.
本发明提供一种路由器和网桥进行局域网互连的数据发送方法,该方法包括,网桥,具有广域网接口的路由器,其特征在于,所述路由器通过其广域网接口与所述网桥互连,所述路由器的广域网接口具有虚拟以太网接口的功能,所述路由器的广域网接口可以通过所述虚拟以太网进行发送以太网数据帧的处理,从而完成和网桥的数据交互;所述路由器向所述网桥发送数据的具体处理步骤如下;The present invention provides a data transmission method in which a router and a network bridge are interconnected in a local area network. The method includes a network bridge and a router with a wide area network interface, wherein the router is interconnected with the network bridge through its wide area network interface, The WAN interface of the router has the function of a virtual Ethernet interface, and the WAN interface of the router can process sending Ethernet data frames through the virtual Ethernet, thereby completing data interaction with the bridge; The specific processing steps of the bridge sending data are as follows;
a、路由器接收本地局域网接口数据,去掉二层以太网封装,发送到三层进行路由或其它处理;a. The router receives the local LAN interface data, removes the layer 2 Ethernet encapsulation, and sends it to the layer 3 for routing or other processing;
b、完成三层处理后,将需要发向广域网接口的数据发往虚拟以太网接口,按照以太网帧格式进行二层封装,即按照标准的以太网接口进行相关的协议处理;b. After the three-layer processing is completed, the data that needs to be sent to the WAN interface is sent to the virtual Ethernet interface, and the second-layer encapsulation is performed according to the Ethernet frame format, that is, the relevant protocol processing is performed according to the standard Ethernet interface;
c、经虚拟以太网接口处理后的数据,发往广域网接口进行广域网的链路层封装,并发送到线路上。c. The data processed by the virtual Ethernet interface is sent to the WAN interface for link layer encapsulation of the WAN and sent to the line.
本发明提供一种路由器和网桥进行局域网互连的数据接收方法,该方法包括,网桥,具有广域网接口的路由器,其特征在于,所述路由器通过其广域网接口与所述网桥互连,所述路由器的广域网接口具有虚拟以太网接口的功能,所述路由器的广域网接口可以通过所述虚拟以太网进行接收以太网数据帧的处理,所述路由器通过其广域网接口和网桥进行数据交互时,从网桥接收数据的具体处理步骤如下:The present invention provides a data receiving method in which a router and a network bridge are interconnected in a local area network, the method comprising: a network bridge, a router having a wide area network interface, characterized in that the router is interconnected with the network bridge through its wide area network interface, The WAN interface of the router has the function of a virtual Ethernet interface, and the WAN interface of the router can receive Ethernet data frames through the virtual Ethernet. When the router performs data interaction with the bridge through its WAN interface , the specific processing steps for receiving data from the bridge are as follows:
a、路由器广域网接口接收远端网桥发来的数据,去掉二层链路层封装后,发送到虚拟以太网接口;a. The WAN interface of the router receives the data sent by the remote bridge, removes the layer 2 link layer encapsulation, and sends it to the virtual Ethernet interface;
b、虚拟以太网接口按照标准的以太网接口对数据进行二层处理后,将数据送往三层进行相关处理;b. After the virtual Ethernet interface processes the data at the second layer according to the standard Ethernet interface, it sends the data to the third layer for related processing;
c、完成三层路由或更多层次的处理后,将数据发送到本地以太局域网接口进行以太网帧格式的二层封装,然后发送到相连的本地局域网。c. After completing the three-layer routing or more layers of processing, the data is sent to the local Ethernet LAN interface for layer-2 encapsulation in Ethernet frame format, and then sent to the connected local area network.
本发明的有益效果是,解决了目前大量的网络应用全部采用对称的三层或二层方式进行网络建设,一方面成本很高另一方面设备对网络的控制能力低下的问题;本发明在大大降低网络投资的同时,对网络数据的控制能力进行了保障。The beneficial effect of the present invention is that it solves the problem that a large number of current network applications all adopt a symmetrical three-layer or two-layer mode for network construction. While reducing network investment, the control capability of network data is guaranteed.
以下结合附图和具体实施方式对本发明作进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
附图说明Description of drawings
图1是本发明具体实施方式示意图。Fig. 1 is a schematic diagram of a specific embodiment of the present invention.
具体实施方式Detailed ways
如图1,在具体广域网互联的方案中,一般用户的中心端采用155M-CPOS接口,并且155M的接口中的每个子接口均连接对应到一个边缘的用户节点处,而且用户的每个边缘节点均采用的是一个路由器方式。As shown in Figure 1, in the specific WAN interconnection scheme, the center end of a general user uses a 155M-CPOS interface, and each sub-interface in the 155M interface is connected to an edge user node, and each edge node of the user A router is used.
对于边缘采用网桥的节点,中心端也可以采用路由器的方式,只是将中心端路由器同时作为一个桥接设备使用,这样中心端的路由器同时具备桥接和路由的功能,这样可以简化和节约中心端的网络设备投资,但是这样的方式导致采用网桥的节点的数据以及网络管理以及控制将非常地有限。For nodes that use bridges at the edge, the center end can also use routers, but the center end router is used as a bridging device at the same time, so that the center end router has the functions of bridging and routing at the same time, which can simplify and save the network equipment at the center end Investment, but this method leads to very limited data and network management and control of nodes using bridges.
而采用在迈普MP7200路由器的广域网接口上实现虚拟以太网接口功能后,用户边缘网点不管使用路由器或网桥,对于中心路由器来讲均不用将路由器作为网桥使用,只需要简单的将对于网桥网点的串行接口,比如本处的155M-CPOS接口的不同子接口虚拟成不同的路由器的以太网接口就可以非常完美方便的接口整个网络的高质量的连接了;而且由于这样的网络建设将最大限度的保护用户原来网络的路由器投资,同时又可以大胆的采用转发高效的路由器进行组网。However, after the virtual Ethernet interface function is implemented on the WAN interface of the Maipu MP7200 router, no matter whether the user edge network points use a router or a network bridge, the central router does not need to use the router as a network bridge. The serial interface of the bridge network point, such as the different sub-interfaces of the 155M-CPOS interface here, can be virtualized into the Ethernet interface of different routers, which can perfectly and conveniently interface the high-quality connection of the entire network; and because of such network construction It will protect the router investment of the user's original network to the greatest extent, and at the same time, it can boldly use routers with high forwarding efficiency for networking.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2005100203223A CN1649321B (en) | 2005-02-04 | 2005-02-04 | Data sending and receiving method for router and bridge interconnection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2005100203223A CN1649321B (en) | 2005-02-04 | 2005-02-04 | Data sending and receiving method for router and bridge interconnection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1649321A CN1649321A (en) | 2005-08-03 |
CN1649321B true CN1649321B (en) | 2010-04-28 |
Family
ID=34875767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2005100203223A Expired - Lifetime CN1649321B (en) | 2005-02-04 | 2005-02-04 | Data sending and receiving method for router and bridge interconnection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1649321B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100391150C (en) * | 2006-01-19 | 2008-05-28 | 华为技术有限公司 | Data transfer device and data transfer method of virtual ether net device |
WO2016161564A1 (en) * | 2015-04-07 | 2016-10-13 | 华为技术有限公司 | Gateway device automatic networking method and device |
CN108632091A (en) * | 2018-05-09 | 2018-10-09 | 烽火通信科技股份有限公司 | The service of connection devices is adaptively adapted to the implementation method of encapsulation in a kind of DCN networks |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2508474Y (en) * | 2001-12-03 | 2002-08-28 | 成都鼎天计算机数据设备有限公司 | Wide band edge router |
CN1411212A (en) * | 2002-08-22 | 2003-04-16 | 华为技术有限公司 | Message receiving and transmitting method of combined bridge connection function and routing function |
-
2005
- 2005-02-04 CN CN2005100203223A patent/CN1649321B/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2508474Y (en) * | 2001-12-03 | 2002-08-28 | 成都鼎天计算机数据设备有限公司 | Wide band edge router |
CN1411212A (en) * | 2002-08-22 | 2003-04-16 | 华为技术有限公司 | Message receiving and transmitting method of combined bridge connection function and routing function |
Non-Patent Citations (2)
Title |
---|
刘蓉.局域网互连设备及应用.高等函授学报(自然科学版) 2.1999,(2),17-19. |
刘蓉.局域网互连设备及应用.高等函授学报(自然科学版) 2.1999,(2),17-19. * |
Also Published As
Publication number | Publication date |
---|---|
CN1649321A (en) | 2005-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104144082B (en) | The method and controller of detection loop in double layer network | |
CN101047636B (en) | Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network | |
CN114189444B (en) | Method for nano-tube industrial end equipment, time sensitive network controller and system | |
CN101001196A (en) | Method and device for setting pseudo-line tunnel and transmitting message using it | |
CN103368775B (en) | flow backup method and core switching device | |
TWI715107B (en) | SDN-based VPN traffic scheduling method and SDN-based VPN traffic scheduling system | |
CN107306222A (en) | The method and apparatus that traffic engineering tunnel on label switched path is set up | |
CN102857429B (en) | The method and apparatus of route is carried in TRILL network | |
CN109729025A (en) | A method and related equipment for processing data of flexible Ethernet | |
CN102098202A (en) | Virtual private topology control method, device and system | |
CN105490937B (en) | Ether virtual network gateway switching method and service provider's edge node devices | |
CN101087277A (en) | A digital home gateway device and its processing method | |
CN100461734C (en) | Communication equipment with LAN/WAN port switching function and implementation method | |
CN201226522Y (en) | Network analogy system for software test environment | |
CN101345686A (en) | Processing method, apparatus and system of virtual special local area network service loop | |
CN107094150A (en) | A kind of NCSI protocol realizations structure and method | |
CN106961400A (en) | A kind of method and system for realizing cloud platform virtual port mirror image | |
CN104426777B (en) | Route renewing method and routing device | |
CN103152276A (en) | Port configuration method and Ethernet switch | |
WO2018036264A1 (en) | Direct-current inter-station communication switching method | |
CN1649321B (en) | Data sending and receiving method for router and bridge interconnection | |
CN102255819B (en) | Virtual local area network (VLAN)-based transparent interconnection of lots of links (TRILL) traffic priority scheduling method | |
CN105991315A (en) | Link protection method applied to SDN (software defined network), switching device and network controller | |
CN104717119B (en) | Realize the method and system of L2 VPN and L3 VPN bridge joints | |
CN101742366B (en) | QOS-assuring parameterized label forwarding method for optical packet network |
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 | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: No. 1, No. 288 building, 610041 floor, Maipu Sichuan province Chengdu Tianfu Avenue, 17 floor Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: 610041 Sichuan city of Chengdu province high tech Zone nine Hing Road No. 16 building, Maipu Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: 610041, 17 floor, maple building, 1 building, 288 Tianfu street, Chengdu, Sichuan. Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20100428 |