WO2011098033A1 - 虚拟链路建立的方法、通信网元及以太网网络系统 - Google Patents

虚拟链路建立的方法、通信网元及以太网网络系统 Download PDF

Info

Publication number
WO2011098033A1
WO2011098033A1 PCT/CN2011/070891 CN2011070891W WO2011098033A1 WO 2011098033 A1 WO2011098033 A1 WO 2011098033A1 CN 2011070891 W CN2011070891 W CN 2011070891W WO 2011098033 A1 WO2011098033 A1 WO 2011098033A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
communication network
mac address
virtual
ethernet
Prior art date
Application number
PCT/CN2011/070891
Other languages
English (en)
French (fr)
Inventor
刘利锋
王雨晨
孟健
李科
Original Assignee
成都市华为赛门铁克科技有限公司
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 成都市华为赛门铁克科技有限公司 filed Critical 成都市华为赛门铁克科技有限公司
Publication of WO2011098033A1 publication Critical patent/WO2011098033A1/zh
Priority to US13/572,222 priority Critical patent/US20120300776A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4675Dynamic sharing of VLAN information amongst network nodes
    • H04L12/4679Arrangements for the registration or de-registration of VLAN attribute values, e.g. VLAN identifiers, port VLAN membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for establishing a virtual link, a communication network element, and a communication network.
  • Fibre Channel over Ethernet uses Enhanced Ethernet as the physical network transmission architecture to provide standard Fibre Channel payloads and avoids Transmission Control Protocol/Internet Protocol. TCP/IP) Ten overheads, and FCoE can serve the upper software layer like standard Fibre Channel.
  • the FCoE protocol is a network protocol designed specifically for Layer 2 data center networks.
  • the protocol stipulates how the two communication network elements communicate when the source communication network element is located in the Ethernet network and the target communication network element is located in the optical network.
  • the source communication network element sends a registration request message to the gateway device, and the gateway device allocates a virtual media access control (MAC) address to the source communication network element, and sends the registration carrying the virtual MAC address to the source communication network element.
  • the source communication network element After receiving the message, the source communication network element generates a Fibre Channel (FC) frame, which is referred to as a fiber frame (FC frame), and uses the virtual MAC address as the source MAC address, and the Ethernet MAC address of the gateway device is the destination MAC address.
  • FC Fibre Channel
  • FC frame Fibre Channel
  • FC frame Fibre Channel
  • FC frame Fibre Channel
  • the gateway device parses the Ethernet frame to obtain an FC frame, and uses the destination ID in the FC frame to determine the target communication network element that should receive the
  • the existing FCoE protocol stipulates that when the source communication network element is located in the Ethernet network and the target communication network element is located in the optical network, the two communication network elements communicate, and the two communication network elements are not specified when the communication network element is located in the Ethernet network. , How to communicate using Fibre Channel over Ethernet.
  • Embodiments of the present invention provide a method for establishing a virtual link, a communication network element, and a communication network, so that two communication network elements in an Ethernet network can communicate using Ethernet Fibre Channel.
  • a method for establishing a virtual link includes: Receiving, by the first communication network element, a communication request message sent by the second communication network element;
  • the first communication network element allocates a first virtual MAC address and a second virtual MAC address to the virtual link between the first communication network element and the second communication network element, where the first virtual MAC address is an identifier in the virtual link a virtual MAC address of the first communication network element; the second virtual MAC address is a virtual MAC address of the virtual link that identifies the second communication network element;
  • the first communication network element sends a response message to the second communication network element to the communication request message, where the response message carries the first virtual MAC address and the second virtual MAC address, and the first communication network element and The second communication network element is located in the Ethernet.
  • a communication network element, located in an Ethernet network, includes:
  • a receiving unit configured to receive a communication request message sent by the peer communication network element
  • An address allocation unit configured to allocate a first virtual MAC address and a second virtual MAC address to the virtual link between the communication network element and the peer communication network element after receiving the communication request message, the first virtual MAC The address is a virtual MAC address that identifies the communication network element in the virtual link; the second virtual MAC address is a virtual MAC address that identifies the peer communication network element in the virtual link;
  • a sending unit configured to send, to the peer communication network element, a response message to the communication request message, where the response message carries the first virtual MAC address and the second virtual MAC address.
  • the first communication network element allocates a first virtual MAC address that identifies the address of the first communication network element in the virtual link, and a second virtual MAC address that identifies the address of the second communication network element in the virtual link. And notifying the second virtual network element of the first virtual MAC address and the second virtual MAC address, so that the first communication network element and the second communication network element located in the Ethernet can utilize the first virtual MAC address and the second virtual MAC address.
  • the identified virtual link communicates.
  • FIG. 1 is a flowchart of a method for establishing a virtual link according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for establishing a virtual link according to another embodiment of the present invention.
  • FIG. 3 is a flowchart of a communication method in an Ethernet according to an embodiment of the present invention.
  • FIG. 4 is a structural diagram of a communication network element according to an embodiment of the present invention
  • FIG. 5 is a structural diagram of an Ethernet network system according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for establishing a virtual link, where the method includes: 101.
  • a first communication network element receives a communication request message sent by a second communication network element.
  • the first communication network element and the second communication network element in the embodiment of the present invention are communication network elements in the Ethernet.
  • the communication request message may be a unicast registration request message.
  • the unicast registration request message is that after the second communication network element receives the unicast or multicast response message returned by the first communication network element, the Ethernet MAC address carried in the unicast or multicast response message is used.
  • the unicast or multicast response message is sent by the communication network element, where the unicast or multicast response message is a response message to the multicast discovery request message sent by the second communication network element.
  • the first communication network element registers its own Ethernet MAC address to the server, and the second communication network element obtains the Ethernet MAC address of the first communication network element from the server, according to the first communication network element.
  • the Ethernet MAC address sends a registration request message to the first communication network element, where the server may be a name server (Name Server, NS).
  • the first communication network element allocates a first virtual MAC address and a second virtual MAC address to the virtual link between the first communication network element and the second communication network element, where the first virtual MAC address is the virtual link. Identifying a virtual MAC address of the first communication network element; the second virtual MAC address is a virtual MAC address of the virtual link that identifies the second communication network element.
  • the first communication network element instantiates a first virtual N-port VN-Port/Ethernet Fibre Channel link endpoint FCoE-LEP pair, and allocates a first virtual MAC that is bound to the first VN-Port/FCoE-LEP pair. Addressing; and allocating a second virtual MAC address, the second virtual MAC address is subsequently used for binding with the second VN_Port/FCoE-LEP pair instantiated in the second communication network element, and recording the second virtual MAC address The virtual MAC address of the peer communication network element (ie, the second communication network element) of the virtual link that is managed by the first VN_Port/FCoE_LEP pair, and the first VN_Port/ on the subsequent first communication network element.
  • FCoE-LEP pair for managing data packets interacting with the second communication network element (the data packet may be an Ethernet frame); the second VN-Port/FCoE-LEP pair on the second communication network element is used for management and A data packet exchanged by a communication network element (the data packet may be an Ethernet frame).
  • the communication network element instantiates the VN_Port/FCoE-LEP pair to instantiate two entities, VN-Port and FCoE-LEP, and establish the correspondence between the two entities.
  • the VN_Port entity if the communication network element needs to send a data packet, the VN_Port entity generates an FC frame, and then the FCoE-LEP entity
  • the virtual MAC address bound to the VN Port/FCoE LEP pair is used as the source MAC address, and the virtual MAC address of the peer communication network element of the virtual link managed by the VN_Port/FCoE-LEP pair is the destination MAC address.
  • the FC frame is encapsulated into an Ethernet frame.
  • the FCoE-LEP entity identifies whether the Ethernet frame is sent to its corresponding VN-Port entity through the destination MAC address and the source MAC address in the Ethernet frame. , that is, whether the destination MAC address in the Ethernet frame is the same as the virtual MAC address bound to the VN_Port/FCoE-LEP pair, and whether the source MAC address in the Ethernet frame is related to the VN_Port/FCoE-LEP pair.
  • the virtual MAC address of the peer communication network element on the managed virtual link is the same. If both judgments are yes, the Ethernet frame is parsed out of the FC frame and transmitted to the VN-Port entity, and the VN_port entity according to the Fibre Channel protocol. The FC frame is processed.
  • the first communication network element sends a response message to the second communication network element to the communication request message, where the response message carries the first virtual MAC address and the second virtual MAC address.
  • the response message to the communication request message may be a registration accept message.
  • the first communication network element sends the first virtual MAC address and the second virtual MAC address to the second communication network element, so that the second communication network element instantiates the second VN_Port/FCoE-LEP pair and then the second The virtual MAC address is bound to the second VN Port/FCoE LEP pair, and the first virtual MAC address is recorded as the MAC address of the peer communication network element of the virtual link managed by the second VN Port/FCoE LEP pair.
  • the first communication network element allocates a first virtual MAC address that identifies the address of the first communication network element in the virtual link, and a second virtual MAC address that identifies the address of the second communication network element in the virtual link. And notifying the second virtual network element of the first virtual MAC address and the second virtual MAC address, so that the subsequent first communication network element and the second communication network element utilize the virtual chain identified by the first virtual MAC address and the second virtual MAC address The road communicates.
  • another embodiment of the present invention provides a method for establishing a virtual link, where the method includes: 201.
  • the second communication network element obtains information about a communication network element other than the second communication network element in the Ethernet, and selects In the embodiment of the present invention, it is assumed that the second communication network element selects the first communication network element as the communication network element to be communicated.
  • the second communication network element obtains a letter of the communication network element except the second communication network element in the Ethernet.
  • the information can be implemented in the following two ways:
  • the first implementation manner is as follows:
  • the second communication network element sends a multicast discovery request message, where the destination address of the multicast discovery request message is a multicast group address, for example, an All-FCF-MACs group address, and the Ethernet network will
  • the broadcast discovery request message is transmitted to each communication network element except the second communication network element.
  • each communication network element After receiving the multicast discovery request message, each communication network element sends a unicast or multicast response message to the second communication network element, where the unicast or multicast response message carries the information of the corresponding communication network element, and the information includes: Ethernet MAC address and communication network element name, etc.
  • the second implementation manner When each communication network element in the Ethernet starts, it registers its own information to the name server (Name Server, NS). In this step, the second communication network element queries all communication networks through the NS. Meta information, including: Ethernet MAC address and communication network element name.
  • the second communication network element sends a unicast registration request to the first communication network element according to the Ethernet MAC address of the first communication network element, where the source MAC address of the unicast registration request is the Ethernet of the second communication network element.
  • the network MAC address, the destination MAC address is the Ethernet MAC address of the first communication network element.
  • the first communication network element determines whether to establish a connection with the second communication network element and performs communication according to the preset policy. If not, execute 204; if yes, execute 205.
  • the preset policy may be an access control policy or other pre-configured policies, without affecting the implementation of the present invention.
  • the first communication network element sends a reject message to the second communication network element, and the process ends.
  • the first communication network element instantiates a first VN-Port/FCoE-LEP pair, allocates a first virtual MAC address bound to the first VN-Port/FCoE-LEP pair, and allocates a second communication network element to the second communication network element.
  • a virtual MAC address (assumed to be a second virtual MAC address), and recording the second virtual MAC address as the first VN-Port/FCoE-LEP pair managed virtual link peer-to-peer communication network element (ie, the second communication network) a virtual MAC address, sending a registration accept message to the second communication network element, the source MAC address of the registration accept message is the Ethernet MAC address of the first communication network element, and the destination MAC address is the Ethernet of the second communication network element
  • the MAC address, where the registration accept message carries the first virtual MAC address and the second virtual MAC address.
  • the second communication network element After receiving the registration accept message, the second communication network element instantiates the local second VN Port/FCoE LEP pair, and binds the second virtual MAC address to the second VN_Port/FCoE-LEP pair, and records
  • the first virtual MAC address is a virtual MAC address of the peer communication network element (ie, the first communication network element) of the virtual link managed by the second VN Port/FCoE LEP pair.
  • a virtual link between the first communication network element and the second communication network element is formed, that is, between the VN_Port in the first VN Port/FCoE LEP and the VN-Port in the second VN-Port/FCoE-LEP.
  • the virtual link, the two endpoints of the virtual link ie, the first communication network element and the second communication network element
  • the first communication network element allocates a first virtual MAC address that identifies the address of the first communication network element in the virtual link, and a second virtual MAC address that identifies the address of the second communication network element in the virtual link. And notifying the second virtual network element of the first virtual MAC address and the second virtual MAC address, so that the subsequent first communication network element and the second communication network element utilize the virtual chain identified by the first virtual MAC address and the second virtual MAC address The road communicates.
  • the following is a method for the first communication network element to communicate with the second communication network element according to the embodiment of the present invention, where the method specifically includes:
  • the first communication network element generates a fiber frame, and uses the first virtual MAC address as the source MAC address and the second virtual MAC address as the destination MAC address to encapsulate the fiber frame to obtain an Ethernet frame, and the second communication is performed through the Ethernet.
  • the network element sends the Ethernet frame.
  • the VN_Port entity of the first VN_Port/FCoE_LEP pair in the first communication network element generates an FC frame
  • the FCoE-LEP entity associates the virtual MAC address bound by the first VN_Port/FCoE-LEP pair. (ie, the first virtual MAC address) as the source MAC address
  • the first VN_Port/FCoE_LEP pairs the virtual MAC address of the peer communication network element (ie, the second virtual MAC address) of the managed virtual link as the destination
  • the MAC address encapsulates the FC frame to obtain an Ethernet frame, and sends the Ethernet frame to the second communication network element through the Ethernet.
  • the second communication network element receives an Ethernet frame from the Ethernet, determines whether the destination MAC address in the Ethernet frame is the second virtual MAC address, and determines whether the source MAC address in the Ethernet frame is the first virtual MAC address, if the Ethernet The destination MAC address in the network frame is the second virtual MAC address, and the source MAC address in the Ethernet frame is the first virtual MAC address, and the Ethernet frame is parsed to obtain the fiber frame.
  • the FCoE-LEP entity of the second VN_Port/FCoE-LEP pair in the second communication network element receives the Ethernet frame, and according to the virtual MAC address bound to the second VN_Port/FCoE-LEP pair (ie, a second virtual MAC address), and a virtual MAC address (ie, a first virtual MAC address) of the peer communication network element of the virtual link managed by the second VN_Port/FCoE_LEP pair, and determining the Ethernet frame purpose Whether the MAC address is the second virtual MAC address, determining whether the source MAC address in the Ethernet frame is the first virtual MAC address, and if yes, parsing the Ethernet frame to obtain the FC frame, and transmitting the FC frame to the VN_Port entity.
  • the virtual MAC address bound to the second VN_Port/FCoE-LEP pair ie, a second virtual MAC address
  • a virtual MAC address ie, a first virtual MAC address
  • the second communication network element can generate the FC frame by using the VN_Port entity of the second VN Port/FCoE LEP pair, and the FCoE-LEP entity will use the second VN_Port/FCoE - the virtual MAC address (ie, the second virtual MAC address) to which the LEP pair is bound as the source MAC address, and the virtual MAC address of the peer communication network element of the virtual link to be managed by the second VN_Port/FCoE_LEP pair (ie, the first virtual MAC address M ⁇ is the destination MAC address, the FC frame is encapsulated, the Ethernet frame is obtained, and the Ethernet frame is sent to the first communication network element through the Ethernet.
  • the FCoE-LEP entity of the first VN-Port/FCoE-LEP pair receives the Ethernet frame, according to the virtual MAC address bound to the first VN-Port/FCoE-LEP pair (ie, the first virtual MAC address), and the virtual MAC address (ie, the second virtual MAC address) of the peer communication network element of the virtual link managed by the first VN_Port/FCoE_LEP pair, determining the destination MAC address in the Ethernet frame Is it the first virtual MAC address, judged by If the source MAC address in the Ethernet frame is the second virtual MAC address, if yes, the Ethernet frame is parsed to obtain the FC frame, and the FC frame is transmitted to the VN_Port entity.
  • the virtual MAC address bound to the first VN-Port/FCoE-LEP pair ie, the first virtual MAC address
  • the virtual MAC address ie, the second virtual MAC address
  • the first communication network element and the second communication network element in the above embodiment are capable of communicating using the virtual link identified by the first virtual MAC address and the second virtual MAC address.
  • an embodiment of the present invention provides a communication network element, where the communication network element includes:
  • the receiving unit 401 is configured to receive a communication request message sent by the peer communication network element; the communication request message may be a unicast registration request message.
  • the address allocation unit 402 is configured to allocate a first virtual MAC address and a second virtual MAC address to the virtual link between the communication network element and the peer communication network element after receiving the communication request message, where the first virtual The MAC address is a virtual MAC address that identifies the communication network element in the virtual link; the second virtual MAC address is a virtual MAC address that identifies the peer communication network element in the virtual link; Sending a response message to the communication request message to the peer communication network element, where the response message carries the first virtual MAC address and the second virtual MAC address.
  • the communication network element has completed the establishment of a virtual link with the peer communication network element.
  • the communication network element further includes: a first optical network data processing unit 404 and a first Ethernet data processing unit 405, wherein a first fiber optic network data processing unit 404, configured to generate a fiber frame;
  • the first optical network data processing unit 404 is equivalent to the function of the first VN-Port/FCoE-LEP to the VN-Port entity when the communication network element needs to send an Ethernet frame in the method embodiment;
  • the first Ethernet data processing unit 405 is configured to use the first virtual MAC address as the source MAC address and the second virtual MAC address as the destination MAC address, and encapsulate the fiber frame to obtain an Ethernet frame; It is also used to transmit the Ethernet frame obtained by the first Ethernet data processing unit 405.
  • the first Ethernet data processing unit 405 is equivalent to the function of the first VN-Port/FCoE-LEP pair FCoE-LEP entity when the communication network element needs to send an Ethernet frame in the method embodiment.
  • the communication network element further includes: a second Ethernet data processing unit 406 and a second fiber network data processing unit 407;
  • the receiving unit 401 is further configured to receive an Ethernet frame.
  • the second Ethernet data processing unit 406 is configured to determine whether the destination MAC address in the Ethernet frame received by the receiving unit 401 is the first virtual MAC address, and determine whether the source MAC address in the Ethernet frame is the second virtual MAC address, if The destination MAC address in the Ethernet frame is the first virtual MAC address and the source MAC address in the Ethernet frame is the second virtual MAC address.
  • the Ethernet frame is parsed to obtain the fiber frame, and the fiber frame is sent to the second fiber network data processing unit. 407.
  • the second fiber optic network data processing unit 407 is configured to process the fiber frame according to a Fibre Channel protocol.
  • the second Ethernet data processing unit 406 is equivalent to the function of the first VN-Port/FCoE-LEP pair FCoE-LEP entity when the communication network element receives the Ethernet frame in the method embodiment, and the second optical network data processing unit 407 is equivalent to the function of the first VN-Port/FCoE-LEP pair VN-Port entity; in order to enable the communication network element other than the communication network element in the Ethernet to know the Ethernet MAC address of the communication network element, the sending unit 403 is further configured to send the Ethernet MAC address of the communication network element to the server; the communication request message is that after the peer communication network element obtains the Ethernet MAC address of the communication network element from the server, the communication is performed according to the Ethernet MAC address. The network element sent.
  • the communication network element further includes: a determining unit 408,
  • the determining unit 408 is specifically configured to: after receiving the unicast registration request sent by the peer communication network element, determine whether to establish a connection with the peer communication network element according to the preset policy, where the preset policy may be It is an access control policy, and it can also be other pre-configured policies that do not affect the implementation of the present invention.
  • the address allocating unit 402 allocates the first virtual MAC address and the second virtual MAC address when the determination result of the determining unit 408 is YES.
  • the communication network element allocates a first virtual MAC address that identifies itself in the virtual link, and a second virtual MAC address that identifies the peer communication network element address in the virtual link, and the first virtual MAC address is obtained. Notifying the peer communication network element with the second virtual MAC address, so that the two communication network elements can subsequently communicate using the virtual link identified by the first virtual MAC address and the second virtual MAC address.
  • an embodiment of the present invention provides a network system, where the system includes: a first communication network element 501 and a second communication network element 502, where
  • the first communication network element 501 is configured to receive a communication request message sent by the second communication network element 502, and allocate a first virtual MAC address and a second for the virtual link between the first communication network element 501 and the second communication network element 502. a virtual MAC address, where the first virtual MAC address is a virtual MAC address that identifies the first communication network element, and the second virtual MAC address is the second communication network element that identifies the second communication network element in the virtual link.
  • the virtual MAC address is sent to the second communication network element 502, and the response message carries the first virtual MAC address and the second virtual MAC address;
  • the second communication network element 502 is configured to send a communication request message to the first communication network element 501, and receive a response message to the communication request message sent by the first communication network element 501.
  • the information exchange between the first communication network element and the second communication network element is specifically described in the second embodiment and the third embodiment, and details are not described herein again.
  • the first communication network element allocates a first virtual MAC address that identifies the address of the first communication network element in the virtual link, and a second virtual MAC address that identifies the address of the second communication network element in the virtual link. And notifying the second virtual network element of the first virtual MAC address and the second virtual MAC address, so that the first communication network element and the second communication network element in the Ethernet can utilize the first virtual MAC address and the second virtual MAC address.
  • the identified virtual link communicates.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

虚拟链路建立的方法、 通信网元及以太网网络系统 本申请要求于 2010 年 2 月 10 日提交中国专利局、 申请号为 201010111255.7、 发明名称为"虚拟链路建立的方法、 通信网元及以太网网络 系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域, 特别涉及一种虚拟链路建立的方法、 通信网元 及通信网络。
背景技术
以太网光纤通道( Fibre Channel over Ethernet, FCoE )采用增强型以太网 作为物理网络传输架构, 能够提供标准的光纤通道有效内容载荷,避免了传输 控制 /网际十办议 ( Transmission Control Protocol/Internet Protocol, TCP/IP )十办议 开销, 而且 FCoE能够像标准的光纤通道那样为上层软件层服务。
FCoE协议是专门为二层数据中心网络所设计的网络协议。 该协议规定了 源通信网元位于以太网网络, 目标通信网元位于光纤网络中时, 两个通信网元 进行通信的方式。 具体的, 源通信网元向网关设备发送注册请求消息, 网关设 备为源通信网元分配虚拟媒体接入控制 ( Media Access Control , MAC )地址, 向源通信网元发送携带该虚拟 MAC地址的注册接受消息, 源通信网元生成光 纤通道(Fibre Channe l , FC )帧, 简称光纤帧(FC帧)后, 利用该虚拟 MAC 地址为源 MAC地址 , 网关设备的以太网 MAC地址为目的 MAC地址 , 将 FC 帧封装成以太网帧发出, 网关设备解析该以太网帧得到 FC帧, 利用 FC帧中 的目的 ID , 确定应该接收该 FC帧的目标通信网元, 将其发给目标通信网元。
现有的 FCoE协议规定了源通信网元位于以太网网络, 目标通信网元位于 光纤网络中时, 两个通信网元进行通信的方式, 没有规定两个通信网元都位于 以太网网络中时, 是如何利用以太网光纤通道进行通信的。
发明内容
本发明实施例提供一种虚拟链路建立的方法、通信网元及通信网络,使以 太网网络中的两个通信网元能够利用以太网光纤通道进行通信。
有鉴于此, 本发明实施例提供:
一种虚拟链路建立的方法, 包括: 第一通信网元接收第二通信网元发送的通信请求消息;
第一通信网元为第一通信网元与第二通信网元间的虚拟链路分配第一虚 拟 MAC地址和第二虚拟 MAC地址 ,所述第一虚拟 MAC地址为所述虚拟链路中 标识第一通信网元的虚拟 MAC地址; 所述第二虚拟 MAC地址为所述虚拟链路 中标识第二通信网元的虚拟 MAC地址;
第一通信网元向所述第二通信网元发送对通信请求消息的响应消息,所述 响应消息中携带所述第一虚拟 MAC地址和第二虚拟 MAC地址, 所述第一通信 网元和第二通信网元位于以太网中。
一种通信网元, 位于以太网中, 包括:
接收单元, 用于接收对端通信网元发送的通信请求消息;
地址分配单元, 用于在接收到通信请求消息后, 为所述通信网元与对端通 信网元间的虚拟链路分配第一虚拟 MAC地址和第二虚拟 MAC地址 , 所述第一 虚拟 MAC地址为所述虚拟链路中标识所述通信网元的虚拟 MAC地址; 所述第 二虚拟 MAC地址为所述虚拟链路中标识对端通信网元的虚拟 MAC地址;
发送单元, 用于向对端通信网元发送对通信请求消息的响应消息, 所述响 应消息中携带所述第一虚拟 MAC地址和第二虚拟 MAC地址。
本发明实施例中第一通信网元分配在虚拟链路中标识第一通信网元地址 的第一虚拟 MAC地址, 及在虚拟链路中标识第二通信网元地址的第二虚拟 MAC地址 ,并将第一虚拟 MAC地址和第二虚拟 MAC地址通知第二通信网元 , 使位于以太网中的第一通信网元与第二通信网元能够利用第一虚拟 MAC地址 和第二虚拟 MAC地址所标识的虚拟链路进行通信。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需 要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的 一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明一实施例提供的虚拟链路建立方法流程图;
图 2是本发明另一实施例提供的虚拟链路建立方法流程图;
图 3是本发明实施例提供的以太网中通信方法流程图;
图 4是本发明实施例提供的通信网元结构图; 图 5是本发明实施例提供的以太网网络系统结构图。
具体实施方式
参阅图 1 , 本发明一实施例提供一种虚拟链路建立方法, 该方法包括: 101、 第一通信网元接收第二通信网元发送的通信请求消息。
其中,本发明实施例中的第一通信网元和第二通信网元为以太网中的通信 网元。 该通信请求消息可以是单播注册请求消息。
具体的,该单播注册请求消息是第二通信网元接收第一通信网元返回的单 播或者多播响应消息后, 利用该单播或者多播响应消息中携带的以太网 MAC 地址向第一通信网元发送的, 其中, 所述单播或者多播响应消息是对第二通信 网元发出的多播发现请求消息的响应消息。 或者, 在该步骤之前, 第一通信网 元将自己的以太网 MAC地址注册到服务器上, 第二通信网元从服务器上获取 第一通信网元的以太网 MAC地址, 根据第一通信网元的以太网 MAC地址向第 一通信网元发送注册请求消息, 其中, 上述服务器可以是名字服务器(Name Server, NS )。
102、 第一通信网元为第一通信网元与第二通信网元间的虚拟链路分配第 一虚拟 MAC地址和第二虚拟 MAC地址 , 所述第一虚拟 MAC地址为所述虚拟链 路中标识第一通信网元的虚拟 MAC地址; 所述第二虚拟 MAC地址为所述虚拟 链路中标识第二通信网元的虚拟 MAC地址。
具体的, 第一通信网元实例化第一虚拟 N端口 VN— Port/以太网光纤通道链 路端点 FCoE— LEP对, 分配与第一 VN— Port/FCoE— LEP对绑定的第一虚拟 MAC 地址; 并分配第二虚拟 MAC地址, 该第二虚拟 MAC地址后续用于与第二通信 网元中实例化的第二 VN— Port/FCoE— LEP对绑定, 同时记录该第二虚拟 MAC地 址为第一 VN— Port/FCoE— LEP对所管理的虚拟链路上对端通信网元 (即第二通 信网元)的虚拟 MAC地址, 后续第一通信网元上的第一 VN— Port/FCoE— LEP对 用于管理与第二通信网元交互的数据包(该数据包可以是以太网帧); 第二通 信网元上的第二 VN— Port/FCoE— LEP对用于管理与第一通信网元交互的数据包 (该数据包可以是以太网帧)。
其中, 通信网元实例化 VN— Port/FCoE— LEP对是指实例化 VN— Port和 FCoE— LEP两个实体, 并建立这两个实体的对应关系。 其中, 若该通信网元需 要发送数据包时, 则 VN— Port实体生成 FC帧, 然后由 FCoE— LEP实体将该 VN Port/FCoE LEP对所绑定的虚拟 MAC地址作为源 MAC地址 , 将该 VN— Port/FCoE— LEP对所管理的虚拟链路上对端通信网元的虚拟 MAC地址为 目的 MAC地址, 将 FC帧封装成以太网帧发出。 若该通信网元从以太网接收到 以太网帧时, 则 FCoE— LEP实体通过以太网帧中的目的 MAC地址和源 MAC地 址识别该以太网帧是否是发给自己对应的 VN— Port实体的, 即判断以太网帧中 的目的 MAC地址是否与 VN— Port/FCoE— LEP对所绑定的虚拟 MAC地址相同 ,且 判断以太网帧中的源 MAC地址是否与 VN— Port/FCoE— LEP对所管理的虚拟链 路上对端通信网元的虚拟 MAC地址相同, 如果两个判断都为是, 将该以太网 帧解析出 FC帧传给 VN— Port实体, 由 VN_port实体根据光纤通道协议对 FC帧进 行处理。
103、 第一通信网元向第二通信网元发送对通信请求消息的响应消息, 所 述响应消息中携带第一虚拟 MAC地址和第二虚拟 MAC地址。
其中, 对通信请求消息的响应消息可以是注册接受消息。
该步骤中第一通信网元将第一虚拟 MAC地址和第二虚拟 MAC地址发送 给第二通信网元,以便第二通信网元实例化第二 VN— Port/FCoE— LEP对后将第 二虚拟 MAC地址与第二 VN Port/FCoE LEP对绑定, 并记录第一虚拟 MAC 地址为第二 VN Port/FCoE LEP对所管理的虚拟链路上对端通信网元的 MAC 地址。
本发明实施例中第一通信网元分配在虚拟链路中标识第一通信网元地址 的第一虚拟 MAC地址 , 及在虚拟链路中标识第二通信网元地址的第二虚拟 MAC地址 , 并将第一虚拟 MAC地址和第二虚拟 MAC地址通知第二通信网元 , 使后续第一通信网元与第二通信网元利用第一虚拟 MAC地址和第二虚拟 MAC 地址所标识的虚拟链路进行通信。 同时, 不需要像现有技术那样利用一个网关 设备作为中介, 降低了网络的复杂度, 并且, 也有效避免了现有技术中在网络 数据流量很大时网关设备成为传输大流量数据瓶颈的问题。
参阅图 2, 本发明另一实施例提供一种虚拟链路建立方法, 该方法包括: 201、 第二通信网元获得以太网中除第二通信网元外的通信网元的信息, 选择要进行通信的通信网元,本发明实施例中假定第二通信网元选择第一通信 网元作为要进行通信的通信网元。
该步骤中第二通信网元获得以太网中除第二通信网元外的通信网元的信 息可以有如下两种实现方式:
第一种实现方式: 第二通信网元发送多播发现请求消息, 该多播发现请求 消息的目的地址为多播组地址, 比如可以为 All-FCF-MACs组地址, 以太网会 将该多播发现请求消息传给除第二通信网元外的各通信网元。各通信网元接收 到多播发现请求消息之后,会向第二通信网元发送单播或者多播响应消息, 该 单播或者多播响应消息中携带相应通信网元的信息,该信息包括:以太网 MAC 地址和通信网元名称等。
第二种实现方式: 以太网中各通信网元在启动时,都将自己的信息注册到 名字服务器(Name Server, NS )上, 该步骤中第二通信网元通过到 NS上查询 所有通信网元的信息, 该信息包括: 以太网 MAC地址和通信网元名称等。
202、 第二通信网元根据第一通信网元的以太网 MAC地址, 向第一通信网 元发送单播注册请求, 其中, 该单播注册请求的源 MAC地址是第二通信网元 的以太网 MAC地址 , 目的 MAC地址是第一通信网元的以太网 MAC地址。
203、 第一通信网元收到单播注册请求之后, 根据预设策略确定是否与第 二通信网元建立连接并进行通信, 如果否, 执行 204; 如果是, 执行 205。
其中预设策略可以是访问控制策略,也可以是预先配置的其他策略, 不影 响本发明的实现。
204、 第一通信网元向第二通信网元发送拒绝消息, 结束本流程。
205、 第一通信网元实例化第一 VN— Port/FCoE— LEP对, 分配与第一 VN— Port/FCoE— LEP对绑定的第一虚拟 MAC地址 , 并为第二通信网元分配一个 虚拟 MAC地址 (假定为第二虚拟 MAC地址), 且记录该第二虚拟 MAC地址作 为第一 VN— Port/FCoE— LEP对所管理的虚拟链路上对端通信网元 (即第二通信 网元) 的虚拟 MAC地址, 向第二通信网元发送注册接受消息, 该注册接受消 息的源 MAC地址为第一通信网元的以太网 MAC地址 , 目的 MAC地址为第二通 信网元的以太网 MAC地址, 其该注册接受消息中携带第一虚拟 MAC地址和第 二虚拟 MAC地址。
206、 第二通信网元接收到注册接受消息后, 实例化本地的第二 VN Port/FCoE LEP对, 并将第二虚拟 MAC地址与第二 VN— Port/FCoE— LEP 对绑定, 且记录第一虚拟 MAC地址为第二 VN Port/FCoE LEP对所管理的虚 拟链路上对端通信网元(即第一通信网元) 的虚拟 MAC地址。 这样就形成了第一通信网元与第二通信网元间虚拟链路, 即第一 VN Port/FCoE LEP 中的 VN— Port与第二 VN— Port/FCoE— LEP 中的 VN— Port 间的虚拟链路, 这个虚拟链路的两个端点 (即第一通信网元和第二通信网元) 通过上述第一虚拟 MAC地址和第二虚拟 MAC地址标识。
本发明实施例中第一通信网元分配在虚拟链路中标识第一通信网元地址 的第一虚拟 MAC地址 , 及在虚拟链路中标识第二通信网元地址的第二虚拟 MAC地址 , 并将第一虚拟 MAC地址和第二虚拟 MAC地址通知第二通信网元 , 使后续第一通信网元与第二通信网元利用第一虚拟 MAC地址和第二虚拟 MAC 地址所标识的虚拟链路进行通信。 同时, 不需要像现有技术那样利用一个网关 设备作为中介, 降低了网络的复杂度, 并且, 也有效避免了现有技术中在网络 数据流量很大时网关设备成为传输大流量数据瓶颈的问题。
参阅图 3 , 如下是本发明实施例提供的第一通信网元与第二通信网元通信 的方法, 该方法具体包括:
301、第一通信网元生成光纤帧,利用第一虚拟 MAC地址作为源 MAC地址, 第二虚拟 MAC地址作为目的 MAC地址, 对光纤帧进行封装, 得到以太网帧, 通过以太网向第二通信网元发送所述以太网帧。
具体的 , 第一通信网元中第一 VN— Port/FCoE— LEP对的 VN— Port实体生成 FC帧, FCoE— LEP实体将第一 VN— Port/FCoE— LEP对所绑定的虚拟 MAC地址(即 第一虚拟 MAC地址 )作为源 MAC地址,将第一 VN— Port/FCoE— LEP对所管理的 虚拟链路上对端通信网元的虚拟 MAC地址 (即第二虚拟 MAC地址 )作为目的 MAC地址, 对 FC帧进行封装, 得到以太网帧, 并通过以太网向第二通信网元 发送该以太网帧。
302、 第二通信网元从以太网接收以太网帧, 判断以太网帧中目的 MAC地 址是否是第二虚拟 MAC地址, 判断以太网帧中的源 MAC地址是否是第一虚拟 MAC地址 ,如果以太网帧中的目的 MAC地址是第二虚拟 MAC地址且以太网帧 中的源 MAC地址是第一虚拟 MAC地址, 解析所述以太网帧得到光纤帧。
具体的, 第二通信网元中第二 VN— Port/FCoE— LEP对的 FCoE— LEP实体接 收该以太网帧, 根据第二 VN— Port/FCoE— LEP对所绑定的虚拟 MAC地址(即第 二虚拟 MAC地址), 及该第二 VN— Port/FCoE— LEP对所管理的虚拟链路上对端 通信网元的虚拟 MAC地址 (即第一虚拟 MAC地址), 判断该以太网帧中目的 MAC地址是否是第二虚拟 MAC地址,判断以太网帧中的源 MAC地址是否是第 一虚拟 MAC地址,如果是,解析该以太网帧得到 FC帧,将该 FC帧传给 VN— Port 实体。
同理, 当第二通信网元作为发送端时, 第二通信网元可以利用第二 VN Port/FCoE LEP对的 VN— Port实体生成 FC帧, FCoE— LEP实体将第二 VN— Port/FCoE— LEP对所绑定的虚拟 MAC地址 (即第二虚拟 MAC地址 )作为源 MAC地址, 将第二 VN— Port/FCoE— LEP对所管理的虚拟链路上对端通信网元的 虚拟 MAC地址(即第一虚拟 MAC地址 M乍为目的 MAC地址,对 FC帧进行封装, 得到以太网帧, 并通过以太网向第一通信网元发送该以太网帧。 当第一通信网 元从以太网接收以太网帧时,第一 VN— Port/FCoE— LEP对的 FCoE—LEP实体接收 该以太网帧, 根据第一 VN— Port/FCoE— LEP对所绑定的虚拟 MAC地址(即第一 虚拟 MAC地址), 及该第一 VN— Port/FCoE— LEP对所管理的虚拟链路上对端通 信网元的虚拟 MAC地址 (即第二虚拟 MAC地址 ) ,判断该以太网帧中目的 MAC 地址是否是第一虚拟 MAC地址, 判断以太网帧中的源 MAC地址是否是第二虚 拟 MAC地址, 如果是, 解析该以太网帧得到 FC帧, 将该 FC帧传给 VN— Port实 体。
上述实施例中的第一通信网元与第二通信网元能够利用第一虚拟 MAC地 址和第二虚拟 MAC地址所标识的虚拟链路进行通信。
参阅图 4, 本发明实施例提供一种通信网元, 该通信网元包括:
接收单元 401 , 用于接收对端通信网元发送的通信请求消息; 该通信请求 消息可以是单播注册请求消息。
地址分配单元 402, 用于在接收到通信请求消息后, 为所述通信网元与对 端通信网元间的虚拟链路分配第一虚拟 MAC地址和第二虚拟 MAC地址 , 所述 第一虚拟 MAC地址为所述虚拟链路中标识所述通信网元的虚拟 MAC地址; 所 述第二虚拟 MAC地址为所述虚拟链路中标识对端通信网元的虚拟 MAC地址; 发送单元 403 , 用于向对端通信网元发送对通信请求消息的响应消息, 所 述响应消息中携带所述第一虚拟 MAC地址和第二虚拟 MAC地址。
至此, 该通信网元已完成与对端通信网元间虚拟链路的建立, 为了能够向 对端通信网元发送以太网帧,该通信网元还包括:第一光纤网数据处理单元 404 和第一以太网数据处理单元 405, 其中, 第一光纤网数据处理单元 404, 用于生成光纤帧;
具体的, 第一光纤网数据处理单元 404相当于方法实施例中通信网元需要 发送以太网帧时, 第一 VN— Port/FCoE— LEP对中 VN— Port实体的功能;
第一以太网数据处理单元 405 , 用于利用第一虚拟 MAC地址作为源 MAC 地址, 第二虚拟 MAC地址作为目的 MAC地址, 对所述光纤帧进行封装, 得到 以太网帧;此时发送单元 403还用于发送第一以太网数据处理单元 405所得到的 以太网帧。
其中, 第一以太网数据处理单元 405相当于方法实施例中通信网元需要发 送以太网帧时, 第一 VN— Port/FCoE— LEP对中 FCoE— LEP实体的功能。
为了能够接收并处理对端通信网元发送的以太网帧, 该通信网元还包括: 第二以太网数据处理单元 406和第二光纤网数据处理单元 407;
具体的, 接收单元 401还用于接收以太网帧;
第二以太网数据处理单元 406, 用于判断接收单元 401接收的以太网帧中 目的 MAC地址是否是第一虚拟 MAC地址 , 判断以太网帧中的源 MAC地址 是否是第二虚拟 MAC地址, 如果以太网帧中的目的 MAC地址是第一虚拟 MAC地址且以太网帧中的源 MAC地址是第二虚拟 MAC地址 ,解析以太网帧 得到光纤帧, 将光纤帧发给第二光纤网数据处理单元 407。
第二光纤网数据处理单元 407, 用于根据光纤通道协议对所述光纤帧进行 处理。
其中,第二以太网数据处理单元 406相当于方法实施例中通信网元接收以 太网帧时,第一 VN— Port/FCoE— LEP对中 FCoE— LEP实体的功能,第二光纤网 数据处理单元 407相当于第一 VN— Port/FCoE— LEP对中 VN— Port实体的功能; 为了使以太网中除该通信网元以外的通信网元能够获知该通信网元的以 太网 MAC地址, 发送单元 403还用于将通信网元的以太网 MAC地址发送给 服务器; 通信请求消息是对端通信网元从服务器获取该通信网元的以太网 MAC地址后 , 根据该以太网 MAC地址向所述通信网元发送的。
为了确定是否与请求通信的对端通信网元建立连接, 该通信网元还包括: 判断单元 408,
具体的, 判断单元 408具体用于在接收到对端通信网元发送的单播注册请 求之后,根据预设策略确定是否与对端通信网元建立连接, 其中预设策略可以 是访问控制策略, 也可以是预先配置的其他策略, 不影响本发明的实现。 地址分配单元 402在判断单元 408的判断结果为是时, 分配第一虚拟 MAC 地址和第二虚拟 MAC地址的。
本发明实施例中通信网元分配在虚拟链路中标识自己的第一虚拟 MAC地 址, 及在虚拟链路中标识对端通信网元地址的第二虚拟 MAC地址, 并将第一 虚拟 MAC地址和第二虚拟 MAC地址通知对端通信网元 , 使两个通信网元后续 能利用第一虚拟 MAC地址和第二虚拟 MAC地址所标识的虚拟链路进行通信。
参阅图 5, 本发明实施例提供一种网络系统, 该系统包括: 第一通信网元 501和第二通信网元 502, 其中,
第一通信网元 501 , 用于接收第二通信网元 502发送的通信请求消息, 为第 一通信网元 501与第二通信网元 502间的虚拟链路分配第一虚拟 MAC地址和第 二虚拟 MAC地址 , 所述第一虚拟 MAC地址为所述虚拟链路中标识第一通信网 元的虚拟 MAC地址; 所述第二虚拟 MAC地址为所述虚拟链路中标识第二通信 网元的虚拟 MAC地址; 向第二通信网元 502发送对通信请求消息的响应消息 , 所述响应消息中携带所述第一虚拟 MAC地址和第二虚拟 MAC地址;
第二通信网元 502, 用于向第一通信网元 501发送通信请求消息,接收第一 通信网元 501发送的对通信请求消息的响应消息。
其中,第一通信网元和第二通信网元间的信息交互具体见实施例二和实施 例三, 在此不再贅述。
本发明实施例中第一通信网元分配在虚拟链路中标识第一通信网元地址 的第一虚拟 MAC地址 , 及在虚拟链路中标识第二通信网元地址的第二虚拟 MAC地址 , 并将第一虚拟 MAC地址和第二虚拟 MAC地址通知第二通信网元 , 使以太网中的第一通信网元与第二通信网元能够利用第一虚拟 MAC地址和第 二虚拟 MAC地址所标识的虚拟链路进行通信。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可 读存储介质中, 例如只读存储器, 磁盘或光盘等。
以上对本发明实施例所提供的虚拟链路建立方法、通信网元及网络系统进 述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围 上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权 利 要 求
1、 一种虚拟链路建立的方法, 其特征在于, 包括:
第一通信网元接收第二通信网元发送的通信请求消息;
第一通信网元为第一通信网元与第二通信网元间的虚拟链路分配第一虚 拟 MAC地址和第二虚拟 MAC地址 ,所述第一虚拟 MAC地址为所述虚拟链路中 标识第一通信网元的虚拟 MAC地址; 所述第二虚拟 MAC地址为所述虚拟链路 中标识第二通信网元的虚拟 MAC地址;
第一通信网元向所述第二通信网元发送对通信请求消息的响应消息,所述 响应消息中携带所述第一虚拟 MAC地址和第二虚拟 MAC地址, 所述第一通信 网元和第二通信网元位于以太网中。
2、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括:
第一通信网元生成光纤帧, 利用第一虚拟 MAC地址作为源 MAC地址, 第 二虚拟 MAC地址作为目的 MAC地址, 对光纤帧进行封装, 得到以太网帧, 通 过以太网向第二通信网元发送所述以太网帧。
3、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括:
第一通信网元从以太网接收以太网帧, 判断所述以太网帧中目的 MAC地 址是否是所述第一虚拟 MAC地址, 判断所述以太网帧中的源 MAC地址是否是 第二虚拟 MAC地址,如果以太网帧中的目的 MAC地址是第一虚拟 MAC地址且 以太网帧中的源 MAC地址是第二虚拟 MAC地址, 解析所述以太网帧得到光纤 帧。
4、 根据权利要求 1至 3任一所述的方法, 其特征在于, 该方法还包括: 所述第一通信网元将自己的以太网 MAC地址注册到服务器上;
所述通信请求消息是所述第二通信网元从所述服务器获取第一通信网元 的以太网 MAC地址后, 根据第一通信网元的以太网 MAC地址向第一通信网元 发送的。
5、 根据权利要求 1至 3任一所述的方法, 其特征在于,
所述通信请求消息是所述第二通信网元接收第一通信网元返回的单播或 者多播响应消息中后, 利用所述单播或者多播响应消息中携带的以太网 MAC 地址向第一通信网元发送的。
6、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括: 第一通信单元根据预设策略确定是否与第二通信网元建立连接, 如果是, 触发执行第一通信网元为第一通信网元与第二通信网元间的虚拟链路分配第 一虚拟 MAC地址和第二虚拟 MAC地址的步骤。
7、 一种通信网元, 位于以太网中, 其特征在于, 包括:
接收单元, 用于接收对端通信网元发送的通信请求消息;
地址分配单元, 用于在接收到通信请求消息后, 为所述通信网元与对端通 信网元间的虚拟链路分配第一虚拟 MAC地址和第二虚拟 MAC地址 , 所述第一 虚拟 MAC地址为所述虚拟链路中标识所述通信网元的虚拟 MAC地址; 所述第 二虚拟 MAC地址为所述虚拟链路中标识对端通信网元的虚拟 MAC地址;
发送单元, 用于向对端通信网元发送对通信请求消息的响应消息, 所述响 应消息中携带所述第一虚拟 MAC地址和第二虚拟 MAC地址。
8、 根据权利要求 7所述的通信网元, 其特征在于, 还包括:
第一光纤网数据处理单元, 用于生成光纤帧;
第一以太网数据处理单元,用于利用第一虚拟 MAC地址作为源 MAC地址 , 第二虚拟 MAC地址作为目的 MAC地址, 对所述光纤帧进行封装, 得到以太网 帧;
所述发送单元, 还用于发送第一以太网数据处理单元所得到的以太网帧。
9、 根据权利要求 7所述的通信网元, 其特征在于,
所述接收单元, 还用于接收以太网帧;
所述通信网元还包括:第二以太网数据处理单元和第二光纤网数据处理单 元,
所述第二以太网数据处理单元, 用于判断所述以太网帧中目的 MAC地址 是否是所述第一虚拟 MAC地址, 判断所述以太网帧中的源 MAC地址是否是第 二虚拟 MAC地址,如果以太网帧中的目的 MAC地址是第一虚拟 MAC地址且以 太网帧中的源 MAC地址是第二虚拟 MAC地址,解析所述以太网帧得到光纤帧, 将光纤帧发给所述第二光纤网数据处理单元;
所述第二光纤网数据处理单元,用于根据光纤通道协议对所述光纤帧进行 处理。
10、 根据权利要求 7所述的通信网元, 其特征在于:
所述发送单元,还用于将所述通信网元的以太网 MAC地址发送给服务器; 所述通信请求消息是所述对端通信网元从所述服务器获取所述通信网元 的以太网 MAC地址后, 根据所述通信网元的以太网 MAC地址向所述通信网元 发送的。
11、 根据权利要求 7所述的通信网元, 其特征在于, 所述通信网元还包括: 判断单元, 用于在接收到对端通信网元发送的通信请求消息之后,根据预 设策略确定是否与对端通信网元建立连接;
所述地址分配单元具体用于在接收到通信请求消息后,在判断单元的判断 结果为是时, 为所述通信网元与对端通信网元间的虚拟链路分配第一虚拟 MAC地址和第二虚拟 MAC地址。
12、 一种以太网网络系统, 其特征在于,
第一通信网元, 用于接收第二通信网元发送的通信请求消息, 为第一通信 网元与第二通信网元间的虚拟链路分配第一虚拟 MAC地址和第二虚拟 MAC地 址 , 所述第一虚拟 MAC地址为所述虚拟链路中标识第一通信网元的虚拟 MAC 地址; 所述第二虚拟 MAC地址为所述虚拟链路中标识第二通信网元的虚拟 MAC地址; 向第二通信网元发送对通信请求消息的响应消息, 所述响应消息 中携带所述第一虚拟 MAC地址和第二虚拟 MAC地址;
第二通信网元, 用于向第一通信网元发送通信请求消息,接收第一通信网元发 送的对通信请求消息的响应消息。
PCT/CN2011/070891 2010-02-10 2011-02-09 虚拟链路建立的方法、通信网元及以太网网络系统 WO2011098033A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/572,222 US20120300776A1 (en) 2010-02-10 2012-08-10 Method for creating virtual link, communication network element, and ethernet network system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010111255.7 2010-02-10
CN2010101112557A CN102148735B (zh) 2010-02-10 2010-02-10 虚拟链路建立的方法、通信网元及以太网网络系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/572,222 Continuation US20120300776A1 (en) 2010-02-10 2012-08-10 Method for creating virtual link, communication network element, and ethernet network system

Publications (1)

Publication Number Publication Date
WO2011098033A1 true WO2011098033A1 (zh) 2011-08-18

Family

ID=44367278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070891 WO2011098033A1 (zh) 2010-02-10 2011-02-09 虚拟链路建立的方法、通信网元及以太网网络系统

Country Status (3)

Country Link
US (1) US20120300776A1 (zh)
CN (1) CN102148735B (zh)
WO (1) WO2011098033A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2932044B1 (fr) * 2008-06-02 2010-08-20 Sagem Comm Procede et dispositif d'attribution d'adresses mac dans un reseau de communication sur courants porteurs
CN105245635B (zh) * 2015-10-23 2018-09-14 中国联合网络通信集团有限公司 FCoE通信方法、装置及系统
CN108924260A (zh) * 2018-08-16 2018-11-30 福建星网智慧软件有限公司 一种基于以太网的网络设备子系统间的通讯方法
CN109819062B (zh) * 2019-01-25 2021-06-11 视联动力信息技术股份有限公司 一种利用虚拟mac地址入网的方法和装置
CN113810517B (zh) * 2020-03-17 2023-11-21 腾讯科技(深圳)有限公司 多链路设备mac地址管理方法和多链路设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1739276A (zh) * 2003-01-21 2006-02-22 艾利森电话股份有限公司 用于以太网mac地址管理的系统、方法和功能
CN101213818A (zh) * 2005-07-01 2008-07-02 国际商业机器公司 用于管理依附于网络的物理端口的虚拟实例的方法和系统
CN101588365A (zh) * 2009-06-18 2009-11-25 杭州华三通信技术有限公司 链路协商的控制方法和光纤通道承载以太协议整合系统
US20090296726A1 (en) * 2008-06-03 2009-12-03 Brocade Communications Systems, Inc. ACCESS CONTROL LIST MANAGEMENT IN AN FCoE ENVIRONMENT

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7130303B2 (en) * 2001-03-15 2006-10-31 Lucent Technologies Inc. Ethernet packet encapsulation for metropolitan area ethernet networks
US7231430B2 (en) * 2001-04-20 2007-06-12 Egenera, Inc. Reconfigurable, virtual processing system, cluster, network and method
DE60329184D1 (de) * 2002-07-16 2009-10-22 Enterasys Networks Inc Es netzwerk
US7392055B2 (en) * 2003-06-23 2008-06-24 Lucent Technologies Inc. Method for allocating resources in a wireless data system based on system loading
US7551937B2 (en) * 2003-07-18 2009-06-23 Electronics And Telecommunications Research Institute Method and device for allocating radio resources in wireless portable network system
BRPI0520371A2 (pt) * 2005-06-30 2009-09-29 Ericsson Telefon Ab L M nó de acesso para comunicação sem fio, método para mapear, para terminais se comunicando sem fio através de dispositivos de ponto de conexão com um nó de acesso, um endereço (mac) de controle de acesso de mìdia original de um terminal para um endereço de mac virtual, e, rede
CN1897596A (zh) * 2006-03-13 2007-01-17 华为技术有限公司 在以太网应用中使用虚拟媒体访问控制地址的方法和系统
US8144698B2 (en) * 2006-06-09 2012-03-27 Ericsson Ab Scalable data forwarding techniques in a switched network
US20080181243A1 (en) * 2006-12-15 2008-07-31 Brocade Communications Systems, Inc. Ethernet forwarding in high performance fabrics
US8321908B2 (en) * 2007-06-15 2012-11-27 Cisco Technology, Inc. Apparatus and method for applying network policy at a network device
US8583780B2 (en) * 2007-11-20 2013-11-12 Brocade Communications Systems, Inc. Discovery of duplicate address in a network by reviewing discovery frames received at a port
US8817656B2 (en) * 2008-04-08 2014-08-26 Cisco Technology, Inc. Discovery for fibre channel over ethernet devices
US8848575B2 (en) * 2009-02-23 2014-09-30 Brocade Communications Systems, Inc. High availability and multipathing for fibre channel over ethernet
EP2406922B1 (en) * 2009-03-12 2019-10-16 James Paul Rivers Providing fibre channel services and forwarding fibre channel over ethernet frames
US8355345B2 (en) * 2009-08-04 2013-01-15 International Business Machines Corporation Apparatus, system, and method for establishing point to point connections in FCOE
US8284785B2 (en) * 2009-08-27 2012-10-09 Emulex Design & Manufacturing Corporation System and method for direct communications between FCoE devices
US8713162B2 (en) * 2009-12-07 2014-04-29 John Lewis Hufferd Direct mode adapter based shortcut for FCoE data transfer
CN102111318B (zh) * 2009-12-23 2013-07-24 杭州华三通信技术有限公司 分配虚拟局域网资源的方法和交换机
US8446817B2 (en) * 2010-01-19 2013-05-21 Cisco Technology, Inc. Distributed virtual fibre channel over Ethernet forwarder
US8767751B2 (en) * 2010-04-30 2014-07-01 Cisco Technology, Inc. Unsolicited FIP packet injection by proxy and spoofing and autoconfiguring intermediate bridges using FIP snooping
US9172590B2 (en) * 2010-05-11 2015-10-27 Brocade Communications Systems, Inc. Single virtual domain fibre channel over ethernet fabric
US9106579B2 (en) * 2011-01-07 2015-08-11 Jeda Networks, Inc. Methods, systems and apparatus for utilizing an iSNS server in a network of fibre channel over ethernet devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1739276A (zh) * 2003-01-21 2006-02-22 艾利森电话股份有限公司 用于以太网mac地址管理的系统、方法和功能
CN101213818A (zh) * 2005-07-01 2008-07-02 国际商业机器公司 用于管理依附于网络的物理端口的虚拟实例的方法和系统
US20090296726A1 (en) * 2008-06-03 2009-12-03 Brocade Communications Systems, Inc. ACCESS CONTROL LIST MANAGEMENT IN AN FCoE ENVIRONMENT
CN101588365A (zh) * 2009-06-18 2009-11-25 杭州华三通信技术有限公司 链路协商的控制方法和光纤通道承载以太协议整合系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZOU SHAOYI: "The Research and implementation of Fibre Channel over Ethernet", MASTER DISSERTATION FOR UNIVERSITY OF ELECTRONIC SCIENCE AND TECHNOLOGY OF CHINA, 4 June 2009 (2009-06-04), pages 13 - 15 *

Also Published As

Publication number Publication date
CN102148735B (zh) 2013-07-10
US20120300776A1 (en) 2012-11-29
CN102148735A (zh) 2011-08-10

Similar Documents

Publication Publication Date Title
US8195835B2 (en) Endpoint address change in a packet network
KR102047142B1 (ko) 원격 직접 메모리 액세스를 통한 임의 사이즈의 전송 기법
WO2018090666A1 (zh) 一种多路径数据传输方法及设备
US7743158B2 (en) Access network dynamic firewall
US9219683B2 (en) Unified infrastructure over ethernet
US20140226664A1 (en) Method, apparatus, and system for implementing private network traversal
JP6001790B2 (ja) 固定アクセスネットワークとueとにおける動作方法
WO2011041967A1 (zh) 匿名通信的方法、注册方法、信息收发方法及系统
WO2010063242A1 (zh) 时钟同步的方法、设备以及网络系统
US20080205388A1 (en) Discovery of network devices logically located between a client and a service
JP2001045066A (ja) IP通信ネットワークシステム及びQoS保証装置
CA2774281C (en) User access method, system, access server, and access device
WO2009129707A1 (zh) 局域网之间发送、接收信息的方法和装置以及通信的系统
WO2011098033A1 (zh) 虚拟链路建立的方法、通信网元及以太网网络系统
WO2007019809A1 (fr) Procede et systeme d'etablissement d'un canal direct point par point
WO2019085635A1 (zh) 确定以太网mac地址的方法及装置
WO2012088882A1 (zh) 一种数据传输方法、系统及接入网关
WO2014201600A1 (zh) 一种会话管理方法、地址管理方法及相关装置
CN108064441B (zh) 一种加速网络传输优化方法以及系统
WO2011044807A1 (zh) 一种匿名通信的注册、通信方法及数据报文的收发系统
WO2011120276A1 (zh) 一种终端实现连接建立的方法及系统
JP2001036581A (ja) 通信帯域設定システムと方法
WO2013034037A1 (zh) 应用于以太网光纤通道场景的通信方法、系统及装置
WO2011026355A1 (zh) 节点接入家乡代理的方法、家乡代理集群系统及业务路由器
WO2014048248A1 (zh) Mac地址的控制方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11741904

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11741904

Country of ref document: EP

Kind code of ref document: A1