CN102857429B - The method and apparatus of route is carried in TRILL network - Google Patents

The method and apparatus of route is carried in TRILL network Download PDF

Info

Publication number
CN102857429B
CN102857429B CN201210379425.9A CN201210379425A CN102857429B CN 102857429 B CN102857429 B CN 102857429B CN 201210379425 A CN201210379425 A CN 201210379425A CN 102857429 B CN102857429 B CN 102857429B
Authority
CN
China
Prior art keywords
message
route
trill network
address
internal 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.)
Active
Application number
CN201210379425.9A
Other languages
Chinese (zh)
Other versions
CN102857429A (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.)
Suzhou Centec Communications Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201210379425.9A priority Critical patent/CN102857429B/en
Publication of CN102857429A publication Critical patent/CN102857429A/en
Application granted granted Critical
Publication of CN102857429B publication Critical patent/CN102857429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Present invention is disclosed a kind of method and apparatus carrying route in TRILL network, its the routing bridge of TRILL network receive be sent to the downlink message of local ethernet end from TRILL network time, first obtain the internal layer Ethernet head of message and IP head by message decapsulation module decapsulation message, then show module by internal layer MAC and carry out tabling look-up determining that whether MAC Address is three layer interface addresses in described routing bridge; The message being three layer interface addresses for MAC Address carries out three layers of route processing, and the message not being three layer interface addresses for MAC Address carries out Layer2 switching process, then forwards after message editing.The invention solves to dispose between TRILL network with local ethernet two layers, three layers mixed time the problem of TRILL message repeating, reduce user cost simultaneously.

Description

The method and apparatus of route is carried in TRILL network
Technical field
The present invention relates to network communication field, particularly relate to and carry route in TRILL network, realize the method and apparatus that TRILL message forwards to local ethernet.
Background technology
TRILL (Transparent Interconnection of Lots of Links, multi-link is translucent interconnected) be the interconnect standard of a kind of multi-link transparent transmission that IETF is studying, it forwards behavior substantially in standardized process at present.It is to overcome Spanning-Tree Protocol (STP) Problems existing in scale and link bandwidth utilization rate that TRILL proposes.
And support in prior art in the Ethernet chip of TRILL, merely provide according to RFC (Request For Comments, request for comments) solve the problem of Layer2 switching, namely as edge RBridge (Routing Bridge, routing bridge) receive one when needing the message carrying out Layer2 switching, can be encapsulated by TRILL technology, penetrate TRILL network, be sent in the Layer2 switching network of opposite end and process.In actual use, also have such demand, RBridge is connected by three layers of Route establishment with local area network.When at this time downlink message being received for RBridge, after removing TRILL encapsulation, need to look into routing table and determine local down hop and encapsulation behavior, and these problems are do not propose in existing TRILL solution.
Especially, time RBridge and local area network can be connected by two layers, three layers mixing, for downlink message, need to judge now to need to carry out Layer2 switching or three layers of route, and in prior art, need jointly to dispose the requirement that could meet two layers, three layers mixing access TRILL network by common RBridge and router, therefore, add the cost of user and the complexity of network.
Summary of the invention
Object of the present invention is overcoming the deficiencies in the prior art, a kind of method carrying route in TRILL network is provided, with to solve in network design two layers, three layers mixed time, how to realize in TRILL network message repeating to the problem in local ethernet, the cost of user can be reduced simultaneously.
For achieving the above object, the present invention proposes following technical scheme: a kind of method carrying route in TRILL network, the routing bridge of TRILL network receive be sent to the downlink message of local ethernet end from TRILL network time, comprise following processing procedure:
A. decapsulation message is to obtain internal layer Ethernet head and the IP head of message;
B. by tabling look-up to the object MAC of internal layer Ethernet table, to determine that whether described target MAC (Media Access Control) address is three layer interface addresses in described routing bridge;
C. the message being three layer interface addresses for MAC Address carries out three layers of route processing, and the message not being three layer interface addresses for MAC Address carries out Layer2 switching process.
Further, the three layers of route processing in described step c, message carried out comprise use the internal layer object IP of message to search in the routing table after the route processing that carries out.
In described step c, the Layer2 switching process of message is comprised to the Layer2 switching process carried out after use internal layer object MAC tables look-up.
In described step a, decapsulation message comprises analytic message, obtains incoming interface information, and the decapsulation to message.
The described decapsulation to message comprises removes outer Ethernet head and TRILL head, exposes Ethernet head and the IP head of described internal layer.
Described method also comprises the step to carrying out message editing before message repeating.
The invention allows for a kind of device carrying route in TRILL network, the downlink message being sent to local ethernet end from TRILL network that the routing bridge for the treatment of TRILL network receives, it comprises:
A. decapsulation message module, in order to obtain internal layer Ethernet head and the IP head of message to described downlink message decapsulation;
B. internal layer MAC table look-up module, in order to determine that whether described target MAC (Media Access Control) address is three layer interface addresses in described routing bridge;
C. router table means and three layers of route processing module are looked into, in order to being that the message of three layer interface addresses carries out three layers of route processing to MAC Address; And
D. look into MAC and show module and Layer2 switching processing module, in order to not being that the message of three layer interface addresses carries out Layer2 switching process to MAC Address.
Further, described decapsulation message module also comprises packet parsing module and incoming interface data obtaining module.
The message editing module that described device is edited message before being also included in message repeating.
Compared with prior art, the disclosed method and apparatus carrying route in TRILL network, it achieves TRILL network end when being E-Packeted to local ethernet by RBridge, no matter local ethernet is by Layer2 switching access TRILL network, or by three layers of route access TRILL network, it places a router without the need to outside RBridge more, show by looking into internal memory MAC, and judge whether be three layer interface addresses according to gained MAC Address of tabling look-up, thus to the Layer2 switching process of TRILL message or three layers of route processing, to achieve in network design two layers, three layers mixed time, the problem of TRILL message repeating, reduce user cost simultaneously, also need not impact local network to carry out TRILL network transformation.
Accompanying drawing explanation
Fig. 1 is the network diagram that the present invention carries route in TRILL network;
Fig. 2 is the flow chart that the present invention carries the method for route in TRILL network.
Embodiment
Below in conjunction with accompanying drawing of the present invention, clear, complete description is carried out to the technical scheme of the embodiment of the present invention.
Fig. 1 is the network diagram that the present invention carries route in TRILL network, it comprises the plural routing bridge RBridge1 of TRILL network end, RBridge2, RBridge3, RBridge4, the plural main frame 1 of local ethernet end, main frame 2, main frame 3 and main frame 4, wherein main frame 1 and main frame 3 are by Layer2 switching access TRILL network, and main frame 2 and main frame 4 are by three layers of route access TRILL network.
The message that routing bridge RBridge receives comprise send local ethernet end to from TRILL network and the downlink message encapsulated by TRILL, and the uplink message of TRILL network end is sent to from local ethernet end, for RBridge1, when routing bridge RBridge1 receives downlink message, can't see issue main frame 1 or main frame 2 on earth from message itself, now, routing bridge RBridge1 then processes message, remove TRILL encapsulation outer Ethernet head and TRILL head after, expose Ethernet head and the IP head of internal layer.Now, common processing mode is, the direct target MAC (Media Access Control) address with internal layer Ethernet and VLAN go to look into and transmit, and obtain outgoing interface information.
And method of the present invention inserts a process of tabling look-up at this moment, use the object MAC of internal layer Ethernet to table look-up, determine that whether this MAC Address is three layer interface addresses in this RBridge.If so, then three layers of route processing are carried out to this message, if not, then Layer2 switching process is carried out to this message.
The device that the present invention realizes route carrying in TRILLA network comprises packet parsing module, incoming interface information module, decapsulation module, internal layer MAC shows module, looks into MAC and shows module, Layer2 switching processing module, look into router table means, three layers of route processing module, and message editing module.
The present invention described in composition graphs 2 realizes the main flow figure of route carrying in TRILL, method of the present invention its mainly comprise after the routing bridge RBridge of TRILL network end receives the message being forwarded to local ethernet from TRILL network, first by packet parsing module analytic message, incoming interface data obtaining module obtains the information of message, and carries out common TRILL decapsulation logic by decapsulation module.
After obtaining internal layer message, table look-up by internal layer MAC table look-up module, and internal layer MAC herein shows module and is different from common mac address table, this internal layer MAC table be one separately for depositing the table of RBridge tri-layer interface address.When having searched result, then show that this message needs to carry out three layers of route processing, therefore follow-up operation is searched looking in router table means with internal layer object IP, then carries out the relevant treatment of three layers of route processing; Come to nothing if searched, then show that the table that internal layer MAC shows in module needs to carry out Layer2 switching, therefore follow-up operation looks into MAC by internal layer object to show module and VLAN tables look-up, and then carries out by Layer2 switching processing module the process that Layer2 switching is correlated with.After processing message, need to update message, be then forwarded in local ethernet.
Technology contents of the present invention and technical characteristic have disclosed as above; but those of ordinary skill in the art still may do all replacement and the modification that do not deviate from spirit of the present invention based on teaching of the present invention and announcement; therefore; scope should be not limited to the content that embodiment discloses; and various do not deviate from replacement of the present invention and modification should be comprised, and contained by present patent application claim.

Claims (8)

1. in TRILL network, carry a method for route, it is characterized in that: the routing bridge of TRILL network receive be sent to the downlink message of local ethernet end from TRILL network time, comprise following processing procedure:
A. decapsulation message is to obtain internal layer Ethernet head and the IP head of message;
B. by tabling look-up to the target MAC (Media Access Control) address of internal layer Ethernet, to determine that whether target MAC (Media Access Control) address is three layer interface addresses in described routing bridge;
C. the message being three layer interface addresses for target MAC (Media Access Control) address carries out three layers of route processing, the message not being three layer interface addresses for target MAC (Media Access Control) address carries out Layer2 switching process, wherein to message carry out three layers of route processing comprise use the internal layer object IP address of message to search in the routing table after the route processing that carries out.
2. the method carrying route in TRILL network according to claim 1, is characterized in that: in described step c, the Layer2 switching process of message is comprised to the Layer2 switching process carried out after use internal layer target MAC (Media Access Control) address is tabled look-up.
3. the method carrying route in TRILL network according to claim 1, is characterized in that: in described step a, decapsulation message comprises analytic message, obtains incoming interface information, and the decapsulation to message.
4. the method carrying route in TRILL network according to claim 3, is characterized in that: the described decapsulation to message comprises removes outer Ethernet head and TRILL head, exposes described internal layer Ethernet head and IP head.
5. the method carrying route in TRILL network according to claim 1, is characterized in that: described method carries out the step of message editing before being also included in message repeating.
6. in TRILL network, carry a routing bridge for route, for the treatment of the downlink message being sent to local ethernet end from TRILL network received, it is characterized in that comprising:
A. decapsulation message module, in order to obtain internal layer Ethernet head and the IP head of message to described downlink message decapsulation;
B. internal layer MAC table look-up module, for by tabling look-up to the target MAC (Media Access Control) address of internal layer Ethernet, to determine that whether target MAC (Media Access Control) address is three layer interface addresses in described routing bridge;
C. routing table and three layers of route processing module are looked into, in order to be that the message of three layer interface addresses carries out three layers of route processing to target MAC (Media Access Control) address, wherein to message carry out three layers of route processing comprise use the internal layer object IP address of message to search in the routing table after the route processing that carries out;
D. MAC table and Layer2 switching processing module is looked into, in order to not being that the message of three layer interface addresses carries out Layer2 switching process to target MAC (Media Access Control) address.
7. the routing bridge carrying route in TRILL network according to claim 6, is characterized in that: described decapsulation message module also comprises the packet parsing module in order to analytic message and the incoming interface data obtaining module in order to the incoming interface information that obtains message.
8. the routing bridge carrying route in TRILL network according to claim 6, is characterized in that: the message editing module that described routing bridge is edited message before being also included in message repeating.
CN201210379425.9A 2012-10-09 2012-10-09 The method and apparatus of route is carried in TRILL network Active CN102857429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210379425.9A CN102857429B (en) 2012-10-09 2012-10-09 The method and apparatus of route is carried in TRILL network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210379425.9A CN102857429B (en) 2012-10-09 2012-10-09 The method and apparatus of route is carried in TRILL network

Publications (2)

Publication Number Publication Date
CN102857429A CN102857429A (en) 2013-01-02
CN102857429B true CN102857429B (en) 2015-10-21

Family

ID=47403632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210379425.9A Active CN102857429B (en) 2012-10-09 2012-10-09 The method and apparatus of route is carried in TRILL network

Country Status (1)

Country Link
CN (1) CN102857429B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323084B (en) * 2014-07-01 2020-03-10 中兴通讯股份有限公司 Method, device and system for managing TRILL network by three layers of network management
CN104967564B (en) * 2015-05-04 2018-05-11 新华三技术有限公司 From VLAN to the message forwarding method of TRILL network and equipment
CN104821914B (en) * 2015-05-04 2018-10-09 新华三技术有限公司 The message forwarding method and equipment of across transparent interconnection of lots of links connection TRILL networks
CN105591927B (en) * 2015-12-25 2019-04-30 迈普通信技术股份有限公司 A kind of message forwarding method and routing bridge based on TRILL network
CN107257300B (en) * 2017-08-09 2018-08-31 广州市大为通信有限公司 A kind of 4G access devices of wireless backup, system and method
CN108924065A (en) * 2018-07-12 2018-11-30 中国联合网络通信集团有限公司 Interchanger, double layer network message forwarding method and network system
CN117640503B (en) * 2024-01-22 2024-04-30 北京天维信通科技股份有限公司 Flow optimization method and device integrating BRouter technology and intelligent path technology

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510414A (en) * 2011-11-17 2012-06-20 华为数字技术有限公司 Host name transfer method and device adopting same
CN102647330A (en) * 2011-02-17 2012-08-22 中兴通讯股份有限公司 Data transmission method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8665886B2 (en) * 2009-03-26 2014-03-04 Brocade Communications Systems, Inc. Redundant host connection in a routed network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647330A (en) * 2011-02-17 2012-08-22 中兴通讯股份有限公司 Data transmission method and device
CN102510414A (en) * 2011-11-17 2012-06-20 华为数字技术有限公司 Host name transfer method and device adopting same

Also Published As

Publication number Publication date
CN102857429A (en) 2013-01-02

Similar Documents

Publication Publication Date Title
CN102857429B (en) The method and apparatus of route is carried in TRILL network
CN102970227B (en) The method and apparatus of VXLAN message repeating is realized in ASIC
CN105812259B (en) A kind of message forwarding method and equipment
US9531663B2 (en) Method and device for storing and sending MAC address entry, and system
CN103430498A (en) Method and device for network virtualized data transmission, and routing system
CN106603407A (en) Method and device for transmitting multicast address
CN102882781B (en) Method, route bridge and system for transmitting message
CN105337884A (en) Method and device for achieving multistage message editing service control on the basis of logic port
US8861339B2 (en) Packet forwarding function of a mobility switch deployed as routed SMLT (RSMLT) node
CN108390821A (en) A kind of openflow interchangers realize the method and system of dual-active
CN103227752A (en) Method and device for realizing policy routing in Ethernet switch chip
CN101026547A (en) Method and system for accessing Intranct IPv6 host into global IPv6 network
CN103685032B (en) Message forwarding method and network address translation services device
CN102064999B (en) Method and equipment for forwarding multicast message
CN102984070A (en) Method for realizing data forwarding through unnumbered interface of Ethernet
CN102546409B (en) Method and RB (route bridge) for processing message based on TRILL (Transparent Interconnection of Lots of Links) network
CN101304387B (en) Method for implementing tunnel conversion of bi-layer tunnel protocol
CN102801622B (en) A kind of retransmission method of data message and retransmission unit
CN105490937A (en) Ethernet virtual network gateway switching method and service provider edge node equipment
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN102710510B (en) Information processing method, apparatus and system
CN102932229B (en) A kind of method of packet being carried out to encryption and decryption process
CN103685007A (en) Method for MAC address learning during packet forwarding of edge devices and edge device
CN102868642B (en) The method and apparatus of NVGRE message repeating is realized in ASIC
CN102857415B (en) Routing bridge and device and method for controlling media access control address study

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 215101 unit 13 / 16, 4th floor, building B, No. 5, Xinghan street, Suzhou Industrial Park, Jiangsu Province

Patentee after: Suzhou Shengke Communication Co.,Ltd.

Address before: 215021 unit 13 / 16, floor 4, building B, No. 5, Xinghan street, industrial park, Suzhou, Jiangsu Province

Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.