CN1553646A - Method for transmitting Ethernet message by Internet - Google Patents

Method for transmitting Ethernet message by Internet Download PDF

Info

Publication number
CN1553646A
CN1553646A CNA031365604A CN03136560A CN1553646A CN 1553646 A CN1553646 A CN 1553646A CN A031365604 A CNA031365604 A CN A031365604A CN 03136560 A CN03136560 A CN 03136560A CN 1553646 A CN1553646 A CN 1553646A
Authority
CN
China
Prior art keywords
message
ethernet
router
network
routing device
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
CNA031365604A
Other languages
Chinese (zh)
Other versions
CN1306761C (en
Inventor
郭建炜
杨磊
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 CNB031365604A priority Critical patent/CN1306761C/en
Publication of CN1553646A publication Critical patent/CN1553646A/en
Application granted granted Critical
Publication of CN1306761C publication Critical patent/CN1306761C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

This invention discloses a method for transmitting Ethernet message in Internet, it includes following steps: A) the origin router receives and filters out the Ethernet message addressing to non-local Ethernet; B) the origin router packages the above Ethernet message into IP message, the header of IP message contains source IP address and destination IP address; C) the origin router uses the link layer protocol to package the IP message and send it to IP network; D) the router of receiving side receives the message from IP network and unties the link layer package, filters out the IP message sent to the router according to the destination IP address in the IP message header; E) the router of receiving side converts the IP massage into the Ethernet message, and filters out the Ethernet message sent to the Ethernet connecting to the router of receiving side.

Description

