CN109194503B - Method for distributing site IP by using OSPF message - Google Patents

Method for distributing site IP by using OSPF message Download PDF

Info

Publication number
CN109194503B
CN109194503B CN201810909422.9A CN201810909422A CN109194503B CN 109194503 B CN109194503 B CN 109194503B CN 201810909422 A CN201810909422 A CN 201810909422A CN 109194503 B CN109194503 B CN 109194503B
Authority
CN
China
Prior art keywords
site
domain
configuration
backbone
backbone domain
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
Application number
CN201810909422.9A
Other languages
Chinese (zh)
Other versions
CN109194503A (en
Inventor
张宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201810909422.9A priority Critical patent/CN109194503B/en
Publication of CN109194503A publication Critical patent/CN109194503A/en
Application granted granted Critical
Publication of CN109194503B publication Critical patent/CN109194503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention discloses a method for distributing site IP by using an OSPF message, which comprises the following steps: the non-backbone domain site which is not correctly configured with IP and domain value information is accessed; controlling the neighbor state of the access port to be in an un-established state; the accessed non-backbone domain site organizes a configuration request message and forwards the configuration request message to the backbone domain site through a neighbor site with correct IP and domain value information configuration; and the backbone domain site receives the configuration request message, organizes a configuration response message carrying the IP and the domain value information, and forwards the configuration response message to the corresponding non-backbone domain site through the neighbor site with correct IP and domain value information configuration. The invention adds the configuration request message and the configuration response message on the basis of the Hello protocol in the OSPF, and automatically allocates the IP and the domain value to the accessed non-backbone domain site which is not configured with the correct IP and the domain value through the backbone domain site under the condition that the backbone domain site is planned and built, thereby ensuring that the process of accessing the non-backbone domain network site to the network is simple and standard.

Description

Method for distributing site IP by using OSPF message
Technical Field
The invention relates to the field of network element management of transmission equipment, in particular to a method for distributing site IP by using an OSPF message.
Background
OSPF (Open Shortest Path First) is a dynamic routing protocol, which can quickly detect the change of the operating network topology (for example, the failure of partial network nodes or interfaces thereof), and has the characteristics of rapid routing convergence, hierarchical network structure, efficient and reliable performance and the like, thereby meeting the requirements of the modern communication network networking and becoming the optimal selection of the modern communication network networking.
The network topology is divided according to the connection mode among the sites in each domain of OSPF in the optical communication network, and more broadcast topology (a plurality of sites access the Ethernet to communicate with each other through devices such as HUB or Ethernet switch) and PPP (Point to Point Protocol) topology (two sites form serial link connection through optical fiber and the like) are adopted; for each site in a certain domain, after the OSPF protocol is started, manually configuring IP (Internet protocol) and region value information of each relevant port according to network planning, and initializing protocol internal parameters; and then, carrying out neighbor discovery protocol (Hello protocol) to form connection between neighbors, carrying out link state information interaction, and simultaneously, carrying out network topology periodic detection on each site and generating a routing table by a shortest path tree to realize routing selection.
At present, a communication network basically plans a network topology, performs a series of manual configuration data on each site in field, and then performs debugging until the standard of network supervision and identification is reached; the key point of network topology planning is to arrange a backbone network (a high-speed network connecting multiple areas or regions), the access networks (all devices between the backbone network and a user terminal) below the backbone network are generally continuously expanded along with the increase of traffic, for a network adopting an OSPF hierarchical topology, the number of sites of the final access network is generally tens of times that of the backbone network, and on average, each node of the backbone network (which is configured with 0 domain and a local domain) can bring tens of sites in the non-backbone domain (which refers to the local domain) network, wherein the 0 domain refers to the backbone area, which is needed when the network size is large.
In the network construction, the number of the backbone network construction sites in the early stage is small, and a large number of high-quality guarantee personnel need to be invested, so that the backbone network sites can be normally constructed; when the non-backbone network sites are laid in the later period, due to the fact that the number of the sites is large, the workload is increased by dozens of times, relatively more high-quality guarantee personnel are needed, and basically, it is difficult to guarantee that enough high-quality guarantee personnel are invested to guarantee the laying of the non-backbone network sites.
In summary, under the condition of planning and building the network backbone domain site, a method for simplifying and standardizing the process of laying the non-backbone domain network site is urgently needed, and the purpose of being monitored, identified and monitored by network supervision is achieved.
Disclosure of Invention
The invention aims to solve the technical problem that under the condition of planning and building a network backbone domain site, after a non-backbone domain network site is accessed, an IP (Internet protocol) can be automatically allocated and a correct region value can be configured immediately, so that the network management system can identify and monitor the site, and the workload of newly opening or expanding the site is reduced to the greatest extent.
In order to solve the above technical problem, the technical solution adopted by the present invention is to provide a method for allocating a site IP using an OSPF message, comprising the following steps:
accessing non-backbone domain sites without correct IP and domain value information configuration;
controlling the neighbor states of all ports accessed to the network to be in an un-established connection state;
the accessed non-backbone domain site organizes a configuration request message on the basis of a Hello protocol in OSPF (open shortest path first), and forwards the configuration request message to the backbone domain site configured with correct IP and domain value information through a neighbor site configured with correct IP and domain value information;
the backbone domain site configured with correct IP and domain value information receives the configuration request message, organizes the configuration response message carrying the IP and domain value information on the basis of the Hello protocol in OSPF, and forwards the configuration response message to the corresponding non-backbone domain site through the neighbor site configured with correct IP and domain value information.
In the method, if the neighbor site of the non-backbone domain site without correct IP and domain value information configuration is a backbone domain site, the backbone domain site directly configures the correct IP and domain value information for the backbone domain site according to the configuration request message; the configuration request message is not forwarded through the adjacent non-backbone domain site any more.
In the method, after a station device in an optical communication network is started, whether the device is a backbone domain station is judged by detecting whether the device has correct manually configured IP and domain value information;
if the correct manual configuration IP and domain value information exist, the working process of the backbone domain site is entered; otherwise, entering the non-backbone domain site workflow.
In the method, a non-backbone domain site configured with correct IP and domain value information receives a configuration request message sent by an adjacent non-backbone domain site and forwards the message; the non-backbone domain site without correct IP and domain value information configuration receives a configuration request message sent by an adjacent non-backbone site, discards the message, controls the neighbor states of all ports accessed to the network to be in a state without establishing connection, organizes the configuration request message, forwards the configuration request message to the backbone domain site configured with correct IP and domain value information through the neighbor site configured with correct IP and domain value information, and configures the correct IP and domain value information for the backbone domain site;
a non-backbone domain site configured with correct IP and domain value information receives a configuration response message sent by a backbone domain site and forwards the message;
if the non-backbone domain site without correct IP and domain value information configuration receives the configuration response message sent by the backbone domain site, judging whether the MAC address in the content of the configuration response message is matched with the MAC address, if so, taking the IP and domain value information in the configuration response message into effect, storing the configuration information and completing configuration automatic allocation; otherwise, the message is discarded.
In the method, the neighbor station configured with correct IP and domain value information forwards the received configuration request message to the corresponding backbone domain station according to the backbone domain station information in the configuration of the neighbor station.
In the method, a non-backbone site with correct IP and domain value configuration establishes a neighbor relation with an adjacent site by sending a Hello protocol message; wherein:
when a non-backbone site which is not configured correctly receives a Hello protocol message sent by an adjacent site, a neighbor relation is not established with the adjacent site, but a configuration request message is continuously sent to the adjacent site;
and when the non-backbone site with correct configuration receives the Hello protocol message sent by the adjacent site, establishing a neighbor relation with the adjacent site.
In the above method, the backbone domain site workflow specifically includes the following steps:
step S111, taking effect of manual configuration IP and domain value configuration carried by a backbone domain site, entering a normal working mode of interaction of a Hello protocol message in OSPF, and reading IP information available for distribution;
step S112, backbone domain site receives a configuration request message sent by non-backbone domain site, detects the configuration request message, judges whether the site of the MAC address participates in configuration distribution, if yes, executes step S113; otherwise, go to step S114; the configuration request message comprises MAC address information of a request node;
step S113, taking out the distributed IP and domain value organization filling configuration response message corresponding to the MAC to respond to the non-backbone domain site requesting configuration; then, step S116 is executed, in which configuring the response message includes: configuring an IP (Internet protocol), a domain value and an MAC (media access control) address of a requested non-backbone domain site, and configuring the IP, the domain value and the MAC address of the backbone domain site;
step S114, the backbone domain site detects whether an unallocated idle IP exists, and if so, step S115 is executed; otherwise, reporting the IP exhaustion event to a network manager for alarming;
step S115, allocating IP and domain values, recording the allocated IP, the domain values and MAC address information of corresponding request sites, and organizing, filling and configuring response messages according to the allocated IP and the domain values;
step S116, the configuration response message is forwarded to the requested non-backbone domain site through the neighbor site with correct IP and domain value information configuration.
In the above method, the non-backbone domain site workflow specifically includes the following steps:
step S121, the non-backbone domain site detects whether an automatically allocated IP and a domain value exist, and if not, step S122 is executed; otherwise, automatically taking the existing configuration into effect, and forwarding the received configuration request message to the backbone domain site and forwarding the configuration response message to the neighbor site;
step S122, the non-backbone domain site keeps sending the configuration request message, and does not establish the neighbor when receiving the Hello protocol message of the neighbor site;
step S123, the non-backbone domain site receives the configuration request message of the neighbor site, discards the message, and controls the neighbor state of all ports accessed to the network to be in the state of not establishing connection;
step S124, the non-backbone domain site receives the configuration response message sent by the backbone domain site, judges whether the MAC address of the request site in the configuration response message is matched with the MAC address, and if so, executes step S125; otherwise, discarding the message;
step S125, the configuration response message is validated to distribute the IP and the domain value information for the requested site, and the configuration information is saved.
In the method, a non-backbone domain site which has an automatically allocated IP and a domain value is accessed to automatically take effect of the existing configuration, and a received configuration request message is forwarded to the backbone domain site and a configuration response message is forwarded to a neighbor site, which specifically comprises the following steps:
step S1211, automatically taking into effect the existing IP and domain value configuration;
step S1212, the non-backbone domain site receives the Hello protocol message of the neighbor site, responds normally, and establishes a neighbor relation with the neighbor site;
step S1213, the non-backbone domain site receives the configuration request message sent by the neighbor site, and forwards the configuration request message to the backbone domain site according to the backbone domain site information stored in the configuration information;
step S1214, the non-backbone domain site receives the configuration response message sent by the backbone domain site, and forwards the configuration response message to the neighboring site.
In the method, a non-backbone domain site or other sites which are not used for forwarding configuration response messages receive the IP and the domain value distributed by the backbone domain site, and generate corresponding configuration parameters after restarting, and normally communicate OSPF messages with other sites and calculate and release routing information, so that routing reachability and IP intercommunication among the sites are realized;
the backbone domain site distributes IP and domain values for non-backbone domain sites or other sites of non-forwarding configuration response messages, reports the distributed IP and domain values and corresponding configuration request sites to the network manager, and the network manager adds new sites according to the reported information and communicates with the new sites through the IP, so that the network manager can monitor the new sites.
Compared with the prior art, the invention designs and adds the same type of configuration request message and configuration response message on the basis of the Hello protocol in the OSPF, keeps the neighbor state of the port accessed to the network of the non-backbone domain sites which are not correctly configured as the non-established state, and the non-backbone domain sites interact with the configuration message between the backbone domain sites which are correctly configured through the connected sites, and completes the automatic and correct allocation of the IP and the domain value of the non-backbone domain sites which are not correctly configured through the backbone domain sites, thereby achieving the effects of normally accessing the network and being monitored and identified by the network supervision, and further leading the non-backbone domain network sites to have simple and standard network access flow and saving a large amount of labor cost problems.
Drawings
FIG. 1 is a flow chart of a method for allocating site IP using an OSPF message according to the present invention;
FIG. 2 is a flow chart of the operation of the backbone domain site in the present invention;
FIG. 3 is a flow chart of the non-backbone domain site operation in the present invention;
fig. 4 is a flowchart of a sixth embodiment of the present invention.
Detailed Description
The invention provides a method for distributing site IP by using OSPF message, which can realize that the non-backbone domain network site is accessed into the network and is monitored, identified and monitored by the network supervision under the condition of planning and building the network backbone domain site, and has simple and standard process and cost saving. The invention is described in detail below with reference to the figures and examples of the specification.
As shown in fig. 1, a method for allocating a site IP using an OSPF message provided by the present invention includes the following steps:
step S10, accessing non-backbone domain sites without correct IP and domain value information configuration;
step S20, controlling the neighbor state of all ports accessed to the network to be in the state of not establishing connection;
step S30, the accessed non-backbone domain site organizes the configuration request message on the basis of the Hello protocol in OSPF, and sends it to its neighbor site; and forwarding the backbone domain site with correct IP and domain value information configuration to the neighbor site with correct IP and domain value information configuration; if the neighbor site of the non-backbone domain site without the correct IP and domain value information configuration is the backbone domain site with the correct IP and domain value information configuration, the adjacent backbone domain site with the correct IP and domain value information configuration is directly used for configuring the correct IP and domain value information; in the invention, the neighbor site with correct IP and domain value information configuration forwards the received configuration request message to the corresponding backbone domain site according to the backbone domain site information in the configuration of the neighbor site;
step S40, backbone domain site with correct IP and domain value information configuration receives configuration request message, organizes configuration response message carrying IP and domain value information on the basis of Hello protocol in OSPF, and forwards to corresponding non-backbone domain site through neighbor site with correct IP and domain value information configuration, so as to realize automatic correct configuration of non-backbone domain site without correct IP and domain value information configuration, thereby connecting to network and upper pipe normally.
The invention designs and adds a new type of configuration request message and configuration response message (the message refers to the complete data information to be sent) on the basis of the Hello protocol in OSPF, after the non-backbone domain site equipment is started, for the non-backbone domain sites which are not configured correctly, the neighbor states of all ports of the access network are kept as the non-connection state (no information is exchanged with other routes), the non-backbone domain sites interact with the configuration message between the backbone domain sites which are configured correctly through the connection sites, and the IP and domain values of the non-backbone domain sites which are not configured correctly are automatically and correctly distributed through the backbone domain sites, so as to achieve the effects of normally connecting into the network and being monitored and identified and monitored by network supervision, thereby the flow of the non-backbone domain network sites accessing into the network is simple and standard, and a great amount of manpower is saved, the problem of cost is solved.
The first embodiment is described in detail.
In this embodiment, after a station device in an optical communication network is started, whether the device is a backbone domain station is determined by detecting whether the device has correct manually configured IP and domain value information (including backbone domain and local domain information);
if the correct manual configuration IP and domain value information exist, the working process of the backbone domain site is entered; otherwise, the equipment is considered as a non-backbone domain site, and a non-backbone domain site working flow is entered.
The second embodiment is described in detail.
In this embodiment, a non-backbone domain site with correct IP and domain value information configuration receives a configuration request message sent by an adjacent non-backbone domain site, and forwards the message; if the non-backbone domain site without correct IP and domain value information configuration receives the configuration request message sent by the adjacent non-backbone site, discarding the message, simultaneously controlling the neighbor states of all ports accessed to the network to be in the state without establishing connection, organizing the configuration request message, and forwarding the message to the backbone domain site with correct IP and domain value information configuration through the neighbor site with correct IP and domain value information configuration to configure the correct IP and domain value information for the backbone domain site.
In this embodiment, a non-backbone domain site with correct IP and domain value information configuration receives a configuration response message sent by a backbone domain site, and forwards the message;
if the non-backbone domain site which has no correct IP and domain value information configuration receives a configuration response message sent by the backbone domain site, judging whether the MAC address of the configuration response message is matched with the MAC address, if so, taking effect to configure the IP and domain value information in the response message, storing the configuration information and completing configuration automatic allocation; otherwise, the message is discarded.
The third embodiment.
In this embodiment, an access non-backbone site with correct IP and domain value configuration establishes a neighbor relation with an adjacent site by sending a slave Hello protocol packet; wherein:
when a non-backbone site which is not configured correctly receives a Hello protocol message sent by an adjacent site, a neighbor relation is not established with the adjacent site, but a configuration request message is continuously sent to the adjacent site;
and when the non-backbone site with correct configuration receives the Hello protocol message sent by the adjacent site, establishing a neighbor relation with the adjacent site.
The fourth embodiment.
In this embodiment, as shown in fig. 2, the backbone domain site workflow specifically includes the following steps:
step S111, taking effect of the manual configuration IP and the domain value configuration carried by the backbone domain site, entering a Hello protocol message interactive normal working mode in OSPF, and reading the assignable IP, namely, counting the assignable IP pool of the backbone domain site (for example, if the local domain 10.18.0.0 is configured, the assignable IP design range is 10.18.1.1 to 10.18.1.100);
step S112, the backbone domain site receives a configuration request message sent by a non-backbone domain site, where the configuration request message includes: requesting the MAC address information of the node, detecting a configuration request message, judging whether the site of the MAC address participates in configuration distribution or not, and if so, executing the step S113; otherwise, go to step S114;
step S113, taking out the distributed IP and domain value organization filling configuration response message corresponding to the MAC to respond to the non-backbone domain site requesting configuration; wherein configuring the response message comprises: configuring an IP (Internet protocol), a domain value and an MAC (media access control) address of a requested non-backbone domain site, and configuring the IP, the domain value and the MAC address of the backbone domain site; then, step S116 is executed;
step S114, the backbone domain site detects whether an unallocated idle IP exists, and if so, step S115 is executed; otherwise, reporting the IP exhaustion event to a network manager for alarming;
step S115, IP and domain values are distributed, a configuration response message is organized, the requested non-backbone domain site is responded, and the distributed IP, the domain values and MAC address information corresponding to the requested site are recorded;
step S116, the configuration response message is forwarded to the requested non-backbone domain site through the neighbor site with correct IP and domain value information configuration.
The fifth embodiment.
In this embodiment, as shown in fig. 3, the non-backbone domain site workflow specifically includes the following steps:
step S121, the non-backbone domain site detects whether an automatically allocated IP and a domain value exist, and if not, step S122 is executed; otherwise, automatically taking the existing configuration into effect, and forwarding the received configuration request message to the backbone domain site and forwarding the configuration response message to the neighbor site;
step S122, the incorrectly configured non-backbone domain site keeps sending a Hello protocol message, and does not establish a neighbor when receiving the Hello protocol message of a neighbor site;
step S123, the incorrectly configured non-backbone domain site receives the configuration request message of the neighbor site, discards the message, controls the neighbor states of all ports accessed to the network to be in the state of not establishing connection, organizes the configuration request message at regular time, and sends the configuration request message to the neighbor site;
step S124, the non-backbone domain site which is not configured correctly receives a configuration response message sent by the backbone domain site, judges whether the MAC address of the request site in the configuration response message is matched with the MAC address, and executes step S125 if the MAC address is matched with the MAC address; otherwise, discarding the message;
step S125, the configuration response message is validated to distribute the IP and the domain value information for the requested site, and the configuration information is saved in time.
The sixth embodiment.
In this embodiment, as shown in fig. 4, a non-backbone domain site that already has an automatically allocated IP and a domain value accesses, automatically takes effect of an existing configuration, and forwards a received configuration request message to a backbone domain site and forwards a configuration response message to a neighbor site, which specifically includes the following steps:
step S1211, automatically taking into effect the existing IP and domain value configuration;
step S1212, the non-backbone domain site receives the Hello protocol message of the neighbor site, responds normally, and establishes a neighbor relation with the neighbor site;
step S1213, the non-backbone domain site receives the configuration request message sent by the neighbor site, and forwards the configuration request message to the backbone domain site according to the backbone domain site information stored in the configuration information;
step S1214, the non-backbone domain site receives the configuration response message sent by the backbone domain site, and forwards the configuration response message to the neighboring site.
The seventh embodiment.
In this embodiment, the non-backbone domain site or other sites that do not forward the configuration reply message connects to the IP and domain values allocated by the backbone domain site and generates these configuration parameters after restarting, so that various OSPF messages can be communicated with other sites normally, and routing information can be calculated and issued, and finally, the inter-site routing reachability and IP intercommunication among sites in the whole network can be achieved
The present invention is not limited to the above-mentioned preferred embodiments, and any structural changes made under the teaching of the present invention shall fall within the scope of the present invention, which is similar or similar to the technical solutions of the present invention.

Claims (10)

1. A method for distributing site IP by using OSPF message is characterized by comprising the following steps:
a non-backbone domain site without correct IP and domain value information configuration is accessed into a network;
controlling the neighbor states of all ports accessed to the network to be in an un-established connection state;
the accessed non-backbone domain site organizes a configuration request message on the basis of a Hello protocol in OSPF (open shortest path first), and forwards the configuration request message to the backbone domain site configured with correct IP and domain value information through a neighbor site configured with correct IP and domain value information;
the backbone domain site configured with correct IP and domain value information receives the configuration request message, organizes the configuration response message carrying the IP and domain value information on the basis of a Hello protocol in OSPF, and forwards the configuration response message to the corresponding non-backbone domain site through the neighbor site configured with correct IP and domain value information;
when a site device in an optical communication network is started, whether the device is a backbone domain site is judged by detecting whether the device has correct manually configured IP and domain value information including backbone domain and local domain information.
2. The method according to claim 1, wherein if the neighboring station of the non-backbone domain station without correct IP and threshold information configuration is a backbone domain station, the backbone domain station configures the correct IP and threshold information for the neighboring station directly according to the configuration request message; the configuration request message is not forwarded through the adjacent non-backbone domain site any more.
3. The method of claim 1, wherein after a station device in the optical communication network is started, determining whether the device is a backbone domain station by detecting whether the device has correct manually configured IP and domain value information;
if the correct manual configuration IP and domain value information exist, the working process of the backbone domain site is entered; otherwise, entering the non-backbone domain site workflow.
4. The method according to claim 1, wherein the non-backbone domain site configured with correct IP and domain value information receives the configuration request message sent by the adjacent non-backbone domain site, and forwards the message; the non-backbone domain site without correct IP and domain value information configuration receives a configuration request message sent by an adjacent non-backbone site, discards the message, controls the neighbor states of all ports accessed to the network to be in a state without establishing connection, organizes the configuration request message, forwards the configuration request message to the backbone domain site configured with correct IP and domain value information through the neighbor site configured with correct IP and domain value information, and configures the correct IP and domain value information for the backbone domain site;
a non-backbone domain site configured with correct IP and domain value information receives a configuration response message sent by a backbone domain site and forwards the message;
if the non-backbone domain site without correct IP and domain value information configuration receives the configuration response message sent by the backbone domain site, judging whether the MAC address in the content of the configuration response message is matched with the MAC address, if so, taking the IP and domain value information in the configuration response message into effect, storing the configuration information and completing configuration automatic allocation; otherwise, the message is discarded.
5. The method according to claim 4, wherein the neighboring station configured with the correct IP and domain value information forwards the received configuration request packet to the corresponding backbone domain station according to the backbone domain station information in its own configuration.
6. The method of claim 5, wherein a non-backbone site with correct IP and domain value configuration establishes a neighbor relation with neighboring sites by sending Hello protocol messages; wherein:
when a non-backbone site which is not configured correctly receives a Hello protocol message sent by an adjacent site, a neighbor relation is not established with the adjacent site, but a configuration request message is continuously sent to the adjacent site;
and when the non-backbone site with correct configuration receives the Hello protocol message sent by the adjacent site, establishing a neighbor relation with the adjacent site.
7. The method according to claim 6, wherein the backbone domain site workflow specifically comprises the steps of:
step S111, taking effect of manual configuration IP and domain value configuration carried by a backbone domain site, entering a normal working mode of interaction of a Hello protocol message in OSPF, and reading IP information available for distribution;
step S112, backbone domain site receives a configuration request message sent by non-backbone domain site, detects the configuration request message, judges whether the site of the MAC address participates in configuration distribution, if yes, executes step S113; otherwise, go to step S114; the configuration request message comprises MAC address information of a request node;
step S113, taking out the distributed IP and domain value organization filling configuration response message corresponding to the MAC to respond to the non-backbone domain site requesting configuration; then, step S116 is executed, in which configuring the response message includes: configuring an IP (Internet protocol), a domain value and an MAC (media access control) address of a requested non-backbone domain site, and configuring the IP, the domain value and the MAC address of the backbone domain site;
step S114, the backbone domain site detects whether an unallocated idle IP exists, and if so, step S115 is executed; otherwise, reporting the IP exhaustion event to a network manager for alarming;
step S115, IP and domain values are distributed, a configuration response message is organized, the requested non-backbone domain site is responded, and the distributed IP, the domain values and MAC address information corresponding to the requested site are recorded;
step S116, the configuration response message is forwarded to the requested non-backbone domain site through the neighbor site with correct IP and domain value information configuration.
8. The method according to claim 6, wherein the non-backbone domain site workflow specifically includes the steps of:
step S121, the non-backbone domain site detects whether an automatically allocated IP and a domain value exist, and if not, step S122 is executed; otherwise, automatically taking the existing configuration into effect, and forwarding the received configuration request message to the backbone domain site and forwarding the configuration response message to the neighbor site;
step S122, the non-backbone domain site keeps sending the configuration request message, and does not establish the neighbor when receiving the Hello protocol message of the neighbor site;
step S123, the non-backbone domain site receives the configuration request message of the neighbor site, discards the message, and controls the neighbor state of all ports accessed to the network to be in the state of not establishing connection;
step S124, the non-backbone domain site receives the configuration response message sent by the backbone domain site, judges whether the MAC address of the request site in the configuration response message is matched with the MAC address, and if so, executes step S125; otherwise, discarding the message;
step S125, the configuration response message is validated to distribute the IP and the domain value information for the requested site, and the configuration information is saved.
9. The method of claim 8, wherein a non-backbone domain site that already has an automatically assigned IP and a threshold accesses, automatically validates an existing configuration, forwards a received configuration request message to a backbone domain site, and forwards a configuration response message to a neighbor site, comprising the steps of:
step S1211, automatically taking into effect the existing IP and domain value configuration;
step S1212, the non-backbone domain site receives the Hello protocol message of the neighbor site, responds normally, and establishes a neighbor relation with the neighbor site;
step S1213, the non-backbone domain site receives the configuration request message sent by the neighbor site, and forwards the configuration request message to the backbone domain site according to the backbone domain site information stored in the configuration information;
step S1214, the non-backbone domain site receives the configuration response message sent by the backbone domain site, and forwards the configuration response message to the neighboring site.
10. The method of claim 1, wherein the non-backbone domain site or other sites that are not forwarding configuration reply messages take effect by using IP reset assigned by the backbone domain site and then are identified and monitored by the network administrator.
CN201810909422.9A 2018-08-10 2018-08-10 Method for distributing site IP by using OSPF message Active CN109194503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810909422.9A CN109194503B (en) 2018-08-10 2018-08-10 Method for distributing site IP by using OSPF message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810909422.9A CN109194503B (en) 2018-08-10 2018-08-10 Method for distributing site IP by using OSPF message

Publications (2)

Publication Number Publication Date
CN109194503A CN109194503A (en) 2019-01-11
CN109194503B true CN109194503B (en) 2021-04-20

Family

ID=64921009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810909422.9A Active CN109194503B (en) 2018-08-10 2018-08-10 Method for distributing site IP by using OSPF message

Country Status (1)

Country Link
CN (1) CN109194503B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283911A (en) * 1999-08-06 2001-02-14 国际商业机器公司 Priority interface of open shortest path
CN101009702A (en) * 2006-12-31 2007-08-01 中国科学院计算技术研究所 A LSA passive collection method under the OSPF full adjacent connection condition
CN101072127A (en) * 2007-06-07 2007-11-14 烽火通信科技股份有限公司 Method for realizing dual node loop DCC route protection and dual node loop device
CN101662479A (en) * 2009-09-18 2010-03-03 中山爱科数字科技有限公司 Response concurrent request based on IPV6 protocol and method for broadcasting data carrying multi-address production line
MX2010005734A (en) * 2009-05-27 2010-11-26 Nec Corp Server, transmission system and gre tunnel encapsulation transferring method thereof.
CN102857422A (en) * 2012-09-13 2013-01-02 烽火通信科技股份有限公司 System and method for realizing OLT voice double upper-link protection based on OSPF routing protocol
CN107196798A (en) * 2017-05-26 2017-09-22 烽火通信科技股份有限公司 Network apparatus management system and its method in telecommunication management network
CN107659534A (en) * 2016-07-25 2018-02-02 李志刚 A kind of ospf protocol vulnerability analysis and detecting system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283911A (en) * 1999-08-06 2001-02-14 国际商业机器公司 Priority interface of open shortest path
CN101009702A (en) * 2006-12-31 2007-08-01 中国科学院计算技术研究所 A LSA passive collection method under the OSPF full adjacent connection condition
CN101072127A (en) * 2007-06-07 2007-11-14 烽火通信科技股份有限公司 Method for realizing dual node loop DCC route protection and dual node loop device
MX2010005734A (en) * 2009-05-27 2010-11-26 Nec Corp Server, transmission system and gre tunnel encapsulation transferring method thereof.
CN101662479A (en) * 2009-09-18 2010-03-03 中山爱科数字科技有限公司 Response concurrent request based on IPV6 protocol and method for broadcasting data carrying multi-address production line
CN102857422A (en) * 2012-09-13 2013-01-02 烽火通信科技股份有限公司 System and method for realizing OLT voice double upper-link protection based on OSPF routing protocol
CN107659534A (en) * 2016-07-25 2018-02-02 李志刚 A kind of ospf protocol vulnerability analysis and detecting system
CN107196798A (en) * 2017-05-26 2017-09-22 烽火通信科技股份有限公司 Network apparatus management system and its method in telecommunication management network

Also Published As

Publication number Publication date
CN109194503A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN101652959B (en) Arrangement and method relating to network management
US8199655B2 (en) Optimized layer-2 network switching systems and methods
CN107438016B (en) Network management method, device, system and storage medium
US7734175B2 (en) Network configuring apparatus
JP4610621B2 (en) Network system
US7724644B2 (en) Node redundancy method, interface card, interface device, node device, and packet ring network system
US7765283B2 (en) Network provisioning in a distributed network management architecture
US5793975A (en) Ethernet topology change notification and nearest neighbor determination
CN109067592B (en) Intelligent management and control device and method for intelligent power distribution and utilization
EP3384640B1 (en) Communication among network controllers
CN112073920B (en) Networking method of wireless grid network node and network node equipment
US9350651B2 (en) Packet forwarding device and wireless communication system
JP6193473B2 (en) Computer-implemented method, computer program product and computer
CN101453413A (en) Method and apparatus for automatic topology discovery and resource management in PBB network
CN108055156B (en) AP management method and device
WO2009059505A1 (en) A remote initialization method and system
US20050083964A1 (en) Method and system for the centralized collection of link state routing protocol data
CN101478489B (en) Method and system for controlling default routing notification by IS-IS protocol
CN116827801B (en) Network topology construction method, device, computer equipment and readable storage medium
CN109194503B (en) Method for distributing site IP by using OSPF message
CN112953785B (en) Link detection method and system for communication equipment of multi-core processor
WO2006022074A1 (en) Communication network, communication apparatus, communication control method and communication control program
CN107248935B (en) System and method for network management to discover and monitor network elements
CN108718267A (en) Data message transmission method and device in a kind of RPR rings
JP5630611B2 (en) Network monitoring system and method for registering monitored device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant