CN103873339A - Method and device for distributing virtual gateway router - Google Patents

Method and device for distributing virtual gateway router Download PDF

Info

Publication number
CN103873339A
CN103873339A CN201410097957.2A CN201410097957A CN103873339A CN 103873339 A CN103873339 A CN 103873339A CN 201410097957 A CN201410097957 A CN 201410097957A CN 103873339 A CN103873339 A CN 103873339A
Authority
CN
China
Prior art keywords
main frame
website
virtual
gateway
backup group
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
CN201410097957.2A
Other languages
Chinese (zh)
Other versions
CN103873339B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410097957.2A priority Critical patent/CN103873339B/en
Publication of CN103873339A publication Critical patent/CN103873339A/en
Application granted granted Critical
Publication of CN103873339B publication Critical patent/CN103873339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for distributing a virtual gateway router. The method comprises the following steps of enabling an edge device to learn an MAC (media access control) address of a host according to messages of the host, and record the corresponding relationship between the MAC address of the host and a label of a site of the host; when VRRPE (extended virtual router redundancy protocol) backup group main equipment receives an ARP (address resolution protocol) gateway request from the host, inquiring the label of the site of the host from the edge device of the site; after the edge device receives the inquiring message from the VRRPE backup group main equipment, answering the label of the site corresponding to the MAC address to the VRRPE backup group main equipment according to the MAC address of the host in the inquiring message; enabling the VRRPE backup group main equipment to use a virtual MAC address of a virtual gateway to answer to the ARP gateway request of the host, wherein the virtual gateway has the same site with the host in a VRRPE backup group. The method can solve the problem of invalid forwarding of three layers of flow rates in a large two-layer network between the sites.

Description

A kind of distribution method of virtual gateway router and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of distribution method and device of virtual gateway router.
Background technology
In order to realize high reliability and redundant deployment, multiple physical site that are positioned at diverse geographic location have been crossed over by current most enterprises network and data center thereof, in the similar business of these site deployment.In order to realize resource dynamic allotment and the management between website, virtual machine is wanted between data center can free migration.Because virtual machine (vm) migration process is to user transparent, can not change IP address, so it is interconnected to realize double layer network between the website that is distributed in strange land.The technology that realizes at present double layer network interconnection mainly contains VPLS, Q-in-Q, MAC-in-MAC, EVI, TRILL, PBB etc., can easily the double layer network of different location be interconnected by these technology, on whole cellular logic, form a large double layer network.
For the interconnected network environment of large double layer network, still there are at present some intrinsic problems, when be distributed in the double layer network of different physical locations when the source of three layer services and destination and gateway, flow will inevitably be crossed over tunnel and do invalid coming and going, and has wasted valuable tunnel bandwidth resource.
Refer to Fig. 1, Fig. 1 is very typical large two layers of internet, and network 1 and network 2 are two independently double layer networks, are connected by EVI tunnel, and three-layer network closes in network 1, and network 1 and 2 respectively has an outlet to be connected respectively outer net 1 and outer net 2.Wherein gateway 1 is as the gateway of All hosts in whole large double layer network, the flow that main frame in network 2 mails to outer net 2 need to arrive gateway 1 and do three layers of forwarding, be specially flow and be first forwarded to gateway 1 by EVI tunnel, gateway 1 finds that down hop is at network 2 after looking into routing table, so flow is forwarded to again to the outlet of outer net 2 from EVI tunnel.Data traffic is disabled and on tunnel, has come and gone once like this, has wasted bandwidth.
Refer to Fig. 2, in concrete application, can adopt VRRP agreement virtual gateway composition VRRP backup group of each deployment in two two layers of nets, but this scheme and above-mentioned single gateway device exist same problem.Because Master gateway in VRRP backup group only has 1, therefore when the source of three layer services and destination and Master gateway be not during at same local network, flow still can be on tunnel invalid coming and going.For VRRPE agreement, in fact with the coming to the same thing of VRRP.VRRPE agreement is in the time being Selection of chiller gateway, reference device priority, distributes to main frame by the highest virtual gateway of VRRPE backup group medium priority, therefore concerning certain main frame, this gateway still may be in another double layer network, three laminar flow amounts still can be disabled on tunnel round trip.
Summary of the invention
In view of this, the present invention proposes a kind of distribution method and device of virtual gateway router, carry out mark by the website to different in large double layer network, record the mark of main frame place website, to VRRPE agreement, the equalization algorithm when for Selection of chiller gateway is expanded simultaneously, make VRRPE backup group main equipment when for Selection of chiller gateway, the equipment identical with the mark of this main frame place website in preferential selection VRRPE backup group, can effectively prevent the invalid forwarding of three laminar flow amounts between website in large double layer network.
A distribution method for virtual gateway router, is applied to the Virtual Router Redundancy Protocol load-sharing mode VRRPE backup group main equipment of large double layer network, and described method comprises:
When receive from main frame ARP gateway requests time, the mark of inquiring about website under this main frame to the edge device of this website; Website is designated that edge device records in the time of this host MAC address of study under wherein said main frame;
Reply the ARP gateway requests of described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in described VRRPE backup group
A distributor for virtual gateway router, is applied to the Virtual Router Redundancy Protocol load-sharing mode VRRPE backup group main equipment of large double layer network, and described device comprises:
Enquiry module, for when receive from main frame ARP gateway requests time, the mark of inquiring about website under this main frame to the edge device of this website; Website is designated that edge device records in the time of this host MAC address of study under wherein said main frame;
Responder module, replys the ARP gateway requests of described main frame for be positioned at the virtual MAC address of the virtual gateway of same website with described VRRPE backup group and this main frame.
A distribution method for virtual gateway router, is applied on the edge device of large double layer network, and described method comprises:
According to learn the MAC Address of this main frame from the message of main frame, and record the corresponding relation between the MAC Address of this main frame and the mark of the affiliated website of this main frame;
When receive from VRRPE backup group main equipment query message time, according to the MAC Address of main frame in this query message, reply the site identity corresponding with this MAC Address to described VRRPE backup group main equipment, to make described VRRPE backup group main equipment reply the ARP gateway requests of described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in VRRPE backup group.
An edge device for large double layer network, described equipment comprises:
Logging modle, learns this user's MAC Address for basis from user's message, and records the corresponding relation between this user's MAC Address and the mark of the affiliated website of this user;
Responder module, for when receive from VRRPE backup group main equipment query message time, according to the MAC Address of user in this query message, reply the site identity corresponding with this MAC Address to described VRRPE backup group main equipment, to make described VRRPE backup group main equipment reply the ARP gateway requests of described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in VRRPE backup group.
Can solve the problem of the three invalid forwardings of laminar flow amount between each website in large double layer network by the present invention.
Brief description of the drawings
Fig. 1 is a kind of typical large two layers of internet schematic diagram;
Fig. 2 is a kind of large two layers of internet schematic diagram of having disposed VRRP virtual gateway;
Fig. 3 is the flow chart of a kind of virtual gateway router distribution method of providing of one embodiment of the invention;
Fig. 4 is general VRRP message format;
VRRP message format after a kind of expansion that Fig. 5 provides for one embodiment of the invention;
A kind of large two layers of internet networking figure that disposed VRRPE virtual gateway backup group that Fig. 6 provides for one embodiment of the invention;
Fig. 7 is the building-block of logic of a kind of virtual gateway router distributor of providing of one embodiment of the invention;
Fig. 8 is the building-block of logic of a kind of edge device of providing of one embodiment of the invention.
Embodiment
The application's embodiment proposes a kind of distribution method of virtual gateway router, carry out mark by the website to different in large double layer network, record the mark of main frame place website, make VRRPE backup group main equipment when for Selection of chiller gateway, preferentially select the equipment identical with the mark of this main frame place website in VRRPE backup group, can effectively prevent the retransmission method of the invalid forwarding many topological networks of three laminar flow amounts between website in large double layer network.
Referring to accompanying drawing, each embodiment of the application is described in further detail.
The application one embodiment provides a kind of distribution method of large double layer network virtual gateway router, described large double layer network comprises at least two double layer network websites, connected by two layers, the tunnel of setting up between edge device between website, wherein in each website, dispose respectively at least one virtual gateway router, all VRRPE backup groups of the common composition of virtual gateway router that are deployed in each website.Refer to Fig. 3, the method comprises:
S301, edge device basis are learnt the MAC Address of this main frame from the message of main frame, and record the corresponding relation between the MAC Address of this main frame and the mark of the affiliated website of this main frame;
When S302, VRRPE backup group main equipment are received from the ARP gateway requests of main frame, inquire about the mark of website under this main frame to the edge device of this website;
When S303, edge device are received from the query message of VRRPE backup group main equipment, according to the MAC Address of main frame in this query message, reply the site identity corresponding with this MAC Address to described VRRPE backup group main equipment;
S304, VRRPE backup group main equipment reply the ARP gateway requests of described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in described VRRPE backup group.
In the present embodiment, described large double layer network is at deployment phase, and each double layer network website is by the LLI(home network identification after mark) be communicated on the edge device of other website; In addition, in different websites, dispose respectively VRRPE virtual gateway router, and form VRRPE backup group; Meanwhile, make the each gateway router in described VRRPE backup group know the address of the edge device of this website by configuration, and LLI is separately configured to consistent with the edge device of this website.Wherein, in actual applications, the each gateway router in described VRRPE backup group can be merged into same equipment with edge device, distinguish by distinct interface, and be two in logic, be physically one.
Particularly, interconnected as example to realize large double layer network by EVI technology, EVI edge device is by mutually alternately based on IS-IS(Intermediate System to Intermediate System, Intermediate System-to-Intermediate System) hello packet of agreement finds and sets up the neighborhood between the edge device of other website.Therefore, in the present embodiment, can expand by the hello packet that EVI edge device is sent, realize the object of noticing this website LLI.Particularly, can in described hello packet, increase a TLV attribute, for noticing the LLI of this website.Newly-increased TLV attribute format is as follows:
Type
Length
LLI
Wherein Type=0x12, Length=2 byte, LLI=1~256,0 retains as management purposes.
In the present embodiment, the hello packet after EVI edge device is expanded by transmission is noticed the LLI of our station, and preserves the LLI of other websites that carry in the hello packet sending from other EVI edge device.Meanwhile, EVI edge device receiving after the message of main frame, while creating MAC address entries, distinguishes and record the LLI of this main frame place website according to the inbound port of message of receiving this main frame for this main frame.
In the present embodiment, in VRRPE backup group each gateway router after deployment completes, the main equipment in this VRRPE backup group can and this VRRPE backup group in stand-by equipment and the edge device of this website between carry out message interaction.In the present embodiment in a kind of exemplary execution mode, message interaction in VRRPE backup group between stand-by equipment and main equipment, all by the form of VRRP message is expanded to realize, VRRP message after expansion comprises altogether three types, be respectively: VRRP notification packet, VRRP query message and VRRP response message;
Concrete, by increase an attribute in VRRP message, represent to have carried LLI in this VRRP message.Refer to Fig. 4, Fig. 4 is general VRRP message format, and in general VRRP message format, Rsvd field is 0, in the present embodiment, can be 1 by Rsvd Field Definition, represents to have carried in this message LLI.VRRP message format after expansion please refer to Fig. 5, and the implication of each field representative is as follows:
Count MAC Addr field, the number of addresses that represents to inquire about MAC;
Opt field, the action type of expression LLI message, length is 4bit; In the time that this field value is 0, represent to notice the LLI of this equipment; Value is 1 o'clock, represents the LLI of inquiry main frame MAC; Value is 2 o'clock, represents to reply the LLI of main frame MAC;
Local LLI field, for carrying the LLI of this equipment, length is 8bit;
MAC Address field, for carrying the MAC Address that will inquire about main frame; Every record accounts for 8 bytes; Wherein MAC Address is 6 bytes, and LLI is 1 byte, remainder bytes full 0 polishing;
VRRP notification packet Opt field value is that 0, Count MAC Addr field value is 0;
VRRP query message Opt field value is that 1, LLI of MAC field value is 0;
VRRP response message Opt field value is that 2, LLI of MAC field is the LLI inquiring, if do not existed relative recording to fill by full 0.
In addition, what deserves to be explained is, in the present embodiment, if the message interaction in VRRPE backup group between the EVI edge device of host apparatus and this website, also adopt the VRRP message after expansion, for the intercommunication between guarantee agreement, on the edge device of each website, at least comprise a port that enables VRRP agreement so.
In the present embodiment, the standby gateway router in VRRPE backup group, by sending described VRRP notification packet, is noticed the LLI of self to the main equipment in VRRPE backup group; Meanwhile, the main equipment in VRRPE backup group receives after the VRRP notification packet from described other gateway routers, preserves the LLI that carries in this notification packet and the corresponding relation between corresponding gateway router virtual MAC address with it.
In the time that the main equipment in described VRRPE backup group is received the ARP gateway requests of main frame, first the edge device taking the MAC Address of this main frame as index to this website sends VRRP query message and inquires about the LLI of website under this main frame.When main equipment in described VRRPE backup group is received the ARP gateway requests of multiple main frames, also can once inquire about the LLI of multiple MAC to edge device.
When the edge device of described website is received described VRRP query message by having enabled the interface of VRRP agreement, the main equipment in VRRPE backup group sends VRRP response message, and Query Result is replied to the main equipment in described VRRPE backup group.Main equipment in described VRRPE backup group is received after the Query Result of our station point edge equipment, in the time that decision-making is replied the ARP gateway requests of described main frame with the virtual MAC of which platform gateway router, the preferential selection gateway router identical with this main frame LLI, thereby ensure that this main frame and its virtual gateway are within same website, while having avoided gateway router and this main frame not within same website, the three laminar flow amounts that this main frame is initiated invalid forwarding between website.
In addition, in the present embodiment, when in website under this main frame, many virtual gateway routers are disposed, be while having the LLI of the affiliated website of multiple virtual gateways identical with the LLI of the affiliated website of this main frame in described VRRPE backup group, in main equipment in the VRRPE backup group virtual gateway identical with this main frame at described many LLI, select the virtual MAC address of the virtual gateway that priority is the highest to reply the ARP gateway requests of this main frame.
In the present embodiment, in the time that the LLI of website under the LLI that there is no website under virtual gateway in described VRRPE backup group and this main frame is identical, the ARP gateway requests of this main frame is replied in the virtual MAC address of the virtual gateway that now this VRRPE backup group medium priority of the main equipment selection in VRRPE backup group is the highest.
In the time there is migration in described main frame, the move into edge device of website of this main frame is judged this main frame according to the inbound port that receives this main frame message migration has been occurred, so upgrade the MAC address entries of this main frame at local terminal, and notify the edge device of other websites to upgrade the MAC address entries of this main frame.Meanwhile, send VRRP response message (notifying message) to the main equipment of described VRRPE backup group, notify the main equipment to described VRRPE backup group by the LLI of website under current this main frame.The main equipment of described VRRPE backup group is received after this message, reselect the virtual MAC address of the virtual gateway that in described VRRPE backup group, LLI is identical with the LLI of the current affiliated website of this main frame, initiatively reply to this main frame with ARP message, make this main frame complete ARP gateway and upgrade.
Be below another embodiment of the application, refer to Fig. 6, the large double layer network shown in Fig. 6 is made up of website 1 and website 2, and SW1 and SW2 are respectively the edge device of website 1 and website 2.
SW1 and SW2 define respectively and notice local LLI, and wherein the LLI of website 1 is 1, and the LLI of website 2 is 2;
In this large double layer network, two gateway device VRRPE-1 and the VRRPE-2 of VRRPE backup group are deployed in respectively in website 1 and website 2, and wherein VRRPE-1 is the main equipment of VRRPE backup group;
Main frame Host2 need to communicate by letter with outer net 2, so initiate ARP gateway requests, the MAC Address of request gateway.SW1 and SW2, in the time creating the MAC address entries of Host2, have all recorded its LLI=2.
When VRRPE backup group main equipment is received the ARP gateway requests of Host2, to the LLI of SW1 inquiry Host2, Query Result is 2.So in the time that decision-making is replied the ARP gateway requests of Host2 with the virtual MAC of which platform gateway router, the ARP gateway requests of selecting the virtual MAC of VRRPE-2 to reply Host2, within thereby the gateway router of guarantee Host2 and Host2 are positioned at same double layer network website, all three laminar flow amounts all mail to VRRPE-2.
When Host2 moves in network 1, SW1 and SW2 upgrade MAC address entries, and the edge device SW1 in network 1 sends VRRP response message to VRRPE-1, and the LLI of website 1 under current Host2 is notified to VRRPE-1; After VRRPE-1 receives, again for Host2 selects gateway, by the virtual MAC of VRRPE-1,, make Host2 complete ARP gateway and upgrade to Host2 by arp reply.
Refer to Fig. 7, a kind of distributor 70 of virtual gateway router is also proposed in the application one embodiment, be applied to the VRRPE backup group main equipment of large double layer network, in the hardware structure relating to as the network equipment of carrying apparatus of the present invention 70, generally include CPU, internal memory, nonvolatile memory, IO interface and other hardware.Be embodied as example with software, apparatus of the present invention 70 can be understood as the computer program being carried in internal memory conventionally, the logic device that the software and hardware forming after moving by CPU combines; This device 70 comprises:
Enquiry module 71, for when receive from main frame ARP gateway requests time, the mark of inquiring about website under this main frame to the edge device of this website; Website is designated that edge device records in the time of this host MAC address of study under wherein said main frame;
Responder module 72, replys the ARP gateway requests of described main frame for be positioned at the virtual MAC address of the virtual gateway of same website with described VRRPE backup group and this main frame.
In the present embodiment, described device 70 also comprises:
Receiver module 73, for receiving the notification packet sending from other virtual gateway of described VRRPE backup group, record the corresponding relation between the affiliated mark of website of described other virtual gateway carrying in this notification packet and the virtual MAC address of this other virtual gateway.
In the present embodiment, described responder module 72 specifically for: in the time that the mark of website under the mark that has website under multiple virtual gateways in described VRRPE backup group and this main frame is identical, in described multiple virtual gateways, the ARP gateway requests of described main frame is replied in the virtual MAC address of the virtual gateway that priority is the highest;
In the time that the mark of website under the mark that there is no website under virtual gateway in described VRRPE backup group and this main frame is identical, reply the ARP gateway requests of described main frame with the virtual MAC address of the highest virtual gateway of described VRRPE backup group medium priority.
In the present embodiment, described receiver module 73 is further used for: receive from the main frame notice message that website edge device sends of moving into, the mark of website under current according to the described main frame carrying in this notice message, give this main frame by the virtual MAC address of virtual gateway identical site identity under current to the mark of website in described VRRPE backup group and this main frame with arp reply, upgrade to make this main frame complete ARP gateway.
Refer to Fig. 8, a kind of edge device 80 of large double layer network is also proposed in the exemplary a kind of execution mode of the present invention, in the hardware structure relating to as the network equipment of the described edge device 80 of carrying, generally include CPU, internal memory, nonvolatile memory, IO interface and other hardware.Be embodied as example with software, apparatus of the present invention 70 can be understood as the computer program being carried in internal memory conventionally, the logic device that the software and hardware forming after moving by CPU combines; This edge device 80 comprises:
Logging modle 81, learns this user's MAC Address for basis from user's message, and records the corresponding relation between this user's MAC Address and the mark of the affiliated website of this user;
Responder module 82, for when receive from VRRPE backup group main equipment query message time, according to the MAC Address of user in this query message, reply the site identity corresponding with this MAC Address to described VRRPE backup group main equipment, to make described VRRPE backup group main equipment reply the ARP gateway requests of described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in VRRPE backup group.
In the present embodiment, described responder module 82 is further used for: when host migration is during to this website, send notice message to VRRPE backup group main equipment, with make described VRRPE backup group main equipment can be current according to this main frame carrying in this notice message under the mark of website, give this main frame by the virtual MAC address of virtual gateway identical site identity under current to the mark of website in described VRRPE backup group and this main frame with arp reply, make this main frame complete ARP gateway and upgrade.
By the description of above embodiment, it will be appreciated by those skilled in the art that in embodiment, the module in device can be merged into a module, also can further split into multiple submodules.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (12)

1. a distribution method for virtual gateway router, is applied to the Virtual Router Redundancy Protocol load-sharing mode VRRPE backup group main equipment of large double layer network, it is characterized in that, described method comprises:
When receive from main frame ARP gateway requests time, the mark of inquiring about website under this main frame to the edge device of this website; Website is designated that edge device records in the time of this host MAC address of study under wherein said main frame;
Reply the ARP gateway requests of described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in described VRRPE backup group.
2. the method for claim 1, is characterized in that, described method also comprises:
Receive from the notification packet that in described VRRPE backup group, other virtual gateway sends, record the corresponding relation between the affiliated mark of website of described other virtual gateway carrying in this notification packet and the virtual MAC address of this other virtual gateway.
3. the method for claim 1, is characterized in that, described ARP gateway requests of replying described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in described VRRPE backup group specifically comprises:
In the time that the mark of website under the mark that has website under multiple virtual gateways in described VRRPE backup group and this main frame is identical, in described multiple virtual gateways, the ARP gateway requests of described main frame is replied in the virtual MAC address of the virtual gateway that priority is the highest;
In the time that the mark of website under the mark that there is no website under virtual gateway in described VRRPE backup group and this main frame is identical, reply the ARP gateway requests of described main frame with the virtual MAC address of the highest virtual gateway of described VRRPE backup group medium priority.
4. the method for claim 1, is characterized in that, described method also comprises:
Receive from the main frame notice message that website edge device sends of moving into, the mark of website under current according to the described main frame carrying in this notice message, give this main frame by the virtual MAC address of virtual gateway identical site identity under current to the mark of website in described VRRPE backup group and this main frame with arp reply, upgrade to make this main frame complete ARP gateway.
5. a distributor for virtual gateway router, is applied to the Virtual Router Redundancy Protocol load-sharing mode VRRPE backup group main equipment of large double layer network, it is characterized in that, described device comprises:
Enquiry module, for when receive from main frame ARP gateway requests time, the mark of inquiring about website under this main frame to the edge device of this website; Website is designated that edge device records in the time of this host MAC address of study under wherein said main frame;
Responder module, replys the ARP gateway requests of described main frame for be positioned at the virtual MAC address of the virtual gateway of same website with described VRRPE backup group and this main frame.
6. device as claimed in claim 5, is characterized in that, described device also comprises:
Receiver module, for receiving the notification packet sending from other virtual gateway of described VRRPE backup group, record the corresponding relation between the affiliated mark of website of described other virtual gateway carrying in this notification packet and the virtual MAC address of this other virtual gateway.
7. device as claimed in claim 5, is characterized in that, described responder module specifically for:
In the time that the mark of website under the mark that has website under multiple virtual gateways in described VRRPE backup group and this main frame is identical, in described multiple virtual gateways, the ARP gateway requests of described main frame is replied in the virtual MAC address of the virtual gateway that priority is the highest;
In the time that the mark of website under the mark that there is no website under virtual gateway in described VRRPE backup group and this main frame is identical, reply the ARP gateway requests of described main frame with the virtual MAC address of the highest virtual gateway of described VRRPE backup group medium priority.
8. device as claimed in claim 5, is characterized in that, described receiver module is further used for:
Receive from the main frame notice message that website edge device sends of moving into, the mark of website under current according to the described main frame carrying in this notice message, give this main frame by the virtual MAC address of virtual gateway identical site identity under current to the mark of website in described VRRPE backup group and this main frame with arp reply, upgrade to make this main frame complete ARP gateway.
9. a distribution method for virtual gateway router, is applied on the edge device of large double layer network, it is characterized in that, described method comprises:
According to learn the MAC Address of this main frame from the message of main frame, and record the corresponding relation between the MAC Address of this main frame and the mark of the affiliated website of this main frame;
When receive from VRRPE backup group main equipment query message time, according to the MAC Address of main frame in this query message, reply the site identity corresponding with this MAC Address to described VRRPE backup group main equipment, to make described VRRPE backup group main equipment reply the ARP gateway requests of described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in VRRPE backup group.
10. method as claimed in claim 9, is characterized in that, described method also comprises:
When host migration is during to this website, send notice message to VRRPE backup group main equipment, with make described VRRPE backup group main equipment can be current according to this main frame carrying in this notice message under the mark of website, give this main frame by the virtual MAC address of virtual gateway identical site identity under current to the mark of website in described VRRPE backup group and this main frame with arp reply, make this main frame complete ARP gateway and upgrade.
The edge device of 11. 1 kinds of large double layer networks, is characterized in that, described equipment comprises:
Logging modle, learns this user's MAC Address for basis from user's message, and records the corresponding relation between this user's MAC Address and the mark of the affiliated website of this user;
Responder module, for when receive from VRRPE backup group main equipment query message time, according to the MAC Address of user in this query message, reply the site identity corresponding with this MAC Address to described VRRPE backup group main equipment, to make described VRRPE backup group main equipment reply the ARP gateway requests of described main frame with the virtual MAC address that is positioned at the virtual gateway of same website with this main frame in VRRPE backup group.
12. devices as claimed in claim 11, is characterized in that, described responder module is further used for:
When host migration is during to this website, send notice message to VRRPE backup group main equipment, with make described VRRPE backup group main equipment can be current according to this main frame carrying in this notice message under the mark of website, give this main frame by the virtual MAC address of virtual gateway identical site identity under current to the mark of website in described VRRPE backup group and this main frame with arp reply, make this main frame complete ARP gateway and upgrade.
CN201410097957.2A 2014-03-17 2014-03-17 The distribution method and device of a kind of virtual gateway router Active CN103873339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410097957.2A CN103873339B (en) 2014-03-17 2014-03-17 The distribution method and device of a kind of virtual gateway router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410097957.2A CN103873339B (en) 2014-03-17 2014-03-17 The distribution method and device of a kind of virtual gateway router

Publications (2)

Publication Number Publication Date
CN103873339A true CN103873339A (en) 2014-06-18
CN103873339B CN103873339B (en) 2017-10-17

Family

ID=50911481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410097957.2A Active CN103873339B (en) 2014-03-17 2014-03-17 The distribution method and device of a kind of virtual gateway router

Country Status (1)

Country Link
CN (1) CN103873339B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102070A (en) * 2016-05-31 2016-11-09 深圳市双赢伟业科技股份有限公司 Switch running status control method and device
CN107210934A (en) * 2015-02-09 2017-09-26 皇家Kpn公司 Distributed network gate
CN110022348A (en) * 2018-01-10 2019-07-16 Emc知识产权控股有限公司 System and method for dynamic backup session
CN111447295A (en) * 2020-02-29 2020-07-24 新华三信息安全技术有限公司 Hardware address negotiation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7990852B1 (en) * 2008-08-14 2011-08-02 Tellabs San Jose, Inc. Methods and apparatus for improving network communication using BFD and VRRP tracking system
CN102209124A (en) * 2011-06-08 2011-10-05 杭州华三通信技术有限公司 Method for communication between private network and public network and network address translation equipment
CN102932251A (en) * 2012-10-31 2013-02-13 杭州华三通信技术有限公司 Method and device for achieving local three-layer finality
US8576844B1 (en) * 2010-04-16 2013-11-05 Juniper Networks, Inc. Forwarding multicast packets in a VPLS router on the basis of MAC addresses

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7990852B1 (en) * 2008-08-14 2011-08-02 Tellabs San Jose, Inc. Methods and apparatus for improving network communication using BFD and VRRP tracking system
US8576844B1 (en) * 2010-04-16 2013-11-05 Juniper Networks, Inc. Forwarding multicast packets in a VPLS router on the basis of MAC addresses
CN102209124A (en) * 2011-06-08 2011-10-05 杭州华三通信技术有限公司 Method for communication between private network and public network and network address translation equipment
CN102932251A (en) * 2012-10-31 2013-02-13 杭州华三通信技术有限公司 Method and device for achieving local three-layer finality

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
顾津吉: "基于VRRPE的虚拟路由器冗余***的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107210934A (en) * 2015-02-09 2017-09-26 皇家Kpn公司 Distributed network gate
CN107210934B (en) * 2015-02-09 2020-12-22 皇家Kpn公司 Distributed gateway
CN106102070A (en) * 2016-05-31 2016-11-09 深圳市双赢伟业科技股份有限公司 Switch running status control method and device
CN110022348A (en) * 2018-01-10 2019-07-16 Emc知识产权控股有限公司 System and method for dynamic backup session
CN111447295A (en) * 2020-02-29 2020-07-24 新华三信息安全技术有限公司 Hardware address negotiation method and device
CN111447295B (en) * 2020-02-29 2022-04-01 新华三信息安全技术有限公司 Hardware address negotiation method and device

Also Published As

Publication number Publication date
CN103873339B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
US10027623B2 (en) Internet protocol address resolution
CN102404181B (en) Address corresponding relationship sending method of layer 2 protocol utilizing link state routing
US9019814B1 (en) Fast failover in multi-homed ethernet virtual private networks
EP2502389B1 (en) Method for the provision of gateway anycast virtual mac reachability in extended subnets
CN103259725B (en) Messaging method and network equipment
CN104168184A (en) Message forwarding method and device
CN105790996A (en) Distributed gateway backup processing method and network equipment
CN103534993A (en) Label switched routing to connect low power network domains
CN104320267A (en) ARP broadcast restraining system and method for achieving VxLAN based on SDN framework
CN105162704A (en) Multicast replication method and device in Overlay network
CN104079486A (en) Gateway and method of transmitting data through gateway
CN103118148A (en) Method and device for updating ARP (address resolution protocol) cache
CN103731349A (en) Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device
WO2021077971A1 (en) Communication method and device
CN105187311A (en) Message forwarding method and message forwarding device
CN103873339A (en) Method and device for distributing virtual gateway router
CN103780470A (en) IS-IS information synchronization method and device
WO2018161795A1 (en) Routing priority configuration method, device, and controller
CN108540386A (en) One kind preventing Business Stream interrupt method and device
CN104009919A (en) Message forwarding method and device
CN108924052B (en) Message forwarding method, convergence gateway, access gateway and system
US9548887B2 (en) Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover
CN104022954A (en) Message forwarding method and device
US10212079B2 (en) Router advertisement caching
CN106878173A (en) One kind route sending 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
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant