CN110445714A - A kind of modified area communication method based on OSPF virtual link - Google Patents

A kind of modified area communication method based on OSPF virtual link Download PDF

Info

Publication number
CN110445714A
CN110445714A CN201910740738.4A CN201910740738A CN110445714A CN 110445714 A CN110445714 A CN 110445714A CN 201910740738 A CN201910740738 A CN 201910740738A CN 110445714 A CN110445714 A CN 110445714A
Authority
CN
China
Prior art keywords
close
backbone area
router
area
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910740738.4A
Other languages
Chinese (zh)
Other versions
CN110445714B (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.)
Xuzhou Hengjia Electronic Technology Co Ltd
Original Assignee
Xuzhou Hengjia Electronic Technology 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 Xuzhou Hengjia Electronic Technology Co Ltd filed Critical Xuzhou Hengjia Electronic Technology Co Ltd
Priority to CN201910740738.4A priority Critical patent/CN110445714B/en
Publication of CN110445714A publication Critical patent/CN110445714A/en
Application granted granted Critical
Publication of CN110445714B publication Critical patent/CN110445714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The modified area communication method based on OSPF virtual link that the invention discloses a kind of, the present invention relates to OSPF communication protocol techniques.The present invention includes the first core router of backbone area, the framework that constitutes of border router close to the second core router of backbone area, non-close backbone area.The distance priority grade of backbone area is obtained by the area router of non-backbone area first, the region in region and non-close backbone area close to backbone area sends A-Hello message negotiation affiliation, then negotiate to finish, the area information of region using area is packaged data message, the core router of sending zone carries out the encapsulation of attached label, and the core router of final area is forwarded the packet to extraneous region and communicated.More existing virtual link method, the present invention may be implemented more to simplify the non-backbone area communication of quick OSPF.

Description

A kind of modified area communication method based on OSPF virtual link
Technical field
The present invention relates to OSPF communication protocol techniques, specifically a kind of modified area communication side based on OSPF virtual link Method.
Background technique
Currently, when network equipment router, interchanger carry out network layer communication, network layer mainly is carried out using ospf protocol Communication between each equipment, and ospf protocol is by dividing backbone area (Area0) and other regions (Area1) etc., with area Domain is that basic unit is communicated, and ospf protocol provides: the region of all divisions must rely on backbone area (Area0), with bone Dry region (Area0) is communicated as nucleus, and in the operation of actual environment, often except backbone area (Area0) Multiple regions can be divided conveniently to be managed, when the region of division such as other regions (Area2) are non-close on geographical location Backbone area (Area0) is then needed by being non-close backbone area close to the region of backbone area (Area0) such as (Area1) (Area2) virtual communication link is done, the communication between virtual communication link progress region is built.And virtual communication link is often Configure cumbersome, have some limitations, can not simplicity realize the communication between multizone.
Summary of the invention
In order to overcome the disadvantages of the above prior art, it is logical to provide a kind of modified region based on OSPF virtual link by the present invention Letter method, realize the simplicity of the non-backbone area communication of OSPF with it is rapid.
The present invention is realized with following technical solution: a kind of modified area communication method based on OSPF virtual link, The first core router including backbone area, close to the side of the second core router of backbone area, non-close backbone area The framework that boundary's router is constituted, after ospf protocol configures on the router to be finished, backbone area, close to backbone area and non- When carrying out the negotiation between region close to the region three regions of backbone area, the specific implementation steps are as follows:
The distance priority grade of the first core router of backbone area is obtained by the border router of non-backbone area first, The border router of the second core router and non-close backbone area close to backbone area, which sends A- hello packet, to be negotiated Then affiliation is negotiated to finish, border router seals data message using the area information of the second core router Dress, the second core router of sending zone carry out the encapsulation of attached label, and the second last core router is forwarded the packet to outer Battery limit (BL) domain is communicated.
Preferably, non-close backbone area with it is as follows close to the attached negotiation mechanism of backbone area:
(1) backbone area is obtained close to the border router of the second core router of backbone area and non-close backbone area The distance priority grade of first core router in domain, close to the second core router and non-close backbone area of backbone area Border router carries out mutually interregional attached negotiation by sending A-Hello message;
(2) after the border router of non-close backbone area receives A-Hello message, pass through comparison backbone area The distance priority grade of first core router, confirms attached both sides' identity, and the border router of non-close backbone area sends attached Belong to message to the second core router close to backbone area;
(3) it after receiving affiliation message close to the second core router of backbone area, caches message information and sends Ack Confirmation message completes the foundation of subzone to the border router of non-close backbone area.
Preferably, as follows close to backbone area and backbone area communication mechanism:
(1) when the border router of non-close backbone area is communicated with other regions, with close to backbone area The information of second core router is packaged data message, is sent to the border router of non-close backbone area;
(2) message that encapsulation finishes is sent to the second core close to backbone area by the border router of non-close backbone area Message is encapsulated attached label again, is then sent to backbone area by heart router, the second core router close to backbone area First core router;
(3) it when there is data to be sent to the border router of non-close backbone area, is all sent to close to backbone area Second core router checks whether there is attached label after the second core router close to backbone area receives message, The border router of non-close backbone area is sent to if possessing attached label.
Preferred: A-Hello message content is as follows:
Area: ospf area belonging to the router for sending message is represented;
Area0-Pri: the distance priority grade of this message source router and backbone area;
Belong: whether this message of this field references is affiliation message;
Source: this field references sends the source router of this message;
Destion: the destination address of this message of this field references;
Identify: whether this message of this field references has attached label;
Master: the main region in the affiliation of foundation is represented;
Slavery: the subzone in the affiliation of foundation is represented.
Compared with the prior technical scheme, beneficial effects of the present invention:
(1) core design of prior art is utilized, is improved on the basis of original technology;
(2) the regions subordinate communication technology is utilized, virtual link is made to become subzone communication;
(3) technical level of OSPF technology mid span area communication is improved.
Detailed description of the invention
The present invention will be further explained below with reference to the attached drawings.
Fig. 1 is OSPF cross-domain communication flow chart in the present invention;
Fig. 2 is that Area1 and Area2 affiliation establish structure chart in OSPF in the present invention;
Fig. 3 is affiliation Establishing process figure in the present invention;
Fig. 4 is A-Hello message structure figure in the present invention.
Specific embodiment
The present invention includes the first core router of backbone area Area0, the second core road close to backbone area Area1 By the border router three parts of device, non-close backbone area Area2.
As shown in Figure 1, after ospf protocol configures finish on the router, backbone area Area0, close to backbone area When Area1 and the three regions non-close backbone area Area2 carry out the negotiation between region, close to the of backbone area Area1 The border router of two core routers and non-close backbone area Area2 obtain the first core routing of backbone area Area0 After the distance of device, close to the second core router of backbone area Area1 and the border routing of non-close backbone area Area2 Device sends A-Hello message and carries out attached negotiation, and the border router of non-close backbone area Area2 receives A-Hello message Later, the distance priority grade for comparing the first core router of the arrival backbone area Area0 of itself, if close to backbone area The second core router priority of Area1 is big, then non-close backbone area Area2 border router send affiliation message to Close to the second core router of backbone area Area1, the second core router transmission Ack close to backbone area Area1 is true Recognize the foundation that message completes subzone to the border router of non-close backbone area Area2, non-close backbone area Area2 Border router the area information of the second core router close to backbone area Area1 is cached, when non-close bone When the border router of dry region Area2 is communicated with other regions, to be routed close to the second core of backbone area Area1 The identity of device is packaged data message, and encapsulation finishes the second core routing being sent to message close to backbone area Area1 The message of transmission is encapsulated attached label, is sent to backbone area by device, the second core router close to backbone area Area1 The first core router of Area0.When the border router of non-close backbone area Area2 is communicated with other regions, Data message is packaged with the area information of the second core router close to backbone area Area1, is sent to non-close bone The border router of dry region Area2;The message that encapsulation finishes is sent to by the border router of non-close backbone area Area2 Close to the second core router of backbone area Area1, the second core router close to backbone area Area1 seals message again Attached label is filled, the first core router of backbone area Area0 is then sent to;When there is data to be sent to non-close backbone area When the border router of Area2, it is all sent to the second core router close to backbone area Area1, when close to backbone area It after the second core router of Area1 receives message, checks whether that there is attached label, is sent to if possessing attached label non- Close to the border router of backbone area Area2.
As shown in Fig. 2, the border router affiliation of region Area1 and non-close backbone area Area2 establishes structure Workflow graph is specific as follows:
(1) close to the border router of the second core router of backbone area Area1 and non-close backbone area Area2 The distance priority grade for obtaining backbone area, close to the second core router and non-close backbone area of backbone area Area1 The border router of Area2 carries out mutually interregional attached negotiation by sending A-Hello message;
(2) after the border router of non-close backbone area Area2 receives A-Hello message, by comparing itself The distance priority grade of backbone area, confirms attached both sides' identity, and the border router of non-close backbone area Area2 sends attached Belong to message to the second core router close to backbone area Area1;
(3) after receiving affiliation message close to the second core router of backbone area Area1, caching message information is concurrent The foundation for sending Ack confirmation message to complete subzone to the border router of non-close backbone area Area2;
As shown in figure 3, affiliation Establishing process workflow graph is specific as follows:
After ospf area, which configures, completes, close to the second core router and non-close backbone of backbone area Area1 After the border router of region Area2 obtains the distance of backbone area, the second core close to backbone area Area1 is routed The border router of device and non-close backbone area Area2 send A-Hello message and carry out attached negotiation, non-close backbone area After the border router of domain Area2 receives A-Hello message, the distance priority grade of the arrival backbone area of itself is compared.
If the second core router priority close to backbone area Area1 is big, non-close backbone area Area2's Border router sends affiliation message to the second core router close to backbone area Area1, close to backbone area Area1's The border router that second core router sends Ack confirmation message to non-close backbone area Area2 completes subzone It establishes, the border router of non-close backbone area Area2 will be close to the region of the second core router of backbone area Area1 Information is cached, when the border router of non-close backbone area Area2 is communicated with other regions, with close to bone The identity of the second core router of dry region Area1 is packaged data message, and encapsulation, which finishes, is sent to message close to bone The second core router of dry region Area1.
If the border router priority of non-close backbone area Area2 is big, close to the second of backbone area Area1 Core router send affiliation message to non-close backbone area Area2 border router, non-close backbone area Area2's Border router sends Ack confirmation message to the second core router close to backbone area Area1 and completes building for subzone Vertical, the second core router close to backbone area Area1 believes the region of the border router of non-close backbone area Area2 Breath is cached, when the second core router close to backbone area Area1 is communicated with other regions, with non-close bone The identity of the border router of dry region Area2 is packaged data message, and encapsulation, which is finished, is sent to non-close backbone for message The border router of region Area2.
As shown in figure 4, hello packet structure chart is specific as follows:
Area: ospf area belonging to the router for sending message is represented;
Area0-Pri: the distance priority grade of this message source router and backbone area Area0;
Belong: whether this message of this field references is affiliation message;
Source: this field references sends the source router of this message;
Destion: the destination address of this message of this field references;
Identify: whether this message of this field references has attached label;
Master: the main region in the affiliation of foundation is represented;
Slavery: the subzone in the affiliation of foundation is represented.

Claims (4)

1. a kind of modified area communication method based on OSPF virtual link, it is characterised in that: the first core including backbone area Heart router, the framework that constitutes of border router close to the second core router of backbone area, non-close backbone area, tool Body realizes that steps are as follows:
The distance priority grade for obtaining the first core router of backbone area by the border router of non-backbone area first, close to It is attached that second core router of backbone area and the border router of non-close backbone area send A-Hello message negotiation Then relationship negotiates to finish, border router is packaged data message using the area information of the second core router, hair The encapsulation for sending the second core router of region to carry out attached label, the second last core router are forwarded the packet to extraneous region It is communicated.
2. a kind of modified area communication method based on OSPF virtual link according to claim 1, it is characterised in that: non- Close to backbone area with it is as follows close to the attached negotiation mechanism of backbone area:
(1) backbone area is obtained close to the border router of the second core router of backbone area and non-close backbone area The distance priority grade of first core router, close to the second core router of backbone area and the boundary of non-close backbone area Router carries out mutually interregional attached negotiation by sending A-Hello message;
(2) after the border router of non-close backbone area receives A-Hello message, by compare backbone area first The distance priority grade of core router, confirms attached both sides' identity, and the border router of non-close backbone area sends attached report Text is extremely close to the second core router of backbone area;
(3) it after receiving affiliation message close to the second core router of backbone area, caches message information and sends Ack confirmation Message completes the foundation of subzone to the border router of non-close backbone area.
3. a kind of modified area communication method based on OSPF virtual link according to claim 1, it is characterised in that: tight Adjacent backbone area and backbone area communication mechanism are as follows:
(1) when the border router of non-close backbone area is communicated with other regions, with close to the second of backbone area The information of core router is packaged data message, is sent to the border router of non-close backbone area;
(2) message that encapsulation finishes is sent to the second core road close to backbone area by the border router of non-close backbone area By device, message is encapsulated attached label again, is then sent to the first of backbone area by the second core router close to backbone area Core router;
(3) when there are data to be sent to the border router of non-close backbone area, all it is sent to second close to backbone area Core router checks whether there is attached label after the second core router close to backbone area receives message, if Possess the attached border router for marking and being then sent to non-close backbone area.
4. a kind of modified area communication method based on OSPF virtual link according to claim 1, it is characterised in that: A-Hello message content is as follows:
Area: ospf area belonging to the router for sending message is represented;
Area0-Pri: the distance priority grade of this message source router and backbone area;
Belong: whether this message of this field references is affiliation message;
Source: this field references sends the source router of this message;
Destion: the destination address of this message of this field references;
Identify: whether this message of this field references has attached label;
Master: the main region in the affiliation of foundation is represented;
Slavery: the subzone in the affiliation of foundation is represented.
CN201910740738.4A 2019-08-12 2019-08-12 Improved regional communication method based on OSPF virtual link Active CN110445714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910740738.4A CN110445714B (en) 2019-08-12 2019-08-12 Improved regional communication method based on OSPF virtual link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910740738.4A CN110445714B (en) 2019-08-12 2019-08-12 Improved regional communication method based on OSPF virtual link

Publications (2)

Publication Number Publication Date
CN110445714A true CN110445714A (en) 2019-11-12
CN110445714B CN110445714B (en) 2021-08-20

Family

ID=68434742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910740738.4A Active CN110445714B (en) 2019-08-12 2019-08-12 Improved regional communication method based on OSPF virtual link

Country Status (1)

Country Link
CN (1) CN110445714B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242436A (en) * 2022-06-14 2022-10-25 徐州恒佳电子科技有限公司 Malicious traffic detection method and system based on command line characteristics

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7006506B1 (en) * 2000-09-18 2006-02-28 Lucent Technologies Inc. Automatic detection and configuration of OSPF virtual links
CN102318287A (en) * 2011-06-30 2012-01-11 华为技术有限公司 Methods and device to establish router neighbors
CN108737273A (en) * 2018-05-10 2018-11-02 新华三技术有限公司 A kind of message processing method and device
CN109818860A (en) * 2017-11-20 2019-05-28 中兴通讯股份有限公司 Establish method, router and the storage medium of virtual link

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7006506B1 (en) * 2000-09-18 2006-02-28 Lucent Technologies Inc. Automatic detection and configuration of OSPF virtual links
CN102318287A (en) * 2011-06-30 2012-01-11 华为技术有限公司 Methods and device to establish router neighbors
CN109818860A (en) * 2017-11-20 2019-05-28 中兴通讯股份有限公司 Establish method, router and the storage medium of virtual link
CN108737273A (en) * 2018-05-10 2018-11-02 新华三技术有限公司 A kind of message processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242436A (en) * 2022-06-14 2022-10-25 徐州恒佳电子科技有限公司 Malicious traffic detection method and system based on command line characteristics
CN115242436B (en) * 2022-06-14 2023-12-01 徐州恒佳电子科技有限公司 Malicious traffic detection method and system based on command line characteristics

Also Published As

Publication number Publication date
CN110445714B (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN100502335C (en) Communication system, wireless LAN base station controller, and wireless LAN base station device
US8169984B2 (en) Communication system, radio lan base station control device, and radio lan base station device
CN106453027B (en) Gre tunneling implementation method, access device and aggregation gateway
CN104780088B (en) A kind of transmission method and equipment of service message
CN106488508B (en) A kind of data transmission method, apparatus and system
CN106302206B (en) Message forwarding processing method, device and system
US8687612B2 (en) IP communication architecture between the ground and a vehicle
CN107079015A (en) System and method for the addressing based on stream under mobile environment
CN105591873B (en) A kind of virtual machine partition method and device
CN110351747B (en) Method and apparatus for configuring relay node
CN107196813A (en) Method and apparatus for two layers of enterprise network infrastructure of self-organizing
CN112840618A (en) Method and system for network routing
CN102739502B (en) A kind of realize network identity conversion method, Apparatus and system
CN109429232A (en) Network insertion and connection control method, device
WO2021098727A1 (en) Network deployment method and system
CN103731349A (en) Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device
CN106878134A (en) Data center's interoperability methods and device
CN104753791B (en) A kind of data package processing method, device and system
CN103685032B (en) Message forwarding method and network address translation services device
CN108259466A (en) DDoS flows re-injection method, SDN controllers and network system
CN102546349A (en) Message forwarding method and equipment
CN110445714A (en) A kind of modified area communication method based on OSPF virtual link
CN103095508A (en) Business access method and edge device
CN109246016A (en) Message processing method and device across VXLAN
CN101272395B (en) Hierarchical access control method of communication network

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