CN105359458B - Network device communications method and the network equipment - Google Patents
Network device communications method and the network equipment Download PDFInfo
- Publication number
- CN105359458B CN105359458B CN201380077923.0A CN201380077923A CN105359458B CN 105359458 B CN105359458 B CN 105359458B CN 201380077923 A CN201380077923 A CN 201380077923A CN 105359458 B CN105359458 B CN 105359458B
- Authority
- CN
- China
- Prior art keywords
- server
- address
- message
- network equipment
- information
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Abstract
The present invention relates to a kind of network device communications method and the network equipments, the described method includes: when network equipment connecting network, obtain the Neighbor Discovery Protocol ND message that neighbor device is sent, the information of NM server is carried in the ND message, the information of the NM server includes internet protocol address or uniform resource identifier URL or domain name;The network equipment obtains the information of the NM server according to the ND message;The network equipment utilizes the information of the NM server, is communicated with the NM server.Network equipment method of automatic configuration of the invention and the network equipment can carry out initial configuration to the network equipment automatically, realize the automatic configuration of the network equipment, reduce whole artificial management complexity, simplify the administration overhead of automatic configuration significantly.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of network device communications method and the network equipments.
Background technique
When the network equipment is newly linked into a network, need to carry out initial configuration to the network equipment.Traditional network
The initial configuration of equipment generally requires operator and configures to scene to the network equipment, or by way of remote operation
It is configured.Industry rises the technical solution of " zero configuration " gradually at present.So-called zero configuration Managed Solution, i.e., in device power
Afterwards, in the case that network administrator contacts with field device zero, equipment is automatically performed long-range sending down service and configuring maintenance.Zero
Configuration technology is network skill from now on for reducing manual operation, reducing network O&M complexity and spending has significant meaning
One trend of art development.
In the prior art, the network equipment is when realization automatically configures, after the network equipment is online automatically with corresponding network management system
System is communicated, and obtains detailed configuration information from network management system.Inside this process, there are two critical issues: 1. networks are set
It is standby to need basic Internet protocol (Internet Protocol, an IP) connectivity, it just can be logical with network management system
Letter;2. IP address or uniform resource identifier (Uniform Resource that the network equipment needs to know NM server
Locator, URL).
There are mainly two types of existing method of automatic configuration, the first is pre-deployment, comprising: dispatches from the factory it in the network equipment
It is preceding to be automatically pre-configured by agreement;And the network equipment has arrived user resident, pacifies automatically by hypertext transfer protocol
(Hyper Text Transfer Protocol Secure, HTTPS) agreement is connected with gateway system entirely, obtains detailed industry
Business configuration.For the scheme of this pre-configuration, the disadvantage is that the equipment vendor of the network equipment is larger in the administration overhead in factory stage.
Be for second by the scheme of dynamic host configuration protocol (Dynamic Host Configure Protocol, DHCP) agreement,
Dynamic Host Configuration Protocol server provides the access address of management server, net while feeding back IP address to the network equipment, to the network equipment
Network equipment passes through wide area network management agreement TR069 agreement immediately and initiates configuring request to server.For this DHCP protocol
Scheme, if the level of user network is more complicated, as Internet Service Provider (Internet Service Provider,
ISP network), then perfect DHCP relay (DHCP Relay) is needed to configure, there are also Dynamic Host Configuration Protocol server (DHCP Server)
Address pool configuration etc., the administration overhead of ISP is larger.
Summary of the invention
The present invention provides a kind of network device communications method and device, is realizing the network equipment in the prior art for solving
In automatic configuration process, the big problem of network equipments configuration complexity, administration overhead.
First aspect present invention provides a kind of network device communications method, which comprises
When network equipment connecting network, the Neighbor Discovery Protocol ND message that neighbor device is sent, the ND message are obtained
The middle information for carrying NM server, the information of the NM server includes internet protocol address or uniform resource identifier
Accord with URL or domain name;
The network equipment obtains the information of the NM server according to the ND message;
The network equipment utilizes the information of the NM server, is communicated with the NM server.
With reference to first aspect, in the first possible embodiment of first aspect, the ND message is sent out using neighbours
Show the scaling option of ND agreement to carry the IP address of the NM server or URL or domain name.
With reference to first aspect or the first possible embodiment of first aspect, second in first aspect are possible
In embodiment, the ND message includes router advertisement RA message, route requests RS message, neighbor request NS message or neighbours
Notice NA message;
The Neighbor Discovery Protocol ND message for obtaining neighbor device and sending, carries the network manager service in the ND message
The information of device, comprising:
The network equipment receives the router advertisement RA message of the neighbor device broadcast, carries institute in the RA message
State the information of NM server;
Alternatively, the network equipment sends route requests RS message to the neighbor device, then receive the neighbor device
The RA message of return carries the information of the NM server in the RA message;
Alternatively, the network equipment sends neighbor request NS message to the neighbor device, then receive the neighbor device
The NA message of return carries the information of the NM server in the NA message.
With reference to first aspect, in the third possible embodiment of first aspect, the method also includes: the net
Network equipment automatically generates the address unique home address ULA;
The network equipment utilizes the information of the NM server, is communicated with the NM server, specific to wrap
It includes:
The network equipment is sent to the neighbor device using the address ULA as source address, the NM server
IP address is the first data message of purpose address;The neighbor device is by the address ULA in first data message
After being substituted for the globally unique address location GUA, replaced first data message is sent to the NM server;It is described
The IP address of NM server is obtained from the information of the NM server;
The network equipment receives the second data message that the NM server is sent by the neighbor device, described
It is source address, the source address of first data message for destination that second data message, which is using the NM server IP address,
The data message of location.
With reference to first aspect, in the 4th kind of possible embodiment of first aspect, the method also includes:
The network equipment obtains the address GUA of the network equipment to the neighbor device;
The network equipment utilizes the information of the NM server, passes through the neighbor device and the NM server
It is communicated, is specifically included:
The network equipment is sent using the address GUA as source by the neighbor device to the NM server
Location, the data message that the NM server IP address is purpose address;The IP address of the NM server is from the network management
It is obtained in the information of server;
The network equipment receives the data message that the NM server is sent, the network management by the neighbor device
The data message that server is sent is to be by the address GUA of source address, the network equipment of the NM server IP address
The data message of destination address.
With reference to first aspect or first aspect the first to any possible embodiment in the 4th kind, in first aspect
The 5th kind of possible embodiment in, the network equipment utilize the NM server information, with the network management take
After business device is communicated, further includes:
The network equipment obtains the configuration information of the network equipment from the NM server.
Second aspect, the present invention also provides a kind of network equipment, the network equipment includes: transceiver module, obtains mould
Block and processing module;
The transceiver module, the neighbours' discovery sent for when the network equipment connecting network, obtaining neighbor device
Agreement ND message carries the information of NM server in the ND message, and the information of the NM server includes internet protocol
Discuss IP address or uniform resource identifier URL or domain name;
The acquisition module, for obtaining the NM server according to the received ND message of the transceiver module
Information;
The processing module, the information of the NM server for being obtained using the acquisition module, with the net
Pipe server is communicated.
In conjunction with second aspect, in the first possible embodiment of second aspect, the ND message is sent out using neighbours
Show the scaling option of ND agreement to carry the IP address of the NM server or URL or domain name.
In conjunction with the possible embodiment of the first of second aspect or second aspect, second in second aspect is possible
In embodiment, the ND message includes router advertisement RA message, route requests RS message, neighbor request NS message or neighbours
Notice NA message;
The transceiver module specifically includes the router advertisement RA message for receiving the neighbor device broadcast, the RA
The information of the NM server is carried in message;
Alternatively, being returned for sending route requests RS message to the neighbor device, and for receiving the neighbor device
RA message, the information of the NM server is carried in the RA message;
Alternatively, sending neighbor request NS message to the neighbor device, and the NA message that the neighbor device returns is received,
The information of the NM server is carried in the NA message.
In conjunction with second aspect, in the third possible embodiment of second aspect, the network equipment further include:
Address generation module, for automatically generating the address unique home address ULA;
The processing module is specifically used for sending using the transceiver module to the neighbor device with the address ULA
Source address, the first data message that the IP address of the NM server is purpose address;The neighbor device is by described first
After the address ULA in data message is substituted for the globally unique address location GUA, replaced first datagram is sent
Text gives the NM server;The IP address of the NM server is obtained from the information of the NM server;
And for receiving the second of the NM server transmission by the neighbor device using the transceiver module
Data message, second data message are using the NM server IP address as source address, first data message
Source address is the data message of purpose address.
In conjunction with second aspect, in the 4th kind of possible embodiment of second aspect, the network equipment further include: ground
Location obtains module, for obtaining the address GUA of the network equipment to the neighbor device;
The processing module is specifically used for passing through the neighbor device to the NM server using the transceiver module
It sends using the address GUA as source address, the data message that the NM server IP address is purpose address;
And for receiving the data that the NM server is sent by the neighbor device using the transceiver module
Message, the data message that the NM server is sent is set by source address, the network of the NM server IP address
The standby address GUA is the data message of purpose address.
In conjunction with the first of second aspect or second aspect to any possible embodiment in the 4th kind, in second aspect
The 5th kind of possible embodiment in, the processing module using the NM server information, with the network management take
After business device is communicated, it is also used to obtain the configuration information of the network equipment from the NM server.
The third aspect, the present invention also provides a kind of network equipment, the network equipment includes:
Processor;
Memory;
Communication interface, the communication interface with other devices for interacting;
The application program of physical store in the memory, the application program include can be used for making the processor and
The instruction of described device execution following procedure:
When the network equipment connecting network, the Neighbor Discovery Protocol ND message that neighbor device is sent, the ND are obtained
The information of NM server is carried in message, the information of the NM server includes internet protocol address or unified resource
Identifier URL or domain name;
According to the ND message, the information of the NM server is obtained;
Using the information of the NM server, communicated with the NM server.
In conjunction with the third aspect, in the first possible embodiment of the third aspect, the ND message is sent out using neighbours
Show the scaling option of ND agreement to carry the IP address of the NM server or URL or domain name.
In conjunction with the possible embodiment of the first of the third aspect or the third aspect, second in the third aspect is possible
In embodiment, the ND message includes router advertisement RA message, route requests RS message, neighbor request NS message or neighbours
Notice NA message;
The application program can be used for obtaining the Neighbor Discovery Protocol ND message of neighbor device transmission, take in the ND message
Information with NM server, the specific instruction for executing following procedure:
The router advertisement RA message of the neighbor device broadcast is received, carries the NM server in the RA message
Information;
Alternatively, sending route requests RS message to the neighbor device, then the RA message that the neighbor device returns is received,
The information of the NM server is carried in the RA message;
Alternatively, sending neighbor request NS message to the neighbor device, then the NA message that the neighbor device returns is received,
The information of the NM server is carried in the NA message.
In conjunction with the third aspect, in the third possible embodiment of the third aspect, the application program can also be used in
Execute the instruction of following procedure:
Automatically generate the address unique home address ULA;
The application program can be used for that the processor and described device is made to execute the letter using the NM server
Breath, is communicated with the NM server, the specific instruction for executing following procedure:
Sending to the neighbor device by the address ULA is source address, for the purpose of the IP address of the NM server
First data message of address;The address ULA in first data message is substituted for the whole world only by the neighbor device
Behind the one address address GUA, replaced first data message is sent to the NM server;The NM server
IP address is obtained from the information of the NM server;
The second data message that the NM server is sent, second data message are received by the neighbor device
The datagram of to be using the NM server IP address as the source address of source address, first data message be purpose address
Text.
In conjunction with the third aspect, in the 4th kind of possible embodiment of the third aspect, the application program can also be used in
Execute the instruction of following procedure:
The address GUA of the network equipment is obtained to the neighbor device;
The application program can be used for that the processor and described device is made to execute the letter using the NM server
Breath, is communicated with the NM server, the specific instruction for executing following procedure:
It is sent by the neighbor device to the NM server and is taken by source address, the network management of the address GUA
Device IP address of being engaged in is the data message of purpose address;
The data message that the NM server is sent is received by the neighbor device, what the NM server was sent
Data message is using the NM server IP address as the address GUA of source address, the network equipment be purpose address number
According to message.
In conjunction with the first of the third aspect or the third aspect to any possible embodiment in the 4th kind, in the third aspect
The 5th kind of possible embodiment in, the application program for executing the information using the NM server,
After being communicated with the NM server, it may also be used for execute the instruction of following procedure:
The configuration information of the network equipment is obtained from the NM server.
Network device communications method provided by the invention and the network equipment utilize 6 (Internet of internet protocol version
Protocol version 6, IPv6) automation mechanism, from the neighbor device of the network equipment obtain NM server letter
Then breath is established with NM server and is communicated to connect, and then can obtain the configuration information of the network equipment from gateway server,
Initial configuration can be carried out to the network equipment automatically, realize the automatic configuration of the network equipment, simplify the pipe of the network equipment
Manage expense.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of network system provided in an embodiment of the present invention;
Fig. 2 is the flow diagram for the network device communications method that the embodiment of the present invention one provides;
Fig. 3 a is a kind of option message format schematic diagram of ND message provided in an embodiment of the present invention;
Fig. 3 b is the sub- option message format signal in option message shown in a kind of Fig. 3 a provided in an embodiment of the present invention
Figure;
Fig. 3 c is the sub- option message format signal in option message shown in a kind of Fig. 3 a provided in an embodiment of the present invention
Figure;
Fig. 3 d is the sub- option message format signal in option message shown in a kind of Fig. 3 a provided in an embodiment of the present invention
Figure;
Fig. 4 is the structural schematic diagram of the network equipment provided by Embodiment 2 of the present invention;
Fig. 5 is the structural schematic diagram of another network equipment provided by Embodiment 2 of the present invention;
Fig. 6 is the schematic diagram of the structure for the network equipment that the embodiment of the present invention three provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Whole description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Network device communications method provided in an embodiment of the present invention, suitable for the network equipment when being newly linked into a network
Need to carry out the situation of initial configuration, which can be the equipment such as router, interchanger.Fig. 1 is the embodiment of the present invention
The structural schematic diagram of the network system of offer, as shown in Figure 1, the network system includes: the net of NM server 1, core stratum reticulare
The network equipment 4 of network equipment 2, the network equipment 3 of convergence layer and access layer.NM server 1 can be host or server
Etc. equipment, the network equipment 4 of the network equipment 2 of core stratum reticulare, the network equipment 3 of convergence layer and access layer can be router,
The equipment such as interchanger.Wherein, the newly-increased network equipment 5 is in access layer, and certainly, which is also in
Core stratum reticulare or convergence layer etc. are illustrated in access layer in embodiments of the present invention, but do not limit this with this
Invention.The network equipment involved in following embodiment (unless otherwise indicated) refers both to the newly-increased network equipment 5.
Embodiment one
Fig. 2 is network device communications method flow schematic diagram provided in an embodiment of the present invention, as shown in Fig. 2, the present invention is real
The network device communications method for applying example includes:
S101, when network equipment connecting network, obtain neighbor device send Neighbor Discovery Protocol (Neighbor
Discovery, ND) message.
Wherein, the information of NM server is carried in the ND message, the information of the NM server includes IP address
Or URL or domain name.
Neighbor device includes the neighbor device being on same link with the network equipment, usually gateway, can
The network equipment 3 of convergence layer is in be the equipment such as router, interchanger, such as shown in Fig. 1.
The ND message may include: router advertisement (Router Advertisement, RA) message, router solicitation
(Router Solicit, RS) message, neighbor request (Neighbor Solicit, NS) message or neighbor advertisement (Neighbor
Advertisement, NA) Neighbor Discovery Protocols such as message message.
Specifically, the ND message that neighbor device is sent is obtained, it can be using directly reception broadcast message or activly request
Mode, such as:
The first:
Neighbor device periodic broadcast in the network sends RA message, then the network equipment directly receives institute
The RA message of neighbor device broadcast is stated, the information of the NM server is carried in the RA message, that is, includes: the network management clothes
The IP address or URL or domain name of business device.Wherein, the RA message is carried described using the scaling option of Neighbor Discovery agreement
NM server IP address or URL or domain name.Fig. 3 a is a kind of option message format of ND message provided in an embodiment of the present invention,
The option of the ND message includes:
NM server option (OPTION_NMS) identifies the option for carrying network management for identifying the option names
The information of server;
Option (option-len), for identifying the message length of the option;
Sub- option (sub-option (s)), for carrying the information of the NM server.
Fig. 3 b is the sub- option message format in option message shown in a kind of Fig. 3 a provided in an embodiment of the present invention, is used for
Carry the address IPv6 of the NM server.Wherein,
NM server address option (OPTION_NMS_IPv6ADDR) identifies the son for identifying the suboption-name
Option is used to carry the address IPv6 of NM server;
Option (option-len), for identifying the message length of the sub- option;
The address IPv6 (IPv6-Address), for carrying the address IPv6 of the NM server.
Fig. 3 c is the sub- option message format in option message shown in a kind of Fig. 3 a provided in an embodiment of the present invention, is used for
Carry the domain name of the NM server.Wherein,
NM server domain name option (OPTION_NMS_FQDN) identifies the sub- option for identifying the suboption-name
For carrying the domain name of NM server;
Option (option-len), for identifying the message length of the sub- option;
Fully qualified domain name (FQDN), for carrying fully qualified domain name (the Fully Qualified of the NM server
Domain Name, FQDN).
Fig. 3 d is the sub- option message format in option message shown in a kind of Fig. 3 a provided in an embodiment of the present invention, is used for
Carry the URL of the NM server.Wherein,
NM server URL option (OPTION_NMS_URL) identifies the sub- option and uses for identifying the suboption-name
In the URL for carrying NM server;
Option (option-len), for identifying the message length of the sub- option;
Uniform resource identifier (URL), for carrying the URL of the NM server.
Second:
The network equipment first sends route requests RS message to the neighbor device, then receives the neighbor device and return
RA message, carry the NM server IP address or URL or domain name in the RA message.
The third:
The network equipment first sends neighbor request NS message to the neighbor device, then receives the neighbor device and return
NA message, carry the NM server IP address or URL or domain name in the NA message.
Wherein, the scaling option of the ND agreement is carried in the RS message or NS message, the scaling option is used for
Indicate that the neighbor device returns to the NM server IP address or URL or domain name;The RA message or NA message also use
The scaling option of the ND agreement carries the NM server IP address or URL or domain name.
Neighbor device in the embodiment of the present invention is the information of the known NM server, if neighbor device is without
Know the NM server IP address, then can acquire the net by the method for existing method for pre-configuration or DHCP
Pipe server ip address, repeats no more in this.
S102, the network equipment obtain the information of the NM server according to the ND message.
The network equipment parses RA the or NA message, obtains the network manager service from the scaling option of corresponding ND agreement
Device IP address or URL or domain name.
S103, the network equipment utilize the information of the NM server, are communicated with the NM server.
It is carried out in communication process in the network equipment and the NM server, it is also necessary to utilize the network equipment
Globally unique location (Global Unique Address, GUA) is communicated.In the embodiment of the present invention, number can sent
According to the address GUA for obtaining the network equipment before message, it is also possible to after sending datagram be carried out by neighbor device
Translation obtains the address GUA of the network equipment.
If by the way of being translated by neighbor device, the method also includes: the network equipment automatically generates uniquely local
The address address ULA.
The network equipment automatically configures temporary address, automatically generates a unique home address (Unique Local
Address, ULA) address, in general, the address ULA be with " FC00: :/7 " or " FC00: :/8 " be prefix IP address.At this point, from
The dynamic address ULA that generates can execute before S101, can also execute after S101.
Optionally, the information that the NM server is utilized in the network equipment, is led to the NM server
After letter, further includes:
The network equipment obtains the configuration information of the network equipment from the NM server.The network equipment root
The configuration of the network equipment is completed according to the configuration information of acquisition.
The network equipment utilizes the information of the NM server, passes through the neighbor device and the NM server
It is communicated, is specifically included:
The network equipment is sent to the neighbor device using the address ULA as source address, the NM server
IP address is the first data message of purpose address.
After the address ULA in first data message is substituted for the address GUA by the neighbor device, replacement is sent
First data message afterwards gives the NM server.At this point, the address GUA is to translate to obtain by the neighbor device
Prefix address identical with the prefix of the address GUA of the neighbor device.
The network equipment receives the second data message that the NM server is sent by the neighbor device, described
It is source address, the source address of first data message for destination that second data message, which is using the NM server IP address,
The data message of location.
What the network equipment was got is the URL of the NM server or the situation of domain name, in the network
It is purpose address that equipment, which is sent to the neighbor device by source address, the NM server IP address of the address ULA,
Before first data message, further includes: the step of by the URL of the NM server or domain name mapping at IP address.
Specifically, the neighbor device is (a kind of IPv6 prefix interpretative system) or other in the way of RFC6296
Network address translators (Network Address Translator, NAT) mode is translated, and the address GUA is generated.
The neighbor device receive that the NM server sends using the NM server IP address as source address, institute
The second data message that the address GUA is purpose address is stated, the destination address in second data message is replaced with into the net
The address ULA of network equipment, and replaced second data message is sent to the network equipment.
It is destination that then the network equipment, which is received by source address, the address ULA of the NM server IP address,
Second data message of location.Optionally, second data message may include the configuration information of the network equipment.
It can be the data message comprising the configuring information of network appliance in second data message.The network equipment is obtaining
To after configuration information, the configuration of the network equipment is completed according to configuration information.
If by the way of being obtained before sending datagram, the method also includes:
The network equipment obtains the address GUA of the network equipment to the neighbor device.The address GUA is prefix
Address identical with the prefix of the address GUA of the neighbor device.
The network equipment utilizes the information of the NM server, passes through the neighbor device and the NM server
Communicated, specifically included: the network equipment is sent with the GUA by the neighbor device to the NM server
Location is source address, the data message that the NM server IP address is purpose address;And the network equipment is described in
Neighbor device receives the data message that the NM server is sent, and the data message that the NM server is sent is with described
NM server IP address be source address, the network equipment the address GUA be the data message of purpose address.At this point, described
The address GUA is the address identical with the prefix of the address ULA translated by the neighbor device, be the network equipment to
Before NM server sends datagram, being obtained by existing mode (such as the mode of DHCPv6).
What the network equipment was got is the URL of the NM server or the situation of domain name, in the network
Equipment is sent to the NM server using the address GUA as source address, the NM server by the neighbor device
Before IP address is the first data message of purpose address, further includes: by the URL of the NM server or domain name mapping at IP
The step of address.
In this way, the communication between NM server can be realized in the newly-increased network equipment 5.
It can be seen that the network equipment 5 increased newly in the embodiment of the present invention passes through neighbor device (network equipment 3 of convergence layer)
3 layers of translation establish transparent connection with NM server 1, network management configuration is carried out, including lasting management IP, business IP, other
Parameter etc..And existing various network management protocols are all 4 layers or more (at least also needing the network equipment 2 by core layer).Thus,
The embodiment of the present invention completes NM server IP address by the scaling option of ND agreement by the automation mechanism of IPv6
Notice can carry out initial configuration to the network equipment automatically, realize the automatic configuration of the network equipment, simplify the network equipment
Administration overhead.
It is the detailed description for being provided for the embodiments of the invention the progress of network device communications method above, below to this hair
The network equipment that bright embodiment provides is described in detail.
Embodiment two
Fig. 4 and Fig. 5 is network equipment schematic diagram provided in an embodiment of the present invention, and as shown in Figure 4 and Figure 5, the present invention is implemented
The network equipment 300 of example includes: transceiver module 301, obtains module 302 and processing module 304.
Transceiver module 301 is used to obtain the ND message that neighbor device is sent when the network equipment 300 accesses network,
In the ND message carry NM server information, the information of the NM server include internet protocol address or
URL or domain name.
The ND message may include: router advertisement RA message, router solicitation RS message, neighbor request NS message or
The message of the Neighbor Discovery Protocols such as neighbor advertisement NA message.
The ND message that the acquisition neighbor device of transceiver module 301 is sent, can be using directly reception broadcast message or active
The mode of request, such as:
The first:
Neighbor device periodic broadcast in the network sends RA message, then transceiver module 301 directly receives institute
The RA message for stating neighbor device broadcast carries the information of the NM server in the RA message, that is, include: IP address or
URL or domain name.Wherein, the RA message is with carrying the NM server IP using the scaling option of Neighbor Discovery agreement
Location or URL or domain name.
Second:
Transceiver module 301 first sends route requests RS message to the neighbor device, then receives the neighbor device and return
RA message, carry the NM server IP address or URL or domain name in the RA message.
The third:
Transceiver module 301 first sends neighbor request NS message to the neighbor device, then receives the neighbor device and return
NA message, carry the NM server IP address or URL or domain name in the NA message.
Wherein, the scaling option of the ND agreement is carried in the RS message or NS message, the scaling option is used for
Indicate that the neighbor device returns to the NM server IP address or URL or domain name;The RA message or NA message use institute
The scaling option of ND agreement is stated to carry the NM server IP address or URL or domain name.
Module 302 is obtained to be used for according to the received ND message of transceiver module 301, with obtaining the NM server IP
Location or URL or domain name.
It obtains module 302 and parses RA the or NA message, obtain the network management from the scaling option of corresponding ND agreement
Server ip address or URL or domain name.
Processing module 304 is used for using the NM server IP address or URL or domain name for obtaining the acquisition of module 302,
It is communicated with the NM server.
It is carried out in communication process in the network equipment 300 with the NM server, it is also necessary to be set using the network
Standby 300 globally unique location (Global Unique Address, GUA) is communicated.In embodiments of the present invention, may be used
To obtain the address GUA of the network equipment 300 before sending datagram, be also possible to after sending datagram by
Neighbor device is translated to obtain the address GUA of the network equipment 300.
If by the way of being translated by neighbor device, as shown in figure 3, the network equipment 300 further include: address generates
Module 303.Address generation module 303 is for automatically generating the address unique home address ULA.
Address generation module 303 is that the network equipment 300 automatically configures temporary address, automatic raw according to the specification of RFC4193
At the address a unique home address (Unique Local Address, ULA), in general, the address ULA be with " FC00: :/7 " or
" FC00:: being/8 " IP address of prefix.
Optionally, processing module 304 is communicated in the information using the NM server with the NM server
Later, it is also used to obtain the configuration information of the network equipment 300 from the NM server.Processing module 304 is according to acquisition
The configuration information complete the configuration of the network equipment 300.
Processing module 304 is specifically used for sending to the neighbor device using the address ULA as source using transceiver module 301
Address, the first data message that the NM server IP address is purpose address.
The address ULA in first data message is substituted for globally unique location GUA by the neighbor device
Behind location, replaced first data message is sent to the NM server.At this point, the address GUA is by the neighbour
Occupy the prefix address identical with the prefix of the address GUA of the neighbor device that equipment is translated.
Processing module 304 receives the network manager service by the neighbor device also particularly useful for using transceiver module 301
The second data message that device is sent, second data message are using the NM server IP address as source address, described the
The source address of one data message is the data message of purpose address.
Specifically, the neighbor device is (a kind of IPv6 prefix interpretative system) or other in the way of RFC6296
Network address translators (Network Address Translator, NAT) mode is translated, and the address GUA is generated.
The neighbor device receive that the NM server sends using the NM server IP address as source address, institute
The second data message that the address GUA is purpose address is stated, the destination address in second data message is replaced with into the net
The address ULA of network equipment 300, and replaced second data message is sent to the transmitting-receiving mould of the network equipment 300
Block 301.It is purpose address that then transceiver module 301, which is received by source address, the address ULA of the NM server IP address,
Second data message.
It can be the data message comprising 300 configuration information of the network equipment in second data message.Processing module 304
After getting configuration information, the configuration of the network equipment 300 is completed according to configuration information.
For obtain that module 302 gets be the NM server URL or domain name situation, processing module 304 exists
Before sending first data message, it is also used to the URL of the NM server or domain name mapping into IP address.
If by the way of being obtained before sending datagram, as shown in figure 4, the network equipment 300 further include: address
Obtain module 305.
Address acquisition module 305 is used to obtain the address GUA of the network equipment 300.
Address acquisition module 305 can obtain the address GUA of the network equipment 300 to the neighbor device.The GUA
Address can be prefix address identical with the prefix of the address GUA of the neighbor device.
Processing module 304 is specifically used for sending out by the neighbor device to the NM server using the transceiver module
It send using the address GUA as source address, the data message that the NM server IP address is purpose address;And for benefit
The data message that the NM server is sent, the NM server are received by the neighbor device with the transceiver module
It is source address, for the purpose of the address GUA of the network equipment 300 that the data message of transmission, which is by the NM server IP address,
The data message of address.At this point, the address GUA is the prefix with the address ULA translated by the neighbor device
Identical address is before the network equipment 300 sends datagram to NM server, (such as by existing mode
The mode of DHCPv6) obtain.
For obtain that module 302 gets be the NM server URL or domain name situation, processing module 304 exists
Before sending first data message, it is also used to the URL of the NM server or domain name mapping into IP address.
In this way, the communication between NM server can be realized in the newly-increased network equipment 300.
The network equipment 300 provided in an embodiment of the present invention can execute the network device communications side of the embodiment of the present invention one
Method is repeated no more in this.
Embodiment three
Fig. 6 is the composed structure schematic diagram of the network equipment provided in an embodiment of the present invention, as shown in fig. 6, the network is set
Standby 500 include: processor 501, communication interface 502 and memory 503.
Communication interface 502 with other devices for interacting.
Memory 503 can be permanent memory, such as hard disk drive and flash memory, have software mould in memory 503
Block and device driver.Software module is able to carry out the various functional modules of the above method of the embodiment of the present invention;Device drives
Program can be network and interface drive program.
On startup, these component softwares are loaded into memory 503, are then accessed and are executed such as by processor 501
It gives an order:
When the network equipment 500 accesses network, the Neighbor Discovery Protocol ND message that neighbor device is sent is obtained, it is described
The information of NM server is carried in ND message, the information of the NM server includes internet protocol address or unified money
Source identifier URL or domain name;
According to the ND message, the information of the NM server is obtained;
Using the information of the NM server, communicated with the NM server.
Specifically, the network equipment 500 executes network device communications side described in above-described embodiment one also according to described instruction
Method, specific details are not described herein.
Network device communications method provided in an embodiment of the present invention and the network equipment lead to by the automation mechanism of IPv6
The scaling option of ND agreement is crossed to complete the notice of NM server IP address, enhances the automation of zero configuration, significant ground letter
The administration overhead of zero configuration is changed, whole artificial management complexity can be reduced.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (15)
1. a kind of network device communications method, which is characterized in that the described method includes:
When network equipment connecting network, the Neighbor Discovery Protocol ND message that neighbor device is sent is obtained, is taken in the ND message
Information with NM server, the information of the NM server include internet protocol address or uniform resource identifier
URL or domain name;
The network equipment obtains the information of the NM server according to the ND message;
The network equipment utilizes the information of the NM server, is communicated with the NM server;
The network equipment automatically generates the address unique home address ULA;The network equipment utilizes the NM server
Information is communicated with the NM server, specifically included: the network equipment is sent to the neighbor device with described
The address ULA is source address, the first data message that the IP address of the NM server is purpose address;The neighbor device will
After the address ULA in first data message is substituted for the globally unique address location GUA, replaced described the is sent
One data message gives the NM server;The IP address of the NM server is obtained from the information of the NM server
It arrives;The network equipment receives the second data message that the NM server is sent by the neighbor device, and described second
It is purpose address that data message, which is by the source address of source address, first data message of the NM server IP address,
Data message.
2. the method according to claim 1, wherein the ND message is selected using the extension of Neighbor Discovery agreement
Carry the IP address or URL or domain name of the NM server.
3. method according to claim 1 or 2, which is characterized in that the ND message includes router advertisement RA message, road
By request RS message, neighbor request NS message or neighbor advertisement NA message;
The Neighbor Discovery Protocol ND message for obtaining neighbor device and sending, carries the NM server in the ND message
Information, comprising:
The network equipment receives the router advertisement RA message of the neighbor device broadcast, carries the net in the RA message
The information of pipe server;
Alternatively, the network equipment sends route requests RS message to the neighbor device, then receives the neighbor device and return
RA message, the information of the NM server is carried in the RA message;
Alternatively, the network equipment sends neighbor request NS message to the neighbor device, then receives the neighbor device and return
NA message, the information of the NM server is carried in the NA message.
4. the method according to claim 1, wherein the method also includes:
The network equipment obtains the address GUA of the network equipment to the neighbor device;
The network equipment utilizes the information of the NM server, is carried out by the neighbor device and the NM server
Communication, specifically includes:
The network equipment is sent to the NM server using the address GUA as source address, institute by the neighbor device
State the data message that NM server IP address is purpose address;The IP address of the NM server is from the NM server
Information in obtain;
The network equipment receives the data message that the NM server is sent, the network manager service by the neighbor device
It is source address, for the purpose of the address GUA of the network equipment that the data message that device is sent, which is by the NM server IP address,
The data message of address.
5. according to claim 1 to method described in 4 any claims, which is characterized in that utilize the net in the network equipment
The information of pipe server, after being communicated with the NM server, further includes:
The network equipment obtains the configuration information of the network equipment from the NM server.
6. a kind of network equipment, which is characterized in that the network equipment includes: transceiver module, obtains module and processing module;
The transceiver module, for when the network equipment connecting network, obtaining the Neighbor Discovery Protocol that neighbor device is sent
ND message carries the information of NM server in the ND message, and the information of the NM server includes Internet protocol IP
Address or uniform resource identifier URL or domain name;
The acquisition module, for obtaining the letter of the NM server according to the received ND message of the transceiver module
Breath;
The processing module, the information of the NM server for being obtained using the acquisition module, is taken with the network management
Business device is communicated;
The network equipment further include: address generation module, for automatically generating the address unique home address ULA;The processing
Module is specifically used for sending to the neighbor device using the address ULA as source address, the network management using the transceiver module
The IP address of server is the first data message of purpose address;The neighbor device will be described in first data message
After the address ULA is substituted for the globally unique address location GUA, replaced first data message is sent to the network manager service
Device;The IP address of the NM server is obtained from the information of the NM server;And for utilizing the transmitting-receiving mould
Block receives the second data message that the NM server is sent by the neighbor device, and second data message is with institute
State that NM server IP address is source address, the source address of first data message is the data message of purpose address.
7. the network equipment according to claim 6, which is characterized in that the ND message uses the expansion of Neighbor Discovery agreement
Option is opened up to carry the IP address of the NM server or URL or domain name.
8. the network equipment according to claim 6 or 7, which is characterized in that the ND message includes that router advertisement RA disappears
Breath, route requests RS message, neighbor request NS message or neighbor advertisement NA message;
The transceiver module specifically includes the router advertisement RA message for receiving the neighbor device broadcast, the RA message
The middle information for carrying the NM server;
Alternatively, for sending route requests RS message to the neighbor device, and the RA returned for receiving the neighbor device
Message carries the information of the NM server in the RA message;
Alternatively, sending neighbor request NS message to the neighbor device, and the NA message that the neighbor device returns is received, it is described
The information of the NM server is carried in NA message.
9. the network equipment according to claim 6, which is characterized in that the network equipment further include: address acquisition module,
For obtaining the address GUA of the network equipment to the neighbor device;
The processing module is specifically used for sending by the neighbor device to the NM server using the transceiver module
Using the address GUA as source address, the data message that the NM server IP address is purpose address;
And for receiving the datagram that the NM server is sent by the neighbor device using the transceiver module
Text, the data message that the NM server is sent is using the NM server IP address as source address, the network equipment
The address GUA be purpose address data message.
10. according to the described in any item network equipments of claim 6-9, which is characterized in that the processing module is described in the utilization
The information of NM server after being communicated with the NM server, is also used to obtain from the NM server described
The configuration information of the network equipment.
11. a kind of network equipment, which is characterized in that the network equipment includes:
Processor;
Memory;
Communication interface, the communication interface with other devices for interacting;
The application program of storage in the memory, the application program include that can be used for making the processor and described device
Execute the instruction of following procedure:
When the network equipment connecting network, the Neighbor Discovery Protocol ND message that neighbor device is sent, the ND message are obtained
The middle information for carrying NM server, the information of the NM server includes internet protocol address or uniform resource identifier
Accord with URL or domain name;
According to the ND message, the information of the NM server is obtained;
Using the information of the NM server, communicated with the NM server;
The application program can also be used in the instruction for executing following procedure: automatically generate the address unique home address ULA;It is described to answer
It can be used for that the processor and described device is made to execute the information using the NM server with program, taken with the network management
Business device is communicated, the specific instruction for executing following procedure: Xiang Suoshu neighbor device send using the address ULA as source address,
The IP address of the NM server is the first data message of purpose address;The neighbor device is by first data message
In the address ULA be substituted for the globally unique address location GUA after, send replaced first data message to described
NM server;The IP address of the NM server is obtained from the information of the NM server;It is set by the neighbours
Standby the second data message for receiving the NM server and sending, second data message is with the NM server IP
Location is source address, the source address of first data message is the data message of purpose address.
12. the network equipment according to claim 11, which is characterized in that the ND message is using Neighbor Discovery agreement
Scaling option carries the IP address or URL or domain name of the NM server.
13. the network equipment according to claim 11 or 12, which is characterized in that the ND message includes router advertisement RA
Message, route requests RS message, neighbor request NS message or neighbor advertisement NA message;
The application program can be used for obtaining the Neighbor Discovery Protocol ND message of neighbor device transmission, carry net in the ND message
The information of pipe server, the specific instruction for executing following procedure:
The router advertisement RA message of the neighbor device broadcast is received, the letter of the NM server is carried in the RA message
Breath;
Alternatively, sending route requests RS message to the neighbor device, then the RA message that the neighbor device returns is received, it is described
The information of the NM server is carried in RA message;
Alternatively, sending neighbor request NS message to the neighbor device, then the NA message that the neighbor device returns is received, it is described
The information of the NM server is carried in NA message.
14. the network equipment according to claim 11, which is characterized in that the application program can also be used to execute following mistake
The instruction of journey:
The address GUA of the network equipment is obtained to the neighbor device;
The application program can be used for that the processor and described device is made to execute the information using the NM server, with
The NM server is communicated, the specific instruction for executing following procedure:
It is sent to the NM server using the address GUA as source address, the NM server by the neighbor device
IP address is the data message of purpose address;
The data message that the NM server is sent, the data that the NM server is sent are received by the neighbor device
Message is using the NM server IP address as the address GUA of source address, the network equipment be purpose address datagram
Text.
15. the described in any item network equipments of 1-14 according to claim 1, which is characterized in that the application program is for holding
The row information using the NM server, after being communicated with the NM server, it may also be used for execute following
The instruction of process:
The configuration information of the network equipment is obtained from the NM server.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/085446 WO2015054882A1 (en) | 2013-10-18 | 2013-10-18 | Network device communication method and network device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105359458A CN105359458A (en) | 2016-02-24 |
CN105359458B true CN105359458B (en) | 2019-05-10 |
Family
ID=52827583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201380077923.0A Active CN105359458B (en) | 2013-10-18 | 2013-10-18 | Network device communications method and the network equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105359458B (en) |
WO (1) | WO2015054882A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11973649B2 (en) | 2020-06-30 | 2024-04-30 | Huawei Technologies Co., Ltd. | Network configuration method, apparatus, and computer-readable storage medium |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107196959A (en) * | 2017-06-21 | 2017-09-22 | 珠海信达九州科技有限公司 | A kind of method that instant communication client finds server address |
CN110601984B (en) * | 2019-09-20 | 2020-10-23 | 清华大学 | Method and device for acquiring local service and generating link local address |
CN112714202B (en) * | 2019-10-24 | 2023-10-24 | 华为技术有限公司 | Equipment configuration method and device |
CN111352748B (en) * | 2020-02-26 | 2023-12-05 | 北京思特奇信息技术股份有限公司 | Interface calling method and device, electronic equipment and storage medium |
CN113872783B (en) * | 2020-06-30 | 2023-08-22 | 华为技术有限公司 | Method, apparatus and computer readable storage medium for network configuration |
CN111756585A (en) * | 2020-07-15 | 2020-10-09 | 迈普通信技术股份有限公司 | Network node equipment configuration method, router and server |
CN114584512A (en) * | 2020-11-18 | 2022-06-03 | 中国移动通信有限公司研究院 | Address reporting method, information processing method, recording method and equipment |
CN112398696A (en) * | 2020-11-30 | 2021-02-23 | 迈普通信技术股份有限公司 | System and method for realizing zero configuration opening |
CN113794584B (en) * | 2021-08-15 | 2023-04-14 | 新华三信息安全技术有限公司 | Network management method and equipment |
CN115242465A (en) * | 2022-07-01 | 2022-10-25 | 电子科技大学成都学院 | Network equipment configuration method and network equipment |
CN115550316B (en) * | 2022-09-06 | 2024-04-16 | 上海浪潮云计算服务有限公司 | Containerized network system, containerized IPV6 communication method and device, medium and equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101617507A (en) * | 2007-02-19 | 2009-12-30 | 日本电气株式会社 | The automatic configuration system and the method and the gateway apparatus that is used for wireless sensor network that are used for wireless sensor network |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8543673B2 (en) * | 2009-04-21 | 2013-09-24 | Alcatel Lucent | Rapid provisioning of network devices using automated configuration |
CN102271050B (en) * | 2010-06-04 | 2014-04-30 | 华为技术有限公司 | Method and system for automatically configuring network equipment in Internet protocol version 6 (IPv6) network, and network equipment |
-
2013
- 2013-10-18 WO PCT/CN2013/085446 patent/WO2015054882A1/en active Application Filing
- 2013-10-18 CN CN201380077923.0A patent/CN105359458B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101617507A (en) * | 2007-02-19 | 2009-12-30 | 日本电气株式会社 | The automatic configuration system and the method and the gateway apparatus that is used for wireless sensor network that are used for wireless sensor network |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11973649B2 (en) | 2020-06-30 | 2024-04-30 | Huawei Technologies Co., Ltd. | Network configuration method, apparatus, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105359458A (en) | 2016-02-24 |
WO2015054882A1 (en) | 2015-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105359458B (en) | Network device communications method and the network equipment | |
US11128493B2 (en) | Method for implementing residential gateway service function, and server | |
US11171836B2 (en) | Providing virtual networking functionality for managed computer networks | |
AU2015256010B2 (en) | Migration of applications between an enterprise-based network and a multi-tenant network | |
Blanchet | Migrating to IPv6: a practical guide to implementing IPv6 in mobile and fixed networks | |
CN104040997B (en) | The specific base station of supplier automatically configures framework | |
EP2866389A1 (en) | Method and device thereof for automatically finding and configuring virtual network | |
CN103858387A (en) | Architecture for virtualized home IP service delivery | |
CN103999427A (en) | Providing virtualized visibility through routers | |
Kalwar et al. | A survey of transition mechanisms from IPv4 to IPv6—Simulated test bed and analysis | |
WO2005083959A1 (en) | Network access router, network access method, program, and recording medium | |
CN103262502B (en) | The DNS proxy service of multi-core platform | |
EP2675117A1 (en) | Routing method and device for host in multi-homing site | |
CN103581353B (en) | The method of automatic configuration and system of gateway device | |
Cooper et al. | IPv6: business applications and implementation concerns | |
Dooley et al. | IPv6 Deployment and Management | |
Ruiz et al. | Implementation and testing of IPv6 transition mechanisms | |
CN105516121B (en) | The method and system that AC is communicated with AP in WLAN | |
CN104378301B (en) | A kind of data processing method and data processing equipment | |
Hamarsheh | Deploying IPv4-only connectivity across local IPv6-only access networks | |
Horley | Practical IPv6 for Windows Administrators | |
CN106034166A (en) | Method and apparatus for configuring network parameters of local area network, | |
Hagen | Planning for IPv6: IPv6 Is Now. Join the New Internet. | |
Hamarsheh et al. | Exploiting local IPv4-only access networks to deliver IPv6 service to end-users | |
CN115550316B (en) | Containerized network system, containerized IPV6 communication method and device, medium and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211224 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Patentee after: Super fusion Digital Technology Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |