CN107623752A - Network management and device based on link layer - Google Patents

Network management and device based on link layer Download PDF

Info

Publication number
CN107623752A
CN107623752A CN201610565901.4A CN201610565901A CN107623752A CN 107623752 A CN107623752 A CN 107623752A CN 201610565901 A CN201610565901 A CN 201610565901A CN 107623752 A CN107623752 A CN 107623752A
Authority
CN
China
Prior art keywords
address
network management
equipment
message
reception
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.)
Granted
Application number
CN201610565901.4A
Other languages
Chinese (zh)
Other versions
CN107623752B (en
Inventor
周科特
孙海龙
张飞
顾锦枫
陆亦雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Priority to CN201610565901.4A priority Critical patent/CN107623752B/en
Priority to PCT/CN2017/092350 priority patent/WO2018010616A1/en
Publication of CN107623752A publication Critical patent/CN107623752A/en
Application granted granted Critical
Publication of CN107623752B publication Critical patent/CN107623752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

This application provides the network management based on link layer and device.In the application, the network equipment by with opposite equip. interactive link layer message, you can mutually dynamic change opposite equip. network management IP address.This realizes the network management IP address that dynamic changes the network equipment.

Description

Network management and device based on link layer
Technical field
The application is related to the network communications technology, network management and device more particularly to based on link layer.
Background technology
Link Layer Discovery Protocol (LLDP:Link Layer Discovery Protocol) it is a kind of link layer of standard Agreement.The facility information of local device such as device identification, interface identifier etc. are organized into type/length/value by LLDP respectively (TLV:Type/Length/Value) and it is encapsulated in Link Layer Discovery Protocol data cell (LLDPDU:Link Layer Discovery Protocol Data Unit) in be distributed to the neighbours direct-connected with oneself.
The content of the invention
This application provides the network management based on link layer and device, to realize that dynamic changes the net of the network equipment Network management ip address.
The technical scheme that the application provides includes:
A kind of network management based on link layer, this method are applied to the network equipment, including:
The network management IP address of opposite equip. is being revised as the second network management IP from first network management ip address During address, IP address modification message is sent to opposite equip., IP address modification message carries the second network management IP address;
Listen to what opposite equip. returned for IP address modification message to this equipment in the listening period of setting During the successfully modified response message of IP address, determine that opposite equip. repaiies network management IP address from first network management ip address It is changed to the second network management IP address.
A kind of network administration apparatus based on link layer, the device are applied to the network equipment, including:
Sending module, for the network management IP address of opposite equip. to be revised as into from first network management ip address During two network management IP address, IP address modification message is sent to opposite equip., IP address modification message at least carries this equipment MAC Address and the second network management IP address;
Monitor module, for listened in the listening period of setting opposite equip. for the IP address change message to During the successfully modified response message of IP address that this equipment returns, determine opposite equip. by network management IP address from first network Management ip address is revised as the second network management IP address.
As can be seen from the above technical solutions, the present invention in, the network equipment by with opposite equip. interactive link layer message, It mutually can dynamically change the network management IP address of opposite equip..This realizes the network management IP that dynamic changes the network equipment Address.
Brief description of the drawings
Fig. 1 is the method flow diagram that the application provides;
Fig. 2 is the embodiment schematic diagram that the application provides;
Fig. 3 is the message format structural representation that the application provides;
Fig. 4 is the structure drawing of device that the application provides;
Fig. 5 is the hardware structure diagram for Fig. 4 shown devices that the application provides.
Embodiment
LLDPDU is packaged in the data cell of LLDP message datas part, the exemplified LLDPDU structure of table 1:
Table 1
In a network, each network equipment periodically can send LLDP messages to neighbor device.If the local of equipment Configuration changes then sends LLDP messages immediately.After equipment receives LLDP messages, validity check will be carried out to it, led to Later neighbor information is updated again.
In actual applications, when needing to change the network management IP address of the network equipment, logined by Serial Port Line to repair Change the network management IP address of the network equipment.
And network management IP address of the method provided by the invention without logining the modification network equipment by Serial Port Line, but Dynamic changes the network management IP address of the network equipment.In order that the object, technical solutions and advantages of the present invention are clearer, under Face combines the drawings and specific embodiments, and the present invention will be described in detail.
Referring to Fig. 1, Fig. 1 is the method flow diagram that the application provides.As shown in figure 1, the flow may include following steps:
Step 101, the network equipment is changing the network management IP address of opposite equip. from first network management ip address For the second network management IP address when, to opposite equip. send IP address modification message, IP address modification message carry the second net Network management ip address.
For ease of description, the network management IP address of opposite equip. is designated as first network management ip address here.At this In step 101, the network equipment determines to need the network management IP address for changing opposite equip., amended net according to the actual requirements Network management ip address is designated as the second network management IP address.That is, the network equipment is it is determined that need the net of opposite equip. Network management ip address from first network management ip address be revised as the second network management IP address when, will be sent to opposite equip. One IP address changes message, and the second network management IP address is carried to the IP address modification message that opposite equip. is sent.
After opposite equip., which receives above-mentioned IP address, changes message, present networks equipment receives in its meeting such as step 102 IP address changes the network specified of IP address modification message that the network management IP address of this equipment is revised as the reception by message Management ip address is the second above-mentioned network management IP address, and the source MAC of the IP address modification message to the reception returns Return the successfully modified response message of IP address.
Step 102, the network equipment receives opposite equip. for IP address modification report in the listening period of setting During the successfully modified response message of IP address that Wen Xiangben equipment returns, determine opposite equip. by network management IP address from first Network management IP address is revised as the second network management IP address.
In the above description, IP address modification message, the successfully modified response message of IP address be all to realize the application and In the message that link layer defines, belong to link layer message.
It can be seen that in this application by flow shown in Fig. 1, can be mutual by link layer message between the network equipment Dynamic modification network management IP address.
In an open embodiment, before flow shown in Fig. 1, the network equipment can further dynamic access opposite equip. net Network management ip address, the network management IP address of the acquisition is the first network management ip address.In another open embodiment In, the network equipment can also be pre-configured with the i.e. above-mentioned first network management ip address of network management IP address of opposite equip., net Network equipment can obtain the i.e. above-mentioned first network management ip address of network management IP address of opposite equip. based on the configuration. Only described below by taking the network management IP address of network equipment dynamic access opposite equip. as an example.
As one embodiment, the network management IP address of network equipment dynamic access opposite equip. may include:
Network equipment Broadcast IP address request message in network, IP address request message carry the network management of this equipment IP address;
The network equipment receives the IP address that opposite equip. is directed to IP address request message and returned in setting RQ cycle During response message, the network management IP for the opposite equip. that IP address response message carries is obtained according to IP address response message Location.
In another embodiment, the network equipment can also further receive IP address request message, to the IP address of the reception The source MAC of request message returns to IP address response message, and IP address response message is with carrying the network management IP of this equipment Location.
In an open embodiment, the network equipment can also receive IP address modification message, and by the network management of this equipment IP address is revised as the network management IP address that the IP address modification message of the reception is specified, and is changed to the IP address of the reception The source MAC of message returns to the successfully modified response message of IP address.As one embodiment, by the network management IP of this equipment The network management IP address that the IP address modification message that the reception is revised as in address is specified includes:
Judge that the IP address of the reception changes the IP address whether the network management IP address that message is specified meets this equipment Modification condition, if it is, the network management IP address of this equipment to be revised as to the net specified of IP address modification message of the reception Network management ip address.Here, the IP address modification condition of this equipment is:Belong to same net with the network management IP address of this equipment Whether section, or this device configuration allow network management IP address modification etc., and the present invention is not specific to be limited.
As one embodiment, in the present invention, the network equipment is connect the network management IP address of this equipment is revised as into this Further comprise before the network management IP address that the IP address modification message of receipts is specified:Whether the state for judging this equipment is IP State is changed in address, if not, setting the state of this equipment to change state for IP address, and continues executing with the network of this equipment The operation for the network management IP address that the IP address modification message that management ip address is revised as the reception is specified;If it is, to this The source MAC of the IP address modification message of reception returns to IP address and changes message.
Further, the network equipment changes report in the IP address that the network management IP address of this equipment is revised as to the reception Further comprise after the network management IP address that text is specified:The state for deleting this equipment changes the setting of state for IP address. Here, as one embodiment, set the state of this equipment to change state for IP address and be exemplified as the status set of this equipment First setting value such as 1.Accordingly, the state of above-mentioned this equipment of deletion is that the setting of IP address modification state is exemplified as originally setting The standby setting value of status set second such as 0.
Further, in an open embodiment, the network equipment can also receive opposite end in the listening period of setting and set The standby IP address sent for this equipment change message to the IP address that this equipment returns changing message when, in wait one Returned when the listening period of setting reaches above to opposite equip. and send the step of IP address changes message.
Citing description is carried out to method provided by the invention below based on being described above:
Referring to Fig. 2, Fig. 2 is the embodiment schematic diagram that the application provides.Before to the embodiment description shown in Fig. 2, first The structure for the message being related to the present embodiment is described:
In the embodiment shown in Figure 2, all messages have used Ethernet (Ethernet) II forms.Fig. 3 is shown The structure of Ethernet (Ethernet) II forms, mainly includes:
Target MAC (Media Access Control) address field (Destination MAC address), source MAC field (Source MAC Address), type of message field (Type), data field (Data), check field (FCS).
Wherein, the specific message that indicates of type of message field (Type) is that request (Req) message is also in response to (ACK) report Text, when being request message, type of message field is the types value for representing request message, such as 1, when being in response to message When, type of message field is the types value for representing response message, such as 0.
Wherein, data field is mainly made up of data cell (PDU), and PDU is made up of TLV, and table 2 is exemplified respectively TLV:
Table 2
In the embodiment shown in Figure 2, exemplified by it equipment 1, equipment 2, equipment 3 in network be present.
In fig. 2, so that the dynamic access opposite equip. of equipment 1 is equipment 2, the network management IP address of equipment 3 as an example, then,
The Broadcast IP address request message in network of equipment 1.Based on the message structure shown in Fig. 3, IP address request message Target MAC (Media Access Control) address field be the MAC Address for being used to represent broadcast of setting, such as FFFF;The source MAC of IP address request message Address field is the MAC Address (being designated as MAC1) of equipment 1, and the type of message field of IP address request message is for representing to ask The types value of message such as 1;The TLV of the data field of IP address request message is MAC TLV, the IPv4TLV in above-mentioned table 1. Specifically, MAC TLV here are TLV corresponding to the MAC Address of equipment 1, and IPv4TLV is the network management IP address of equipment 1 TLV corresponding to (being designated as IP1).
After the Broadcast IP address request message in network of equipment 1, equipment 2 and equipment 3 in network can all receive equipment 1 The IP address request message of broadcast.
After equipment 2 receives the IP address request message of the broadcast of equipment 1, the IP address request message for parsing the reception is taken The MAC Address of band is MAC1, then returns to IP address response message to MAC1.Based on the message structure shown in Fig. 3, IP address response The target MAC (Media Access Control) address field of message is MAC1 for the MAC Address of equipment 1, and the source MAC field of IP address response message is to set Standby 2 MAC Address (being designated as MAC2), the type of message field of IP address response message is the types value for representing response message Such as 0, the TLV citings of the data field of IP address response message are as shown in table 3.
Table 3
In the present embodiment, equipment 2 return IP address response message why carry Device Type TLV, Device SN TLV, the network of the equipment 2 carried the purpose is to the IP address response message for being easy to equipment 1 to determine that this receives Which equipment management ip address is accurately corresponded to.
After equipment 3 receives the IP address request message of the broadcast of equipment 1, the IP address request message for parsing the reception is taken The MAC Address of band is MAC1, then returns to IP address response message to MAC1.Based on the message structure shown in Fig. 3, IP address response The target MAC (Media Access Control) address field of message is MAC1 for the MAC Address of equipment 1, and the source MAC field of IP address response message is to set Standby 3 MAC Address (being designated as MAC3), the type of message field of IP address response message is the types value for representing response message Such as 0, the TLV citings of the data field of IP address response message are as shown in table 4.
Table 4
In the present embodiment, equipment 3 return IP address response message why carry Device Type TLV, Device SN TLV, the network of the equipment 3 carried the purpose is to the IP address response message for being easy to equipment 1 to determine that this receives Which equipment management ip address is accurately corresponded to..
Equipment 1 monitors IP address response message in the setting RQ cycle after Broadcast IP address request message, and this sets Fixed RQ cycle is pre-configured with.
When equipment 1 setting RQ cycle in listen to the IP address response message from equipment 2, then parse the IP address Response message, to obtain the network management IP address of the equipment 2 of IP address response message carrying.Similarly, when equipment 1 is being set The IP address response message from equipment 3 is listened in RQ cycle, then the IP address response message is parsed, with obtaining the IP The network management IP address for the equipment 3 that location response message carries.
If it should be noted that listened to after equipment 1 is setting RQ cycle and terminated from equipment 2 or equipment 3 IP address response message, then abandon the IP address response message listened to.It should also be noted that, based on IP address request report The transmission of text and the transmission of IP address response message are asynchronous communications, and equipment 1 may listen to same in setting RQ cycle The more parts of IP address response messages that individual equipment such as equipment 2 returns, for such a situation, equipment 1 can be entered according to source MAC Row duplicate message filters, and this is similar with the filtering of existing duplicate message, not reinflated to repeat.
The network management IP address of the dynamic access equipment 2 of equipment 1 and equipment 3 is described above.
After equipment 1 gets the network management IP address of equipment 2 and the network management IP address of equipment 3, discovering device 2 Device type, equipment Serial Number with equipment 3 is different, but network management IP address is identical, is all IP2.For such case, if Standby 1 determines to change the network management IP address of equipment 3.It should be noted that the situation, which is equipment 1, determines modification equipment 3 One embodiment of network management IP address, plan of operation adjustment of other situations such as based on equipment 3 need to change equipment 3 Network management IP address or need to change network management IP address etc. of equipment 3 based on user configuration, the present embodiment does not have Body limits.
If the amended network management IP address of equipment 3 is IP3.The IP3 and the network management IP address of equipment 1 are The network management IP address for other any appliances that IP1 and equipment 1 obtain is different.As one embodiment, belonging to IP3 The network segment and the management ip address of equipment 1 are that the network segment belonging to IP1 is identical.
Equipment 1 sends IP address modification message to equipment 3.Based on the message structure shown in Fig. 3, IP address changes message Target MAC (Media Access Control) address field is MAC3 for the MAC Address of equipment 3, and the source MAC field of IP address modification message is equipment 1 MAC Address is MAC1, and the type of message field of IP address modification message is the types value such as 1, IP for representing request message The TLV citings of the data field of address modification message are as shown in table 5.
Table 5
The IP address modification message that the receiving device 1 of equipment 3 is sent, whether the state for judging this equipment is IP address modification shape State;
Equipment 3 judges that the state of this equipment does not change state for IP address, then by the state of this equipment 3 with being arranged to IP Change state in location;Equipment 3 judges whether the IP3 that IP address modification message carries meets that the IP address of this equipment 3 changes bar afterwards Part.Here IP address modification condition is exemplified as:The affiliated network segments of IP3 and the current network management IP address of this equipment 3 are IP2 institutes It is identical to belong to the network segment.When equipment 3 judges that the IP3 that IP address modification message carries meets the IP address modification condition of this equipment 3, then The network management IP address of this equipment 3 is revised as IP3, and the state for deleting this equipment changes the setting ratio of state for IP address The state secondary IP address modification state of this equipment is such as updated to non-ip address modification state, it is successfully modified to return to IP address afterwards Response message is to equipment 1.Based on the message structure shown in Fig. 3, the target MAC (Media Access Control) address field of the successfully modified response message of IP address MAC Address for equipment 1 is MAC1, and the source MAC field of the successfully modified response message of IP address is the MAC Address of equipment 3 That is MAC3, the type of message field of the successfully modified response message of IP address are the types value such as 0, IP for representing response message The TLV citings of the data field of the successfully modified response message in address are as shown in table 6.
Table 6
As one embodiment, equipment 3 judges the IP3 that IP address modification message carries with being unsatisfactory for the IP of this equipment 3 When condition is changed in location, then the setting that the state of this equipment changes state for IP address is deleted, such as by the state of this equipment from IP Address modification state is updated to non-ip address modification state, returns to IP address afterwards and changes failure response message to equipment 1.It is based on Message structure shown in Fig. 3, the target MAC (Media Access Control) address field of IP address modification failure response message are for the MAC Address of equipment 1 MAC1, the source MAC field that IP address changes failure response message are that the MAC Address of equipment 3 is MAC3, and IP address modification is lost The type of message field for losing response message is the types value such as 0 for representing response message, and IP address changes failure response report The TLV citings of the data field of text are as shown in table 7.
Table 7
When equipment 3 judges that the state of this equipment changes state for IP address, then equipment 3 is returning to IP address just to equipment 1 In modification message.Based on the message structure shown in Fig. 3, the target MAC (Media Access Control) address field that IP address is changing message is equipment 1 MAC Address is MAC1, and the source MAC field that IP address is changing message is the MAC Address i.e. MAC3 of equipment 3, IP address The type of message field for changing message is the types value such as 0 for representing response message, and IP address changes message Data field TLV citings it is as shown in table 8.
Table 8
The message that audiomonitor 3 returns in the listening period of setting of equipment 1, wherein, when equipment 1 is in the monitoring week of setting Listened in phase equipment 3 transmission the successfully modified response message of IP address, it is determined that equipment 3 by network management IP address from IP2 is successfully revised as IP3.Message is changed to originally for IP address when equipment 1 does not hear equipment 3 in the listening period of setting During any message that equipment returns, the step of continuing to return to opposite equip. transmission IP address modification message.When equipment 1 is being set Listening period in receive equipment 3 for IP address change message to the IP address that this equipment returns changing message when, The step that IP address modification message is sent to opposite equip. is returned when then equipment 1 waits the listening period of more than one setting to reach Suddenly.And the IP address for listening to the transmission of equipment 3 in the listening period of setting when equipment 1 changes failure response message, then again A new amended network management IP address is determined for equipment 3, is designated as IP4, and according to similar above-mentioned to the transmission of equipment 3 IP The operation of address modification message performs, and repeats no more.
So far, the description of above method embodiment is completed.
It can be seen from above-described embodiment that in the application, both that can be collected by message interaction between the network equipment This MAC Address, network management IP address etc., mutual network management IP address can also be changed by message interaction dynamic. This realizes the purpose of the network management IP address of the modification network equipment, the convenient all-network equipment managed in network.
The method provided above the application is described.The device provided below the application is described:
Referring to Fig. 4, Fig. 4 is the structure drawing of device that the application provides.The device is applied to the network equipment, as shown in figure 4, can Including:
Sending module, for the network management IP address of opposite equip. to be revised as into from first network management ip address During two network management IP address, IP address modification message is sent to opposite equip., IP address modification message at least carries this equipment MAC Address and the second network management IP address;
Monitor module, for listened in the listening period of setting opposite equip. for the IP address change message to During the successfully modified response message of IP address that this equipment returns, determine opposite equip. by network management IP address from first network Management ip address is revised as the second network management IP address.
In one embodiment, as shown in figure 4, the device further comprises:
First receiving module, for receiving IP address modification message;
IP address modified module, for the network management IP address of this equipment to be revised as to the IP of the receiving module reception The network management IP address entrained by message is changed in address, and the MAC Address entrained by message is changed to the IP address of the reception Return to the successfully modified response message of IP address.
In one embodiment, as shown in figure 4, the device further comprises:
Acquisition module, for obtaining the network management IP address of opposite equip., the network management IP address of acquisition is described First network management ip address.
As one embodiment, the acquisition module obtains the network management IP address of opposite equip. by following steps:
The Broadcast IP address request message in network, the IP address request message at least carry this equipment MAC Address, Network management IP address;
The IP address response that opposite equip. returns for the IP address request message is received in setting RQ cycle During message, the IP address response message is parsed, to obtain the network pipe for the opposite equip. that the IP address response message carries Manage IP address.
In one embodiment, as shown in figure 4, the device further comprises:
Second receiving module, for receiving IP address request message;
Based on this, the sending module further returns to IP to the source MAC of the IP address request message of the reception Location response message, IP address response message carry the network management IP address of this equipment.
In one embodiment, the modified module is changed the network management IP address of this equipment by following steps The network management IP address specified for the IP address modification message of the reception:
Judge that the IP address of the reception changes the IP address whether the network management IP address that message is specified meets this equipment Modification condition, the IP address modification condition of described equipment include but is not limited to:Belong to the network management IP address of this equipment The same network segment;
If it is, the network management IP address of this equipment is revised as to the network specified of IP address modification message of the reception Management ip address.
In an open embodiment, modified module is the network management IP address of this equipment to be revised as to the IP of the reception Further comprise before the network management IP address that location modification message is specified:Whether the state for judging this equipment is IP address modification State, if not, setting the state of this equipment to change state for IP address, and continue executing with by the network management IP of this equipment The operation for the network management IP address that the IP address modification message that the reception is revised as in location is specified;If it is, the IP to the reception The source MAC of address modification message returns to IP address and changes message;
Preferably, the network management IP address of this equipment is revised as the IP address modification report of the reception by the modified module Further comprise after the network management IP address that text is specified:The state of this equipment is the setting that IP address changes state;
In one embodiment, the monitoring module receives opposite equip. in the listening period of setting and is directed to this equipment The IP address of transmission change message to the IP address that this equipment returns changing message when, wait the monitoring of more than one setting Cycle returns to opposite equip. when reaching and sends the step of IP address changes message.
So far, device description provided by the invention is completed.
Accordingly, present invention also provides the description of the hardware configuration of Fig. 4 shown devices.Carried referring to Fig. 5, Fig. 5 for the application The hardware structure diagram of Fig. 4 shown devices of confession.As shown in figure 5, the hardware configuration may include processing component, it further comprises one Individual or multiple processors, and as the memory resource representated by memory, the instruction that can be performed for storage by processing component, Such as application program.The application program stored in memory include above-mentioned sending module, monitor module, the first receiving module, Modified module, acquisition module, the second receiving module.In addition, processing component is configured as execute instruction, to perform above-mentioned each mould Operation performed by block.
As shown in figure 5, the hardware configuration can also include the power management that a power supply module is configured as performs device, One wired or wireless network interface is configured as device being connected to network, and input and output (I/O) interface.
So far, the hardware configuration description shown in Fig. 5 is completed.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.

Claims (15)

  1. A kind of 1. network management based on link layer, it is characterised in that this method is applied to the network equipment, including:
    The network management IP address of opposite equip. is being revised as the second network management IP address from first network management ip address When, IP address modification message is sent to opposite equip., IP address modification message carries the second network management IP address;
    The IP that opposite equip. returns for IP address modification message to this equipment is listened in the listening period of setting During the successfully modified response message in location, determine that network management IP address is revised as by opposite equip. from first network management ip address Second network management IP address.
  2. 2. according to the method for claim 1, it is characterised in that this method further comprises:
    Receive IP address modification message;
    The network management IP address of this equipment is revised as to the network management IP address specified of IP address modification message of the reception, And the source MAC that message is changed to the IP address of the reception returns to the successfully modified response message of IP address.
  3. 3. according to the method for claim 1, it is characterised in that before this method, further comprise:
    The network management IP address of opposite equip. is obtained, the network management IP address of acquisition is for first network management IP Location.
  4. 4. according to the method for claim 3, it is characterised in that the network management IP address bag for obtaining opposite equip. Include:
    The Broadcast IP address request message in network, the IP address request message carry the network management IP address of this equipment;
    The IP address response message that opposite equip. is directed to the IP address request message and returned is received in setting RQ cycle When, the network management IP for the opposite equip. that the IP address response message carries is obtained according to the IP address response message Location.
  5. 5. according to the method for claim 1, it is characterised in that this method further comprises:
    Receive IP address request message;
    IP address response message is returned to the source MAC of the IP address request message of the reception, IP address response message carries The network management IP address of this equipment.
  6. 6. according to the method for claim 2, it is characterised in that described that the network management IP address of this equipment is revised as this The network management IP address that the IP address modification message of reception is specified includes:
    Judge whether the network management IP address that the IP address modification message of the reception is specified meets that the IP address of this equipment is changed Condition, the IP address modification condition of described equipment include but is not limited to:Belong to same with the network management IP address of this equipment The network segment;
    If it is, the network management IP address of this equipment is revised as to the network management specified of IP address modification message of the reception IP address.
  7. 7. the method according to claim 2 or 6, it is characterised in that the network management IP address by this equipment is changed Further comprise before the network management IP address specified for the IP address modification message of the reception:Judging the state of this equipment is It is no to change state for IP address, if not, setting the state of this equipment to change state for IP address, and continue executing with this equipment Network management IP address be revised as the operation of network management IP address that the IP address modification message of the reception is specified;If It is that the source MAC return IP address that message is changed to the IP address of the reception changes message;
    The network management IP that specifies of IP address modification message that the network management IP address of this equipment is revised as to the reception Further comprise after address:The state for deleting this equipment changes the setting of state for IP address.
  8. 8. according to the method for claim 7, it is characterised in that this method further comprises:
    Opposite equip. is received in the listening period of setting to return to this equipment for the IP address modification message that this equipment is sent When the IP address returned is changing message, returned when waiting more than one listening period set to reach to opposite equip. and send IP Change the step of message in address.
  9. A kind of 9. network administration apparatus based on link layer, it is characterised in that the device is applied to the network equipment, including:
    Sending module, for the network management IP address of opposite equip. to be revised as into the second net from first network management ip address During network management ip address, IP address modification message is sent to opposite equip., IP address modification message at least carries the MAC of this equipment Address and the second network management IP address;
    Module is monitored, message is changed to originally setting for the IP address for listening to opposite equip. in the listening period of setting During the successfully modified response message of the standby IP address that returns, determine opposite equip. by network management IP address from first network management IP address is revised as the second network management IP address.
  10. 10. device according to claim 9, it is characterised in that the device further comprises:
    First receiving module, for receiving IP address modification message;
    Modified module, the IP address for the network management IP address of this equipment to be revised as to the receiving module reception change report Network management IP address entrained by text, and return to IP address to the MAC Address entrained by the IP address modification message of the reception Successfully modified response message.
  11. 11. device according to claim 9, it is characterised in that the device further comprises:
    Acquisition module, for obtaining the network management IP address of opposite equip., the network management IP address of acquisition is described first Network management IP address;
    The acquisition module obtains the network management IP address of opposite equip. by following steps:
    The Broadcast IP address request message in network, the IP address request message at least carry the MC addresses of this equipment, network Management ip address;
    The IP address response message that opposite equip. is directed to the IP address request message and returned is received in setting RQ cycle When, the IP address response message is parsed, to obtain the network management IP for the opposite equip. that the IP address response message carries Address.
  12. 12. device according to claim 9, it is characterised in that the device further comprises:
    Second receiving module, for receiving IP address request message;
    The sending module further returns to IP address response message to the source MAC of the IP address request message of the reception, IP address response message carries the network management IP address of this equipment.
  13. 13. device according to claim 10, it is characterised in that the modified module is by following steps by this equipment Network management IP address is revised as the network management IP address that the IP address modification message of the reception is specified:
    Judge whether the network management IP address that the IP address modification message of the reception is specified meets that the IP address of this equipment is changed Condition, the IP address modification condition of described equipment include but is not limited to:Belong to same with the network management IP address of this equipment The network segment;
    If it is, the network management IP address of this equipment is revised as to the network management specified of IP address modification message of the reception IP address.
  14. 14. the device according to claim 10 or 13, it is characterised in that the modified module is by the network pipe of this equipment Further comprise before the network management IP address that the IP address modification message that reason IP address is revised as the reception is specified:Judge this Whether the state of equipment is IP address modification state, if not, setting the state of this equipment to change state for IP address, and is continued Perform the network management IP address that the network management IP address of this equipment is revised as the IP address modification message of the reception and specified Operation;If it is, the source MAC return IP address that message is changed to the IP address of the reception changes message;
    The network management IP address of this equipment is revised as the net specified of IP address modification message of the reception by the modified module Further comprise after network management ip address:The state for deleting this equipment changes the setting of state for IP address.
  15. 15. device according to claim 14, it is characterised in that the monitoring module is further in the listening period of setting Inside receive opposite equip. and change report to the IP address that this equipment returns for the IP address modification message that this equipment is sent Wen Shi, returned when waiting more than one listening period set to reach to opposite equip. and send the step of IP address changes message.
CN201610565901.4A 2016-07-15 2016-07-15 Network management method and device based on link layer Active CN107623752B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610565901.4A CN107623752B (en) 2016-07-15 2016-07-15 Network management method and device based on link layer
PCT/CN2017/092350 WO2018010616A1 (en) 2016-07-15 2017-07-10 Link layer based network management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610565901.4A CN107623752B (en) 2016-07-15 2016-07-15 Network management method and device based on link layer

Publications (2)

Publication Number Publication Date
CN107623752A true CN107623752A (en) 2018-01-23
CN107623752B CN107623752B (en) 2020-09-08

Family

ID=60952263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610565901.4A Active CN107623752B (en) 2016-07-15 2016-07-15 Network management method and device based on link layer

Country Status (2)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150724A (en) * 2018-07-02 2019-01-04 紫光华山信息技术有限公司 A kind of communication means and network interface card
CN109618021A (en) * 2018-12-27 2019-04-12 新华三技术有限公司 Modify the method and girff of IP address
CN110677479A (en) * 2019-09-29 2020-01-10 苏州浪潮智能科技有限公司 Equipment management method, system and storage medium of local area network
CN111600970A (en) * 2020-04-09 2020-08-28 南瑞集团有限公司 Method and system for stably controlling device program centralized downloading

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438166B (en) * 2021-06-25 2022-07-22 新华三信息安全技术有限公司 Anycast address determination method, anycast address determination device, network equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417973A (en) * 2002-11-01 2003-05-14 北京佳讯飞鸿电气有限责任公司 Method of altering network equipment IP address via network managing equipment
CN101873356A (en) * 2010-05-10 2010-10-27 杭州海康威视系统技术有限公司 Method and device for modifying IP address of equipment
CN102164188A (en) * 2011-03-31 2011-08-24 华为技术有限公司 Network address allocation method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417973A (en) * 2002-11-01 2003-05-14 北京佳讯飞鸿电气有限责任公司 Method of altering network equipment IP address via network managing equipment
CN101873356A (en) * 2010-05-10 2010-10-27 杭州海康威视系统技术有限公司 Method and device for modifying IP address of equipment
CN102164188A (en) * 2011-03-31 2011-08-24 华为技术有限公司 Network address allocation method, device and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150724A (en) * 2018-07-02 2019-01-04 紫光华山信息技术有限公司 A kind of communication means and network interface card
CN109150724B (en) * 2018-07-02 2021-06-29 新华三信息技术有限公司 Communication method and network card
CN109618021A (en) * 2018-12-27 2019-04-12 新华三技术有限公司 Modify the method and girff of IP address
CN109618021B (en) * 2018-12-27 2023-02-03 新华三技术有限公司 Method and tool box for modifying IP address
CN110677479A (en) * 2019-09-29 2020-01-10 苏州浪潮智能科技有限公司 Equipment management method, system and storage medium of local area network
CN110677479B (en) * 2019-09-29 2022-06-07 苏州浪潮智能科技有限公司 Equipment management method, system and storage medium of local area network
CN111600970A (en) * 2020-04-09 2020-08-28 南瑞集团有限公司 Method and system for stably controlling device program centralized downloading
CN111600970B (en) * 2020-04-09 2022-08-09 南瑞集团有限公司 Method and system for stably controlling device program centralized downloading

Also Published As

Publication number Publication date
WO2018010616A1 (en) 2018-01-18
CN107623752B (en) 2020-09-08

Similar Documents

Publication Publication Date Title
Bellavista et al. Towards better scalability for IoT-cloud interactions via combined exploitation of MQTT and CoAP
CN107623752A (en) Network management and device based on link layer
EP2947907B1 (en) Startup configuration method in base station, base station and server
CN105210337A (en) Service implementation method for NFV system, and communications unit
WO2014118622A1 (en) Method of managing zigbee network in the internet of things
JP2005509367A5 (en)
CN104022936B (en) A kind of tunnel establishing method and device
CN113411215B (en) Time-sensitive network centralized user configuration method and system based on OPC UA
CN103517300B (en) The self-discovery method, apparatus and system of distributed base station
CN105337853A (en) Instance establishing method and apparatus in software defined network (SDN)
CN107820262B (en) Parameter configuration method, device and system
CN101459536A (en) Port configuration method and switching device
CN101150481B (en) Method and device for WLAN and LAN intercommunication
CN103401954B (en) The implementation method of virtual DHCP
CN106533934A (en) Border gateway applicable to all interconnected manufacturing networks
CN112968965B (en) Metadata service method, server and storage medium for NFV network node
WO2011137621A1 (en) Method and apparatus for managing distributed base station
EP2466814B1 (en) Method, remote access server and system for configuring quality of service
WO2015058413A1 (en) Data configuration method and network management server
CN104284383A (en) Method and device for keeping service continuity
CN101119322B (en) Packet processing method and node equipment in MESH network
CN108833284A (en) A kind of communication means and device of cloud platform and IDC network
KR101673755B1 (en) System for interoperation network of IoT and network of Zigbee based DDS and Method thereof
Ha et al. Enabling dynamic and lightweight management of distributed bluetooth low energy devices
CN110474781A (en) A kind of method and device of transmitting multicast data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Xinhua Sanxin Information Technology Co., Ltd.

Address before: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Huashan Information Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant