CN102368732A - Method for routing forwarding message under bridge mode - Google Patents
Method for routing forwarding message under bridge mode Download PDFInfo
- Publication number
- CN102368732A CN102368732A CN2011103151230A CN201110315123A CN102368732A CN 102368732 A CN102368732 A CN 102368732A CN 2011103151230 A CN2011103151230 A CN 2011103151230A CN 201110315123 A CN201110315123 A CN 201110315123A CN 102368732 A CN102368732 A CN 102368732A
- Authority
- CN
- China
- Prior art keywords
- port
- logic
- bridge
- equipment
- binding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Method for forwarding message equipment to realize routing under a bridge mode relates to the communication technology field. The invention discloses a method for realizing routing data message to an assigned outlet port in a bridge and especially the method is realized under a Linux system. The method is characterized by: in bridge-type equipment, defining a port type; storing a binding relation between a bridge logic inlet port and a logic outlet port; when data arrives at the bridge logic inlet port, firstly determining whether the logic inlet is bound with the logic outlet port; if the logic inlet is bound with the logic outlet port, directly sending the data to the bound logic outlet port; otherwise, addressing and forwarding according to an original mode.
Description
Technical field
The present invention relates to communication technical field, specifically be that a kind of data message of in bridge, realizing is routed to the method for specifying the outlet port.
Background technology
Along with the development and the application of the Internet and information technology, the equipment that is connected to the Internet has been not limited to computer, other some dedicated service equipment such as STBs, and network monitoring devices etc. have also entered into family.These equipment need be connected to different servers and network through different circuits, like the private server on the Internet, cable TV network etc.Specific business device need be linked in the private server or circuit of appointment, and also wants between each business device and can intercom mutually.In the conventional network equipment, accomplish above-mentioned functions, adopting bridge formula structure is more satisfactory selection.One end of bridge connects miscellaneous service equipment and computer, and the other end connects external network.At present, in linux system, the addressing system that network bridge mode adopts can only find networking outlet port according to shortest path.In same bridge formula equipment, even different ingress ports, the outlet pathway that finds possibly all be the same.Relied on traditional bridge data forwarding model, realized not specific business device is linked in the private server or circuit of appointment.
Therefore, must adopt a kind of new method to go the data of bridge are carried out routing forwarding, the data that the logic ingress port is next send to the outlet port of appointment.
Summary of the invention
In order to achieve the above object, the present invention has designed under a kind of bridge tactic pattern E-Packeting into
Walking along the street by method.Promptly, when data arrives logic ingress port, find the port of predefined logic outlet, with data forwarding by the private memory of in bridge, setting up.
The technical scheme that the present invention takes is; Realize the method for route in the equipment that E-Packets based on network bridge mode; The realization of this method is by means of the terminal equipment of network bridge mode; Equipment is connected between the management concrete professional computer and external network by PORT COM, it is characterized in that: in bridge formula equipment, set up the private memory that stores output, input port information and routing management program, set up the private memory that is used to store binding relationship; Set up the bridge configuration module, may further comprise the steps in the step of this method practical implementation:
The device port definition that A, division network bridge mode E-Packet: at least one port is divided into the logic ingress port, and at least one port is divided into logic outlet port; Equipment or network connection are connected on the bridge equipment through different port;
B, the character according to equipment or netting twine, purposes, location definition and the port information that is connected are confirmed the port binding relation, and the configuration information that the logic that is bound to the logic ingress port is exported port is stored in the private memory;
C, when logic inlet has data arrives, the routing management program judges whether this logic inlet has bound logic outlet port, if having, execution in step D, otherwise, by original mode addressing, forwarding;
D, data are directly sent to the logic outlet port of binding.
Comprise the completion binding module in the bridge configuration module, binding relationship display module, deletion binding module.
Owing to have the port binding relation information in the private memory, and at first judge whether the logic output terminal mouth of binding during the bridge addressing, therefore can realize goal of the invention.
Description of drawings
Fig. 1 is bridge formula apparatus logic port arrangement figure among the present invention.
Fig. 2 is bridge formula equipment addressing selection course sketch map among the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is elaborated.
In bridge formula equipment, set up the private memory that stores output, input port information and routing management program, set up the private memory that is used to store binding relationship, set up the bridge configuration module.
At least to there be two in the bridge with port; And at least one port is divided into the logic ingress port; A port is divided into logic outlet port, and the logic ingress port connects computer or dedicated service equipment, forms a network of not isolating; Logic outlet port is connected to the Internet or dedicated link such as wired television network; And each logic outlet port is the network of a corresponding isolation all, and here, at least one logic ingress port need be transmitted data through the logic outlet port of appointment.Confirm the port binding relation according to character, purposes, the location definition of equipment or netting twine and the port information that is connected, binding relationship is write in the private memory through the completion binding module in the bridge configuration module.If modification binding relationship; Earlier through the original binding relationship of the deletion of the deletion binding module in the bridge configuration module; Through accomplishing binding module binding relationship is write in the private memory again; Reach configuration and come into force immediately, in this example, be used for storing the net_bridge_port structure of the private memory bridge port of binding relationship.
When data were transmitted in bridge, the routing management program saw at first whether this logic inlet has bound logic outlet port earlier, if having; According to the ingress port setting; Forward the data to the logic outlet port of binding, otherwise, undertaken by original addressing, pass-through mode.
Claims (2)
1. the equipment that E-Packets based on network bridge mode is realized the method for route; The realization of this method is by means of the terminal equipment of network bridge mode; Equipment is connected between the management concrete professional computer and external network by PORT COM; It is characterized in that: in bridge formula equipment, set up the private memory that stores output, input port information and routing management program; Set up the private memory that is used to store binding relationship, set up the bridge configuration module, may further comprise the steps in the step of this method practical implementation:
The device port definition that A, division network bridge mode E-Packet: at least one port is divided into the logic ingress port, and at least one port is divided into logic outlet port; Equipment or network connection are connected on the bridge equipment through different port;
B, the character according to equipment or netting twine, purposes, location definition and the port information that is connected are confirmed the port binding relation, and the configuration information that the logic that is bound to the logic ingress port is exported port is stored in the private memory;
C, when logic inlet has data arrives, the routing management program judges whether this logic inlet has bound logic outlet port, if having, execution in step D, otherwise, by original mode addressing, forwarding;
D, data are directly sent to the logic outlet port of binding.
2. the equipment that E-Packets based on network bridge mode according to claim 1 is realized the method for route, it is characterized in that: comprise the completion binding module in the bridge configuration module, binding relationship display module, deletion binding module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103151230A CN102368732A (en) | 2011-10-18 | 2011-10-18 | Method for routing forwarding message under bridge mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103151230A CN102368732A (en) | 2011-10-18 | 2011-10-18 | Method for routing forwarding message under bridge mode |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102368732A true CN102368732A (en) | 2012-03-07 |
Family
ID=45761282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103151230A Pending CN102368732A (en) | 2011-10-18 | 2011-10-18 | Method for routing forwarding message under bridge mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102368732A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103812746A (en) * | 2012-11-14 | 2014-05-21 | 深圳市共进电子股份有限公司 | Bridging device based on linux operation system and communication method thereof |
CN105391655A (en) * | 2015-10-12 | 2016-03-09 | 浪潮电子信息产业股份有限公司 | Method for configuring nodes as two-layer switching equipment under LINUX platform |
CN107995188A (en) * | 2017-11-30 | 2018-05-04 | 杭州迪普科技股份有限公司 | A kind of device and method for realizing test equipment and equipment under test data transfer |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852240A (en) * | 2005-10-19 | 2006-10-25 | 华为技术有限公司 | Bridge-connection transmitting method |
CN101005370A (en) * | 2006-01-16 | 2007-07-25 | 北京速能数码网络技术有限公司 | Dynamic copying and sending device of asymmetric cross net section multiple path data stream |
CN101494583A (en) * | 2008-01-24 | 2009-07-29 | 华为技术有限公司 | Route bridging method, network bridge equipment and bridging network |
US7796594B2 (en) * | 2007-02-14 | 2010-09-14 | Marvell Semiconductor, Inc. | Logical bridging system and method |
-
2011
- 2011-10-18 CN CN2011103151230A patent/CN102368732A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852240A (en) * | 2005-10-19 | 2006-10-25 | 华为技术有限公司 | Bridge-connection transmitting method |
CN101005370A (en) * | 2006-01-16 | 2007-07-25 | 北京速能数码网络技术有限公司 | Dynamic copying and sending device of asymmetric cross net section multiple path data stream |
US7796594B2 (en) * | 2007-02-14 | 2010-09-14 | Marvell Semiconductor, Inc. | Logical bridging system and method |
CN101494583A (en) * | 2008-01-24 | 2009-07-29 | 华为技术有限公司 | Route bridging method, network bridge equipment and bridging network |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103812746A (en) * | 2012-11-14 | 2014-05-21 | 深圳市共进电子股份有限公司 | Bridging device based on linux operation system and communication method thereof |
CN103812746B (en) * | 2012-11-14 | 2018-08-28 | 深圳市共进电子股份有限公司 | Bridging device based on linux operating systems and its communication means |
CN105391655A (en) * | 2015-10-12 | 2016-03-09 | 浪潮电子信息产业股份有限公司 | Method for configuring nodes as two-layer switching equipment under LINUX platform |
CN105391655B (en) * | 2015-10-12 | 2018-11-20 | 浪潮电子信息产业股份有限公司 | method for configuring nodes as two-layer switching equipment under L INUX platform |
CN107995188A (en) * | 2017-11-30 | 2018-05-04 | 杭州迪普科技股份有限公司 | A kind of device and method for realizing test equipment and equipment under test data transfer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7653056B1 (en) | Virtual switching using a provisional identifier to conceal a user identifier | |
CN102859952B (en) | Switch and stream table control method | |
CN103200122B (en) | A kind of software defined network is organized the processing method of table, system and controller | |
CN106713137B (en) | VPN method, device and system based on segmented routing and SDN technology | |
CN110266592A (en) | The communication means and device of SRV6 network and IP MPLS network | |
CN109088820B (en) | Cross-device link aggregation method and device, computing device and storage medium | |
CN104660498A (en) | Gateway equipment and information processing method | |
CN103346900A (en) | Route configuration method and gateway after thermal migration of virtual machine in large two-layer network | |
US20150163072A1 (en) | Virtual Port Extender | |
CN108141409A (en) | Communication system, address notice device, communication control unit, terminal, communication means and program | |
CN109412922B (en) | Method, forwarding device, controller and system for transmitting message | |
US7760723B1 (en) | Relaying a data stream from a data device to a network tunnel | |
CN106341298A (en) | Message transmission method and device | |
CN109218200A (en) | A kind of message processing method and device | |
CN108965036A (en) | Configure across public network equipment exchanging visit method, system, server and storage medium | |
JP2019525566A (en) | Multi-network convergence method and apparatus | |
CN102291305A (en) | Method and device for implementing 6 to 4 relay routing, and message forwarding method | |
CN102368732A (en) | Method for routing forwarding message under bridge mode | |
CN109831546A (en) | PLC interactive signal conversion method, mobile terminal and storage medium | |
CN114900455B (en) | Message transmission method, system, equipment and storage medium | |
CN104780090A (en) | VPN multicast transmission method and device PE equipment | |
CN104967572A (en) | Network access method, apparatus and equipment | |
CN102694814B (en) | Have the high-definition video player of wireless networking capabilities and WAP (wireless access point) function concurrently | |
CN104348728A (en) | Method and equipment for generating forwarding information | |
CN104038446A (en) | Link discovery 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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120307 |