RU2013106261A - METHOD AND DEVICE FOR DISTRIBUTING VIRTUAL LOCAL NETWORK - Google Patents

METHOD AND DEVICE FOR DISTRIBUTING VIRTUAL LOCAL NETWORK Download PDF

Info

Publication number
RU2013106261A
RU2013106261A RU2013106261/08A RU2013106261A RU2013106261A RU 2013106261 A RU2013106261 A RU 2013106261A RU 2013106261/08 A RU2013106261/08 A RU 2013106261/08A RU 2013106261 A RU2013106261 A RU 2013106261A RU 2013106261 A RU2013106261 A RU 2013106261A
Authority
RU
Russia
Prior art keywords
terminal device
mac address
vlan tag
packet
prefix field
Prior art date
Application number
RU2013106261/08A
Other languages
Russian (ru)
Other versions
RU2530250C1 (en
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 RU2013106261A publication Critical patent/RU2013106261A/en
Application granted granted Critical
Publication of RU2530250C1 publication Critical patent/RU2530250C1/en

Links

Classifications

    • 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
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats
    • 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

Landscapes

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

Abstract

1. Способ для распределения виртуальной локальной сети (VLAN), содержащий этапы, на которых:получают адрес управления доступом к среде (MAC) терминального устройства;извлекают поле префикса из MAC-адреса в соответствии с заранее установленным правилом извлечения, при этом поле префикса является бинарным полем из первых N бит в MAC-адресе, причем N больше либо равно 1 и меньше 48; ираспределяют соответствующий тэг VLAN терминальному устройству в соответствии с полем префикса.2. Способ по п.1, в котором этап, на котором извлекают поле префикса из MAC-адреса в соответствии с заранее установленным правилом, содержит этапы, на которых:запрашивают маску, соответствующую MAC-адресу; ивыполняют операцию бинарного логического И над MAC-адресом и маской, для получения поля префикса.3. Способ по п.2, в котором этап, на котором распределяют соответствующий тэг VLAN терминальному устройству в соответствии с полем префикса, содержит этапы, на которых:запрашивают зависимость отображения между полем префикса и тэгом VLAN; ираспределяют соответствующий тэг VLAN терминальному устройству в соответствии с зависимостью отображения.4. Способ по п.3, в котором этап, на котором получают MAC-адрес терминального устройства, содержит этапы, на которых:принимают пакет, отправленный терминальным устройством; иполучают MAC-адрес терминального устройства из пакета.5. Способ по п.4, в котором после этапа, на котором распределяют соответствующий тэг VLAN терминальному устройству в соответствии с полем префикса, способ дополнительно содержит этап, на котором:пересылают пакет в VLAN, соответствующей тэгу VLAN, чтобы выполнить соответствующую обработку услуги.6. Способ по п.5, в к�1. A method for allocating a virtual local area network (VLAN), comprising the steps of: obtaining a media access control (MAC) address of a terminal device; extracting a prefix field from a MAC address in accordance with a predetermined extraction rule, wherein the prefix field is a binary field of the first N bits in the MAC address, where N is greater than or equal to 1 and less than 48; and allocating the corresponding VLAN tag to the terminal device according to the prefix field. The method of claim 1, wherein extracting a prefix field from a MAC address according to a predetermined rule comprises: requesting a mask corresponding to the MAC address; and performing a binary logical AND operation on the MAC address and mask to obtain the prefix field. The method of claim 2, wherein allocating a corresponding VLAN tag to the terminal device according to the prefix field comprises: requesting a mapping dependency between the prefix field and the VLAN tag; and allocating a corresponding VLAN tag to the terminal device according to the mapping dependency. 4. The method of claim 3, wherein the step of obtaining the MAC address of the terminal device comprises the steps of: receiving a packet sent by the terminal device; and receiving the MAC address of the terminal device from the packet. The method of claim 4, wherein, after allocating a corresponding VLAN tag to the terminal device according to the prefix field, the method further comprises: forwarding the packet to a VLAN corresponding to the VLAN tag to perform corresponding service processing. The method according to claim 5, in which

Claims (12)

1. Способ для распределения виртуальной локальной сети (VLAN), содержащий этапы, на которых:1. A method for distributing a virtual local area network (VLAN), comprising the steps of: получают адрес управления доступом к среде (MAC) терминального устройства;obtaining a medium access control (MAC) address of the terminal device; извлекают поле префикса из MAC-адреса в соответствии с заранее установленным правилом извлечения, при этом поле префикса является бинарным полем из первых N бит в MAC-адресе, причем N больше либо равно 1 и меньше 48; иextracting the prefix field from the MAC address in accordance with a predetermined extraction rule, wherein the prefix field is a binary field of the first N bits in the MAC address, wherein N is greater than or equal to 1 and less than 48; and распределяют соответствующий тэг VLAN терминальному устройству в соответствии с полем префикса.distribute the corresponding VLAN tag to the terminal device in accordance with the prefix field. 2. Способ по п.1, в котором этап, на котором извлекают поле префикса из MAC-адреса в соответствии с заранее установленным правилом, содержит этапы, на которых:2. The method according to claim 1, wherein the step of extracting the prefix field from the MAC address in accordance with a predetermined rule, comprises the steps of: запрашивают маску, соответствующую MAC-адресу; иrequesting a mask corresponding to the MAC address; and выполняют операцию бинарного логического И над MAC-адресом и маской, для получения поля префикса.perform a binary logical AND operation on the MAC address and mask to obtain a prefix field. 3. Способ по п.2, в котором этап, на котором распределяют соответствующий тэг VLAN терминальному устройству в соответствии с полем префикса, содержит этапы, на которых:3. The method of claim 2, wherein the step of distributing the corresponding VLAN tag to the terminal device in accordance with the prefix field comprises the steps of: запрашивают зависимость отображения между полем префикса и тэгом VLAN; иrequesting a mapping dependency between the prefix field and the VLAN tag; and распределяют соответствующий тэг VLAN терминальному устройству в соответствии с зависимостью отображения.distribute the corresponding VLAN tag to the terminal device according to the mapping dependency. 4. Способ по п.3, в котором этап, на котором получают MAC-адрес терминального устройства, содержит этапы, на которых:4. The method according to claim 3, in which the step of obtaining the MAC address of the terminal device comprises the steps of: принимают пакет, отправленный терминальным устройством; иreceive a packet sent by the terminal device; and получают MAC-адрес терминального устройства из пакета.get the MAC address of the terminal device from the packet. 5. Способ по п.4, в котором после этапа, на котором распределяют соответствующий тэг VLAN терминальному устройству в соответствии с полем префикса, способ дополнительно содержит этап, на котором:5. The method according to claim 4, in which, after the stage at which the corresponding VLAN tag is distributed to the terminal device in accordance with the prefix field, the method further comprises the step of: пересылают пакет в VLAN, соответствующей тэгу VLAN, чтобы выполнить соответствующую обработку услуги.forward the packet to the VLAN corresponding to the VLAN tag in order to perform the corresponding service processing. 6. Способ по п.5, в котором после этапа, на котором принимают пакет, отправленный терминальным устройством, способ дополнительно содержит этапы, на которых:6. The method according to claim 5, in which after the stage at which a packet sent by the terminal device is received, the method further comprises the steps of: определяют, несет ли пакет в себе тэг VLAN, и если пакет несет в себе тэг VLAN, то пересылают пакет в VLAN, соответствующую тэгу VLAN, чтобы выполнить соответствующую обработку услуги;determining whether the packet carries a VLAN tag, and if the packet carries a VLAN tag, then forwarding the packet to the VLAN corresponding to the VLAN tag in order to perform the corresponding service processing; если пакет не несет в себе тэг VLAN, то инициируют этап, на котором получают MAC-адрес терминального устройства из пакета.if the packet does not carry a VLAN tag, then initiate the step of obtaining the MAC address of the terminal device from the packet. 7. Устройство для распределения виртуальной локальной сети (VLAN), содержащее:7. A device for distributing a virtual local area network (VLAN), comprising: модуль получения, выполненный с возможностью получения адреса управления доступом к среде (MAC) терминального устройства;a receiving module, configured to obtain a medium access control (MAC) address of the terminal device; модуль извлечения, выполненный с возможностью извлечения поля префикса из MAC-адреса в соответствии с заранее установленным правилом извлечения, при этом поле префикса является бинарным полем из первых N бит в MAC-адресе, причем N больше либо равно 1 и меньше 48; иan extraction module configured to extract the prefix field from the MAC address in accordance with a predetermined extraction rule, wherein the prefix field is a binary field of the first N bits in the MAC address, wherein N is greater than or equal to 1 and less than 48; and модуль распределения, выполненный с возможностью распределения соответствующего тэга VLAN терминальному устройству в соответствии с полем префикса.a distribution module, configured to distribute the corresponding VLAN tag to the terminal device in accordance with the prefix field. 8. Устройство по п.7, в котором модуль извлечения содержит:8. The device according to claim 7, in which the extraction module contains: первый модуль запроса, выполненный с возможностью запроса маски, соответствующей MAC-адресу; иa first request module configured to request a mask corresponding to the MAC address; and операционный модуль, выполненный с возможностью выполнения операции бинарного логического И над MAC-адресом и маской, чтобы получить поле префикса.an operation module configured to perform a binary logical AND operation on the MAC address and mask to obtain a prefix field. 9. Устройство по п.8, в котором модуль распределения содержит:9. The device of claim 8, in which the distribution module contains: второй модуль запроса, выполненный с возможностью запроса зависимости отображения между полем префикса и тэгом VLAN; иa second request module, configured to request a mapping dependency between the prefix field and the VLAN tag; and модуль распределения, выполненный с возможностью распределения соответствующего тэга VLAN терминальному устройству в соответствии с зависимостью отображения.a distribution module, configured to distribute the corresponding VLAN tag to the terminal device in accordance with the mapping dependency. 10. Устройство по п.9, дополнительно содержащее:10. The device according to claim 9, further comprising: модуль приема, выполненный с возможностью приема пакета, отправленного терминальным устройством, и инициирования получения модулем получения из пакета MAC-адреса терминального устройства.a receiving module, configured to receive a packet sent by the terminal device, and initiating the receiving module receiving from the packet the MAC address of the terminal device. 11. Устройство по п.10, дополнительно содержащее:11. The device according to claim 10, further comprising: модуль пересылки, выполненный с возможностью пересылки пакета в VLAN, соответствующую тэгу VLAN, для выполнения соответствующей обработки услуги.a forwarding module, configured to forward the packet to a VLAN corresponding to the VLAN tag to perform corresponding service processing. 12. Устройство по п.11, дополнительно содержащее:12. The device according to claim 11, further comprising: модуль определения, выполненный с возможностью определения, несет ли пакет в себе тэг VLAN; если пакет несет в себе тэг VLAN, то инициирования выполнения операций модулем пересылки; а если пакет не несет в себе тэг VLAN, то инициирования получения модулем получения из пакета MAC-адреса терминального устройства. a determining module, configured to determine if the packet carries a VLAN tag; if the packet carries a VLAN tag, then initiating operations by the forwarding module; and if the packet does not carry a VLAN tag, then the module initiates the receipt of the MAC address of the terminal device from the packet from the packet.
RU2013106261/08A 2010-12-28 2011-08-22 Method and device for distribution of virtual local network RU2530250C1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010609713.XA CN102055641A (en) 2010-12-28 2010-12-28 Distribution method for virtual local area network and related device
CN201010609713.X 2010-12-28
PCT/CN2011/078706 WO2012088901A1 (en) 2010-12-28 2011-08-22 Method for allocating virtual local area network and associated device

Publications (2)

Publication Number Publication Date
RU2013106261A true RU2013106261A (en) 2014-08-20
RU2530250C1 RU2530250C1 (en) 2014-10-10

Family

ID=43959594

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2013106261/08A RU2530250C1 (en) 2010-12-28 2011-08-22 Method and device for distribution of virtual local network

Country Status (3)

Country Link
CN (1) CN102055641A (en)
RU (1) RU2530250C1 (en)
WO (1) WO2012088901A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055641A (en) * 2010-12-28 2011-05-11 华为技术有限公司 Distribution method for virtual local area network and related device
CN102970150A (en) * 2011-09-01 2013-03-13 日电(中国)有限公司 Extensible multicast forwarding method and device for data center (DC)
CN102684971A (en) * 2012-05-28 2012-09-19 太仓市同维电子有限公司 VLAN (Virtual Local Area Network) function realizing method and Linux system LAN gateway
CN103457855B (en) * 2012-06-04 2018-08-10 中兴通讯股份有限公司 Classless inter-domain routing table is established and the method and apparatus of message forwarding
CN103532850B (en) * 2013-09-29 2017-05-24 福建星网锐捷网络有限公司 Uplink message forwarding method, device and AP (access point) equipment
CN104717380B (en) * 2015-04-09 2017-06-27 迈普通信技术股份有限公司 Interchanger, speech ciphering equipment, IP telephony system and speech ciphering equipment dispositions method
CN106330492B (en) 2015-06-23 2019-11-26 华为技术有限公司 A kind of method, apparatus and system configuring user equipment forwarding table
CN105933134A (en) * 2015-10-26 2016-09-07 上海剑桥科技股份有限公司 Wireless AP default resetting method and system
CN113923114B (en) * 2020-07-07 2022-10-28 荣耀终端有限公司 VLAN configuration method and related equipment
CN114513695B (en) * 2022-04-19 2022-06-17 深圳市华曦达科技股份有限公司 Method and device for cross-region operation of video content in OTT industry

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100440848C (en) * 2002-02-28 2008-12-03 威盛电子股份有限公司 Data package transmitting method and network exchanger adopting said method
US7457300B2 (en) * 2003-01-21 2008-11-25 Telefonaktiebolaget L M Ericsson (Publ) Ethernet address management system
GB2418804B (en) * 2003-07-23 2007-06-27 Samsung Electronics Co Ltd Method and system for generating IP addresses of access terminals and transmitting messages for generation of IP addresses in an IP system
US7707312B2 (en) * 2003-12-31 2010-04-27 Alcatel Lucent Printer discovery protocol system and method
JP2006311066A (en) * 2005-04-27 2006-11-09 Toshiba Corp Electronic equipment
CN100423491C (en) * 2006-03-08 2008-10-01 杭州华三通信技术有限公司 Virtual network storing system and network storing equipment thereof
CN100555949C (en) * 2006-03-22 2009-10-28 华为技术有限公司 A kind of to GPON system configuration Native VLAN and processing Ethernet method of message
CN101043330B (en) * 2006-06-22 2010-08-25 华为技术有限公司 Apparatus and method for preventing MAC address from passing-off
CN101102264B (en) * 2006-07-04 2011-07-20 华为技术有限公司 Ethernet data forwarding method and Ethernet system
CN100531148C (en) * 2007-06-30 2009-08-19 华为技术有限公司 A message forwarding method, system and communication device
CN101409685B (en) * 2008-12-01 2010-10-27 杭州华三通信技术有限公司 Forwarding method based on virtual LAN mapping and access equipment
CN101567854B (en) * 2009-05-26 2011-06-29 武汉烽火网络有限责任公司 Ethernet data frame VLAN double-layer label processing device and method based on flow classification
CN102055641A (en) * 2010-12-28 2011-05-11 华为技术有限公司 Distribution method for virtual local area network and related device

Also Published As

Publication number Publication date
WO2012088901A1 (en) 2012-07-05
CN102055641A (en) 2011-05-11
RU2530250C1 (en) 2014-10-10

Similar Documents

Publication Publication Date Title
RU2013106261A (en) METHOD AND DEVICE FOR DISTRIBUTING VIRTUAL LOCAL NETWORK
US9832139B2 (en) Method and system for accessing network service
CN101938415B (en) Rapid forwarding method for network forwarding device
CN102014043B (en) Address mapping system, data transmission method and address mapping maintenance method
EP2866390A1 (en) Communication method and system
US10425354B2 (en) Resource allocation method, packet communication method, and apparatus
WO2019042186A1 (en) Network management method and related device
US9537766B2 (en) Packet switching without look-up table for ethernet switches
WO2020253631A1 (en) Configuration method, device, and system for ip address
JP2015515177A5 (en)
CN102333039B (en) Method for forwarding message, and method and device for generating table entry
US20220045875A1 (en) Multicast message processing method and apparatus, storage medium and processor
RU2016148495A (en) SYSTEM AND METHOD FOR USE OF SAVED INFORMATION AT MORE HIGH LEVEL
CN103874047A (en) Service information finding method and equipment
CN104954155B (en) The network equipment with multiple business boards and multi-service plate sharing method
WO2015106623A1 (en) Method and apparatus for configuring and delivering flow table entry
US20230006937A1 (en) Packet flow identification with reduced decode operations
KR102219270B1 (en) Method for processing traffic based on sdn
CN107483369B (en) Message processing method and virtual switch
JP2024504466A (en) Packet forwarding methods, packet processing methods, and devices
US10805905B2 (en) Terminal station device and bandwidth allocation method
KR101996337B1 (en) Switch processing method, controller, switch, and switch processing system
US20150109958A1 (en) Transmission path control device
EP2908476B1 (en) Method and apparatus for sending multi-link transparent interconnected data frame
RU2013125645A (en) METHOD AND DEVICE FOR CONFIGURING THE SPACE OF THE ACCESS CONTROL ELEMENT IN THE SERVICE OF A VIRTUAL PRIVATE LOCAL NETWORK