CN107277187A - The system and method for ARP Hot Spare Fast synchronizations - Google Patents
The system and method for ARP Hot Spare Fast synchronizations Download PDFInfo
- Publication number
- CN107277187A CN107277187A CN201710423409.8A CN201710423409A CN107277187A CN 107277187 A CN107277187 A CN 107277187A CN 201710423409 A CN201710423409 A CN 201710423409A CN 107277187 A CN107277187 A CN 107277187A
- Authority
- CN
- China
- Prior art keywords
- arp
- bridge joint
- standby
- convergence device
- entry
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of system and method for ARP Hot Spares Fast synchronization, it is related to field of data transmission.This method comprises the following steps:Active and standby bridge joint convergence device access two-layer pseudo wire business, create ARP management modules, two-layer virtual interface, L 3 virtual interface, two-layer pseudo wire business-binding two-layer virtual interface, the active and standby bridge joint direct-connected three layers of physical interface of convergence device, configure the IP address of three layers of physical interface, active and standby bridge joint convergence device sets up session, forms the respective hot standby peer-to-peers of ARP;Primary bridge joint convergence device obtains ARP lists all under L 3 virtual interface;IP messages are packaged into, standby bridge joint convergence device is issued;Standby bridge joint convergence device parses ARP lists, generates arp entry, is sent to the ARP management modules of standby bridge joint convergence device.The present invention can realize the Fast synchronization of ARP Hot Spares.
Description
Technical field
The present invention relates to field of data transmission, a kind of system and method for ARP Hot Spares Fast synchronization is specifically related to.
Background technology
With major operator's large scale deployment IPRAN (IP Radio Access Network Carrier, IPization nothing
Line returns bearer network) network, 3G/4G business is constantly carried out and deeply, the mobile service forward direction based on speech is with data service
Based on direction develop, data services network flow has promoted the IP of RAB network into explosive growth
(agreement interconnected between Internet Protocol, network) changes process, and telecom operators are faced with the IP of integrated service
Change, variation, IPRAN equipment are based on arising at the historic moment under this scene.
Current router platform of the IPRAN networks based on traditional common, with IP/MPLS (Multi-Protocol
Label Switching, multiprotocol label switching) based on technology.Carrying deployment L2VPN (Layer 2Virtual
Private Network, Layer 2 virtual private network) and L3VPN (Layer 3Virtual Private Network, three layers of void
Intend private network) business scenario, this business scenario lower network uses hierarchy, is divided into core layer, convergence-level, Access Layer, core
Central layer is responsible for the forwarding of data service and other core nets are interconnected, and convergence-level is mainly responsible for Access Layer service convergence and forwarding, together
When be also multiple service supporting entrance and burble point, wherein L3VPN is located at core layer and convergence-level;Access Layer is used as service access
Point, is deployed in base station side, mainly based on L2VPN business, in core layer/convergence-level deployment L3VPN, in Access Layer and convergence-level
L3VPN business is switched to L2VPN business by the landing equipment joined, and L3VPN business looks into routing stacks ARP to aggregation node landing
(Address Resolution Protocol, address resolution protocol) list item maps the IP address of base station, it is necessary to generate ARP
For MAC (Medium Access Control, medium access control), L2VPN PW (Pseudo Wire, pseudo-wire) could be entered
Forwarding service.
Telecommunication network service requires higher to safeguard measure, and in IPRAN networks, L3VPN core convergence-levels are usually deployed
VPN FRR/VPN ECMP(Virtual Private Network Fast Reroute/Virtual Private Network
Equal Cost MultiPath, the quick heavy-route of Virtual Private Network/Virtual Private Network equal cost multipath), L2VPN Access Layer nets
Protected using PW (Pseudo Wire, pseudo-wire) redundant fashion, aggregation node bridge joint BFD (Bidirectional Forwarding
Detection, two-way converting detection) linkage PW pretection switch, soon, PW switches initiation convergence device revocation to BFD triggering PW speed
The route of base station 32, is switched to standby bridge joint convergence device, standby bridge joint convergence device distributing base station route, rapidly by flow from
Primary bridge joint convergence device is attracted to standby bridge joint convergence device, and now standby bridge joint convergence device is needed in time from primary bridge joint
The ARP that convergence device backup comes, standby bridge joint convergence device keeps ARP synchronous with primary bridge joint convergence device.
At present, ARP study is typically triggered by the flow of standby bridge joint convergence device automatically, do not learnt to before ARP, industry
Easily there is of short duration packet loss in business fluid capacitance, it is impossible to the time that control business is interrupted, it is difficult to realize the Fast synchronization of ARP Hot Spares, it is impossible to
Meeting complexity, telecommunications scene service is not interrupted, lower business switches fireballing requirement.
The content of the invention
The invention aims to overcome the shortcomings of above-mentioned background technology, there is provided a kind of ARP Hot Spares Fast synchronization
System and method, can realize the Fast synchronization of ARP Hot Spares.
The present invention provides a kind of system of ARP Hot Spares Fast synchronization, the system include active and standby bridge joint convergence device, three layers
Physical interface, in the business scenario that Layer 2 virtual private network bridges Layer3 Virtual Private Network, active and standby bridge joint convergence device access
Two-layer pseudo wire business, creates ARP management module in logic, two-layer virtual interface, L 3 virtual interface, two
Layer pseudo-line service binding two-layer virtual interface, starts the hot standby examples of ARP on L 3 virtual interface:
The active and standby bridge joint direct-connected three layers of physical interface of convergence device, with being configured to start the IP of three layers of physical interface of session
Location, automatically creates UDP socket, and the IP address of three layers of physical interface of binding opposite end bridge joint convergence device is main
Standby bridge joint convergence device starts to send Hello message, carries out neighbours and finds automatically, set up session, forms respective ARP hot standby right
Deng body;
Primary bridge joint convergence device uses L 3 virtual interface index for keyword, and three layers of void are obtained from ARP management modules
Intend ARP lists all under interface;By the form of specific group bag, by multiple ARP lists group bags, IP messages are packaged into, are issued
Standby bridge joint convergence device;
The ip protocol layer of standby bridge joint convergence device removes the heading of IP messages, will remove being arranged containing ARP for heading
The message of table is delivered to the ARP lists in the hot standby peer-to-peers of ARP, the hot standby peer-to-peer parsing outgoing packet of ARP, generates arp entry, will
Arp entry is sent to the ARP management modules of standby bridge joint convergence device, realizes the Fast synchronization of ARP Hot Spares.
On the basis of above-mentioned technical proposal, after the Fast synchronization for realizing ARP Hot Spares, the standby bridge joint convergence is set
Standby ARP management modules receive the arp entry that the hot standby peer-to-peers of ARP are sent, and local ARP are updated, using some arp entry
IP address and L 3 virtual interface as keyword, in local ARP traversal whether there is the arp entry, if not depositing
The arp entry is being inserted into local ARP seeds, an initial residual ageing time is generated, is recording and stores tree in local ARP
In entry;If locally there is the arp entry, the remaining ageing time of the local arp entry is taken out, by itself and the hot standby equities of ARP
The remaining ageing time for the arp entry that body is sent is compared, if it is different, then updating the local arp entry.
On the basis of above-mentioned technical proposal, there are master, standby disk in each bridge joint convergence device, backup each other, realize
After the Fast synchronization of ARP Hot Spares, the standby disk in primary bridge joint convergence device is received after the arp entry of master backup, by ARP
Entry is designated to provide disk for oneself, in the case where master breaks down, and standby disk is promoted to master, and current master issues arp entry
To IP protocol stack, meanwhile, the hot standby peer-to-peers of ARP in primary bridge joint convergence device are synchronous to standby bridge joint convergence device request,
Current master in primary bridge joint convergence device receives the arp entry that standby bridge joint convergence device is sent, relatively more current master
The mark for the arp entry that the mark of arp entry is sent with standby bridge joint convergence device, if it is different, then being converged with standby bridge joint
The mark for the arp entry that equipment is sent is defined, and updates the arp entry of current master in primary bridge joint convergence device, and by the ARP
Entry is designated from standby bridge joint convergence device.
On the basis of above-mentioned technical proposal, update in primary bridge joint convergence device after the arp entry of current master, such as
The IP protocol stack dynamic learning arp entry of current master in really primary bridge joint convergence device, then by the arp entry learnt
Mark is revised as 0.
On the basis of above-mentioned technical proposal, the IP messages include ARP list types, reserved byte, group ID, ARP bar
Mesh number, some arp entrys.
The present invention also provides a kind of method of ARP Hot Spares Fast synchronization, comprises the following steps:
In the business scenario that Layer 2 virtual private network bridges Layer3 Virtual Private Network, active and standby bridge joint convergence device access two
Layer pseudo-line service, creates ARP management modules in logic, two-layer virtual interface, L 3 virtual interface, two-layer pseudo wire business-binding
Two-layer virtual interface, starts the hot standby examples of ARP on L 3 virtual interface:
The active and standby bridge joint direct-connected three layers of physical interface of convergence device, with being configured to start the IP of three layers of physical interface of session
Location, automatically creates UDP socket, and the IP address of three layers of physical interface of binding opposite end bridge joint convergence device is main
Standby bridge joint convergence device starts to send Hello message, carries out neighbours and finds automatically, set up session, forms respective ARP hot standby right
Deng body;
Primary bridge joint convergence device uses L 3 virtual interface index for keyword, and three layers of void are obtained from ARP management modules
Intend ARP lists all under interface;By the form of specific group bag, by multiple ARP lists group bags, IP messages are packaged into, are issued
Standby bridge joint convergence device;
The ip protocol layer of standby bridge joint convergence device removes the heading of IP messages, will remove being arranged containing ARP for heading
The message of table is delivered to the ARP lists in the hot standby peer-to-peers of ARP, the hot standby peer-to-peer parsing outgoing packet of ARP, generates arp entry, will
Arp entry is sent to the ARP management modules of standby bridge joint convergence device, realizes the Fast synchronization of ARP Hot Spares.
It is further comprising the steps of after the Fast synchronization for realizing ARP Hot Spares on the basis of above-mentioned technical proposal:
The ARP management modules of the standby bridge joint convergence device receive the arp entry that the hot standby peer-to-peers of ARP are sent, and update
Local ARP, using the IP address and L 3 virtual interface of some arp entry as keyword, in local ARP time
Go through with the presence or absence of the arp entry, if being not present, the arp entry is inserted into local ARP seeds, an initial residual aging is generated
Time, record in the entry that local ARP stores tree;If locally there is the arp entry, the residue of the local arp entry is taken out
Ageing time, the remaining ageing time of its arp entry sent with the hot standby peer-to-peers of ARP is compared, if it is different, then
Update the local arp entry.
It is further comprising the steps of after the Fast synchronization for realizing ARP Hot Spares on the basis of above-mentioned technical proposal:
There are master, standby disk in each bridge joint convergence device, backup each other, the standby disk in primary bridge joint convergence device is received
After the arp entry of master backup, arp entry is designated to provide disk for oneself, in the case where master breaks down, standby disk is promoted to
Master, current master issues arp entry to IP protocol stack, meanwhile, the hot standby peer-to-peers of ARP in primary bridge joint convergence device are to standby
Synchronous with bridge joint convergence device request, the current master in primary bridge joint convergence device receives what standby bridge joint convergence device was sent
Arp entry, the mark for the arp entry that the mark of the arp entry of relatively more current master is sent with standby bridge joint convergence device, if
Difference, the then mark for the arp entry sent by standby bridge joint convergence device is defined, and updates and is currently led in primary bridge joint convergence device
The arp entry of disk, and the arp entry is designated from standby bridge joint convergence device.
On the basis of above-mentioned technical proposal, the arp entry for updating current master in primary bridge joint convergence device with
Afterwards, it is further comprising the steps of:If the IP protocol stack dynamic learning arp entry of the current master in primary bridge joint convergence device,
The mark of the arp entry learnt is then revised as 0.
On the basis of above-mentioned technical proposal, the IP messages include ARP list types, reserved byte, group ID, ARP bar
Mesh number, some arp entrys.
Compared with prior art, advantages of the present invention is as follows:
The present invention is in the business scenario that Layer 2 virtual private network bridges Layer3 Virtual Private Network, active and standby bridge joint convergence device
Two-layer pseudo wire business is accessed, ARP management modules in logic, two-layer virtual interface, L 3 virtual interface, two-layer pseudo wire industry is created
Business binding two-layer virtual interface, starts the hot standby examples of ARP on L 3 virtual interface:The active and standby bridge joint direct-connected three layers of thing of convergence device
Interface is managed, is configured to start the IP address of three layers of physical interface of session, UDP socket, binding opposite end bridge joint is automatically created
The IP address of three layers of physical interface of convergence device, active and standby bridge joint convergence device starts to send Hello message, carries out neighbours automatic
It was found that, session is set up, the respective hot standby peer-to-peers of ARP are formed;It is primary bridge joint convergence device use L 3 virtual interface index for
Keyword, ARP lists all under L 3 virtual interface are obtained from ARP management modules;, will be multiple by the form of specific group bag
ARP list group bags, are packaged into IP messages, issue standby bridge joint convergence device;The ip protocol layer of standby bridge joint convergence device removes
The heading of IP messages, the hot standby peer-to-peers of ARP, the hot standby equities of ARP are delivered to by the message containing ARP lists for removing heading
ARP lists in body parsing outgoing packet, generate arp entry, and the ARP that arp entry is sent into standby bridge joint convergence device manages mould
Block, realizes the Fast synchronization of ARP Hot Spares.Batch sending ARP lists of the present invention, the hot standby speed of ARP is fast, efficiency high, when IP associations
Discuss stack study and arrive ARP, just automatic triggering Fast synchronization substantially carries out primary, spare convergence to the standby bridge joint convergence device in opposite end
Equipment synchronization simultaneously, so as to realize the Fast synchronization of ARP Hot Spares.
Brief description of the drawings
Fig. 1 is the structured flowchart of the system of ARP Hot Spare Fast synchronizations in the embodiment of the present invention.
Fig. 2 is the flow chart of the implementation method of ARP Hot Spare Fast synchronizations in the embodiment of the present invention.
Fig. 3 is the flow chart of Dynamic ARP study backup synchronization in the embodiment of the present invention.
Fig. 4 is the form schematic diagram of the IP messages containing ARP lists in the embodiment of the present invention.
Fig. 5 is the form schematic diagram of the ARP lists of IPv4 types in the embodiment of the present invention.
Fig. 6 is the flow chart of renewal arp entry in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of system of ARP Hot Spares Fast synchronization, and the system includes master
Standby bridge joint convergence device, three layers of physical interface.
Shown in Figure 2, the embodiment of the present invention provides a kind of implementation method of ARP Hot Spares Fast synchronization, including following
Step:
In the business scenario that Layer 2 virtual private network bridges Layer3 Virtual Private Network, active and standby bridge joint convergence device access two
Layer pseudo-line service, creates ARP management module in logic, two-layer virtual interface, L 3 virtual interface, two layers
Pseudo-line service binds two-layer virtual interface, starts the hot standby examples of ARP on L 3 virtual interface:
The active and standby bridge joint direct-connected three layers of physical interface of convergence device, with being configured to start the IP of three layers of physical interface of session
Location, automatically creates UDP (User Datagram Protocol, UDP) socket, the bridge joint convergence of binding opposite end
The IP address of three layers of physical interface of equipment, active and standby bridge joint convergence device starts to send Hello message, carries out neighbours and sends out automatically
It is existing, session is set up, the respective hot standby peer-to-peers of ARP are formed;
Primary bridge joint convergence device uses L 3 virtual interface index for keyword, and three layers of void are obtained from ARP management modules
Intend ARP lists all under interface;By the form of specific group bag, by multiple ARP lists group bags, IP messages are packaged into, are issued
Standby bridge joint convergence device;IP messages include ARP list types, reserved byte, group ID, arp entry number, some arp entrys;
The ip protocol layer of standby bridge joint convergence device removes the heading of IP messages, will remove being arranged containing ARP for heading
The message of table is delivered to the ARP lists in the hot standby peer-to-peers of ARP, the hot standby peer-to-peer parsing outgoing packet of ARP, generates arp entry, will
Arp entry is sent to the ARP management modules of standby bridge joint convergence device, realizes the Fast synchronization of ARP Hot Spares.
After the Fast synchronization for realizing ARP Hot Spares, it is hot standby that the standby ARP management modules for bridging convergence device receive ARP
The arp entry that peer-to-peer is sent, updates local ARP, IP address and L 3 virtual interface conduct using some arp entry
Keyword, traversal whether there is the arp entry in local ARP, if being not present, and the arp entry is inserted into local ARP trees
Kind, an initial residual ageing time is generated, is recorded in the entry that local ARP stores tree;If locally there is the arp entry,
The remaining ageing time of the local arp entry is taken out, by the remaining aging of its arp entry sent with the hot standby peer-to-peers of ARP
Time is compared, if it is different, then updating the local arp entry.
There are master, standby disk in each bridge joint convergence device, backup each other, after the Fast synchronization for realizing ARP Hot Spares,
Standby disk in primary bridge joint convergence device is received after the arp entry of master backup, arp entry is designated to provide disk for oneself, in master
In the case that disk breaks down, standby disk is promoted to master, and current master issues arp entry to IP protocol stack, meanwhile, primary bridge joint
The hot standby peer-to-peers of ARP in convergence device are synchronous to standby bridge joint convergence device request, current in primary bridge joint convergence device
Master receives the arp entry that standby bridge joint convergence device is sent, and the mark of the arp entry of relatively more current master is converged with standby bridge joint
The mark for the arp entry that poly- equipment is sent, if it is different, then bridging being designated for the arp entry that convergence device is sent with standby
Standard, updates the arp entry of current master in primary bridge joint convergence device, and the arp entry is designated from standby bridge joint remittance
Poly- equipment.
Update in primary bridge joint convergence device after the arp entry of current master, if in primary bridge joint convergence device
The IP protocol stack dynamic learning arp entry of current master, then be revised as 0 by the mark of the arp entry learnt.
It is old that ARP lists include purpose IP address, MAC Address, L 3 virtual interface, virtual routing forwarding, VLAN, residue
Change time, the creation time of arp entry.
Conventional data network requires high to service disconnection, recovery, therefore generally has active and standby in a bridge joint convergence device
Two pieces of disk work backup each other, it is generally the case that standby disk normal work, but stand-by state does not issue any configuration, normal dynamic
Static configuration backup functionality is normal, now, and standby disk equally exists the ARP that master synchronously comes.
Some concrete cases are set forth below.
1st, the Fast synchronization of ARP Hot Spares:
Shown in Figure 3, the active and standby bridge joint direct-connected three layers of physical interface of convergence device enables session, configuration notice it is local and
Far-end IP address, sets announce parameters:Advertisement interval, notice ARP quantity, socket port numbers, the hot standby examples of ARP are just automatic to be created
Build, then active and standby bridge joint convergence device starts to send hello packet, receives after hello packet, begins to transmission and contain ARP
The IP messages of list, using special packet form, are sent, standby convergence device is received using UDP SOCK (socket) message
After message, ARP lists are parsed, the Fast synchronization of ARP Hot Spares is realized.
Because UDP communication modes are towards connectionless, reliability data transmission guarantee is not provided, the hot standby peer-to-peers of ARP are used
UDP sends the IP messages containing ARP lists, and application layer program increase response affirmation mechanism sends the IP once containing ARP lists
Message, confirms response once, retransmits the IP messages containing ARP lists next time, i.e., reliable confirmation machine is added on UDP upper stratas
System, specifically refers to Fig. 2.
Implementation detail is as follows:
A, hot standby example implement configuration on demand
B, using UDP communicate on realize orderly reliable communication mechanism
The form of c, IP message has scalability
Shown in Figure 4, the IP messages containing ARP lists include ARP list types, reserved byte, group ID, arp entry
Several, some arp entrys.
ARP list types are divided to two kinds of IPV4 and IPV6.
Shown in Figure 5, the ARP lists of IPv4 types include arp entry type, arp entry length, IPv4 addresses, MAC
Address, two-layer virtual interface L2 sub-interfaces index, VLAN ID, interface name type, interface name length, interface name.
2nd, the renewal of arp entry:
ARP management modules receive synchronous ARP in the embodiment of the present invention, are searched on local ARP storage trees, if
Locally it is not present, then directly updates;If in the presence of using the remaining ageing times of ARP and source identification as foundation, judging whether to
Update, using the preferential strategy of remaining ageing time the maximum.
A, ARP residue ageing time management
Common dynamic ARP is learnt by IP stacks, all there is aging life cycle, default value is 30 minutes, referring to Fig. 6
Shown, the embodiment of the present invention is synchronized ARP ageing times as ARP essential informations, and ARP management modules parse remaining old
The change time, while find local arp entry as KEY according to ARP IP address and 3 layers of virtual interface index, then with locally
ARP carries out remaining ageing time and compared, the preferential local ARP strategies of the renewal maximum using remaining ageing time.
B, ARP source identification are managed
Standby convergence device is synchronized to and there is primary convergence device in ARP, while in the case of single station master and backup discs, often in master
It is synchronized to standby disk.For ARP, its source is particularly important, and judges that ARP specifically originates, in the synchronous nets of such ARP
In, preferentially using the synchronous local ARP information of hot standby ARP, while during hot standby its source identification field all carried out it is standby
Part, the website for receiving ARP parses this flag, it is possible to judge this ARP entry source where.For example:ARP source identifications 32
The ARP for identifying master to standby disk is identified, and ARP source identifications 16 identify main website to the synchronous ARP come in standby station.
When ARP is arrived in IP protocol stack study, it is advertised to ARP management modules and needs also exist for carrying the remaining ageing times of ARP and come
Source is identified, and the ARP that IP stacks learn is designated 0, and remaining ageing time is ARP ageing time default values.In ARP Hot Spare processes
In, realize the remaining ageing time management of ARP and the management of source identification.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, if these modifications and change
Type is within the scope of the claims in the present invention and its equivalent technologies, then these modifications and variations are also in protection scope of the present invention
Within.
The prior art that the content not being described in detail in specification is known to the skilled person.
Claims (10)
1. a kind of system of ARP Hot Spares Fast synchronization, the system includes active and standby bridge joint convergence device, three layers of physical interface, its
It is characterised by:In the business scenario that Layer 2 virtual private network bridges Layer3 Virtual Private Network, active and standby bridge joint convergence device access
Two-layer pseudo wire business, creates ARP management module in logic, two-layer virtual interface, L 3 virtual interface, two
Layer pseudo-line service binding two-layer virtual interface, starts the hot standby examples of ARP on L 3 virtual interface:
The active and standby bridge joint direct-connected three layers of physical interface of convergence device, is configured to start the IP address of three layers of physical interface of session,
UDP socket is automatically created, the IP address of three layers of physical interface of binding opposite end bridge joint convergence device is active and standby
Bridge joint convergence device starts to send Hello message, carries out neighbours and finds automatically, set up session, forms the respective hot standby equities of ARP
Body;
Primary bridge joint convergence device uses L 3 virtual interface index for keyword, and obtaining L 3 virtual from ARP management modules connects
All ARP lists under mouthful;By multiple ARP lists group bags, IP messages are packaged into, standby bridge joint convergence device is issued;
The ip protocol layer of standby bridge joint convergence device removes the headings of IP messages, by remove heading containing ARP lists
Message is delivered to the ARP lists in the hot standby peer-to-peers of ARP, the hot standby peer-to-peer parsing outgoing packet of ARP, arp entry is generated, by ARP
Entry is sent to the ARP management modules of standby bridge joint convergence device, realizes the Fast synchronization of ARP Hot Spares.
2. the system of ARP Hot Spares Fast synchronization as claimed in claim 1, it is characterised in that:Realize the quick of ARP Hot Spares
After synchronization, the ARP management modules of the standby bridge joint convergence device receive the arp entry that the hot standby peer-to-peers of ARP are sent, and update
Local ARP, using the IP address and L 3 virtual interface of some arp entry as keyword, in local ARP time
Go through with the presence or absence of the arp entry, if being not present, the arp entry is inserted into local ARP seeds, an initial residual aging is generated
Time, record in the entry that local ARP stores tree;If locally there is the arp entry, the residue of the local arp entry is taken out
Ageing time, the remaining ageing time of its arp entry sent with the hot standby peer-to-peers of ARP is compared, if it is different, then
Update the local arp entry.
3. the system of ARP Hot Spares Fast synchronization as claimed in claim 1, it is characterised in that:In each bridge joint convergence device
There are master, standby disk, backup each other, after the Fast synchronization for realizing ARP Hot Spares, the standby disk in primary bridge joint convergence device connects
After the arp entry for receiving master backup, arp entry is designated to provide disk for oneself, in the case where master breaks down, standby disk lifting
For master, current master issues arp entry to IP protocol stack, meanwhile, it is primary bridge joint convergence device in the hot standby peer-to-peers of ARP to
Standby bridge joint convergence device request is synchronous, and the current master in primary bridge joint convergence device receives standby bridge joint convergence device and sent
Arp entry, the relatively arp entry that the mark of the arp entry of current master is sent with standby bridge joint convergence device mark, such as
Fruit is different, then the mark for the arp entry sent by standby bridge joint convergence device is defined, and updates current in primary bridge joint convergence device
The arp entry of master, and the arp entry is designated from standby bridge joint convergence device.
4. the system of ARP Hot Spares Fast synchronization as claimed in claim 3, it is characterised in that:Primary bridge joint convergence is updated to set
In standby after the arp entry of current master, if the IP protocol stack dynamic learning of the current master in primary bridge joint convergence device
Arp entry, then be revised as 0 by the mark of the arp entry learnt.
5. the system of ARP Hot Spares Fast synchronization as claimed in claim 1, it is characterised in that:The IP messages are arranged including ARP
Table type, reserved byte, group ID, arp entry number, some arp entrys.
6. a kind of method of ARP Hot Spares Fast synchronization, it is characterised in that comprise the following steps:
In the business scenario that Layer 2 virtual private network bridges Layer3 Virtual Private Network, active and standby bridge joint convergence device accesses two layers of puppet
Line service, creates ARP management modules in logic, two-layer virtual interface, L 3 virtual interface, two layers of two-layer pseudo wire business-binding
Virtual interface, starts the hot standby examples of ARP on L 3 virtual interface:
The active and standby bridge joint direct-connected three layers of physical interface of convergence device, is configured to start the IP address of three layers of physical interface of session,
UDP socket is automatically created, the IP address of three layers of physical interface of binding opposite end bridge joint convergence device is active and standby
Bridge joint convergence device starts to send Hello message, carries out neighbours and finds automatically, set up session, forms the respective hot standby equities of ARP
Body;
Primary bridge joint convergence device uses L 3 virtual interface index for keyword, and obtaining L 3 virtual from ARP management modules connects
All ARP lists under mouthful;By multiple ARP lists group bags, IP messages are packaged into, standby bridge joint convergence device is issued;
The ip protocol layer of standby bridge joint convergence device removes the headings of IP messages, by remove heading containing ARP lists
Message is delivered to the ARP lists in the hot standby peer-to-peers of ARP, the hot standby peer-to-peer parsing outgoing packet of ARP, arp entry is generated, by ARP
Entry is sent to the ARP management modules of standby bridge joint convergence device, realizes the Fast synchronization of ARP Hot Spares.
7. the method for ARP Hot Spares Fast synchronization as claimed in claim 6, it is characterised in that:Realize the quick of ARP Hot Spares
It is further comprising the steps of after synchronization:
The ARP management modules of the standby bridge joint convergence device receive the arp entry that the hot standby peer-to-peers of ARP are sent, and update local
ARP, using the IP address and L 3 virtual interface of some arp entry as keyword, traversal is in local ARP
It is no to there is the arp entry, if being not present, the arp entry is inserted into local ARP seeds, an initial residual ageing time is generated,
Record in the entry that local ARP stores tree;If locally there is the arp entry, when taking out the remaining aging of the local arp entry
Between, the remaining ageing time of its arp entry sent with the hot standby peer-to-peers of ARP is compared, if it is different, then updating this
The arp entry on ground.
8. the method for ARP Hot Spares Fast synchronization as claimed in claim 6, it is characterised in that:Realize the quick of ARP Hot Spares
It is further comprising the steps of after synchronization:
There are master, standby disk in each bridge joint convergence device, backup each other, the standby disk in primary bridge joint convergence device receives master
After the arp entry of backup, arp entry is designated to provide disk for oneself, in the case where master breaks down, based on standby disk lifting
Disk, current master issues arp entry to IP protocol stack, meanwhile, the hot standby peer-to-peers of ARP in primary bridge joint convergence device are to standby
Bridge convergence device request synchronously, the current master in primary bridge joint convergence device receives what standby bridge joint convergence device was sent
Arp entry, the mark for the arp entry that the mark of the arp entry of relatively more current master is sent with standby bridge joint convergence device, if
Difference, the then mark for the arp entry sent by standby bridge joint convergence device is defined, and updates and is currently led in primary bridge joint convergence device
The arp entry of disk, and the arp entry is designated from standby bridge joint convergence device.
9. the method for ARP Hot Spares Fast synchronization as claimed in claim 8, it is characterised in that:It is described to update primary bridge joint remittance
It is further comprising the steps of in poly- equipment after the arp entry of current master:If the current master in primary bridge joint convergence device
IP protocol stack dynamic learning arp entry, then the mark of the arp entry learnt is revised as 0.
10. the method for ARP Hot Spares Fast synchronization as claimed in claim 6, it is characterised in that:The IP messages include ARP
List type, reserved byte, group ID, arp entry number, some arp entrys.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710423409.8A CN107277187B (en) | 2017-06-07 | 2017-06-07 | The system and method for ARP warm back-up Fast synchronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710423409.8A CN107277187B (en) | 2017-06-07 | 2017-06-07 | The system and method for ARP warm back-up Fast synchronization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107277187A true CN107277187A (en) | 2017-10-20 |
CN107277187B CN107277187B (en) | 2019-09-06 |
Family
ID=60067419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710423409.8A Active CN107277187B (en) | 2017-06-07 | 2017-06-07 | The system and method for ARP warm back-up Fast synchronization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107277187B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572317A (en) * | 2019-07-16 | 2019-12-13 | 烽火通信科技股份有限公司 | Method and system for realizing dynamic ARP hot backup in telecommunication network |
CN110798539A (en) * | 2019-10-16 | 2020-02-14 | 中盈优创资讯科技有限公司 | Method and system for determining hanging-down base station of IPRAN network equipment |
CN111654407A (en) * | 2020-04-14 | 2020-09-11 | 新华三信息安全技术有限公司 | Stacking system and bidirectional forwarding detection method thereof |
CN111682896A (en) * | 2020-05-13 | 2020-09-18 | 烽火通信科技股份有限公司 | Method and system for protecting multipoint broken fibers in communication network |
CN111800525A (en) * | 2020-09-07 | 2020-10-20 | 广东睿江云计算股份有限公司 | Gateway redundancy method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110745A (en) * | 2007-08-14 | 2008-01-23 | 华为技术有限公司 | Method, device and system for engaging second layer network and third layer network |
CN104135418A (en) * | 2013-05-03 | 2014-11-05 | ***通信集团内蒙古有限公司 | Method and device of implementing coordinated switching of layer 2 virtual private network and layer 3 virtual private network |
CN104683206A (en) * | 2013-11-29 | 2015-06-03 | ***通信集团内蒙古有限公司 | Method and device for coordinating and switching layer 2 and layer 3 virtual private networks in bridging apparatus |
US20160036620A1 (en) * | 2010-05-28 | 2016-02-04 | Futurewei Technologies, Inc. | Virtual Layer 2 and Mechanism to Make it Scalable |
CN105554175A (en) * | 2015-12-23 | 2016-05-04 | 烽火通信科技股份有限公司 | ARP backup method in PW (Pseudo-wires) redundancy scene |
-
2017
- 2017-06-07 CN CN201710423409.8A patent/CN107277187B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110745A (en) * | 2007-08-14 | 2008-01-23 | 华为技术有限公司 | Method, device and system for engaging second layer network and third layer network |
US20160036620A1 (en) * | 2010-05-28 | 2016-02-04 | Futurewei Technologies, Inc. | Virtual Layer 2 and Mechanism to Make it Scalable |
CN104135418A (en) * | 2013-05-03 | 2014-11-05 | ***通信集团内蒙古有限公司 | Method and device of implementing coordinated switching of layer 2 virtual private network and layer 3 virtual private network |
CN104683206A (en) * | 2013-11-29 | 2015-06-03 | ***通信集团内蒙古有限公司 | Method and device for coordinating and switching layer 2 and layer 3 virtual private networks in bridging apparatus |
CN105554175A (en) * | 2015-12-23 | 2016-05-04 | 烽火通信科技股份有限公司 | ARP backup method in PW (Pseudo-wires) redundancy scene |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572317A (en) * | 2019-07-16 | 2019-12-13 | 烽火通信科技股份有限公司 | Method and system for realizing dynamic ARP hot backup in telecommunication network |
CN110798539A (en) * | 2019-10-16 | 2020-02-14 | 中盈优创资讯科技有限公司 | Method and system for determining hanging-down base station of IPRAN network equipment |
CN110798539B (en) * | 2019-10-16 | 2022-02-01 | 中盈优创资讯科技有限公司 | Method and system for determining hanging-down base station of IPRAN network equipment |
CN111654407A (en) * | 2020-04-14 | 2020-09-11 | 新华三信息安全技术有限公司 | Stacking system and bidirectional forwarding detection method thereof |
CN111654407B (en) * | 2020-04-14 | 2022-05-27 | 新华三信息安全技术有限公司 | Stacking system and bidirectional forwarding detection method thereof |
CN111682896A (en) * | 2020-05-13 | 2020-09-18 | 烽火通信科技股份有限公司 | Method and system for protecting multipoint broken fibers in communication network |
CN111800525A (en) * | 2020-09-07 | 2020-10-20 | 广东睿江云计算股份有限公司 | Gateway redundancy method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107277187B (en) | 2019-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107277187B (en) | The system and method for ARP warm back-up Fast synchronization | |
US8179900B2 (en) | Edge node redundant system in label switching network | |
CN105245452B (en) | Multi-protocol label switching traffic engineering tunnel establishing method and equipment | |
CN102098231B (en) | Method and equipment for fast switching flow in H-VPLS (H-virtual private lan service) | |
CN101044728B (en) | Fast reroute (frr) protection at the edge of a rfc 2547 network | |
CN102025646B (en) | Link switching method and device thereof | |
CN102724118B (en) | Label distribution method and device | |
CN101394361B (en) | Packet transmission method, device and system | |
CN105991437B (en) | Message forwarding processing method and device, controller and route forwarding equipment | |
CN111698152B (en) | Fault protection method, node and storage medium | |
CN101286922B (en) | Signalling control method, system and apparatus | |
CN106603413B (en) | Method and device for transmitting flow through designated path | |
CN104219147A (en) | Implementation method and device of VPN (virtual private network) for edge equipment | |
CN102413060B (en) | User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network | |
CN103748835A (en) | Dynamic updating of a label switched path | |
WO2008092357A1 (en) | A method and device for establishing a pseudo wire tunnel and transmitting message using it | |
CN102333028A (en) | Method and communication equipment for sending messages by using layered bi-layer virtual private network | |
CN101631072A (en) | Method, device and system for establishing pseudowire | |
WO2022121466A1 (en) | Data processing method and device for ethernet virtual private network, and storage medium | |
WO2016034127A1 (en) | System and method for achieving dual-node interconnection pseudo-wire | |
CN102546433A (en) | Data forwarding method based on MPLS (Multi Protocol Label Switching) VPN (Virtual Private Network) and PEs (Provider Edges) | |
CN105553810A (en) | Method and device for forwarding special line service packet | |
CN105591800A (en) | Traffic protection method and device | |
CN102045233B (en) | Method and device for controlling message forwarding in network communication | |
CN106576049A (en) | Network device configured to track multicast receivers |
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 |