CN100502344C - Bridging method and device - Google Patents
Bridging method and device Download PDFInfo
- Publication number
- CN100502344C CN100502344C CNB2007100644155A CN200710064415A CN100502344C CN 100502344 C CN100502344 C CN 100502344C CN B2007100644155 A CNB2007100644155 A CN B2007100644155A CN 200710064415 A CN200710064415 A CN 200710064415A CN 100502344 C CN100502344 C CN 100502344C
- Authority
- CN
- China
- Prior art keywords
- point
- module
- network
- network equipment
- packet
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Especially, being related to data communication area, the invention discloses equipment and method for bridge connection. Using protocol interface process module (PIPM) accomplishes conversion between protocol of data packet accorded with route forwarding module and protocol of local IP interface accorded with network equipment. Using route-forwarding module implements forwarding data packets each other between point-to-point access module and PIPM. Using point-to-point link implements interaction of point-to-point information between point-to-point access module and access server of point-to-point network.
Description
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and apparatus of bridge joint.
Background technology
At present, prior network device (for example computer, router) can be supported point-to-point access to some extent, but (for example in the mobile communications network) as a rule also need be finished by the access device of special use when the network equipment inserts point to point network.
At this moment, usually by the network equipment and access device by forming a Local Area Network based on the local data interface of IP interface (for example Ethernet interface or V.35 wait), adopt the schematic diagram that access device finishes point-to-point access as shown in Figure 1, Fig. 1 has provided two network equipments are finished network insertion respectively by access device and access server situation.
In actual applications, the network equipment as shown in Figure 1 has a plurality of.Because point-to-point link can only distribute an IP address for access device, the mode that adopts address transition (NAT) or route usually is a network equipment transmission data:
When the mode that adopts address transition is network equipment transmission data, access device is the source address modification of the packet that the network equipment outside (promptly being sent the direction of data by the network equipment to point to point network) sends the IP of access device, the IP address that the destination address that is mail to the packet of access device by node (the node here refers to the network equipment and access device) outside is revised as the network equipment simultaneously, and this packet is transmitted to the network equipment by access device;
When adopting the mode network equipment transmission data of address transition,, be unsuitable for some applied environment, its range of application is restricted because access device has been revised the source address that network is established the packet of outside transmission.
When the mode that adopts route was network equipment transmission data, access device was transmitted to access server to the packet that the network equipment outwards sends by point-to-point link, was handled or be transmitted to other the network equipment again by access server;
When adopting routing mode, the data communication between a plurality of network equipments need be transmitted data by access server and be finished, and access server need be provided with corresponding route table items.Under the bigger situation of network equipment quantity, need to be provided with a large amount of route table items on the access server, seriously reduced the handling property of access server.
Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of bridge joint, the source address and the data communication between a plurality of network equipment that have solved the outside packet that sends of the needs modification network equipment of prior art scheme need be transmitted the defective that data are finished by access server, effectively enlarge its range of application, and must improve the ability of access server deal with data.
Embodiments of the invention are to be achieved through the following technical solutions:
A kind of device of bridge joint comprises:
The protocol interface processing module is used to finish the protocol conversion of the local IP interface that connects the network equipment;
Routing Forward Module is used to finish the mutual forwarding of packet between point-to-point access module and the protocol interface processing module;
Point-to-point access module is used for realizing point-to-point information interaction by the access server of point-to-point link and point to point network;
After the network equipment inserts point to point network, the network equipment is connected with the access server of point to point network, point-to-point access module obtains the terminal real IP and the server ip at point-to-point link two ends, keep described terminal real IP, simultaneously described terminal real IP is arranged to preassigned IP, the IP of the network equipment is set to this terminal real IP, and described preassigned IP is not within the subnet scoping of the subnet mask of the described real IP and network equipment decision.
A kind of method of bridge joint comprises:
By the protocol interface processing module, finish the conversion of agreement with the agreement of the local IP interface that meets the network equipment of the packet that meets Routing Forward Module;
By Routing Forward Module, realize the mutual forwarding of packet between point-to-point access module and the protocol interface processing module;
By point-to-point link, realize point-to-point information mutual between the access server of point-to-point access module and point to point network;
After the network equipment inserts point to point network, the network equipment is connected with the access server of point to point network, point-to-point access module obtains the terminal real IP and the server ip at point-to-point link two ends, keep described terminal real IP, simultaneously described terminal real IP is arranged to preassigned IP, the IP of the network equipment is set to this terminal real IP, and described preassigned IP is not within the subnet scoping of the subnet mask of the described real IP and network equipment decision.
The technical scheme that provides by the embodiment of the invention described above as can be seen, embodiments of the invention provide a kind of method and apparatus of bridge joint, enlarge its range of application effectively, and must improve the ability of access server deal with data.
Description of drawings
The employing access device that Fig. 1 provides for prior art of the present invention is finished the schematic diagram of point-to-point access;
The structural representation of the device that Fig. 2 provides for the embodiment of the invention;
The schematic flow sheet of the access point to point network that Fig. 3 provides for embodiments of the invention;
The forwarding that Fig. 4 provides for embodiments of the invention is from the schematic flow sheet of the data of local network device;
The forwarding that Fig. 5 provides for embodiments of the invention is from the schematic flow sheet of the packet of point-to-point link.
Embodiment
Embodiments of the invention provide a kind of device of bridge joint, comprise protocol interface processing module, Routing Forward Module and point-to-point access module, its structural representation as shown in Figure 2, wherein:
The protocol interface processing module is used to finish the protocol conversion of the local IP interface that connects the network equipment; Local IP interface can be the interface that can transmit the IP data arbitrarily, as Ethernet interface, synchronous serial interface, asynchronous serial port, V.35 interface or optical fiber interface; This module is used for handling become the IP packet to send to Routing Forward Module from the data transaction of the network equipment, or the IP packet from Routing Forward Module is converted to the data that meet local IP interface protocol sends to the network equipment; This module need be provided with a local IP and subnet mask 1 (NETMASK1) as configuration parameter, and set local IP and subnet mask 1 have determined the scope of local network;
Routing Forward Module is used to finish the mutual forwarding of packet between point-to-point access module and the protocol interface processing module; IP packet from the protocol interface processing module is transmitted to point-to-point access module, sends by point-to-point link by point-to-point access module again, promptly send to the access server of point to point network; Perhaps the IP packet from point-to-point access module is transmitted to the protocol interface processing module, sends to the network equipment by the protocol interface processing module;
Point-to-point access module is used for realizing point-to-point information interaction by the access server of point-to-point link and point to point network; What this module adopted is PPP (point-to-point protocol, Peer To PeerProtocol) or its Extended Protocol (as PPPoE, PPP over Ethernet), before the network equipment does not insert point to point network, be used for the network equipment being linked into point to point network, promptly the network equipment be connected with the access server of point to point network by point-to-point link by point-to-point link (supporting PSTN, xDSL and mobile communications network etc.); After inserting successfully, be after the network equipment inserts point to point network, obtain the real IP and the server ip of the terminal at point-to-point link two ends, this module keeps described real IP stand-by, IP with the terminal of point-to-point link is set to a preassigned IP simultaneously, and this preassigned IP is false IP.
Here need to prove: point-to-point access module keeps the real IP of the terminal of its acquisition, and purpose is that the IP of the network equipment is set to the real IP of this terminal; Why point-to-point access module is set to a false IP with the IP of the terminal of point-to-point link, can select arbitrarily, but need to guarantee that it is not within the scope of local network.
The network equipment of mentioning in the foregoing is not the part of this device, but requires the described network equipment is provided with the real IP that its IP address is the terminal of point-to-point access module acquisition, and subnet mask 2 (NETMASK2) is set simultaneously.Generally speaking, the NETMASK1 of protocol interface processing module setting will equal the NETMASK2 that the network equipment is provided with, but under situation about having, the NETMASK1 of protocol interface processing module setting also can be not equal to the NETMASK2 that the network equipment is provided with.
In addition, the gateway that also needs to be provided with the network equipment is the local IP of protocol interface processing module.
Interface between the network equipment and described device, when just the interface between local network device and the protocol interface processing module is Ethernet interface, the protocol interface processing module only needs to read and write the IP packet and gets final product, and data packet format and content are not needed conversion.
More than the technical scheme of the device that provides for embodiments of the invention.
Embodiments of the invention also provide a kind of technical scheme of method of bridge joint, and described method comprises three big steps:
These three steps comprise the content of following three aspects:
At first, the network equipment need be inserted point to point network by point-to-point link; Secondly, needing in the future, the data of automatic network equipment are sent to point to point network or will be sent to the network equipment from the packet of point to point network.
Respectively this content of three is described in detail below in conjunction with accompanying drawing 3, accompanying drawing 4 and accompanying drawing 5:
The schematic flow sheet of the access point to point network that Fig. 3 provides for embodiments of the invention comprises the network equipment by the concrete steps that point-to-point link inserts point to point network:
Step 31, the point-to-point link initialization: after the system start-up, the initialization point-to-point link for example detects link-quality etc.;
Step 32, insert point-to-point link: adopt PPP or its Extended Protocol (as PPPoE, PPPover Ethernet), finish the negotiation of point-to-point link two ends (being terminal and access server side) parameter, set up the point-to-point communication link, the network equipment is inserted point to point network by point-to-point link, and point-to-point link is set up when finishing, and point-to-point access module obtains the real IP and the server ip of terminal;
Step 33, the terminal IP that revises point-to-point link is false IP: the IP that is about to the terminal of point-to-point link is arranged to a predefined false IP, keeps the real IP of acquired terminal simultaneously;
Step 34 is provided with routed path: the default route path is set to send by point-to-point link, and the routed path that the packet that mails to terminal is set is set to send by protocol interface module;
Step 35, access is finished, and is about to the network equipment and inserts point to point network by point-to-point link.
The forwarding that Fig. 4 provides for embodiments of the invention is from the schematic flow sheet of the data of local network device, and the data of the automatic network equipment concrete steps that are sent to point to point network comprise in the future:
Step 41 is received the data from the network equipment: receive data from local network device from local IP interface;
Step 42, be converted to the IP packet: the data from local network device that receive are converted to the IP packet, here need to prove that the data transaction that the essence that described data from local network device are converted to the IP packet is to meet the local IP interface protocol of local network device becomes to meet the packet of the procotol that point to point network adopts;
Step 43, routing forwarding: determine the pass-through mode of IP packet by the Route Selection of acquiescence, the result of Route Selection should provide by point-to-point link and sent this moment;
Step 44 sends by point-to-point link: the IP packet through routing forwarding is sent by point-to-point link, promptly be sent to the access server of point to point network;
Step 45 is finished the forwarding of data from the network equipment, is about to be sent to point to point network from the data of the network equipment.
The forwarding that Fig. 5 provides for embodiments of the invention is from the schematic flow sheet of the packet of point-to-point link, and the concrete steps that will be sent to the network equipment from the packet of point to point network comprise:
Step 51 is received the packet from point-to-point link: receive the IP packet that mails to local network device from point-to-point link;
Step 52, routing forwarding: determine the forward-path of IP packet by the Route Selection of acquiescence, the result of Route Selection should provide by local IP interface the IP packet was sent to local network device this moment;
Step 53, send by local IP interface: the protocol interface processing module sends to the network equipment to the data that the IP packet converts the agreement that meets local IP interface to;
Step 54 is finished the forwarding from the packet of point-to-point link, is about to be sent to the network equipment from the packet of point to point network.
In sum, embodiments of the invention provide a kind of apparatus and method of bridge joint, can provide the support that inserts point to point network by point-to-point link for all network equipments based on the IP interface, enlarged the range of application of the device of described bridge joint simultaneously, the technical scheme of a complete transparent access point to point network is provided for application; The technical scheme that embodiments of the invention provide also is applicable to large-scale network; The technical scheme that embodiments of the invention provide only needs packet is carried out simple routing forwarding, has improved the operating efficiency of bridge joint.
So far, the preferred embodiment that the present invention only provides with the embodiment of the invention is that example has illustrated the technical scheme that the embodiment of the invention provides, but the present invention is not only limited to this embodiment, all finish the conversion of agreement with the agreement of the local IP interface that meets the network equipment of the packet that meets Routing Forward Module based on by the protocol interface processing module; By Routing Forward Module, realize the mutual forwarding of packet between point-to-point access module and the protocol interface processing module; By point-to-point link, realize the mutual technical scheme of the point-to-point information between the access server of point-to-point access module and point to point network, no matter which kind of form of employing, all within protection scope of the present invention.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.
Claims (9)
1, a kind of device of bridge joint is characterized in that, comprising:
The protocol interface processing module is used to finish the protocol conversion of the local IP interface that connects the network equipment;
Routing Forward Module is used to finish the mutual forwarding of packet between point-to-point access module and the protocol interface processing module;
Point-to-point access module is used for realizing point-to-point information interaction by the access server of point-to-point link and point to point network;
After the network equipment inserts point to point network, the network equipment is connected with the access server of point to point network, point-to-point access module obtains the terminal real IP and the server ip at point-to-point link two ends, keep described terminal real IP, simultaneously described terminal real IP is arranged to preassigned IP, the IP of the network equipment is set to this terminal real IP, and described preassigned IP is not within the subnet scoping of the subnet mask of the described real IP and network equipment decision.
2, device according to claim 1 is characterized in that, the protocol interface processing module, and the data transaction that is used for automatic network equipment in future becomes the IP packet, sends to point-to-point access module via Routing Forward Module; Or be used for converting IP packet to meet local IP interface protocol data and send to the network equipment from Routing Forward Module.
3, device according to claim 1 is characterized in that, described local IP interface comprises Ethernet interface or synchronous serial interface or asynchronous serial port or V.35 interface or optical fiber interface.
4, device according to claim 1 is characterized in that, Routing Forward Module, and the packet that is used for coming from the protocol interface processing module is transmitted to point-to-point access module, is sent to the access server of point to point network by point-to-point link; And/or, be used for the packet from point-to-point access module is transmitted to the protocol interface processing module, send to the network equipment by the protocol interface processing module.
5, device according to claim 1, it is characterized in that, when the network equipment did not insert point to point network, described point-to-point access module was used for the network equipment is inserted point to point network by point-to-point link, adopted point-to-point protocol PPP or based on the Extended Protocol of PPP;
After the network equipment inserts point to point network, described point-to-point access module, the packet that is used for coming from Routing Forward Module sends to the access server of point to point network by point-to-point link, or, be used for the packet from point to point network is transmitted to the protocol interface processing module via Routing Forward Module.
6, a kind of method of bridge joint is characterized in that, comprising:
By the protocol interface processing module, finish the conversion of agreement with the agreement of the local IP interface that meets the network equipment of the packet that meets Routing Forward Module;
By Routing Forward Module, realize the mutual forwarding of packet between point-to-point access module and the protocol interface processing module;
By point-to-point link, realize point-to-point information mutual between the access server of point-to-point access module and point to point network;
After the network equipment inserts point to point network, the network equipment is connected with the access server of point to point network, point-to-point access module obtains the terminal real IP and the server ip at point-to-point link two ends, keep described terminal real IP, simultaneously described terminal real IP is arranged to preassigned IP, the IP of the network equipment is set to this terminal real IP, and described preassigned IP is not within the subnet scoping of the subnet mask of the described real IP and network equipment decision.
7, method according to claim 6 is characterized in that, and is described by the protocol interface processing module, and the agreement of finishing the packet that meets Routing Forward Module comprises with the step of the protocol conversion that meets the local IP interface of the network equipment:
The data transaction of automatic network equipment becomes the IP packet in the future, sends to point-to-point access module via Routing Forward Module;
Or the data that will convert the agreement that meets local IP interface from the IP packet of Routing Forward Module to send to the network equipment.
8, require 6 described methods according to power, it is characterized in that, describedly realize that by Routing Forward Module the step of the mutual forwarding of packet between point-to-point access module and the protocol interface processing module comprises:
The packet that will come from the protocol interface processing module is transmitted to point-to-point access module by Routing Forward Module;
And/or will be transmitted to the protocol interface processing module by Routing Forward Module from the packet of point-to-point access module, send to the network equipment by the protocol interface processing module.
9, method according to claim 6 is characterized in that, when the network equipment did not insert point to point network, point-to-point access module inserted point to point network with the network equipment by point-to-point link, adopts point-to-point protocol PPP or based on the Extended Protocol of PPP;
After the network equipment inserts point to point network, the packet that point-to-point access module will come from Routing Forward Module sends to the access server of point to point network by point-to-point link, or, to be transmitted to the protocol interface processing module via Routing Forward Module from the packet of point to point network, send to the network equipment by the protocol interface processing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100644155A CN100502344C (en) | 2007-03-14 | 2007-03-14 | Bridging method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100644155A CN100502344C (en) | 2007-03-14 | 2007-03-14 | Bridging method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101026535A CN101026535A (en) | 2007-08-29 |
CN100502344C true CN100502344C (en) | 2009-06-17 |
Family
ID=38744457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007100644155A Active CN100502344C (en) | 2007-03-14 | 2007-03-14 | Bridging method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100502344C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222409B (en) * | 2008-01-25 | 2010-12-08 | 中兴通讯股份有限公司 | P2P link and sharing link bridging connection system and method thereof |
CN102710631A (en) * | 2012-05-28 | 2012-10-03 | 华为技术有限公司 | Data transmission method, equipment and system |
CN102891801B (en) * | 2012-09-14 | 2016-02-24 | 四川省电力公司信息通信公司 | A kind of power communication gateway |
US9294341B2 (en) * | 2013-12-13 | 2016-03-22 | International Business Machines Corporation | Multipath fiber channel over ethernet networks |
-
2007
- 2007-03-14 CN CNB2007100644155A patent/CN100502344C/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101026535A (en) | 2007-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7733859B2 (en) | Apparatus and method for packet forwarding in layer 2 network | |
AU761431B2 (en) | Point-to-point protocol with a signaling channel | |
CN107302806B (en) | Method for sharing transmission line by multimode base station and multimode base station | |
CN101325554B (en) | Method for establishing route, forwarding chip and three-layer switchboard | |
CN100502344C (en) | Bridging method and device | |
CN102355610A (en) | Method for implementing circuit identification in optical network unit (ONU) system based on EOC (Ethernet over Coaxial cable) | |
CN102291305B (en) | Method and device for implementing 6 to 4 relay routing, and message forwarding method | |
JP2011078135A (en) | Data stream filtering apparatus and method | |
JP4953360B2 (en) | Communication apparatus and program for processing operation maintenance management frame | |
CN101605090B (en) | Method for realizing two-layer middle agent of dynamic host configuration protocol in passive optical network | |
CN101459532A (en) | Method and apparatus for automatic networking by multi-port equipment | |
CN201004653Y (en) | Network device | |
JP2009267987A (en) | Station-side apparatus, pon system and home gateway device | |
JP4591338B2 (en) | Communications system | |
CN102291335B (en) | Communication relay set, communication relay system and communication relay method | |
CN105357332A (en) | Network address translation method and device | |
CN101695169B (en) | Remote-end maintaining method of operation support system data as well as system and remote-end account opening proxy | |
CN101483590B (en) | Network communication equipment and packet routing method thereof | |
CN104144091A (en) | Home gateway service carrying implementation method and home gateway | |
Cisco | Configuring DECnet | |
JP2005252437A (en) | Communication apparatus | |
Cisco | Configuring DECnet | |
Cisco | Network Protocols Overview | |
CN100396039C (en) | Method for realizing MPLS network intercommunication based on heterogeneous medium | |
CA2664266C (en) | Method for networking a plurality of convergent messaging systems and corresponding network system |
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 | ||
C56 | Change in the name or address of the patentee |
Owner name: BEIJING INHAND NETWORKS TECHNOLOGY CO., LTD. Free format text: FORMER NAME: YINGHANTONG NETWORK TECH CO., LTD., BEIJING |
|
CP03 | Change of name, title or address |
Address after: 100102 Beijing city Chaoyang District Wangjing Lize Park No. 101 in eleven on the west side of 101 Patentee after: BEIJING INHAND NETWORK TECHNOLOGY CO., LTD. Address before: 100085, A, building three, building 9, Wah Wah Street, 3rd Street, Beijing, Haidian District Patentee before: Yinghantong Network Tech Co., Ltd., Beijing |