CN1223154C - Method of sharing medium switch on control address on elastic growping looped network interface - Google Patents
Method of sharing medium switch on control address on elastic growping looped network interface Download PDFInfo
- Publication number
- CN1223154C CN1223154C CN 02141739 CN02141739A CN1223154C CN 1223154 C CN1223154 C CN 1223154C CN 02141739 CN02141739 CN 02141739 CN 02141739 A CN02141739 A CN 02141739A CN 1223154 C CN1223154 C CN 1223154C
- Authority
- CN
- China
- Prior art keywords
- mac
- rpr
- mac address
- control
- looped network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
本发明涉及一种在弹性分组环网接口上共享介质接入控制地址的方法,属计算机网络技术领域。本方法首先由RPR控制分别向节点的两个介质接入控制发送初始化消息,指定A、B两侧的相对位置;A侧的介质接入控制接收到初始消息后,从本侧获得自己的MAC地址,并将此MAC地址发送给RPR控制,然后A侧进入正常工作状态;B侧的介质接入控制接收到初始化消息后,保持非工作状态;RPR环控制收到来自A侧的带有MAC地址的消息后,保存该MAC地址,并将此MAC发送给B侧;B侧收到MAC地址后,进入正常工作状态。本发明的方法,过程简单,可实现性好,可以在RPR接口的A侧和B侧使用同一个MAC地址。
The invention relates to a method for sharing a medium access control address on an elastic packet ring network interface, which belongs to the technical field of computer networks. In this method, the RPR control sends initialization messages to the two media access control nodes of the node respectively, specifying the relative positions of A and B sides; after receiving the initial message, the media access control on the A side obtains its own MAC address, and send this MAC address to the RPR control, and then the A side enters the normal working state; after receiving the initialization message, the media access control on the B side remains in the non-working state; the RPR ring control receives the MAC address from the A side. After receiving the message of the address, save the MAC address and send the MAC to the B side; after receiving the MAC address, the B side enters the normal working state. The method of the invention has simple process and good realizability, and the same MAC address can be used on the A side and the B side of the RPR interface.
Description
技术领域technical field
本发明涉及一种在弹性分组环网接口上共享介质接入控制地址的方法,属计算机网络技术领域。The invention relates to a method for sharing a medium access control address on an elastic packet ring network interface, which belongs to the technical field of computer networks.
背景技术Background technique
通常一个弹性分组环网(Resilient Packet Ring,以下简称RPR环网)接口的逻辑框图如图1所示,包括一个RPR控制和两个RPR介质接入控制(Media Access Control,以下简称为MAC),这两个MAC分别称为A侧MAC和B侧MAC。其中每个MAC分别有各自的MAC地址,而且A侧和B侧的MAC地址是不一致的。但作为一个RPR接口,MAC地址是此节点在环网上的唯一表示方法,因此如果A、B两侧使用不同的MAC地址,会使环网上的其它节点误认为A、B两侧是在两个不同的节点上,从而导致工作状态的混乱,所以要求A侧和B侧使用同一个MAC地址。这样就出现了如何在一个RPR接口的两个不同MAC上共享一个MAC地址的问题。现有的技术中,RPR控制直接将一个从配置命令获得的MAC地址下发给AB两侧,AB两侧获得MAC地址后进入正常工作状态。其缺点是,需要手工配置AB两侧的MAC地址,增加了RPR接口使用的复杂性;没有充分利用AB两侧自己所有拥有的MAC地址,造成了MAC地址的浪费。Usually a logical block diagram of a resilient packet ring network (Resilient Packet Ring, hereinafter referred to as RPR ring network) interface is shown in Figure 1, including one RPR control and two RPR media access controls (Media Access Control, hereinafter referred to as MAC), The two MACs are called A-side MAC and B-side MAC respectively. Each MAC has its own MAC address, and the MAC addresses of side A and side B are inconsistent. However, as an RPR interface, the MAC address is the only representation method of this node on the ring network. Therefore, if A and B use different MAC addresses, other nodes on the ring network will mistakenly believe that A and B are on two different nodes, which leads to confusion in the working state, so the A side and the B side are required to use the same MAC address. In this way, the problem of how to share a MAC address on two different MACs of an RPR interface arises. In the existing technology, the RPR control directly sends a MAC address obtained from a configuration command to both sides of AB, and both sides of AB enter into a normal working state after obtaining the MAC address. The disadvantage is that the MAC addresses on both sides of AB need to be manually configured, which increases the complexity of using the RPR interface; the MAC addresses owned by both sides of AB are not fully utilized, resulting in a waste of MAC addresses.
发明内容Contents of the invention
本发明的目的是提出一种在弹性分组环网接口上共享介质接入控制地址的方法,以解决弹性分组环网的两侧MAC地址不一致的问题,使整个RPR接口的两个MAC层共用一个相同的MAC地址。The purpose of the present invention is to propose a method for sharing the media access control address on the elastic packet ring network interface, to solve the problem of inconsistent MAC addresses on both sides of the elastic packet ring network, so that the two MAC layers of the entire RPR interface share one same MAC address.
本发明提出的在弹性分组环网接口上共享介质接入控制地址的方法,包括以下各步骤:The method for sharing the media access control address on the elastic packet ring network interface proposed by the present invention includes the following steps:
1、一种在弹性分组环(RPR)网接口上共享介质接入控制(MAC)地址的方法,其特征在于该方法包括以下各步骤:1. A method for sharing a medium access control (MAC) address on a resilient packet ring (RPR) network interface, characterized in that the method comprises the following steps:
(1)RPR环网控制分别向RPR环网接口两侧的MAC发送初始化消息。(1) The RPR ring network control sends initialization messages to the MACs on both sides of the RPR ring network interface.
(2)初始化后,RPR环网接口一侧的MAC将自己的MAC地址发送给RPR环网控制,然后进入正常工作状态;(2) After initialization, the MAC on the side of the RPR ring network interface sends its own MAC address to the RPR ring network control, and then enters the normal working state;
(3)RPR环网控制收到所述的MAC地址信息后,将该MAC地址发送给另一侧MAC,该MAC进入正常工作状态。(3) After receiving the MAC address information, the RPR ring network controller sends the MAC address to the MAC on the other side, and the MAC enters a normal working state.
所述的初始化消息为指定RPR环网接口上两侧MAC的相对位置。The initialization message specifies the relative positions of the MACs on both sides of the RPR ring network interface.
所述的另一侧MAC在接到RPR环网控制下发的MAC地址以前,保持非工作状态。The MAC on the other side remains in a non-working state before receiving the MAC address issued by the RPR ring network control.
本发明提出的在弹性分组环网接口上共享介质接入控制地址的方法,过程简单,可实现性好,可以在RPR接口的两侧使用同一个MAC地址,因而有效地解决了一个RPR接口上MAC地址的共享问题,保证了RPR系统内部的统一性和对外的一致性。The method for sharing the media access control address on the RPR interface proposed by the present invention is simple in process and good in realizability, and can use the same MAC address on both sides of the RPR interface, thus effectively solving the problem of an RPR interface. The sharing of MAC addresses ensures the internal and external consistency of the RPR system.
附图说明Description of drawings
图1是已有技术中RPR接口的逻辑结构图。FIG. 1 is a logical structure diagram of an RPR interface in the prior art.
图2是本发明提出的RPR接口共享MAC的逻辑结构图。FIG. 2 is a logical structure diagram of the RPR interface shared MAC proposed by the present invention.
具体实施方式Detailed ways
如图2所示,本发明提出的在弹性分组环网接口上共享介质接入控制地址的方法,首先RPR控制分别向节点的两个介质接入控制发送初始化消息,指定弹性分组环网上两侧的相对位置,例如将其中的一侧指定为A侧,则另一侧即为B两侧。A、B两侧的相对位置可以任意指定。A侧的MAC控制接收到初始化消息后,从本侧获得自己的MAC地址,并将MAC地址发送给RPR控制,然后A侧进入正常工作状态。B侧的MAC接收到初始化消息后,保持非工作状态。RPR环控制收到来自A侧的带有MAC地址的消息后,保存该MAC地址,并将此MAC地址发送给B侧。B侧收到MAC地址后,进入正常工作状态。As shown in Figure 2, in the method for sharing the MAC address on the RPR network interface proposed by the present invention, first, the RPR control sends initialization messages to the two MACs of the node respectively, specifying the two sides of the RPR network For example, if one side is designated as side A, the other side is the two sides of B. The relative positions on both sides of A and B can be specified arbitrarily. After receiving the initialization message, the MAC controller on the A side obtains its own MAC address from the local side, and sends the MAC address to the RPR controller, and then the A side enters the normal working state. After receiving the initialization message, the MAC on side B remains in a non-working state. After the RPR ring control receives the message with the MAC address from side A, it saves the MAC address and sends the MAC address to side B. After receiving the MAC address, side B enters the normal working state.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 02141739 CN1223154C (en) | 2002-08-29 | 2002-08-29 | Method of sharing medium switch on control address on elastic growping looped network interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 02141739 CN1223154C (en) | 2002-08-29 | 2002-08-29 | Method of sharing medium switch on control address on elastic growping looped network interface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1479490A CN1479490A (en) | 2004-03-03 |
| CN1223154C true CN1223154C (en) | 2005-10-12 |
Family
ID=34147849
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 02141739 Expired - Fee Related CN1223154C (en) | 2002-08-29 | 2002-08-29 | Method of sharing medium switch on control address on elastic growping looped network interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1223154C (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100426782C (en) * | 2004-08-11 | 2008-10-15 | 中兴通讯股份有限公司 | Method for transmitting singlecast service in resilient packet ring |
| CN100433710C (en) * | 2005-06-08 | 2008-11-12 | 中兴通讯股份有限公司 | A Method for Isolating Layer 2 Services Between Sites in a Resilient Packet Ring |
| CN100417123C (en) * | 2005-06-09 | 2008-09-03 | 华为技术有限公司 | Elastic Packet Ring Address Binding Method |
| CN1859381A (en) * | 2005-10-08 | 2006-11-08 | 华为技术有限公司 | Method and system for realizing virtual route redundant protocol on elastic block ring |
| CN100401710C (en) * | 2005-11-08 | 2008-07-09 | 华为技术有限公司 | Method and device for creating elastic grouping ring nodes |
| CN101110752B (en) * | 2006-07-18 | 2011-07-20 | 华为技术有限公司 | Method and device for sensing neighbor connectivity on elastic packet ring |
-
2002
- 2002-08-29 CN CN 02141739 patent/CN1223154C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1479490A (en) | 2004-03-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2003504961A (en) | Virtual port trunking method and apparatus | |
| CN102571507B (en) | Equipment wake-up method, dormant agent equipment and equipment wake-up system | |
| CN1223154C (en) | Method of sharing medium switch on control address on elastic growping looped network interface | |
| CN101160909B (en) | A method and system for implementing a virtual routing redundancy protocol on a resilient packet ring | |
| CN101039212B (en) | A method for fast data storage | |
| CN101163095A (en) | A Method of IP Header Compression Applied in End-to-End Link Transmission | |
| CN1681251A (en) | Managing method of network apparatus based on access controlling layer of Ethernet medium | |
| CN100499661C (en) | Port state shift method | |
| CN102546840A (en) | Method, device and system for binding virtual serial port and physical serial port | |
| CN101115001B (en) | Host computer of ADSL router and PVC dynamic binding method | |
| CN103414640B (en) | A method for expanding the capacity of the MAC address forwarding table of wireless controller equipment | |
| CN103200110B (en) | A kind of data multicast method and apparatus being applied to intelligent substation local area network | |
| CN101141233B (en) | A Method for Realizing Active/Standby Redundancy of Node B | |
| CN1602096A (en) | Method of backup of personal information lost in mobile terminal | |
| CN105515792A (en) | Building talk-back devices and network awakening methods therefor | |
| CN101355440B (en) | Method for collecting topology of cluster management | |
| CN110855486B (en) | Topological mapping label-based topological scanning method for station control layer of power secondary system | |
| CN1538675A (en) | Method for Isolating User Ports of Ethernet Switches | |
| CN1300987C (en) | Method for hot backing up creation and delection of virtual local area network in exchanger | |
| CN100550772C (en) | A Templated Configuration Method for Remote Management of Asymmetric Digital Subscriber Loop Terminals | |
| CN220234977U (en) | Communication system | |
| CN1281074C (en) | Method of automatic establishing multi-level cascade link pased on point to point | |
| CN100433693C (en) | A method for dynamically creating a virtual local area network table and an Ethernet device | |
| CN100493019C (en) | Method and device for implementing ring configuration in ring network | |
| US12341677B2 (en) | Energy savings through automatic adjustment of link speed |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20051012 Termination date: 20150829 |
|
| EXPY | Termination of patent right or utility model |