[go: up one dir, main page]

WO2018010616A1 - Gestion de réseau basée sur une couche de liaison - Google Patents

Gestion de réseau basée sur une couche de liaison Download PDF

Info

Publication number
WO2018010616A1
WO2018010616A1 PCT/CN2017/092350 CN2017092350W WO2018010616A1 WO 2018010616 A1 WO2018010616 A1 WO 2018010616A1 CN 2017092350 W CN2017092350 W CN 2017092350W WO 2018010616 A1 WO2018010616 A1 WO 2018010616A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
network
network management
network device
modification
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.)
Ceased
Application number
PCT/CN2017/092350
Other languages
English (en)
Chinese (zh)
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.)
New H3C Information Technologies Co Ltd
Original Assignee
Unis Huashan Information Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unis Huashan Information Technologies Co Ltd filed Critical Unis Huashan Information Technologies Co Ltd
Publication of WO2018010616A1 publication Critical patent/WO2018010616A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • Link Layer Discovery Protocol is a standard link layer protocol.
  • the network device can organize the device information of the local device, such as the device identifier and the interface identifier, into a type/length/value (TLV: Type/Length/Value) and encapsulate the link layer discovery protocol data unit (LLDPDU: Link).
  • TLV Type/Length/Value
  • LLDPDU Link
  • the neighbors that are directly connected to themselves are published in the Layer Discovery Protocol Data Unit.
  • FIG. 1 is a schematic flowchart of a link layer based network management method according to an example of the present disclosure.
  • FIG. 2 is a schematic diagram of a link layer based network management method according to an example of the present disclosure.
  • FIG. 3 is a schematic diagram of a hardware structure of a network device according to an example of the present disclosure.
  • FIG. 4 is a functional block diagram of network management control logic of the apparatus of FIG. 3, provided in accordance with an example of the present disclosure.
  • the LLDPDU is a data unit encapsulated in the data portion of the LLDP message.
  • each network device can periodically send LLDP packets to neighboring devices. If the local configuration of the device changes, the network device can immediately send LLDP packets to the neighbor device. After receiving the LLDP packet, the neighbor device can check the validity of the LLDP packet. After the validity check is passed, the neighbor information can be updated based on the neighbor information carried in the LLDP packet.
  • FIG. 1 is a schematic flowchart of a link layer-based network management method according to an example of the present disclosure. As shown in FIG. 1, the process may include step 101 and step 102.
  • Step 101 The network device may send a first network management IP address modification message to the peer device, where the first network management IP address modification message carries the first IP address.
  • the network management IP address modification message sent by the network device to the peer device is recorded as the first network management IP address modification message, and the network management IP address modification message received by the network device from the peer device is modified. Recorded as the second network management IP address modification message.
  • the network management IP address of the peer device is recorded as the second IP address.
  • the network device can determine that the network management IP address of the peer device needs to be modified according to actual requirements, and the modified network management IP address is recorded as the first IP address. That is, when the network device determines that the network management IP address of the peer device needs to be changed from the second IP address to the first IP address, the network device may send a network management IP address modification packet to the peer device to the peer device.
  • the sent network management IP address modification packet carries the first IP address.
  • the peer device may modify the IP address of the device to the first IP address specified by the received first network management IP address modification packet, and Returning a network management IP address modification success response message to the above network device.
  • Step 102 When the network device receives the IP address modification success response message returned by the peer device to the device in the first network management IP address modification packet, the network device determines that the peer device has The IP address is modified from the second IP address to the first IP address.
  • the network management IP address modification message and the network management IP address modification success response message are all packets defined at the link layer for implementing the disclosure, and belong to the link layer message.
  • the network devices can dynamically modify the IP addresses of each other through the link layer messages.
  • the network device may further dynamically obtain an IP address of the peer device, and the acquired network management IP address is the second IP address.
  • the network device may also pre-configure the IP address of the peer device, that is, the second IP address, and the network device may acquire the IP address of the peer device, that is, the second IP address, based on the configuration. .
  • the following takes the IP address of the peer device dynamically as an example.
  • the network device dynamically acquiring the network management IP address of the peer device may include: the network device may broadcast an IP address request packet in the network, where the IP address request packet may carry the network management IP address of the device; When receiving the IP address response packet returned by the peer device for the IP address request packet, the device can obtain the network management IP address of the peer device carried in the IP address response packet.
  • the network device may further receive an IP address request message, and may return an IP address response message to the source device of the received IP address request message, where the IP address response message carries the device. IP address.
  • the network device may further receive the second network management IP address modification message, and modify the IP address of the device to the IP address specified by the second network management IP address modification message, and The source device of the network management IP address modification packet returns a network management IP address modification success response packet.
  • modifying the IP address of the device to the received IP address specified by the second network management IP address modification message may include: determining whether the specified IP address meets the IP address modification condition of the device, and if , modify the IP address of the device to the specified IP address.
  • the IP address modification condition of the device may include: the same network segment as the IP address of the device, or the device configuration allows the IP address to be modified.
  • the invention is not specifically limited.
  • the network device may further: determine whether the state of the device is an IP address. Modify the status. If no, set the status of the device to the IP address modification status. If yes, return the IP address from the source device that modified the IP address modification packet to the second network.
  • the network device may further set the state of the device to the setting of the non-IP address modification state.
  • setting the state of the device to the IP address modification state may be exemplified by setting the state of the device to a first set value such as 1.
  • the setting of setting the state of the device to the non-IP address modification state may be exemplified by setting the state of the device to a second set value such as 0.
  • the network device may also wait for a preset time from receiving the network management IP address that is modifying the message, and again to the pair when the preset time arrives.
  • the end device sends a network management IP address modification packet.
  • the preset time may include one or more preset monitoring periods, or may be a time preset by the network administrator according to actual conditions, where the preset time is not specifically limited.
  • FIG. 2 is a schematic diagram of a link layer-based network management method according to an example of the present disclosure.
  • the above-mentioned link layer-based network management method is described in detail by taking the device 1, the device 2, and the device 3 in the network as an example.
  • the device 1 can dynamically obtain the IP addresses of the peer devices, such as the device 2 and the device 3.
  • device 1 can broadcast an IP address request message within the network.
  • both the device 2 and the device 3 in the network can receive the IP address request message.
  • the device 2 After receiving the IP address request packet broadcasted by the device 1, the device 2 can parse the received IP address request packet, obtain the MAC address of the device 1 carried by the device 1, such as MAC1, and return an IP address to the device 1. Response message.
  • the device 3 After receiving the IP address request packet broadcasted by the device 1, the device 3 can parse the received IP address request packet, obtain the MAC address carried by the device, such as MAC1, and return an IP address response to the device 1. Message.
  • the IP address device 1 can listen to the IP address response message within the set request period after the broadcast IP address request message, and the set request period can be pre-configured.
  • the device 1 When the device 1 listens to the IP address response message from the device 2 in the set request period, the device 1 can parse the IP address response message and obtain the IP address of the device 2 carried in the IP address response message. Similarly, when the device 1 listens to the IP address response message from the device 3 in the set request period, the device can parse the IP address response message and obtain the IP address of the device 3 carried in the IP address response message.
  • the device 1 may discard the monitored IP address response message. It should be noted that, since the sending of the IP address request message and the sending of the IP address response message are asynchronous communication, the device 1 may listen to the same device within the set request period, for example, multiple IP addresses returned by the device 2 Response message. In this case, the device 1 can filter the IP address response packets, and details are not described here.
  • the device 1 After the device 1 obtains the IP address of the device 2 and the IP address of the device 3, it is assumed that the device 1 finds that the device type and device serial number of the device 2 and the device 3 are different, but the IP addresses are the same, and all are IP2. In response to this situation, device 1 can determine the repair Change the IP address of device 3. It should be noted that other situations, such as adjusting the IP address of the device 3 based on the service plan adjustment of the device 3, or modifying the IP address of the device 3 based on the user configuration, may be applicable to the technical solution of the present disclosure. This embodiment does not specifically limit the scenario in which the IP address of the device 3 is triggered to be modified.
  • the modified IP address of device 3 is IP3.
  • the IP3 is different from the IP address of the device 1 such as IP1 and the IP address of any other device acquired by the device 1.
  • the network segment to which the IP3 belongs is the same as the IP address of the device 1, such as the network segment to which the IP1 belongs.
  • the device 1 can send a network management IP address modification message to the device 3.
  • the device 3 can receive the network management IP address modification packet sent by the device 1, and can determine whether the state of the device is an IP address modification state.
  • the device 3 After the device 3 determines that the state of the device is not the IP address modification state, the device 3 can set the state of the device 3 to the IP address modification state.
  • the device 3 can determine whether the IP address IP3 carried in the network management IP address modification packet meets the IP address modification condition of the device 3.
  • the IP address modification condition is as follows: The IP address of the network management IP address modification packet is the same as the current IP address of the device 3, that is, the network segment to which the IP2 belongs.
  • the device 3 can change the IP address of the device 3 to IP3 and set the state of the device to non- After the IP address is modified, the IP address modification success response packet can be returned to device 1.
  • the device 3 may delete the setting of the state of the device as the IP address modification state, for example, The status of the device is updated from the IP address modification status to the non-IP address modification status, and then the network management IP address modification failure response message is returned to the device 1.
  • the device 3 may return the network management IP address to the device 1 to modify the message.
  • the device 1 can listen to the message returned by the device 3 during the set listening period. When the device 1 monitors the network management IP address modification success response message sent by the device 3 during the set listening period, it can be determined that the device 3 has successfully modified the IP address from IP2 to IP3.
  • the device 1 may perform the network management IP address modification packet to the peer device again. step.
  • the device 1 may wait for a period of time and wait for the time to arrive. Perform the peer device again Steps to send a network management IP address to modify the packet.
  • the device 1 listens to the network management IP address modification failure response message sent by the device 3 in the set listening period, it re-determines a new IP address for the device 3, which is recorded as IP4, and returns to the device according to the above operation. 3 Send a new network management IP address modification packet, which will not be described here.
  • network devices can collect mutual MAC addresses, IP addresses, and the like through packet interaction, and dynamically modify each other's IP addresses through packet interaction. This achieves the purpose of modifying the IP address of the network device to facilitate management of all network devices in the network.
  • FIG. 3 is a schematic diagram of a hardware structure of a network device according to an example of the present disclosure.
  • the network device can include a processor 301, a machine readable storage medium 302 that stores machine readable instructions.
  • Processor 401 and machine readable storage medium 302 can communicate via system bus 303. And, by reading and executing machine executable instructions in the machine readable storage medium 302 corresponding to the network management control logic, the processor 301 can perform the link layer based network management method described above.
  • the machine-readable storage medium 302 referred to herein may be any electronic, magnetic, optical, or other physical storage device, and may contain stored information such as executable instructions, data, and the like.
  • the machine-readable storage medium may be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as a hard disk drive), solid state drive, any type of storage disk. (such as a disc, DVD, etc.), or a similar storage medium, or a combination thereof.
  • FIG. 4 is a functional block diagram of network management control logic of the apparatus shown in FIG. 3 according to an example of the present disclosure.
  • the network management control logic 40 may include a sending module 401 and a listening module 402.
  • the sending module 401 is configured to send, to the peer device, a first network management IP address modification packet, where the first network management IP address modification packet carries the first IP address;
  • the monitoring module 402 is configured to: when the peer device detects the IP address modification success response packet returned by the peer device to the network device in the set listening period, The peer device has modified the IP address from the second IP address to the first IP address.
  • the network management control logic further includes: a first receiving module 403 and a modification module 404.
  • the first receiving module 403 is configured to receive a second network management IP address modification message.
  • the modifying module 404 is configured to modify an IP address of the network device to an IP address specified by the second network management IP address modification packet, and modify a source device of the packet to the second network management IP address. Returns the network management IP address modification success response packet.
  • the network management control logic further includes: an obtaining module 405, configured to acquire the peer end The IP address of the device is recorded as the second IP address.
  • the obtaining module 405 may be specifically configured to broadcast an IP address request message in the network, where the IP address request message carries an IP address of the network device, and receives the And obtaining, by the peer device, the IP address of the peer device carried in the IP address response packet, according to the IP address response packet, in response to the IP address response packet returned by the IP address request packet.
  • the network management control logic further includes: a second receiving module 406, configured to receive an IP address request message; the sending module 401 may further return an IP address response report to the source device of the IP address request message.
  • the IP address response packet carries an IP address of the network device.
  • the modifying module 404 may be specifically configured to determine whether the IP address specified by the second network management IP address modification packet meets an IP address modification condition, where the IP address modification condition includes: the second network management The IP address specified by the IP address modification packet belongs to the same network segment as the current IP address of the network device; if yes, the IP address of the network device is modified to the IP address specified by the second network management IP address modification packet. address.
  • the modifying module 404 may be further configured to determine whether the state of the network device is before modifying an IP address of the network device to an IP address specified by the second network management IP address modification message. Modifying the status of the IP address; if not, setting the status of the network device to the IP address modification status; if yes, returning the IP address to the source device of the second network management IP address modification packet to modify the message; After the IP address of the network device is modified to the IP address specified by the second network management IP address modification message, the state of the network device is set to a setting of a non-IP address modification state.
  • the monitoring module 402 is further configured to receive, during the set listening period, a network management IP address that the peer device returns to the network device for the first network management IP address modification message.
  • the packet When the packet is being modified, it waits for a preset time, and when the preset time arrives, sends a network management IP address modification packet to the peer device again.
  • the preset time may include one or more preset listening periods.
  • machine readable storage medium comprising machine executable instructions, such as machine readable storage medium 302 of FIG. 3, executable by processor 301 in a network device To implement the link layer based network management method described above.
  • the machine-executable instructions in the machine-readable storage medium 302 corresponding to the network management control logic may cause the processor 301 to: send a first network management IP address modification message to the peer device,
  • the first network management IP address modification packet carries the first IP address
  • the peer device is configured to modify the packet for the first network management IP address to the network device during the set listening period.
  • Returned IP address modification success response message And determining that the peer device has modified the IP address from the second IP address to the first IP address.
  • the machine executable instructions may further cause the processor to: receive a second network management IP address modification message; modify the IP address of the network device to the second network management IP address modification message The specified IP address is returned to the source device of the second network management IP address modification packet to return a network management IP address modification success response message.
  • the machine executable instructions further cause the processor to: acquire an IP address of the peer device and record as the second IP address.
  • the machine executable instructions when acquiring an IP address of the peer device and recording as the second IP address, the machine executable instructions cause the processor to: broadcast an IP address request message within the network, the IP The address request message carries the IP address of the network device, and receives the IP address response message returned by the peer device for the IP address request message in the set request period, and obtains the response according to the IP address response message.
  • the IP address of the peer device carried in the IP address response packet.
  • the machine executable instructions further cause the processor to: receive an IP address request message; return an IP address response message to the source device of the IP address request message, wherein the IP address response message Carrying the IP address of the network device.
  • the IP address specified by the network device is modified to an IP address specified by the second network management IP address modification message
  • the machine executable instruction causing the processor to: determine the second network management Whether the IP address specified by the IP address modification packet satisfies the IP address modification condition, and the IP address modification condition includes: the IP address specified by the second network management IP address modification packet is the same as the current IP address of the network device. a network segment; if yes, modifying an IP address of the network device to an IP address specified by the second network management IP address modification message.
  • the machine executable instructions further cause the processor to: determine the network device before modifying an IP address of the network device to an IP address specified by the second network management IP address modification message Whether the status is the IP address modification status, if not, setting the status of the network device to the IP address modification status; if yes, returning the IP address to the source device of the second network management IP address modification message, modifying the message After modifying the IP address of the network device to the IP address specified by the second network management IP address modification message, setting the state of the network device to a non-IP address modification state.
  • the machine executable instructions further cause the processor to: receive the network returned by the peer device the first network management IP address modification message to the network device within a set listening period When the management IP address is modifying the packet, it waits for the preset time, and when the preset time arrives, sends the network to the peer device again.
  • Manage IP address modification packets The preset time may be more than one preset listening period.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

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

L'invention concerne un procédé et un appareil de gestion de réseau basée sur une couche de liaison. Selon l'invention, un dispositif de réseau envoie, à un dispositif homologue, un premier paquet de modification de l'adresse IP de gestion de réseau, le premier paquet de modification de l'adresse IP de gestion de réseau portant une première adresse IP ; et pendant une période de surveillance définie, lorsqu'un paquet de réponse de réussite de modification de l'adresse IP de gestion de réseau, renvoyé au dispositif de réseau par le dispositif homologue, destiné au premier paquet de modification de l'adresse IP de gestion de réseau, est surveillé, le dispositif de réseau détermine que le dispositif homologue a modifié l'adresse IP de gestion de réseau en remplaçant la seconde adresse IP par la première adresse IP.
PCT/CN2017/092350 2016-07-15 2017-07-10 Gestion de réseau basée sur une couche de liaison Ceased WO2018010616A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610565901.4 2016-07-15
CN201610565901.4A CN107623752B (zh) 2016-07-15 2016-07-15 基于链路层的网络管理方法和装置

Publications (1)

Publication Number Publication Date
WO2018010616A1 true WO2018010616A1 (fr) 2018-01-18

Family

ID=60952263

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092350 Ceased WO2018010616A1 (fr) 2016-07-15 2017-07-10 Gestion de réseau basée sur une couche de liaison

