CN103997457B - Method for realizing OSPF unnumbered broadcast and NBMA interface - Google Patents

Method for realizing OSPF unnumbered broadcast and NBMA interface Download PDF

Info

Publication number
CN103997457B
CN103997457B CN201410244844.0A CN201410244844A CN103997457B CN 103997457 B CN103997457 B CN 103997457B CN 201410244844 A CN201410244844 A CN 201410244844A CN 103997457 B CN103997457 B CN 103997457B
Authority
CN
China
Prior art keywords
network
interface
ospf
numbering
mask
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
CN201410244844.0A
Other languages
Chinese (zh)
Other versions
CN103997457A (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.)
Chongqing Jinmei Communication Co Ltd
Original Assignee
Chongqing Jinmei Communication 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 Chongqing Jinmei Communication Co Ltd filed Critical Chongqing Jinmei Communication Co Ltd
Priority to CN201410244844.0A priority Critical patent/CN103997457B/en
Publication of CN103997457A publication Critical patent/CN103997457A/en
Application granted granted Critical
Publication of CN103997457B publication Critical patent/CN103997457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for realizing an OSPF unnumbered broadcast and NBMA interface, which transmits and synchronizes network and interface attributes along with HE LL O messages in a subnet where the interface is positioned, shields all legality checks required to be in the same network segment in OSPF processing on the unnumbered broadcast and NBMA interface, generates a network identifier which is unique in the whole network after DR and BDR are selected, dynamically generates L SA according to the network identifier, shields the routing output of network nodes and routing nodes in OSPF shortest path tree calculation, and only outputs Stub leaf routing.

Description

A kind of implementation methods of OSPF without numbering broadcast, nbma interface
Technical field
The present invention relates to the applicability technology of OSPF Routing Protocols, more particularly to a kind of OSPF without numbering broadcast, The implementation method of nbma interface.
Background technology
With the lifting of development and the user demand of technology, in broadcast(Broadcast)、NBMA(Non-broadcasting multicast communication) Realize on style interface and communicate without numbering, since existing ospf protocol enables on without numbering broadcast and nbma interface After cannot normally restrain and be restricted.This just needs to seek support in the ospf protocol connects without numbering broadcast and NBMA The solution of mouth type.
The content of the invention
The present invention proposes a kind of implementation methods of OSPF without numbering broadcast, nbma interface, and this method is by network With interface attributes with " the Network Mask " in HELLO messages(Subnet mask)Field subnet where interface is transmitted together Step.Shielding requires the legitimacy inspection in the same network segment in OSPF processing on without numbering broadcast, nbma interface Look into.After the completion of DR, bdr election, the unique network identity of the whole network will be generated after the network attribute of DR and interface attributes combination, then According to this network identity dynamic generation LSA.The route of network node and routing node is shielded in the calculating of OSPF shortest path trees Output, only exports Stub leaves route.Network attribute refers to some network segment for the router for enabling ospf protocol, and the network segment is complete Net is unique, and without size network segment relation.Interface attributes refer to refer to the router that enables ospf protocol without numbering broadcast or Interface sequence number without numbering nbma interface, unique mark interface in this router.By DR source addresses and corresponding mask phase With income value, then with corresponding interface sequence number be added generation the unique network identity of the whole network.
It is described to refer to utilize " the Network Mask " in HELLO messages with HELLO messages(Subnet mask)Field represents Network and interface attributes.“Network Mask”(Subnet mask)Field identification method is as follows:
A) ospf interface is when having numbering, which is ospf interface mask;
B) when ospf interface is without numbering point-to-point, which is 0;
C) when ospf interface is without numbering point-to-point, the highest bit of the field is 0, other 31 bits represent network category The netmask digit of property and the interface identifier of interface attributes.
The transmission synchronously refers to that each OSPF is reported without numbering broadcast or nbma interface by the HELLO of above-mentioned mark Source address of the text using network attribute as the message is transmitted in corresponding interface.After HELLO messages are received, by HELLO messages In " Network Mask "(Subnet mask)Field contents and message source address are taken out, and are stored, updated and safeguarded.
The method according to this network identity dynamic generation LSA is as follows:
1)With the Link id fields of the Router-LSA of the unique network identity filling OSPF of the whole network;
2)With the link-state ID field of the unique network identity filling Network-LSA of the whole network;
3)With the Link Data of the Router-LSA of interface identifier filling OSPF;
4)The Network Mask fields of Network-LSA are set to complete 1.
The method have the benefit that:Provide a kind of realization sides of OSPF without numbering broadcast, nbma interface Method, reduces ospf protocol expense, improves user networking experience.
Embodiment
In existing OSPF technologies, numbering is only supported in broadcast, nbma interface, in no numbering After enabling ospf protocol under broadcast, nbma interface, ospf protocol cannot normally restrain, so that influencing routing table causes to lead to Letter interrupts.
Implementation methods of the OSPF proposed by the present invention without numbering broadcast, nbma interface, by building HELLO messages In " Network Mask "(Subnet mask)Field, transmits respective network in the network where broadcast, nbma interface And interface attributes, the generation for follow-up LSA messages provide information resources, original mechanism of OSPF is recycled to carry out the whole network synchronization Calculate with topology, lead to not normally because being introduced without numbering broadcast, nbma interface so as to solve existing OSPF technologies The problem of convergence.
1)It is unique that a whole network is chosen in the router, and without the size network segment relation network segment, with the network segment in the router Interface IP address as the source address that OSPF messages are sent without numbering broadcast, nbma interface, netmask is converted to mask Digit is filled in " the Network Mask " of HELLO messages(Subnet mask)In field.
2)The interface identifier without numbering broadcast, nbma interface of router is filled in HELLO messages “Network Mask”(Subnet mask)In field.
3)" Network Mask " in HELLO messages(Subnet mask)Field represents network and interface attributes. “Network Mask”(Subnet mask)Field identification method is as follows:
A) ospf interface is when having numbering, which is ospf interface mask;
B) when ospf interface is without numbering point-to-point, which is 0;
C) when ospf interface is without numbering point-to-point, the highest bit of the field is 0, other 31 bits represent network category The netmask digit of property and the interface identifier of interface attributes.
4)Shielding requires the conjunction in the same network segment in OSPF processing on without numbering broadcast, nbma interface Method inspection.
5)After OSPF receives HELLO messages without numbering broadcast or nbma interface, by HELLO messages “Network Mask”(Subnet mask)The source address of field contents and message is taken out and is stored, updated and safeguarded.
6)After the completion of DR, bdr election, switching, the source address of the DR in the database by HELLO packet storages with Corresponding mask phase is with obtaining unique network segment;Unique network segment is added to obtain the unique network mark of the whole network with corresponding interface identifier again Know.
7)The method that new LSA is produced according to the unique network identity of the whole network of generation is as follows:
A) the Link id fields of the Router-LSA of OSPF are filled with the unique network identity of the whole network;
B) with the link-state ID field of the unique network identity filling Network-LSA of the whole network;
C) the Link Data of the Router-LSA of OSPF are filled with interface identifier;
D) the Network Mask fields of Network-LSA are set to complete 1.
8)The route output of network node and routing node is shielded in the calculating of OSPF shortest path trees, only exports Stub leaves Sub-route.
By above step it can be seen that this method has following advantage:Real without numbering broadcast, nbma interface Ospf protocol technology is showed, so as to solve existing OSPF technologies because causing nothing without numbering broadcast, nbma interface introducing The problem of method normally restrains.Due to the introducing of no numbering, ospf protocol expense is greatly reducing, improves user group dictyosome Test.

Claims (4)

  1. A kind of 1. implementation methods of OSPF without numbering broadcast, nbma interface, it is characterised in that:By network attribute and interface Attribute is with " the Network Mask " in HELLO messages(Subnet mask)Field subnet where interface is transmitted synchronization; The validity checking in the same network segment is required without shielding in the OSPF processing on numbering broadcast, nbma interface; After the completion of DR, bdr election, by the network attribute of DR and the unique network identity of interface attributes combination producing the whole network, further according to this Network identity dynamic generation LSA;The route output of network node and routing node is shielded in the calculating of OSPF shortest path trees, only Export Stub leaves route;Network attribute refers to some network segment for the router for enabling ospf protocol, and the network segment is unique in the whole network, And without size network segment relation;The router that interface attributes refer to enable ospf protocol without numbering broadcast or without numbering The interface sequence number of nbma interface;By DR source addresses and corresponding mask phase and income value, then it is added and gives birth to corresponding interface sequence number Into the unique network identity of the whole network.
  2. 2. a kind of implementation methods of the OSPF according to claim 1 without numbering broadcast, nbma interface, its feature exist In:“Network Mask”(Subnet mask)Field identification method is as follows:
    A) ospf interface is when having numbering, which is ospf interface mask;
    B) when ospf interface is without numbering point-to-point, which is 0;
    C) when ospf interface is without numbering point-to-multipoint, the highest bit of the field is 0, remaining 31 bit is the unique net of the whole network Network identifies.
  3. 3. a kind of implementation methods of the OSPF according to claim 1 without numbering broadcast, nbma interface, its feature exist In:Transmission synchronously refers to HELLO messages of each OSPF without numbering broadcast or nbma interface transmission using network attribute as this The source address of message, after HELLO messages are received, by " the Network Mask " in HELLO messages(Subnet mask)In field Hold and the source address of message is taken out, and stored, updated and safeguarded.
  4. 4. a kind of implementation methods of the OSPF according to claim 1 without numbering broadcast, nbma interface, its feature exist In:It is as follows according to the method for this network identity dynamic generation LSA:
    A) the Link id fields of the Router-LSA of OSPF are filled with the unique network identity of the whole network;
    B) with the link-state ID field of the unique network identity filling Network-LSA of the whole network;
    C) the Link Data of the Router-LSA of OSPF are filled with interface identifier;
    D) the Network Mask fields of Network-LSA are set to complete 1.
CN201410244844.0A 2014-06-05 2014-06-05 Method for realizing OSPF unnumbered broadcast and NBMA interface Active CN103997457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410244844.0A CN103997457B (en) 2014-06-05 2014-06-05 Method for realizing OSPF unnumbered broadcast and NBMA interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410244844.0A CN103997457B (en) 2014-06-05 2014-06-05 Method for realizing OSPF unnumbered broadcast and NBMA interface

Publications (2)

Publication Number Publication Date
CN103997457A CN103997457A (en) 2014-08-20
CN103997457B true CN103997457B (en) 2018-05-08

Family

ID=51311466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410244844.0A Active CN103997457B (en) 2014-06-05 2014-06-05 Method for realizing OSPF unnumbered broadcast and NBMA interface

Country Status (1)

Country Link
CN (1) CN103997457B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107634793B (en) * 2017-09-29 2020-02-18 北京空间飞行器总体设计部 Low-overhead flooding method for LEO/MEO double-layer satellite network and satellite node

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905560B (en) * 2006-08-09 2010-12-08 烽火通信科技股份有限公司 Method of using non-number port in route protocol based on IPV4
US8958305B2 (en) * 2009-10-30 2015-02-17 Juniper Networks, Inc. OSPF point-to-multipoint over broadcast or NBMA mode
WO2012103731A1 (en) * 2011-06-30 2012-08-09 华为技术有限公司 Method and device for establishing router neighbor
CN103023775B (en) * 2012-12-26 2015-11-25 杭州华三通信技术有限公司 Router in ospf network and processing method thereof
CN103236980A (en) * 2013-04-07 2013-08-07 中国电子科技集团公司第三十研究所 Router and method for implementing unnumbered broadcasting ports of router
CN103825760B (en) * 2014-02-25 2017-06-06 新华三技术有限公司 A kind of method and apparatus that neighborhood is set up based on ospf protocol

Also Published As

Publication number Publication date
CN103997457A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
US11483237B2 (en) BIER traffic engineering (BIER-TE) using unicast MPLS-TE tunnels
CN109756425B (en) Multicast forwarding method, device and BFR
EP3665866B1 (en) Scalable network path tracing
CN112511444B (en) Multicast traffic transmission method, device, communication node and storage medium
US10069723B2 (en) Method and system for encapsulating flow identifier
CN104243270B (en) A kind of method and apparatus for establishing tunnel
US20210243111A1 (en) Supporting multicast communications
CN105052087B (en) A kind of list item addressing method, interchanger and controller based on flow table
US20150103824A1 (en) Communication system, control apparatus, communication method and program
White et al. Computer Networking Problems and Solutions: An innovative approach to building resilient, modern networks
WO2022001152A1 (en) Information notification, message forwarding, and message cancellation methods and apparatuses, device, and medium
US9942145B2 (en) Attribute SET_ID in border gateway protocol
CN102150148A (en) Differentiated services for unicast multicast frames in layer 2 topologies
US20170149685A1 (en) Address information publishing method and apparatus
CN107623630B (en) Bit index explicit copy information transfer method and device
EP3641353A1 (en) Multicast forwarding method, and related device
WO2013123847A1 (en) Packet transmission method and network device
CN106921573B (en) NVo3 method and device for issuing tenant route in network
CN106603406A (en) Method and device of traffic engineering information announcement in BIER network
WO2014079369A1 (en) Forwarding a packet in a network
CN104052672B (en) A kind of method of realizing group broadcasting and equipment based on LISP
CN103997457B (en) Method for realizing OSPF unnumbered broadcast and NBMA interface
CN106817308A (en) A kind of repeater system of multicast data flow, method and device
JP2010050719A (en) Communication system, control node, communication method, and program
CN107404440B (en) Forwarding table item sending method, message forwarding method and device

Legal Events

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