A kind of method for transmitting Ethernet message in Internet
Technical field
The present invention relates to data transmission technology, be meant a kind of method for transmitting Ethernet message in Internet especially.
Background technology
Ethernet is a kind of standard of local area network (LAN), is a kind of shared media technology.In the Ethernet, all equipment is connected on the same transmission medium, and using Frame is all nodes transmission and the reception data of broadcasting method on shared medium of Ethernet message.The addressing of Ethernet message is the data link layer that occurs in OSI (OSI, Open System Interconnect Reference Model), and mainly relying on physical address is that medium access address (MAC) carries out addressing.When source end during to the Web broadcast data, source end equipment carries out link layer packaging with data, and the head that joins message is packaged into the Ethernet message, and wherein heading has source end and destination MAC Address; Destination equipment receives all Ethernet messages, checks the destination MAC Address in the heading, confirms that this message is to issue oneself, then carries out decapsulation, removes heading, restores original data.
When the Ethernet message need transmit at two Ethernets of apart from each other, can Ethernet be coupled together by bridge.Bridge is operated in the data link layer of OSI Reference Model.As Fig. 1, Ethernet A and Ethernet B insert bridge A and bridge B respectively, and bridge A links to each other by remote link with bridge B.
Bridge A receives all Ethernet messages that Ethernet A goes up device broadcasts, with the table of the MAC on destination MAC Address and the bridge in the message relatively, abandoning destination address is the Ethernet message of Ethernet A, and the Ethernet message that is addressed on other Ethernet is carried out subsequent treatment; Bridge A uses the used link layer protocol of remote link to encapsulate these Ethernet messages once more, and sends on the remote link; Bridge B receives the Ethernet message after all encapsulation and removes encapsulation, then checks the destination MAC Address of Ethernet message, with MAC on bridge B table relatively, be that the Ethernet message of Ethernet B carries out subsequent treatment with MAC Address; Bridge B sends to Ethernet B with the Ethernet message, is read by destination equipment.
Adopting link layer protocol on the remote link, can be point-to-point protocol (PPP, Point to PointProtocol), frame relay etc.As adopt ppp protocol, when then bridge A sends bridge B Ethernet message to, carry out PPP encapsulation and PPP decapsulation respectively.
At present, remote transmission Ethernet method of message mainly relies on concrete link layer protocol.No matter be bridge equipment, still have the router of bridge function, be subjected to the restriction of link layer protocol, when needing remote transmission Ethernet message, require to have remote link directly to link to each other, or connect by the network of two layers of link protocol such as frame-relay network.Therefore,, will set up independent remote link,, realize the connection of link layer protocol network as special lines such as PPP, frame relays if realize the Ethernet remote interconnection of certain several mechanism of intra-company.Therefore, need to drop into bigger networking and network operation cost.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method for transmitting Ethernet message in Internet, makes Ethernet message remote transmission can utilize existing IP network to transmit.
Realize the present invention, need following steps:
A, origin router receive the Ethernet message of the Ethernet transmission that is connected with self, filter out the Ethernet message that is addressed on the continuous Ethernet of non-origin router;
B, origin router are packaged into the IP message with the Ethernet message that steps A filters out, and contain source IP address and purpose IP address in this IP heading;
The IP message that C, origin router generate with the presently used link layer protocol encapsulation step of IP network B also sends to IP network;
D, receiving end routing device receive current message and remove the link layer packaging of this message from IP network, go out to send to the IP message of this receiving end routing device then according to the purpose IP address filtering of IP heading;
E, receiving end routing device judge whether the packaged content of current IP message is the Ethernet message, if not, process ends then; Otherwise deblocking takes on the Ethernet message from the current IP message, and filters out the Ethernet message of issuing the Ethernet that links to each other with this receiving end routing device, sends to this Ethernet.
Wherein, step B encapsulation IP further comprises during message: carry the Ethernet type of message field of sign Ethernet message in the IP heading, then step e is described is judged as: judge according to the Ethernet type of message in the IP heading whether the packaged content of current IP message is the Ethernet message.
Wherein, when the Ethernet message was packaged into the IP message, this method further comprised: is that more than one message carries out the IP encapsulation respectively and sends with length greater than the link to each other Ethernet message fragment of Network Transmission MTU of routing device transmission interface.
Wherein, origin router is before being packaged into the IP message with the Ethernet message, and this method further comprises: earlier the current Ethernet message that will send is compressed; Accordingly, the receiving end routing device decompresses to the Ethernet message earlier after with the decapsulation of IP message.
Wherein, this method further comprises: origin router is encrypted the current message that will send; Accordingly, the receiving end routing device is decrypted the current message that is received.
By said method as can be seen, the method for the invention can realize between two or more Ethernets by IP network transmission Ethernet message.Simultaneously, owing to be to utilize IP network to transmit, can adapt to various link layer protocols, and not be subjected to the restriction of link layer protocol, so have very strong flexibility.For belong to same company several at a distance of remote Ethernet mechanism, needn't build remote link in addition, and utilize ubiquitous IP network, just can realize the mutual transmission of Ethernet message, reduced maintenance and construction cost.
Description of drawings
Fig. 1 is for passing through the long-range connection Ethernet of bridge schematic diagram.
Fig. 2 is for passing through the long-range connection Ethernet of router schematic diagram.
Fig. 3 forms schematic diagram for message.
Fig. 4 transmits flow chart for information of the present invention.
Embodiment
In the osi model, network layer is in the upper strata of link layer, and network layer utilizes logical address rather than MAC Address to carry out addressing.In the routable network, every main frame all has same network layer address form, i.e. IP address format.Routing device is the equipment that network layer is carried out route, communication, as three-tier switch, router etc., is that example describes below with the router.
Fig. 2 is the schematic diagram by the long-range connection Ethernet of router.As Fig. 2, Ethernet A and Ethernet B be couple in router A and router B respectively, and router-A and router B insert IP network respectively.Router-A at first carries out the IP encapsulation to the Ethernet message, on IP network, send the IP message that is packaged into, Fig. 3 after the encapsulation, is an Ethernet type of message at the packaged message of the upper-layer protocol field identification of IP heading for Ethernet message and the schematic diagram that is packaged into the IP message.Router B receives after this IP message by IP network, and decapsulation restores the Ethernet message, and the Ethernet message is sent on the Ethernet B, realizes the mutual communication of the Ethernet message between Ethernet A and Ethernet B.
Below by specific embodiment with reference to accompanying drawing 2, the present invention is described in more detail.Configure both sides' router before information transmits: IP address and the other side's IP address of router of configuration self router on router, these addresses make routing device that the IP message is transmitted data by selected path.
When router-A sent the Ethernet message on IP network, step was as follows:
Step 401: router-A receives Ethernet A and goes up all Ethernet messages that equipment sends, with the table of the MAC on destination MAC Address and the router in the Ethernet message relatively, abandoning destination address is the message of Ethernet A, and the message that is addressed to other Ethernet is carried out subsequent treatment.
Step 402:, the Ethernet message is divided into a plurality of messages if the Ethernet message length greater than the MTU of the continuous Network Transmission of router transmission interface, carries out burst to the Ethernet message and handles.
Step 403: router-A carries out the encapsulation of network layer to the Ethernet message.That is: router-A adds the IP heading before the Ethernet message, is packaged into the IP message, and the IP header contains source address and destination address.In the present embodiment, the configuration of the source address in the IP heading is the IP address of local router A; What destination address disposed is the IP address of remote router B.Identify the Ethernet type of message in the protocol fields of IP heading, when receiving message for the purpose network, the type that is used for picking out message is the Ethernet message.
Step 404: message is carried out link layer packaging,, carry out the encapsulation of corresponding link layer, encapsulate the IP message after IP network sends encapsulation in the present embodiment with the employed link layer protocol of IP network according to the network link layer protocol of output interface.
When router B received the Ethernet message from IP network, step was as follows:
Step 405: router B receives the IP message after the encapsulation, at first de-links layer encapsulation, and the heading of analyzing IP message filters out that destination address carries out subsequent treatment for the message of this router address to these messages in the heading.
Step 406: whether the type of the protocol fields representative in the analyzing IP heading is ethernet type, if not, then do not enter follow-up processing flow of the present invention; If, then remove the encapsulation of network layer, remove the IP heading, restore the Ethernet message.
Step 407: checking the destination MAC Address of Ethernet message, compare with MAC table on the router B, is that the Ethernet message of local ethernet B carries out subsequent treatment with the destination MAC Address.
Step 408: router B sends to Ethernet B with these Ethernet messages, reads processing by destination device.
Wherein, when router-A carries out the network layer encapsulation to the Ethernet message, can compress processing to the Ethernet message earlier, and then encapsulate; Accordingly, router B will decompress to the Ethernet message after removing the network layer encapsulation, can conserve bandwidth.
Wherein, for the IP message, before router-A sends, carry out encryption, and then transmit; Accordingly, when router B receives the IP message, first decryption processing, can improve the transmission safety of data.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1, a kind of method for transmitting Ethernet message in Internet is characterized in that this method may further comprise the steps:
A, origin router receive the Ethernet message of the Ethernet transmission that is connected with self, filter out the Ethernet message that is addressed on the continuous Ethernet of non-origin router;
B, origin router are packaged into the IP message with the Ethernet message that steps A filters out, and contain source IP address and purpose IP address in this IP heading;
The IP message that C, origin router generate with the presently used link layer protocol encapsulation step of IP network B also sends to IP network;
D, receiving end routing device receive current message and remove the link layer packaging of this message from IP network, go out to send to the IP message of this receiving end routing device then according to the purpose IP address filtering of IP heading;
E, receiving end routing device judge whether the packaged content of current IP message is the Ethernet message, if not, process ends then; Otherwise deblocking takes on the Ethernet message from the current IP message, and filters out the Ethernet message of issuing the Ethernet that links to each other with this receiving end routing device, sends to this Ethernet.
2, method according to claim 1, it is characterized in that, step B encapsulation IP further comprises during message: carry the Ethernet type of message field of sign Ethernet message in the IP heading, then step e is described is judged as: judge according to the Ethernet type of message in the IP heading whether the packaged content of current IP message is the Ethernet message.
3, method according to claim 1, it is characterized in that, when the Ethernet message was packaged into the IP message, this method further comprised: is that more than one message carries out the IP encapsulation respectively and sends with length greater than the link to each other Ethernet message fragment of Network Transmission MTU of routing device transmission interface.
4, method according to claim 1 is characterized in that, origin router is before being packaged into the IP message with the Ethernet message, and this method further comprises: earlier the current Ethernet message that will send is compressed;
Accordingly, the receiving end routing device decompresses to the Ethernet message earlier after with the decapsulation of IP message.
5, method according to claim 1 is characterized in that, this method further comprises: origin router is encrypted the current message that will send;
Accordingly, the receiving end routing device is decrypted the current message that is received.
CNB031365604A 2003-05-27 2003-05-27 Method for transmitting Ethernet message by Internet Expired - Fee Related CN1306761C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031365604A CN1306761C (en) 2003-05-27 2003-05-27 Method for transmitting Ethernet message by Internet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031365604A CN1306761C (en) 2003-05-27 2003-05-27 Method for transmitting Ethernet message by Internet

Publications (2)

Publication Number Publication Date
CN1553646A true CN1553646A (en) 2004-12-08
CN1306761C CN1306761C (en) 2007-03-21

Family

ID=34323370

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031365604A Expired - Fee Related CN1306761C (en) 2003-05-27 2003-05-27 Method for transmitting Ethernet message by Internet

Country Status (1)

Country Link
CN (1) CN1306761C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100395977C (en) * 2005-06-10 2008-06-18 华为技术有限公司 Implementation method for automatically identifying packaging type of subscriber data
CN101068209B (en) * 2007-06-20 2010-09-29 中兴通讯股份有限公司 Deep message detection system and method
CN105325006A (en) * 2013-06-12 2016-02-10 Lg电子株式会社 Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
CN111131435A (en) * 2019-12-19 2020-05-08 浙江源创建筑智能科技有限公司 Method for discovering and configuring Ethernet link layer equipment
WO2023000767A1 (en) * 2021-07-23 2023-01-26 中兴通讯股份有限公司 Local area network communication method and apparatus, terminal, electronic device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001076137A2 (en) * 2000-03-31 2001-10-11 Eicon Technology Corporation Local bridge configuration and maintenance
JP2002198988A (en) * 2000-12-27 2002-07-12 Canon Inc Remote ip router
CN1134946C (en) * 2002-08-22 2004-01-14 华为技术有限公司 Message receiving and transmitting method capable of realizing route and bridge connection functions at same time
CN1147094C (en) * 2002-08-22 2004-04-21 华为技术有限公司 Message receiving and transmitting method of combined bridge connection function and routing function

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100395977C (en) * 2005-06-10 2008-06-18 华为技术有限公司 Implementation method for automatically identifying packaging type of subscriber data
CN101068209B (en) * 2007-06-20 2010-09-29 中兴通讯股份有限公司 Deep message detection system and method
CN105325006A (en) * 2013-06-12 2016-02-10 Lg电子株式会社 Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
CN105325006B (en) * 2013-06-12 2019-06-18 Lg电子株式会社 Send the device of broadcast singal, the device of method and reception broadcast singal, method
US10448105B2 (en) 2013-06-12 2019-10-15 Lg Electronics Inc. Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
US10904620B2 (en) 2013-06-12 2021-01-26 Lg Electronics, Inc. Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
CN111131435A (en) * 2019-12-19 2020-05-08 浙江源创建筑智能科技有限公司 Method for discovering and configuring Ethernet link layer equipment
WO2023000767A1 (en) * 2021-07-23 2023-01-26 中兴通讯股份有限公司 Local area network communication method and apparatus, terminal, electronic device and storage medium

Also Published As

Publication number Publication date
CN1306761C (en) 2007-03-21

Similar Documents

Publication Publication Date Title
JP4317403B2 (en) Header compression apparatus and header compression method
US8995453B2 (en) Systems and methods for providing a VPN solution
EP1683020B1 (en) Virtual private network with pseudo server
JP4627669B2 (en) Packet transfer apparatus and transfer control method thereof
EP3593498B1 (en) Router device using flow duplication
CN108881302B (en) Industrial Ethernet and BLVDS bus interconnection communication device and industrial control system
US6182149B1 (en) System for managing dynamic processing resources in a network
JP2004505475A (en) Arrangement and method for encoding and transmitting network communication data in a transparent and online cross-session
CN1668030A (en) System and a method for processing field frames for multiprotocol use in a communications
CN1306761C (en) Method for transmitting Ethernet message by Internet
EP2071808B1 (en) Methods and a system and devices for ipv6 datagram transmission in the ethernet
EP1871051A1 (en) Information processing system, information processing apparatus, and information processing method
CN111464550A (en) HTTPS transparent protection method for message processing equipment
CN1842996A (en) Data segregation and fragmentation in a wireless network for improving video performance
CN100592265C (en) Method, system and computer system for guaranteeing communication safety by route packet quantity
EP1686756B1 (en) Communication system, method and apparatus for providing mirroring service in the communication system
KR100478899B1 (en) The system and service providing method for harmful site connection interception service by using tunneling protocol and packet mirroring mode
JP3666474B2 (en) Switch device having return port and encapsulated packet switching method
CN1278528C (en) Network safety device multi work mode adapting method
KR100522090B1 (en) METHOD FOR SECURING PAEKETS IN IPv6 LAYER
CN1685665A (en) Method for routing data packets, and devices for implementing the method
JP2007180715A (en) Ip communication device
CN113852784A (en) Video streaming transmission method and system
CN109561011A (en) A kind of public network method for communication transmission for vpn tunneling
CN117857707A (en) File scanning method based on cloud desktop network scanner

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170920

Address after: 232100, Anhui, Huainan province Fengtai County town of Yang Zhou Village, Hai Zi 136-1

Patentee after: Zhao Shoumei

Address before: 518057 Guangdong city of Shenzhen province science and Technology Park of HUAWEI Road Service Building

Patentee before: Huawei Technologies Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070321

Termination date: 20180527