Country Status (2)

Country Link
CN (1) CN107623752B (fr)
WO (1) WO2018010616A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438166A (zh) * 2021-06-25 2021-09-24 新华三信息安全技术有限公司 一种任播地址确定方法、装置、网络设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150724B (zh) * 2018-07-02 2021-06-29 新华三信息技术有限公司 一种通信方法和网卡
CN109618021B (zh) * 2018-12-27 2023-02-03 新华三技术有限公司 修改ip地址的方法和刀箱
CN110677479B (zh) * 2019-09-29 2022-06-07 苏州浪潮智能科技有限公司 一种局域网的设备管理方法、系统及存储介质
CN111600970B (zh) * 2020-04-09 2022-08-09 南瑞集团有限公司 一种稳控装置程序集中下载的方法及系统
CN115865694B (zh) * 2022-11-18 2025-08-05 北京东土军悦科技有限公司 一种网络拓扑管理方法、管理装置和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417973A (zh) * 2002-11-01 2003-05-14 北京佳讯飞鸿电气有限责任公司 通过网管设备修改网络设备ip地址的方法
CN101873356A (zh) * 2010-05-10 2010-10-27 杭州海康威视系统技术有限公司 一种修改设备ip地址的方法及装置
CN102164188A (zh) * 2011-03-31 2011-08-24 华为技术有限公司 网络地址的分配方法、装置和系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417973A (zh) * 2002-11-01 2003-05-14 北京佳讯飞鸿电气有限责任公司 通过网管设备修改网络设备ip地址的方法
CN101873356A (zh) * 2010-05-10 2010-10-27 杭州海康威视系统技术有限公司 一种修改设备ip地址的方法及装置
CN102164188A (zh) * 2011-03-31 2011-08-24 华为技术有限公司 网络地址的分配方法、装置和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438166A (zh) * 2021-06-25 2021-09-24 新华三信息安全技术有限公司 一种任播地址确定方法、装置、网络设备及存储介质
CN113438166B (zh) * 2021-06-25 2022-07-22 新华三信息安全技术有限公司 一种任播地址确定方法、装置、网络设备及存储介质

Also Published As

Publication number Publication date
CN107623752B (zh) 2020-09-08
CN107623752A (zh) 2018-01-23

Similar Documents

Publication Publication Date Title
WO2018010616A1 (fr) Gestion de réseau basée sur une couche de liaison
EP2751960B1 (fr) Construction d'un réseau permettant une interconnexion de couche 2 de centres de données
CN104883547B (zh) 基于网络接入设备物理端口接入ipc的方法及nvr
US12255771B2 (en) Packet processing method and device, advertisement method and device, bridge node, source apparatus, storage medium, and packet processing system
CN103501486B (zh) 一种消息推送方法及推送服务器
US8929368B2 (en) Control method of virtual link discovery and system for fibre channel over ethernet protocol
WO2012094898A1 (fr) Procédé de migration de machine virtuelle, commutateur et système de machine virtuelle
WO2016101646A1 (fr) Procédé et appareil d'accès destinés à un réseau virtuel ethernet
WO2015003566A1 (fr) Procédé, dispositif et système de transmission de paquet dans un système de noms de domaine de multidiffusion
CN102647312B (zh) 一种整网组播拓扑的探测方法及装置
WO2017054576A1 (fr) Procédé, appareil et système de construction de tunnel à diffusion unique
CN101577722A (zh) 实现强制mac转发功能的方法和装置
US20200044981A1 (en) Building and maintaining a network
CN102291465B (zh) 负载均衡方法、装置和系统
WO2019128273A1 (fr) Procédé, dispositif et système de détermination de relation de connexion de dispositifs réseau
WO2012126362A1 (fr) Procédé, dispositif et système de suivi de signalisation
CN104539902A (zh) 一种ipc的远程访问方法和系统
WO2016044990A1 (fr) Procédé et appareil de détermination de topologie de réseau, et dispositif de stockage d'informations d'état de réseau centralisé
JP2014147094A (ja) ネットワーク・ロケーション・サービス
CN108134986B (zh) 报文传输方法及装置
CN105009625A (zh) 业务测试方法、设备和系统、网络节点及质量处理节点
CN111225080A (zh) 一种网关下挂设备信息的获取方法
US20140324950A1 (en) Connection method and management server
WO2017101028A1 (fr) Procédé de transmission de données, serveur m2m, pgw, sgw et nœud réseau de desserte
CN111404816B (zh) 一种跨网络发送组播报文的方法、装置、系统及存储介质

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: 17826952

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: 17826952

Country of ref document: EP

Kind code of ref document: A1