CN106230729B - A kind of method and apparatus of network appliance address notice - Google Patents
A kind of method and apparatus of network appliance address notice Download PDFInfo
- Publication number
- CN106230729B CN106230729B CN201610753501.6A CN201610753501A CN106230729B CN 106230729 B CN106230729 B CN 106230729B CN 201610753501 A CN201610753501 A CN 201610753501A CN 106230729 B CN106230729 B CN 106230729B
- Authority
- CN
- China
- Prior art keywords
- address
- interface
- message
- network equipment
- corresponding priority
- 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
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- 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
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/253—Routing or path finding in a switch fabric using establishment or release of connections between ports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Small-Scale Networks (AREA)
Abstract
This application provides a kind of method and apparatus of network appliance address notice, applied to first network equipment, the first network equipment is for acting on behalf of the interface IP address that second network equipment notices second network equipment, the described method includes: sending the first via for carrying the interface IP address of second network equipment by notice message RA message, so that second network equipment is after receiving the first RA message, when determining that the interface IP address is effective interface IP address, the transmission of Xiang Suoshu first network equipment is used to indicate the effective confirmation message of the interface IP address;If not receiving the confirmation message in predetermined period, then set minimum for the corresponding priority of interface IP address, and send the 2nd RA message, the 2nd RA message is unavailable for noticing the interface IP address, to solve when the variation of the interface IP address of the proxied network equipment or failure, host can not perceive interface IP address variation or failure, thus the problem of can not normally E-Packeting.
Description
Technical field
This application involves mechanicss of communication, more particularly to a kind of method and apparatus of network appliance address notice.
Background technique
IRDP (ICMP Router Discovery Protocol, router discovery protocol) is ICMP
One extension of (InternetControl Message Protocol, Internet Control Message Protocol), it makes each
A router periodically transmits an IRDP notification packet from each multicast interface, notices interface IP address.Host is received
To after the IRDP notification packet, the address of the neighbouring network equipment is found, so as to dynamically find default web equipment
Interface IP address.
Referring to Fig. 1, it illustrates the network environment schematic diagram of IRDP in the prior art, the network environment include: host,
Network equipment A and network equipment B, wherein network equipment A supports IRDP function, and network equipment B does not support IRDP function, therefore
Need network equipment A that the interface IP address of network equipment B is sent to user as agent router.
Based on above-mentioned network environment, existing IRDP sends advertising of route message (Router Advertisement, abbreviation
RA process) are as follows: firstly, the interface IP address of the proxied network equipment B of network equipment A manual configuration.Secondly, by the net of agency
In the interface IP address filling RA message of network equipment B, then carries out broadcast or multicast is sent, host receives the RA of broadcast or multicast
Message, and the interface IP address that RA message is carried, are added to local routing, according to existing default route selection mode, host
An address can be selected as default route from the interface IP address that RA message carries.If the one of Selection of chiller network equipment B
A interface IP address is as default route, and when the interface IP address of network equipment B changes or is invalid, network equipment A is can not to feel
Know, because without notice the host interface IP address variation so that host still using the interface IP address of network equipment B as
Default route can not normally E-Packet so as to cause host.
Summary of the invention
This application provides a kind of method and apparatus of network appliance address notice, to solve at present when proxied network
When the interface IP address of equipment changes or fails, host can not perceive interface IP address variation or failure, to can not normally forward
The problem of message.
The embodiment of the present invention provides a kind of method of network appliance address notice, is applied to first network equipment, and described the
One network equipment is for acting on behalf of the interface IP address that second network equipment notices second network equipment, which comprises
The first via for carrying the interface IP address of second network equipment is sent by notice message RA message, so that described
Second network equipment is after receiving the first RA message, when determining that the interface IP address is effective interface IP address, to institute
It states the transmission of first network equipment and is used to indicate the effective confirmation message of the interface IP address;
If not receiving the confirmation message in predetermined period, set the corresponding priority of the interface IP address to most
It is low, and the 2nd RA message is sent, the 2nd RA message is unavailable for noticing the interface IP address.
The embodiment of the present invention also provides a kind of device of network appliance address notice, is applied to first network equipment, described
For acting on behalf of the interface IP address that second network equipment notices second network equipment, described device includes: first network equipment
Sending module, for sending the first RA message for carrying the interface IP address of second network equipment, so that institute
Second network equipment is stated after receiving the first RA message, when determining that the interface IP address is effective interface IP address, to
The first network equipment transmission is used to indicate the effective confirmation message of the interface IP address;
Interface IP address module, if for not receiving the confirmation message in predetermined period, by the interface IP address pair
The priority answered is set as minimum, and sends the 2nd RA message, and the 2nd RA message can not for noticing the interface IP address
With.
Compared with prior art, the application includes following advantages:
The application first network equipment sends the of the interface IP address for carrying second network equipment to second network equipment
One routing notice message RA message, makes second network equipment after receiving the first RA message, determines that interface IP address is effective
When interface IP address, it is used to indicate the effective confirmation message of interface IP address to the transmission of first network equipment, if first network equipment exists
It is not received in predetermined period and is used to indicate the effective confirmation message of interface IP address, then the interface IP address of second network equipment may be sent out
Changing or failure set minimum for the corresponding priority of interface IP address at this time, and such first network equipment is in next week
Phase send the first RA message carry the corresponding priority of the interface IP address be it is minimum, host receives the first network equipment
Then the interface IP address will not be selected as default route after the first RA message that the next period sends, while to host transmission the
Two RA messages, the 2nd RA message is unavailable for notification interface address, and host is enable to perceive second network equipment in time
The interface IP address is invalid, it is not necessary to can just know that the interface IP address is invalid by the first RA message until the next period, host exists
It selects other interface IP addresses as default route after receiving the 2nd RA message, normally E-Packets.
Certainly, any product for implementing the application is not necessarily required to reach all the above advantage simultaneously.
Detailed description of the invention
Fig. 1 is the network environment schematic diagram of IRDP in the prior art;
Fig. 2 is a kind of flow chart of network appliance address notifying method of the embodiment of the present application;
Fig. 3 is a kind of structural block diagram of network appliance address means for signalling of the embodiment of the present application;
Fig. 4 is a kind of structural block diagram of network appliance address means for signalling of another embodiment of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
The network environment schematic diagram of IRDP in the prior art is shown referring to Fig. 1, is specifically included: host (host A and master
Machine B), inner exchanging network, network equipment A (Router A), network equipment B (Router B) and outer net (outer net 1 and outer net
2), wherein network equipment A supports IRDP function, and network equipment B does not support IRDP function, it is therefore desirable to which network equipment A is as generation
Reason notices network equipment B interface address.
The it is proposed network equipment A of present inventor's innovation sends the first RA for carrying the interface IP address of network equipment B
Message, when so that network equipment B after receiving the first RA message, determining that the interface IP address is valid interface, to network equipment A
Transmission is used to indicate the effective confirmation message of the interface IP address, if not receiving confirmation message in predetermined period, by interface
The corresponding priority in location is set as minimum, and sends the 2nd RA message, and the 2nd RA message is for notifying that the interface IP address can not
With to keep host whether effective with the address of sensing network equipment B.
It should be noted that the network equipment can be interchanger or router, or other equipment, to this this Shen
It please be not particularly limited.
Based on above-mentioned networking schematic diagram, referring to Fig. 2, with showing a kind of network equipment of the one of embodiment of the application
The flow chart of location notifying method.The method is applied to first network equipment, and the first network equipment is for acting on behalf of the second net
Network equipment notices the interface IP address of second network equipment, and in the present embodiment, this method specifically includes:
Step 201: the first RA message for carrying the interface IP address of second network equipment is sent, so that described second
The network equipment is after receiving the first RA message, when determining that the interface IP address is effective interface IP address, Xiang Suoshu the
The transmission of one network equipment is used to indicate the effective confirmation message of the interface IP address.
Wherein, the first RA message is the first RA message for enabling the interface of IRDP by first network equipment and sending, should
First RA message is used to notice the interface IP address of second network equipment, the priority of the interface IP address and ageing time etc., and
And the first RA message be that periodic broadcast or multicast are sent.
Step 202: the effective confirmation message of the interface IP address is used to indicate if not receiving in predetermined period, by institute
It states the corresponding priority of interface IP address and is set as minimum, and send the 2nd RA message, the 2nd RA message is described for noticing
Interface IP address is unavailable.
Wherein, the confirmation message carries interface IP address and whether interface IP address effectively identifies.
Further, one or more interface IP addresses that second network equipment may be carried in the first RA message, when first
When RA message carries one or more interface IP addresses of second network equipment, does not receive and be used to indicate interface IP address and effectively confirm
Message includes following situations:
Situation one: when the first RA message carry second network equipment one or more interface IP address whole DOWN or
Failure, second network equipment can not receive the first RA message, then first network equipment will not receive in predetermined period
Confirmation message, then it is assumed that one or more interface IP addresses of second network equipment carried in the first RA message are all invalid.
Two: the second network equipment of situation receives the first RA message, judges the one or more carried in the first RA message
Whether interface IP address is effective, then to first network device replied confirmation message, carries the one or more in the confirmation message
In interface IP address and the one or more interface IP address each interface IP address it is corresponding whether effective mark.If first network
Equipment receives confirmation message in predetermined period, then according to the corresponding mark of interface IP address and interface IP address carried in confirmation message
Know, confirms which interface IP address is effective in the one or more interface IP address, which interface IP address is invalid.If first network equipment
Do not receive confirmation message in predetermined period, then it is assumed that the one or more of second network equipment carried in the first RA message connects
Port address is all invalid.
It should be noted that in situation two although first network equipment receives confirmation message, if but in the confirmation message
Some interface IP address it is corresponding mark instruction be that the interface IP address is invalid, then being equivalent to first network equipment does not receive finger
Show the effective confirmation message of the interface IP address.
Wherein, it includes but is not limited to interface IP address is invalid and interface IP address changes etc. that interface IP address is unavailable.2nd RA
Message is not periodicity sending, is only used to indicate the effective confirmation message of interface IP address when not receiving in predetermined period
When, it can just send the 2nd RA message.
In one example, can to notice in the following manner the interface IP address unavailable:
First way: when carrying the interface IP address and the corresponding aging of the interface IP address in the 2nd RA message
Between, the ageing time is 0, after such host receives the 2nd RA message, it is found that the ageing time in the 2nd RA message is 0, then
The interface IP address is deleted, the interface IP address just will not be reused.
The second way: the 2nd RA message carries the interface IP address and the corresponding priority of the interface IP address,
Due to setting minimum for the corresponding priority of the interface IP address, therefore the 2nd RA before sending the 2nd RA message
The corresponding priority of the interface IP address carried in message is as minimum.After host receives the 2nd RA message in this way, it is found that this connects
The corresponding priority of port address is minimum, then will not reuse the interface IP address.
In one example, it is used to indicate the effective confirmation message of the interface IP address if not receiving in predetermined period,
It then sets minimum for the corresponding priority of the interface IP address, and sends the 2nd RA message, specifically include:
The effective confirmation message of the interface IP address and the interface IP address are used to indicate if not receiving in predetermined period
Corresponding priority be not it is minimum, then set minimum for the corresponding priority of the interface IP address, and send the 2nd RA
Message.It can prevent the repetition of the 2nd RA message from sending in this way.
For example, the interface IP address 1 and interface IP address 2 of second network equipment that first network equipment is locally stored are highest
Priority.First network equipment has sent the first RA message for carrying the interface IP address 1 and interface IP address 2 within the period 1.Second
The network equipment determines that interface IP address 1 is invalid, interface IP address 2 effectively, is then set to first network after receiving the first RA message
Standby to reply confirmation message, which carries interface IP address 1 and the invalid mark of interface IP address 1, interface IP address 2 and interface
Location 2 effectively identifies.First network equipment is set as minimum after receiving the confirmation message, by the priority of interface IP address 1,
The priority of interface IP address 2 is constant, and sends the 2nd RA message, invalid to notice interface IP address 1 in time.Within the period 2, interface
Address 1 is still invalid, then first network equipment and second network equipment can repeat the movement in the above-mentioned period 1, sends at this time
The 2nd RA message there is no any effect because it is invalid to have noticed interface IP address within the period 1.So in this example, only
It (is not received in predetermined period meeting above-mentioned two condition and is used to indicate the effective confirmation message of the interface IP address and described
The corresponding priority of interface IP address be not it is minimum, the interface IP address is effective before priority is not minimum explanation) when, just will
The corresponding priority of the interface IP address is set as minimum, and sends the 2nd RA message, can prevent the 2nd RA message in this way
It repeats to send, reduces the message amount in network.
If in addition, this method can also include: received in predetermined period be used to indicate the interface IP address it is effective and
The corresponding priority of the interface IP address be it is minimum, then improve the corresponding priority of the interface IP address.
The corresponding priority of interface IP address be it is minimum, it may be considered that before the period interface IP address be it is invalid,
And after receiving and being used to indicate the effective confirmation message of the interface IP address, then the priority of the interface IP address can be improved,
In this way first network equipment the next period send the first RA message when, the first RA message carry the interface IP address it is excellent
First grade is not just minimum.Host, can be using the interface IP address as the alternative of default route after receiving the first RA message.
The present embodiment, first network equipment send the interface IP address for carrying second network equipment to second network equipment
The first via makes second network equipment after receiving the first RA message by notice message RA message, determines that interface IP address is effective
Interface IP address when, to first network equipment transmission be used to indicate the effective confirmation message of interface IP address, if first network equipment
It is not received in predetermined period and is used to indicate the effective confirmation message of interface IP address, then the interface IP address of second network equipment may
It changes or fails, set minimum for the corresponding priority of interface IP address at this time, such first network equipment is next
Period send the first RA message carry the corresponding priority of the interface IP address be it is minimum, host receives the first network and sets
It is standby then the interface IP address to be selected as default route after the first RA message that the next period sends, while being sent to host
2nd RA message, the 2nd RA message is unavailable for notification interface address, and host is enable to perceive second network equipment in time
The interface IP address it is invalid, it is not necessary to can just know that the interface IP address is invalid by the first RA message until the next period, host
It selects other interface IP addresses as default route after receiving the 2nd RA message, normally E-Packets.
It should be noted that for the aforementioned method embodiment, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence, because according to
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that,
The embodiments described in the specification are all preferred embodiments, necessary to related movement not necessarily the application.
Based on the description of the above method embodiment, present invention also provides a kind of, and the LAN gateway based on IRDP detects dress
Set embodiment, content described in Lai Shixian above method embodiment.
Referring to Fig. 3, it illustrates a kind of structure charts of the device of the notice of network appliance address described in the embodiment of the present application, answer
For first network equipment, the first network equipment notices connecing for second network equipment for acting on behalf of second network equipment
Port address, described device specifically include:
Sending module 301, for sending the first RA message for carrying the interface IP address of second network equipment, so that
Second network equipment is after receiving the first RA message, when determining that the interface IP address is effective interface IP address,
The effective confirmation message of the interface IP address is used to indicate to first network equipment transmission.
Interface IP address module 302, if for not receiving the confirmation message in predetermined period, by the interface IP address
Corresponding priority is set as minimum, and sends the 2nd RA message, and the 2nd RA message is for noticing the interface IP address not
It can use.
The present embodiment, first network equipment send the interface IP address for carrying second network equipment to second network equipment
The first via makes second network equipment after receiving the first RA message by notice message RA message, determines that interface IP address is effective
Interface IP address when, to first network equipment transmission be used to indicate the effective confirmation message of interface IP address, if first network equipment
It is not received in predetermined period and is used to indicate the effective confirmation message of interface IP address, then the interface IP address of second network equipment may
It changes or fails, set minimum for the corresponding priority of interface IP address at this time, such first network equipment is next
Period send the first RA message carry the corresponding priority of the interface IP address be it is minimum, host receives the first network and sets
It is standby then the interface IP address to be selected as default route after the first RA message that the next period sends, while being sent to host
2nd RA message, the 2nd RA message is unavailable for notification interface address, and host is enable to perceive second network equipment in time
The interface IP address it is invalid, it is not necessary to can just know that the interface IP address is invalid by the first RA message until the next period, host
It selects other interface IP addresses as default route after receiving the 2nd RA message, normally E-Packets.
Referring to Fig. 4, it illustrates a kind of devices of the notice of network appliance address described in the one of embodiment of the application
Structure chart, is applied to first network equipment, and the first network equipment notices second net for acting on behalf of second network equipment
The interface IP address of network equipment, described device specifically include:
Sending module 401, for sending the first RA message for carrying the interface IP address of second network equipment, so that
Second network equipment is after receiving the first RA message, when determining that the interface IP address is effective interface IP address,
The effective confirmation message of the interface IP address is used to indicate to first network equipment transmission.
Interface IP address module 402, if for not receiving the confirmation message in predetermined period, by the interface IP address
Corresponding priority is set as minimum, and sends the 2nd RA message, and the 2nd RA message is for noticing the interface IP address not
It can use.
Wherein, the interface IP address and the corresponding ageing time of the interface IP address, institute are carried in the 2nd RA message
Stating ageing time is 0.
Preferably, the 2nd RA message carries the interface IP address and the corresponding priority of the interface IP address.
Preferably, if the interface IP address module 402 be specifically used for do not received in predetermined period the confirmation message and
The corresponding priority of the interface IP address be not it is minimum, then set minimum for the corresponding priority of the interface IP address, concurrently
Send the 2nd RA message.
Priority block 403, if for receiving the confirmation message in predetermined period and the interface IP address is corresponding
Priority be it is minimum, then improve the corresponding priority of the interface IP address.
Wherein, the confirmation message carries the interface IP address and whether the interface IP address effectively identifies.
The present embodiment, firstly, first network equipment sends the interface for carrying second network equipment to second network equipment
The first via of address is made second network equipment after receiving the first RA message, is determined interface IP address by notice message RA message
When for effective interface IP address, it is used to indicate the effective confirmation message of interface IP address to the transmission of first network equipment, if the first net
Network equipment does not receive in predetermined period is used to indicate the effective confirmation message of interface IP address, then the interface of second network equipment
Location may change or fail, and set minimum for the corresponding priority of interface IP address at this time, such first network equipment
The next period send the first RA message carry the corresponding priority of the interface IP address be it is minimum, host receive this first
The network equipment then will not select the interface IP address as default route after the first RA message that the next period sends, while to master
Machine sends the 2nd RA message, and the 2nd RA message is unavailable for notification interface address, and host is enable to perceive the second net in time
The interface IP address of network equipment is invalid, it is not necessary to until the next period by the first RA message can just know the interface IP address without
Effect, host select other interface IP addresses as default route after receiving the 2nd RA message, normally E-Packet.For above-mentioned
For Installation practice, since it is basically similar to the method embodiment, so being described relatively simple, related place is referring to method
The part of embodiment illustrates.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that: any combination application of above-mentioned each embodiment is all feasible, therefore
Any combination between above-mentioned each embodiment is all the embodiment of the application, but this specification exists as space is limited,
This is not just detailed one by one.
The application can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, service
Device computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, top set
Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, including any of the above system or equipment
Distributed computing environment etc..
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
In this application, " component ", " device ", " system " etc. refer to the related entities for being applied to computer, such as hardware, firmly
Combination, software or software in execution of part and software etc..In detail, for example, component can with but be not limited to run on place
Manage process, processor, object, executable component, execution thread, program and/or the computer of device.In addition, running on server
On application program or shell script, server can be component.One or more components can be in the process and/or line of execution
Cheng Zhong, and component can be localized and/or be distributed between two or multiple stage computers on one computer, and can be by
Various computer-readable medium operations.Component can also be according to the signal with one or more data packets, for example, coming from one
It is handed over component interaction another in local system, distributed system, and/or network in internet by signal and other systems
The signal of mutual data is communicated by locally and/or remotely process.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise", not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including described want
There is also other identical elements in the process, method, article or equipment of element.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the application range.
Above to a kind of method and apparatus of network appliance address notice provided herein, it is described in detail,
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above embodiments is only used
The present processes and its core concept are understood in help;At the same time, for those skilled in the art, according to the application's
Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as
Limitation to the application.
Claims (12)
1. a kind of method of network appliance address notice, is applied to first network equipment, the first network equipment is for acting on behalf of
Second network equipment notices the interface IP address of second network equipment, which is characterized in that the described method includes:
The first via for carrying the interface IP address of second network equipment is sent by notice message RA message, so that described second
The network equipment judges whether the interface IP address carried in the first RA message is effective after receiving the first RA message,
When determining that the interface IP address is effective interface IP address, the transmission of Xiang Suoshu first network equipment is used to indicate the interface IP address
Effective confirmation message;
If not receiving the confirmation message in predetermined period, set minimum for the corresponding priority of the interface IP address,
And the 2nd RA message is sent, the 2nd RA message is unavailable for noticing the interface IP address.
2. the method according to claim 1, wherein carrying the interface IP address and institute in the 2nd RA message
The corresponding ageing time of interface IP address is stated, the ageing time is 0.
3. the method according to claim 1, wherein
The 2nd RA message carries the interface IP address and the corresponding priority of the interface IP address.
4. if the method according to claim 1, wherein described do not receive the confirmation report in predetermined period
Text then sets minimum for the corresponding priority of the interface IP address, and sends the 2nd RA message, specifically includes:
If do not receive the confirmation message in predetermined period and the corresponding priority of the interface IP address be not it is minimum, by institute
It states the corresponding priority of interface IP address and is set as minimum, and send the 2nd RA message.
5. the method according to claim 1, wherein the method also includes:
If received in predetermined period the confirmation message and the corresponding priority of the interface IP address be it is minimum, improve described in
The corresponding priority of interface IP address.
6. the method according to claim 1, wherein the confirmation message carries the interface IP address and described connects
Whether port address effectively identifies.
7. a kind of device of network appliance address notice, is applied to first network equipment, the first network equipment is for acting on behalf of
Second network equipment notices the interface IP address of second network equipment, which is characterized in that described device includes:
Sending module, for sending the first RA message for carrying the interface IP address of second network equipment, so that described
Two network equipments judge whether the interface IP address carried in the first RA message has after receiving the first RA message
Effect, when determining that the interface IP address is effective interface IP address, the transmission of Xiang Suoshu first network equipment is used to indicate the interface
The effective confirmation message in address;
Interface IP address module, if for not receiving the confirmation message in predetermined period, the interface IP address is corresponding
Priority is set as minimum, and sends the 2nd RA message, and the 2nd RA message is unavailable for noticing the interface IP address.
8. device according to claim 7, which is characterized in that carry the interface IP address and institute in the 2nd RA message
The corresponding ageing time of interface IP address is stated, the ageing time is 0.
9. device according to claim 7, which is characterized in that the 2nd RA message carries the interface IP address and described
The corresponding priority of interface IP address.
10. device according to claim 7, which is characterized in that the interface IP address module includes:
Setup module, if for not receiving the confirmation message and the corresponding priority of the interface IP address in predetermined period not
It to be minimum, then sets minimum for the corresponding priority of the interface IP address, and sends the 2nd RA message.
11. device according to claim 7, which is characterized in that described device further include:
Priority block, if for receiving the confirmation message in predetermined period and the corresponding priority of the interface IP address is
It is minimum, then improve the corresponding priority of the interface IP address.
12. device according to claim 7, which is characterized in that the confirmation message carries the interface IP address and described
Whether interface IP address effectively identifies.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610753501.6A CN106230729B (en) | 2016-08-29 | 2016-08-29 | A kind of method and apparatus of network appliance address notice |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610753501.6A CN106230729B (en) | 2016-08-29 | 2016-08-29 | A kind of method and apparatus of network appliance address notice |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106230729A CN106230729A (en) | 2016-12-14 |
CN106230729B true CN106230729B (en) | 2019-09-17 |
Family
ID=58071210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610753501.6A Active CN106230729B (en) | 2016-08-29 | 2016-08-29 | A kind of method and apparatus of network appliance address notice |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106230729B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114513453A (en) * | 2020-10-26 | 2022-05-17 | 华为技术有限公司 | Fault processing method and device |
CN112367257B (en) * | 2020-10-30 | 2022-10-21 | 新华三技术有限公司 | Route notification method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6195706B1 (en) * | 1998-07-07 | 2001-02-27 | Emc Corporation | Methods and apparatus for determining, verifying, and rediscovering network IP addresses |
CN1552144A (en) * | 2001-09-06 | 2004-12-01 | Router discovery protocol on a mobile internet protocol based network | |
CN105591920A (en) * | 2015-09-15 | 2016-05-18 | 杭州华三通信技术有限公司 | IRDP-based RA message processing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8750200B2 (en) * | 2007-09-24 | 2014-06-10 | Cisco Technology, Inc. | Methods and apparatus for home agent discovery in mobile IP using link state advertisements |
-
2016
- 2016-08-29 CN CN201610753501.6A patent/CN106230729B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6195706B1 (en) * | 1998-07-07 | 2001-02-27 | Emc Corporation | Methods and apparatus for determining, verifying, and rediscovering network IP addresses |
CN1552144A (en) * | 2001-09-06 | 2004-12-01 | Router discovery protocol on a mobile internet protocol based network | |
CN105591920A (en) * | 2015-09-15 | 2016-05-18 | 杭州华三通信技术有限公司 | IRDP-based RA message processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106230729A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110971698A (en) | Data forwarding system, method and device | |
CN102281333A (en) | Method and system for avoiding IP address conflict, DHCP server and DHCP client | |
CN110771097B (en) | Connectivity monitoring for data tunneling between network device and application server | |
CN103825777A (en) | DMZ server switching method and device | |
CN104301140A (en) | Service request responding method, device and system | |
KR20150046041A (en) | Method and apparatus for configuring dhcp client | |
CN102170484B (en) | A detection method and a detection device of IP address conflict | |
CN106230729B (en) | A kind of method and apparatus of network appliance address notice | |
CN105099763A (en) | Method and device for reminding lost connection of equipment | |
CN111338858B (en) | Disaster recovery method and device for double machine rooms | |
CN106790745A (en) | A kind of method and system based on IP conflicts and Real-time Alarm in ARP protocol real-time monitoring subnet | |
CN107547674A (en) | Address distribution method and device | |
CN108683561B (en) | Site state detection method and device | |
JP6074550B2 (en) | Web page push method and apparatus, and terminal | |
CN104935614B (en) | Data transmission method and device | |
JP2009194787A (en) | Gateway apparatus | |
CN104301423B (en) | A kind of method, apparatus and system sending heartbeat message | |
CN113992685B (en) | Service controller determining method, system and device | |
CN104580547A (en) | IP (internet protocol) configuration method and device for Linux operation system | |
CN105681480A (en) | Point-to-point protocol (PPP) dial on demand method and equipment | |
CN114615248A (en) | Remote operation control method and device, electronic equipment and storage medium | |
KR101870390B1 (en) | Flow control method and apparatus | |
CN107968845A (en) | Detection method, device and the DHCP relay of Dynamic Host Configuration Protocol server state | |
JP5945367B2 (en) | Method and system for communicating between web pages | |
JP2006211347A (en) | Radio communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou science and Technology Development Zone, Zhejiang high tech park, No. six and road, No. 310 Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |