WO2022048646A1 - 虚拟ip管理方法、装置、电子设备和存储介质 - Google Patents

虚拟ip管理方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2022048646A1
WO2022048646A1 PCT/CN2021/116491 CN2021116491W WO2022048646A1 WO 2022048646 A1 WO2022048646 A1 WO 2022048646A1 CN 2021116491 W CN2021116491 W CN 2021116491W WO 2022048646 A1 WO2022048646 A1 WO 2022048646A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
state
network card
information
virtual network
Prior art date
Application number
PCT/CN2021/116491
Other languages
English (en)
French (fr)
Inventor
张建春
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP21863708.0A priority Critical patent/EP4164197A4/en
Publication of WO2022048646A1 publication Critical patent/WO2022048646A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/20Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/58Caching of addresses or names

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a virtual IP management method, apparatus, electronic device and storage medium.
  • a virtual network element in a network service scenario usually includes two or more virtual machines, and one active virtual machine is selected from among the virtual machines, and the other virtual machines are used as backup virtual machines.
  • the virtual network element configures an additional IP address for the active virtual machine, which is different from the IP address of the virtual machine itself. This IP address is called a virtual IP.
  • the virtual network element communicates with other virtual network elements through the virtual IP of the active virtual machine. When the active virtual machine fails and cannot continue to provide communication services, the virtual network element will quickly select a new active virtual machine, and configure the original virtual IP on the new active virtual machine, so as to provide continuous, Uninterrupted service.
  • the MAC address corresponding to the virtual IP becomes the MAC address of the new active virtual machine; all switches in the network need to update the forwarding entries, and modify the MAC address of the corresponding virtual IP to the new active virtual machine the MAC address.
  • the update of the forwarding entry depends on the virtual network element to actively send the message. If the virtual network element loses the message, it may cause service interruption and reduce service reliability.
  • an embodiment of the present application provides a virtual IP management method, including: sending a request message to a first virtual network card corresponding to a first virtual IP; when it is determined that a request response sent by the first virtual network card cannot be received message to update the first virtual IP state information in the first virtual IP state table; determine the current first virtual IP state according to the first virtual IP state information in the first virtual IP state table; when determining the current first virtual IP state When the IP state is in the invalid state, send a request message to at least one second virtual network card; when receiving a request response message sent by one of the second virtual network cards, send a notification to the switch to update the forwarding table to update the forwarding entry.
  • the Mac address corresponding to the first virtual IP in the forwarding entry is updated to the Mac address of the second virtual network card that sends the request-response message.
  • an embodiment of the present application provides a virtual IP management device, including: a southbound interface module configured to send a request message to a first virtual network card corresponding to the first virtual IP; a virtual IP service module configured to When it is determined that the request response message sent by the first virtual network card cannot be received, update the first virtual IP state information in the first virtual IP state table; and, according to the first virtual IP state table in the first virtual IP state information
  • the virtual IP state information determines the current first virtual IP state; and, when it is determined that the current first virtual IP state is an invalid state, sending a request message to at least one second virtual network card through the southbound interface module; the forwarding entry management module , is set so that when the southbound interface module receives a request response message sent by one of the second virtual network cards, the southbound interface module sends a notification of updating the forwarding entry to the switch, so as to forward the forwarding
  • the Mac address corresponding to the first virtual IP in the publication item is updated to the Mac address of the second virtual network card that sends the request
  • an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, when the processor executes the computer program
  • the above virtual IP management method is implemented.
  • an embodiment of the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the foregoing virtual IP management method is implemented.
  • FIG. 1 is a schematic diagram of a network architecture to which an embodiment of the present application is applicable;
  • FIG. 4 is a schematic structural diagram of a virtual IP management device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c may be single, or Can be multiple.
  • a virtual network element based on a Software Defined Network (SDN) service scenario usually includes two or more virtual machines, and one active virtual machine is selected among the virtual machines, and other virtual machines are used as backup virtual machines. machine.
  • the virtual network element is configured with an additional IP address for the active virtual machine, which is different from the IP address of the virtual machine itself.
  • the additional IP address is called a virtual IP.
  • the virtual network element communicates with other virtual network elements through the virtual IP of the active virtual machine. When the active virtual machine fails and cannot continue to provide communication services, the virtual network element will quickly select a new active virtual machine, and configure the original virtual IP on the new active virtual machine, so as to provide continuous, Uninterrupted service.
  • the MAC address corresponding to the virtual IP becomes the MAC address of the new active virtual machine; all switches in the SDN network need to update the forwarding entries, and modify the MAC address of the corresponding virtual IP to the new active virtual machine. MAC address of the machine.
  • the SDN controller learns the new MAC address and updates the forwarding entries of all switches. This method is commonly used when the active virtual machine is connected to the switch running the OpenFlow protocol.
  • the new active virtual machine sends a gratuitous ARP (Address Resolution Protocol, Address Resolution Protocol)/ND (Neighbor Discovery Protocol, Neighbor Discovery Protocol) message, which carries the virtual IP and the MAC address of the virtual machine itself;
  • the onboard switch sends the gratuitous ARP/ND packet to the SDN controller, and the SDN controller completes the learning of the new MAC address and updates the forwarding entries of all switches.
  • the switch learns the new MAC address and advertises it on the network. This method is commonly used when the active virtual machine is connected to the switch and runs the EVPN protocol. After the new active VM sends a gratuitous ARP/ND packet, the switch learns the new MAC address and constructs an EVPN route to advertise it to other switches; other switches update their local forwarding entries after receiving the EVPN route.
  • the SDN controller is responsible for synchronizing routing table entries between the OpenFlow switch and the EVPN switch.
  • the existing implementation specification generally requires the new active virtual machine to repeatedly send multiple gratuitous ARP/ND packets in a short period of time to reduce the number of gratuitous ARP/ND packets.
  • this does not fundamentally solve the problem of packet loss, so some implementations also require virtual network elements to support periodic sending of gratuitous ARP/ND packets to last for the entire life cycle of the active virtual machine.
  • the virtual network element needs to support the use of gratuitous ARP/ND to actively announce the MAC address of the virtual machine, or the virtual network element needs to support the periodic sending of gratuitous ARP/ND packets; if there is a virtual network element that does not support the above functions, the above method cannot be used. effective implementation.
  • gratuitous ARP/ND packets may cause service interruption. Because there is no reliable mechanism to ensure that gratuitous ARP/ND packets are received by the SDN controller or switch, whether it is actively sending gratuitous ARP/ND packets when the active virtual machine configures a virtual IP, or during the entire life cycle of the active virtual machine Even sending gratuitous ARP/ND packets periodically within the system cannot fundamentally solve the problem of service interruption caused by the loss of gratuitous ARP/ND packets.
  • SDN network belongs to the infrastructure of network virtualization, and the main goal is to provide network communication services to virtual network elements. Therefore, SDN network as an infrastructure does not need and should not depend on the behavior of virtual network elements. Provide reliable communication services.
  • the embodiments of the present application provide a virtual IP management method, apparatus, electronic device, and storage medium.
  • the virtual IP is included in the control plane management, and the SDN controller is responsible for maintaining the state of the virtual IP, so as to get rid of the behavior of the virtual network element.
  • the network architecture includes: Network Function Virtualization Orchestrator (NFVO), Virtualization Infrastructure Manager (VIM), Network Function Virtualization Infrastructure Layer (Network Functions) Virtualization Infrastructure, NFVI); where:
  • NFVO is used to define network services of virtual network elements, and to call NFVI network resources with the support of VIM to configure optimized network services for virtual network elements, such as defining virtual IP information and quality of service information of virtual network elements (such as virtual network elements).
  • optimized network services for virtual network elements such as defining virtual IP information and quality of service information of virtual network elements (such as virtual network elements).
  • the maximum interruption time acceptable for IP
  • VIM is used to manage various virtualized hardware and software resources, such as computing resources, network resources, and storage resources, and provides northbound interfaces for the orchestration layer.
  • the SDN controller also belongs to this layer logically, and is mainly responsible for the management of network resources.
  • the VIM can deliver the virtual IP and service quality information of the virtual network element to the SDN controller according to the request of NFVO;
  • this layer includes all kinds of software and hardware resources for virtualization: computing resources, network resources, storage resources; all kinds of resources belong to the unified management and deployment of VIM, and the network resources are managed by the SDN controller.
  • the virtual IP management method provided in this embodiment of the present application may be executed by the above-mentioned SDN controller.
  • the SDN controller may specifically include: a northbound interface module, a virtual IP service module, a database, a forwarding entry management module, and a southbound interface module; wherein:
  • the virtual IP service module is the main processing module of the virtual IP service. It is mainly responsible for managing the virtual IP, maintaining the status of the virtual IP, managing the forwarding entries related to the virtual IP, and processing the events of the southbound switch;
  • the database is set to store the virtual IP information table and the virtual network card information table
  • the forwarding entry management module is responsible for calculating the routing table and maintaining the forwarding entries of all switches;
  • the southbound interface module is configured to provide a communication channel between the SDN controller and the switch, such as sending and receiving packets, managing switch forwarding entries, and receiving southbound switch events.
  • FIG. 3 shows a flowchart of a virtual IP management method provided by an embodiment of the present application. As shown in Figure 3, the method includes the following steps:
  • S110 Send a request message to the first virtual network card corresponding to the first virtual IP.
  • the first virtual IP represents the virtual IP created by the VIM and configured to the master virtual machine of the virtual unit.
  • the first virtual network card represents the network card of the main virtual machine currently corresponding to the first virtual IP.
  • the SDN controller may receive, through the northbound interface module, an instruction to create a first virtual IP sent by the VIM, where the first virtual IP instruction includes the identifier, address, and associated virtual machine network card information and quality of the first virtual IP to be created.
  • Service information wherein the quality of service information may include the maximum interruption time acceptable for the virtual IP.
  • the SDN controller after receiving the first virtual IP creation instruction sent by the VIM, constructs a first virtual IP information table according to the virtual IP creation instruction sent by the VIM, so as to store the virtual IP information.
  • the elements and definitions included in the first virtual IP information table may be referred to as shown in Table 1 below.
  • Data definition Data Format illustrate Virtual IP ID UUID Key value, saves the unique ID of the virtual IP Virtual IPv4 address IPv4 address Save virtual IPv4 address Virtual IPv6 address IPv6 address Save virtual IPv6 address
  • the first virtual IP state table may also be constructed according to the first virtual IP information table.
  • the first virtual IP state table here is used to record state information of the first virtual IP.
  • the elements and definitions contained in the first virtual IP state table may be referred to as shown in Table 2 below.
  • the method before step S110, further includes: obtaining a current network card identifier corresponding to the first virtual IP from the first virtual IP state table; determining, according to the current network card identifier, that the first virtual network card is the current network card corresponding to the first virtual IP network card.
  • the destination MAC address of the request message in step S110 should be the MAC address of the corresponding main virtual machine, and the source MAC address is the MAC address of the SDN controller itself; the request message may pass through the southbound interface of the SDN controller The module sends to the first virtual network card corresponding to the first virtual IP.
  • the request message may be an ARP/ND message.
  • step S120 After sending the request message to the first virtual network card, it is necessary to confirm whether the request response message sent by the first virtual network card is received; if the request response message is received, it indicates the current virtual network card of the first virtual IP (that is, the first virtual network card). The virtual network card) is in a valid state; if it is determined that the request response message sent by the first virtual network card cannot be received, step S120 is performed.
  • the first virtual IP state table is recorded to determine that the current first virtual IP state is a valid state the time point, and use the time point as the valid time point for the current network card detection.
  • the updating of the first virtual IP state information in the first virtual IP state table in step S120 may specifically include:
  • the first virtual IP state information in the first virtual IP state table is in a state to be detected, the first virtual IP state information is updated to an invalid state.
  • the SDN controller determines that the request response message sent by the first virtual network card cannot be received, the state information in the state information of the first virtual IP is read, and if the state information is currently valid, the state information is modified as pending state. After updating the state information of the first virtual IP to the state to be detected, the SDN controller sends a request message to the first virtual network card corresponding to the first virtual IP again. When it is determined again that the request response message sent by the first virtual network card cannot be received At the time of writing, the first virtual IP state information is updated from the to-be-detected state to the invalid state.
  • the SDN controller may send a request packet to a virtual network card corresponding to the first virtual IP according to a preset detection time interval, so as to periodically detect the validity of the first virtual IP.
  • the value of the detection time interval may be determined based on the longest acceptable interruption time of the first virtual IP. In this example, the value of the detection time interval is set to 1 of the longest acceptable interruption time of the first virtual IP. /2. In this way, after the SDN controller determines for the first time that the request response message sent by the first virtual network card cannot be received and updates the state information of the first virtual IP to the state to be detected, the longest interruption acceptable to the first virtual IP passes through.
  • the request message is sent to the virtual network card corresponding to the first virtual IP again, so that the service interruption of the first virtual IP can be detected in time, and the service interruption time of the first virtual IP can be prevented from exceeding the acceptable length of the first virtual IP. the maximum interruption time, so as to ensure the quality of communication service.
  • the method before updating the first virtual IP state information to an invalid state, the method further includes: obtaining a current network card detection valid time point from the first virtual IP state table; determining that the current network card is invalid according to the current network card detection valid time point duration, when the failure duration exceeds the preset duration threshold, the status information is updated to the failure status, otherwise, the current status is kept unchanged.
  • the preset duration threshold may be the longest interruption time acceptable for the first virtual IP. In this way, the service interruption duration of the first virtual IP is prevented from exceeding the longest acceptable interruption time of the first virtual IP.
  • S130 Determine the current first virtual IP state according to the first virtual IP state information in the first virtual IP state table.
  • the SDN controller reads the first virtual IP state information in the first virtual IP state table to determine the current first virtual IP state, and determines whether to perform the subsequent S140 operation.
  • S140 when it is determined that the current first virtual IP state is an invalid state, send a request message to at least one second virtual network card.
  • the first virtual IP state information in the first virtual IP state table indicates that the current first virtual IP state is an invalid state, it means that the first virtual IP is unavailable at the current location and needs to traverse other virtual network cards (That is, the second virtual network card), to send a request message to each second virtual network card, and determine the current network card corresponding to the first virtual IP from at least one second virtual network card.
  • the second virtual network card after sending a request packet to at least one second virtual network card, if a certain second virtual network card is the current network card of the first virtual IP, the second virtual network card returns a request response packet to the SDN controller .
  • the SDN controller may receive the request response message sent by the second virtual network card through the southbound interface module, and determine the second virtual network card sending the request response message as the current network card corresponding to the first virtual IP.
  • the forwarding table entry management module encapsulates the Mac address of the second virtual network card that sends the request response message into the update forwarding table entry notification, and sends the updated forwarding table entry notification to each switch through the southbound interface module, so that each switch
  • the local forwarding table entry is modified according to the notification of updating the forwarding table entry, so that the Mac address corresponding to the first virtual IP in the forwarding table entry is updated to the Mac address of the second virtual network card that sends the request-response message.
  • the method further includes: when the request response message sent by the second virtual network card is not received, sending a notification of deleting the forwarding entry to the switch, to delete the forwarding table entry corresponding to the first virtual IP in the switch.
  • the second virtual network card that sends the request response message is the current network card corresponding to the first virtual IP;
  • the current network card identifier in the virtual IP state table is updated to the network card identifier of the second virtual network card that sends the request-response message.
  • the first virtual network card information table is also obtained according to the network card identifier in the first virtual IP information table; and the first virtual network card information table is constructed according to the first virtual network card information table.
  • a virtual network card state table is also obtained according to the network card identifier in the first virtual IP information table; and the first virtual network card information table is constructed according to the first virtual network card information table.
  • the network card identifier in the first virtual IP information table represents the unique identifier of the current network card, and the first virtual network card is determined according to the identifier as the current network card corresponding to the first virtual IP, and then the first virtual network card information table is obtained.
  • the first virtual network card information table For the elements and definitions included in the first virtual network card information table, see Table 3 below.
  • this embodiment After acquiring the first virtual network card information table, this embodiment further constructs a first virtual network card state table according to the first virtual network card information table to record the state of the first virtual network card.
  • a first virtual network card state table according to the first virtual network card information table to record the state of the first virtual network card.
  • step S110 after sending the request message to the first virtual network card corresponding to the first virtual IP, the method further includes: acquiring the first virtual network card state information from the first virtual network card state table;
  • the network card status information indicates that the first virtual network card is unavailable (for example, the switch status is disconnected or offline) or the virtual IP is not configured (for example, the interface status is closed or the interface has been deleted), then it is determined that the request response sent by the first virtual network card cannot be received. message.
  • the method of the embodiment of the present application further includes: receiving switch state change information sent by the switch, and updating the switch state information in the first virtual network card state table according to the switch state change information.
  • the method of the embodiment of the present application further includes: receiving interface state change information sent by the switch, and updating the interface state information in the first virtual network card state table according to the switch state change information.
  • the method of the embodiment of the present application further includes: receiving an instruction to delete the first virtual IP sent by the VIM, and updating the state information of the first virtual IP to a deleted state according to the instruction to delete the first virtual IP.
  • the SDN controller no longer relies on virtual network elements to send gratuitous ARP/ND packets, which solves the problem of loss of gratuitous ARP/ND packets, and also reduces the requirements for network elements;
  • Virtual NEs do not need to periodically send gratuitous ARP/ND packets to avoid excessive consumption of network resources by these broadcast packets;
  • the virtual IP information of virtual NEs and QoS information are specified when designing virtual NEs, and the SDN controller Different services can be provided according to the different service quality requirements of different virtual IPs to ensure that the service interruption time meets the service quality requirements.
  • FIG. 4 shows a virtual IP management apparatus provided by an embodiment of the present application, and the apparatus can be applied to an SDN server.
  • the device includes:
  • the southbound interface module is configured to send a request message to the first virtual network card corresponding to the first virtual IP;
  • a virtual IP service module comprising for updating the first virtual IP state information in the first virtual IP state table when it is determined that the request response message sent by the first virtual network card cannot be received; and, according to the first virtual IP state table
  • the first virtual IP state information determines the current first virtual IP state; and, when it is determined that the current first virtual IP state is an invalid state, send a request message to at least one second virtual network card through the southbound interface module;
  • the forwarding entry management module is configured to send a notification of updating the forwarding entry to the switch through the southbound interface module when the southbound interface module receives a request response message sent by one of the network cards in the second virtual network interface, so as to update the forwarding table
  • the Mac address corresponding to the first virtual IP in the item is updated to the Mac address of the second virtual network card that sends the request-response message.
  • the virtual IP service module includes a virtual IP management unit and a virtual IP detection unit.
  • the virtual IP detection unit is specifically configured to update the first virtual IP state information in the first virtual IP state table when it is determined that the request response message sent by the first virtual network card cannot be received; and, according to the first virtual IP
  • the first virtual IP state information in the state table determines the current first virtual IP state; and when it is determined that the current first virtual IP state is an invalid state, send a request message to at least one second virtual network card through the southbound interface module.
  • the virtual IP detection unit is further configured to: when receiving the request response message sent by the first virtual network card, determine that the current state of the first virtual IP is a valid state.
  • the virtual IP management unit is configured to: record in the first virtual IP state table a time point at which the current first virtual IP state is determined to be a valid state, and use the time point as the current network card detection valid time point.
  • the virtual IP management unit is further configured to: when the first virtual IP state information in the first virtual IP state table corresponding to the first virtual IP is in a valid state, update the first virtual IP state information to pending Detection state; when the first virtual IP state information in the first virtual IP state table is a state to be detected, update the first virtual IP state information to an invalid state.
  • the virtual IP detection unit is further configured to: send a request message to the virtual network card corresponding to the first virtual IP according to a preset detection time interval.
  • the virtual IP management unit is further configured to: obtain the current network card detection valid time point from the first virtual IP state table; determine the current network card invalidation duration according to the current network card detection valid time point, and when the invalidation duration exceeds a preset time The duration threshold, and the status information is updated to the invalid status.
  • the virtual IP detection unit is further configured to: obtain the current network card identifier corresponding to the first virtual IP from the first virtual IP state table; and determine, according to the current network card identifier, that the first virtual network card is the current network card corresponding to the first virtual IP network card.
  • the virtual IP management unit is further configured to: determine that the second virtual network card that sends the request response message is the current network card corresponding to the first virtual IP; update the current network card identifier in the first virtual IP state table It is the network card identifier of the second virtual network card that sends the request-response message.
  • the apparatus further comprises a northbound interface module configured to receive a create first virtual IP instruction sent by the virtualization infrastructure manager VIM.
  • the virtual IP management unit is further configured to: build a first virtual IP information table according to the create virtual IP instruction; and build a first virtual IP state table according to the first virtual IP information table.
  • the first virtual IP information table may be stored in a database.
  • the virtual IP management unit is further configured to: acquire the first virtual network card information table according to the network card identifier in the first virtual IP information table; and construct the first virtual network card state table according to the first virtual network card information table.
  • the first virtual network card information table may be stored in a database.
  • the virtual IP management unit is further configured to: acquire the first virtual network card information table according to the network card identifier in the first virtual IP information table; and construct the first virtual network card state table according to the first virtual network card information table.
  • the virtual IP detection unit is further configured to: obtain the first virtual network card state information from the first virtual network card state table; when the first virtual network card state information indicates that the first virtual network card is unavailable or the virtual IP is not configured, Then, it is determined that the request-response message sent by the first virtual network card cannot be received.
  • the southbound interface module is further configured to receive switch state change information and/or interface state change information sent by the switch.
  • the virtual IP management unit is further configured to: update the switch state information in the first virtual network card state table according to the switch state change information.
  • the virtual IP management unit is further configured to: update the interface state information in the first virtual network card state table according to the interface state change information.
  • the northbound interface module is further configured to receive an instruction to delete the first virtual IP sent by the VIM.
  • the virtual IP management unit is further configured to: update the first virtual IP state information to a deleted state according to the instruction to delete the first virtual IP.
  • the forwarding entry management module is further configured to: when the request response message sent by the second virtual network card is not received, send a notification of deleting the forwarding entry to the switch through the southbound interface module, so as to connect the switch with the The forwarding entry corresponding to the first virtual IP is deleted.
  • FIG. 5 shows an electronic device 600 provided by an embodiment of the present application. As shown in FIG. 5, the electronic device 600 includes but is not limited to:
  • the processor 602 is configured to execute the program stored in the memory 601.
  • the processor 602 executes the program stored in the memory 601, the processor 602 is configured to execute the above-mentioned virtual IP management method.
  • the processor 602 and the memory 601 may be connected by a bus or otherwise.
  • the memory 601 can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the virtual IP management method described in any embodiment of this application.
  • the processor 602 implements the above-mentioned virtual IP management method by running the non-transitory software programs and instructions stored in the memory 601 .
  • the memory 601 may include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program required by at least one function; the storage data area may store and execute the above-mentioned virtual IP management method.
  • memory 601 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device.
  • memory 601 may include memory located remotely from processor 602, which may be connected to processor 602 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the non-transitory software programs and instructions required to implement the above virtual IP management method are stored in the memory 601, and when executed by one or more processors 602, execute the virtual IP management method provided by any embodiment of the present application.
  • Embodiments of the present application further provide a storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the above-mentioned virtual IP management method.
  • the storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more control processors 602, for example, by a processor 602 in the electronic device 600 described above, so that the above One or more processors 602 execute the virtual IP management method provided by any embodiment of the present application.
  • the embodiment of the present application includes: sending a request message to a first virtual network card corresponding to the first virtual IP; when it is determined that the request response message sent by the first virtual network card cannot be received, updating the first virtual IP status table in the first virtual IP state table. 1 virtual IP state information; determine the current first virtual IP state according to the first virtual IP state information in the first virtual IP state table; when it is determined that the current first virtual IP state is an invalid state, send a message to at least one second virtual network card Send a request message; when receiving a request response message sent by one of the second virtual network cards, send a notification of updating the forwarding table entry to the switch, so as to update the forwarding table entry corresponding to the first virtual IP
  • the Mac address is updated to the Mac address of the second virtual network card that sends the request-response message.
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种虚拟IP管理方法、装置、电子设备和存储介质,所述方法包括:向第一虚拟IP对应的第一虚拟网卡发送请求报文(S110);当确定当前第一虚拟IP状态为失效状态,向至少一个第二虚拟网卡发送请求报文;当接收到所述第二虚拟网卡中的其中一个网卡发送的请求应答报文,向交换机发送更新转发表项通知,以将转发表项中与所述第一虚拟IP对应的Mac地址更新为发送所述请求应答报文的所述第二虚拟网卡的Mac地址(S150)。

Description

虚拟IP管理方法、装置、电子设备和存储介质
相关申请的交叉引用
本申请基于申请号为202010930319.X、申请日为2020年9月7日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及通信技术领域,具体涉及一种虚拟IP管理方法、装置、电子设备和存储介质。
背景技术
网络服务场景下的虚拟网元通常包括两个或者两个以上的虚拟机,并在虚拟机之中选出一个主用虚拟机,其它虚拟机作为备用虚拟机。虚拟网元为主用虚拟机配置一个额外的IP地址,区别于虚拟机自身的IP地址,该IP地址称为虚拟IP。虚拟网元通过主用虚拟机的虚拟IP与其它虚拟网元通信。当主用虚拟机发生故障而无法继续提供通信服务时,虚拟网元会迅速选出新的主用虚拟机,并将原虚拟IP配置在新的主用虚拟机上,以能够对外提供连续的、不中断的服务。虚拟网元重新配置虚拟IP之后,虚拟IP对应的MAC地址变为新主用虚拟机的MAC地址;网络中所有交换机均需要更新转发表项,修改对应虚拟IP的MAC地址为新主用虚拟机的MAC地址。然而,目前转发表项的更新依赖虚拟网元主动发送报文实现,如若虚拟网元报文丢失可能会造成业务中断,导致服务可靠性降低。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本申请实施例提供了一种虚拟IP管理方法、装置、电子设备和存储介质。
第一方面,本申请实施例提供了一种虚拟IP管理方法,包括:向第一虚拟IP对应的第一虚拟网卡发送请求报文;当确定接收不到所述第一虚拟网卡发送的请求应答报文,更新第一虚拟IP状态表中的第一虚拟IP状态信息;根据所述第一虚拟IP状态表中的第一虚拟IP状态信息确定当前第一虚拟IP状态;当确定当前第一虚拟IP状态为失效状态,向至少一个第二虚拟网卡发送请求报文;当接收到所述第二虚拟网卡中的其中一个网卡发送的请求应答报文,向交换机发送更新转发表项通知,以将转发表项中与所述第一虚拟IP对应的Mac地址更新为发送所述请求应答报文的所述第二虚拟网卡的Mac地址。
第二方面,本申请实施例提供了一种虚拟IP管理装置,包括:南向接口模块,被设置成向第一虚拟IP对应的第一虚拟网卡发送请求报文;虚拟IP服务模块,被设置成当确定接收不到所述第一虚拟网卡发送的请求应答报文,更新第一虚拟IP状态表中的第一虚拟IP状态信息;以及,根据所述第一虚拟IP状态表中的第一虚拟IP状态信息确定当前第一虚拟IP状态;以及,当确定当前第一虚拟IP状态为失效状态,通过所述南向接口模块向至少一个第二虚拟网卡发送请求报文;转发表项管理模块,被设置成当所述南向接口模块接收到所述第二虚拟网卡中的其中一个网卡发送的请求应答报文,通过所述南向接口模块向交换机发送更新 转发表项通知,以将转发表项中与所述第一虚拟IP对应的Mac地址更新为发送所述请求应答报文的所述第二虚拟网卡的Mac地址。
第三方面,本申请实施例提供了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的虚拟IP管理方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现上述的虚拟IP管理方法。
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。
图1是本申请实施例适用的网络架构示意图;
图2是本申请实施例提供的一种SDN控制器的结构示意图;
图3是本申请一实施例提供的一种虚拟IP管理方法的流程示意图;
图4是本申请一实施例提供的一种虚拟IP管理装置的结构示意图;
图5是本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
应了解,在本申请实施例的描述中,如果有描述到“第一”、“第二”等只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a,b,c可以是单个,也可以是多个。
此外,下面所描述的本申请各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。
为了便于理解,首先对本申请实施例的相关技术内容作一介绍。
基于软件定义网络(Software Defined Network,SDN)服务场景下的虚拟网元通常包括两个或者两个以上的虚拟机,并在虚拟机之中选出一个主用虚拟机,其它虚拟机作为备用虚拟机。虚拟网元为主用虚拟机配置一个额外的IP地址,区别于虚拟机自身的IP地址,该额 外的IP地址称为虚拟IP。虚拟网元通过主用虚拟机的虚拟IP与其它虚拟网元通信。当主用虚拟机发生故障而无法继续提供通信服务时,虚拟网元会迅速选出新的主用虚拟机,并将原虚拟IP配置在新的主用虚拟机上,以能够对外提供连续的、不中断的服务。虚拟网元重新配置虚拟IP之后,虚拟IP对应的MAC地址变为新主用虚拟机的MAC地址;SDN网络中所有交换机均需要更新转发表项,修改对应虚拟IP的MAC地址为新主用虚拟机的MAC地址。
目前针对SDN网络主要有如下几种方法实现更新所有交换机的转发表项:
第一种,SDN控制器学习新MAC地址并更新所有交换机的转发表项,这种方法常见于主用虚拟机上联交换机运行OpenFlow协议的情况。新的主用虚拟机发送免费ARP(Address Resolution Protocol,地址解析协议)/ND(Neighbor Discovery Protocol,邻居发现协议)报文,报文中携带了虚拟IP以及虚拟机自身的MAC地址;主用虚拟机上联交换机将免费ARP/ND报文上送到SDN控制器,SDN控制器完成新MAC地址学习,并更新所有交换机的转发表项。
第二种,交换机学习新MAC地址并在网络中通告,这种方法常见于主用虚拟机上联交换机运行EVPN协议的情况。新的主用虚拟机发送免费ARP/ND报文后,交换机学习新的MAC地址,并构造EVPN路由向其它交换机通告;其它交换机收到该EVPN路由后,更新本地转发表项。
第三种,在SDN网络中同时存在OpenFlow交换机与EVPN交换机的情况下,SDN控制器负责完成OpenFlow交换机与EVPN两种交换机之间的路由表项同步。
为了避免免费ARP/ND报文偶然丢失造成转发表项无法更新的问题,现有实现规范一般还会要求新的主用虚拟机在短时间内重复发送多次免费ARP/ND报文,以降低问题发生的概率;不过这并不能从根本上解决报文丢失的问题,因此一些实现还要求虚拟网元支持周期性地发送免费ARP/ND报文,持续主用虚拟机的整个生存周期。
上述的方法存在如下问题:
(1)依赖虚拟网元的实现。比如,虚拟网元需要支持使用免费ARP/ND主动公告虚拟机的MAC地址,或者虚拟网元需要支持周期性发送免费ARP/ND报文;如果存在虚拟网元不支持上述功能,则上述方法无法有效实施。
(2)免费ARP/ND报文丢失可能会造成业务中断。因为没有可靠的机制确保免费ARP/ND报文被SDN控制器或者交换机接收,因此无论是在主用虚拟机配置虚拟IP时主动发送免费ARP/ND报文,还是在主用虚拟机整个生命周期内周期性发送免费ARP/ND报文,都无法根本解决免费ARP/ND报文丢失带来的业务中断的问题。
基于上述分析可知,现有的SDN网络方案中解决虚拟IP服务可靠性问题的方法是由数据平面驱动的(通过虚拟网元发送免费ARP/ND报文),SDN控制器作为控制平面只是被动感知,没有主动参与,因此无法确保虚拟IP通信服务的可靠性。此外,从SDN网络的角度看,SDN网络属于网络虚拟化的基础设施,主要目标是向虚拟网元提供网络通信服务,故SDN网络作为基础设施不需要也不应该依赖于虚拟网元的行为来提供可靠的通信服务。
基于此,本申请实施例提供一种虚拟IP管理方法、装置、电子设备和存储介质,将虚拟IP纳入控制平面管理,由SDN控制器负责维护虚拟IP的状态,摆脱对于虚拟网元的行为的依赖,为虚拟IP提供高可用的通信服务。
现在对本申请实施例适用的网络架构进行说明。如图1所示,该网络架构包括:网络功能虚拟化编排器(Network Function Virtualization Orchestration,NFVO)、虚拟化基础 设施管理器(Virtualization Infrastructure Manager,VIM)、网络功能虚拟化基础设施层(Network Functions Virtualization Infrastructure,NFVI);其中:
NFVO,用于定义虚拟网元的网络服务,并在VIM的支持下调用NFVI的网络资源,为虚拟网元配置优化的网络服务,比如定义虚拟网元的虚拟IP信息、服务质量信息(比如虚拟IP可接受的最长中断时间);
VIM,用于管理各类虚拟化的软硬件资源,比如计算资源、网络资源与存储资源,并提供北向接口供编排层使用。SDN控制器逻辑上也属于这一层,主要负责网络资源的管理,VIM可以按照NFVO的请求将虚拟网元的虚拟IP、服务质量信息下发给SDN控制器;
NFVI,这一层包含用于实现虚拟化的各类软硬件资源:计算资源、网络资源、存储资源;各类资源归属VIM统一管理与调配,其中网络资源由SDN控制器统一管理。
应当理解的是,本申请实施例提供的虚拟IP管理方法可以由上述的SDN控制器执行。如图2所示,SDN控制器具体可以包括:北向接口模块、虚拟IP服务模块、数据库、转发表项管理模块和南向接口模块;其中:
北向接口模块,被设置成定义虚拟IP服务的北向编程接口,具体可以包括如下接口:创建虚拟IP接口、删除虚拟IP接口;VIM可以调用上述接口创建、删除虚拟网元的虚拟IP及相关的服务质量信息;
虚拟IP服务模块,是虚拟IP服务的主要处理模块,主要负责管理虚拟IP、维护虚拟IP的状态、管理虚拟IP相关的转发表项、处理南向交换机的事件;
数据库,被设置成存储虚拟IP信息表、虚拟网卡信息表;
转发表项管理模块,负责计算路由表,并维护所有交换机的转发表项;
南向接口模块,被设置成提供SDN控制器与交换机通信的通道,比如收发报文、管理交换机转发表项、接收南向交换机事件等。
图3示出了本申请一实施例提供的虚拟IP管理方法的流程图。如图3所示,该方法包括如下步骤:
S110,向第一虚拟IP对应的第一虚拟网卡发送请求报文。
应理解的是,第一虚拟IP表示由VIM创建并配置给虚拟单元的主虚拟机的虚拟IP。第一虚拟网卡表示第一虚拟IP当前对应的主虚拟机的网卡。
在一些示例中,SDN控制器可以通过北向接口模块接收VIM发送的创建第一虚拟IP指令,第一虚拟IP指令包括待创建的第一虚拟IP的标识、地址、关联的虚拟机网卡信息以及质量服务信息,其中,质量服务信息可以包括虚拟IP可接受的最长中断时间。
在一些实施例中,SDN控制器在接收VIM发送的创建第一虚拟IP指令之后,根据VIM发送的创建虚拟IP指令构建第一虚拟IP信息表,以保存虚拟IP的信息。其中,第一虚拟IP信息表包含的元素和定义可以参见如下表1所示。
表1
数据定义 数据格式 说明
虚拟IP标识 UUID 键值,保存虚拟IP唯一标识
虚拟IPv4地址 IPv4地址 保存虚拟IPv4地址
虚拟IPv6地址 IPv6地址 保存虚拟IPv6地址
虚拟机网卡信息列表 列表 列表中保存对应的虚拟机网卡唯一标识
最长中断时间 数值 保存虚拟IP可接受的最长中断时间
在一些示例中,在SDN控制器构建第一虚拟IP信息表之后,还可以根据第一虚拟IP信息表构建第一虚拟IP状态表。这里的第一虚拟IP状态表用于记录第一虚拟IP的状态信息。第一虚拟IP状态表包含的元素和定义可以参见如下表2所示。
表2
Figure PCTCN2021116491-appb-000001
在一些实施例中,在步骤S110之前,方法还包括:从第一虚拟IP状态表获取对应第一虚拟IP的当前网卡标识;根据当前网卡标识确定第一虚拟网卡为对应第一虚拟IP的当前网卡。
在一些示例中,步骤S110中的请求报文的目的MAC地址应当为对应主虚拟机的MAC地址,源MAC地址为SDN控制器自身的MAC地址;请求报文可以通过SDN控制器的南向接口模块发送给第一虚拟IP对应的第一虚拟网卡。其中,请求报文可以是ARP/ND报文。
在向第一虚拟网卡发送请求报文之后,需确认是否接收到第一虚拟网卡发送的请求应答报文;如果接收到该请求应答报文,表示第一虚拟IP的当前虚拟网卡(即第一虚拟网卡)为有效状态;如果确定接收不到第一虚拟网卡发送的请求应答报文,则执行步骤S120。
在一些实施例中,当接收到第一虚拟网卡发送的请求应答报文,确定当前第一虚拟IP状态为有效状态,在第一虚拟IP状态表中记录确定当前第一虚拟IP状态为有效状态的时间点,并将时间点作为当前网卡检测有效时间点。
S120,当确定接收不到第一虚拟网卡发送的请求应答报文,更新第一虚拟IP状态表中的第一虚拟IP状态信息。
其中,步骤S120中的更新第一虚拟IP状态表中的第一虚拟IP状态信息,具体可以包括:
当第一虚拟IP对应的第一虚拟IP状态表中的第一虚拟IP状态信息为有效状态,将第一虚拟IP状态信息更新为待检测状态;或者,
当第一虚拟IP状态表中的第一虚拟IP状态信息为待检测状态,将第一虚拟IP状态信息更新为失效状态。
比如,当SDN控制器确定接收不到第一虚拟网卡发送的请求应答报文,则读取第一虚拟IP状态信息中的状态信息,如果状态信息当前为有效状态,则将该状态信息修改为待检测状态。在将第一虚拟IP状态信息更新为待检测状态之后,SDN控制器再次向第一虚拟IP对应的第一虚拟网卡发送请求报文,当再次确定接收不到第一虚拟网卡发送的请求应答报文时,则将第一虚拟IP状态信息从待检测状态更新为失效状态。
在一些实施例中,SDN控制器可以按照预设的检测时间间隔向第一虚拟IP对应的虚拟网卡发送请求报文,以周期性地检测第一虚拟IP的有效性。其中,检测时间间隔的取值可以基于第一虚拟IP可接受的最长中断时间确定,在本示例中,将检测时间间隔的取值设置为第一虚拟IP可接受的最长中断时间的1/2。这样,当SDN控制器在第一次确定接收不到第一虚拟网卡发送的请求应答报文并将第一虚拟IP状态信息更新为待检测状态之后,经过第一虚拟IP可接受的最长中断时间的1/2时长后再次向第一虚拟IP对应的虚拟网卡发送请求报文,如此能够及时发现第一虚拟IP的业务中断,避免第一虚拟IP的业务中断时长超出第一虚拟IP可接受的最长中断时间,从而保证通信服务质量。
在一些实施例中,在将第一虚拟IP状态信息更新为失效状态之前,还包括:从第一虚拟IP状态表中获取当前网卡检测有效时间点;根据当前网卡检测有效时间点确定当前网卡失效时长,当失效时长超出预设时长阈值,将状态信息更新为失效状态,否则,保持当前的状态不变。其中,预设时长阈值可以为第一虚拟IP可接受的最长中断时间。这样,避免第一虚拟IP的业务中断时长超出第一虚拟IP可接受的最长中断时间。
S130,根据第一虚拟IP状态表中的第一虚拟IP状态信息确定当前第一虚拟IP状态。
在一些示例中,SDN控制器对第一虚拟IP状态表中的第一虚拟IP状态信息进行读取,以确定当前第一虚拟IP状态,判断是否执行后续的S140操作。
S140,当确定当前第一虚拟IP状态为失效状态,向至少一个第二虚拟网卡发送请求报文。
在一些示例中,当根据第一虚拟IP状态表中的第一虚拟IP状态信息表示当前第一虚拟IP状态为失效状态,说明第一虚拟IP在当前的位置不可用,需要遍历其它虚拟网卡(即第二虚拟网卡),以向各个第二虚拟网卡发送请求报文,从至少一个第二虚拟网卡中确定与第一虚拟IP对应的当前网卡。
S150,当接收到第二虚拟网卡中的其中一个网卡发送的请求应答报文,向交换机发送更新转发表项通知,以将转发表项中与第一虚拟IP对应的Mac地址更新为发送请求应答报文的第二虚拟网卡的Mac地址。
在一些示例中,在向至少一个第二虚拟网卡发送请求报文之后,如果某个第二虚拟网卡为第一虚拟IP的当前网卡,该第二虚拟网卡即向SDN控制器返回请求应答报文。SDN控制器可以通过南向接口模块接收到该第二虚拟网卡发送的请求应答报文,并将发送请求应答报文的第二虚拟网卡确定为与第一虚拟IP对应的当前网卡。转发表项管理模块将发送请求应答报文的第二虚拟网卡的Mac地址封装进更新转发表项通知中,并通过南向接口模块将该更新转发表项通知发送给各个交换机,以使各个交换机根据更新转发表项通知修改本地的转发表项,实现将转发表项中与第一虚拟IP对应的Mac地址更新为发送请求应答报文的第二虚拟网卡的Mac地址。
在一些实施例中,在步骤S140的向至少一个第二虚拟网卡发送请求报文之后,还包括:当接收不到第二虚拟网卡发送的请求应答报文,向交换机发送删除转发表项通知,以将交换机中与第一虚拟IP对应的转发表项删除。
在一些实施例中,当接收到第二虚拟网卡中的其中一个网卡发送的请求应答报文,确定发送请求应答报文的第二虚拟网卡为与第一虚拟IP对应的当前网卡;将第一虚拟IP状态表中的当前网卡标识更新为发送请求应答报文的第二虚拟网卡的网卡标识。
在一些实施例中,在根据创建虚拟IP指令构建第一虚拟IP信息表之后,还根据第一虚拟IP信息表中的网卡标识获取第一虚拟网卡信息表;根据第一虚拟网卡信息表构建第一虚拟网卡状态表。
在一些示例中,第一虚拟IP信息表中的网卡标识表示当前所在网卡的唯一标识,根据该标识确定第一虚拟网卡为第一虚拟IP对应的当前网卡,进而获取第一虚拟网卡信息表。第一虚拟网卡信息表包含的元素和定义请参见如下表3所示。
表3
Figure PCTCN2021116491-appb-000002
在获取第一虚拟网卡信息表之后,本实施例还根据第一虚拟网卡信息表构建第一虚拟网卡状态表,以记录第一虚拟网卡的状态。第一虚拟网卡状态表包含的元素和定义请参见如下表4所示
表4
Figure PCTCN2021116491-appb-000003
Figure PCTCN2021116491-appb-000004
在一些实施例中,步骤S110中,在向第一虚拟IP对应的第一虚拟网卡发送请求报文之后,还包括:从第一虚拟网卡状态表获取第一虚拟网卡状态信息;当第一虚拟网卡状态信息指示第一虚拟网卡不可用(比如交换机状态为连接中断或者离线)或者未配置虚拟IP(比如接口状态关闭或者接口已被删除),则确定接收不到第一虚拟网卡发送的请求应答报文。
在一些实施例中,本申请实施例的方法还包括:接收交换机发送的交换机状态变化信息,根据交换机状态变化信息更新第一虚拟网卡状态表中的交换机状态信息。
在一些实施例中,本申请实施例的方法还包括:接收交换机发送的接口状态变化信息,根据交换机状态变化信息更新第一虚拟网卡状态表中的接口状态信息。
在一些实施例中,本申请实施例的方法还包括:接收VIM发送的删除第一虚拟IP指令,根据删除第一虚拟IP指令将第一虚拟IP状态信息更新为删除状态。
本申请实施例提供的虚拟IP管理方法,SDN控制器不再依赖虚拟网元发送免费ARP/ND报文,解决了免费ARP/ND报文丢失的问题,同时也降低了对网元的要求;虚拟网元不需要再周期性发送免费ARP/ND报文,避免这些广播报文消耗过多的网络资源;虚拟网元的虚拟IP信息以服务质量信息在设计虚拟网元时指定,SDN控制器可以依据不同虚拟IP的不同服务质量要求提供差异性的服务,确保业务中断时间满足服务质量要求。
图4示出了本申请一实施例提供的一种虚拟IP管理装置,该装置可应用于SDN服务器中。如图4所示,该装置包括:
南向接口模块,被设置成向第一虚拟IP对应的第一虚拟网卡发送请求报文;
虚拟IP服务模块,包括用于当确定接收不到第一虚拟网卡发送的请求应答报文,更新第一虚拟IP状态表中的第一虚拟IP状态信息;以及,根据第一虚拟IP状态表中的第一虚拟IP状态信息确定当前第一虚拟IP状态;以及,当确定当前第一虚拟IP状态为失效状态,通过南向接口模块向至少一个第二虚拟网卡发送请求报文;
转发表项管理模块,被设置成当南向接口模块接收到第二虚拟网卡中的其中一个网卡发送的请求应答报文,通过南向接口模块向交换机发送更新转发表项通知,以将转发表项中与第一虚拟IP对应的Mac地址更新为发送请求应答报文的第二虚拟网卡的Mac地址。
在一些实施例中,虚拟IP服务模块包括虚拟IP管理单元和虚拟IP检测单元。
具体的,虚拟IP检测单元具体被设置成当确定接收不到第一虚拟网卡发送的请求应答报文,更新第一虚拟IP状态表中的第一虚拟IP状态信息;以及,根据第一虚拟IP状态表中的第一虚拟IP状态信息确定当前第一虚拟IP状态;以及,当确定当前第一虚拟IP状态为失效状态,通过南向接口模块向至少一个第二虚拟网卡发送请求报文。
在一些实施例中,虚拟IP检测单元还被设置成:当接收到第一虚拟网卡发送的请求应答报文,确定当前第一虚拟IP状态为有效状态。
在一些实施例中,虚拟IP管理单元被设置成:在第一虚拟IP状态表中记录确定当前第一虚拟IP状态为有效状态的时间点,并将时间点作为当前网卡检测有效时间点。
在一些实施例中,虚拟IP管理单元还被设置成:当第一虚拟IP对应的第一虚拟IP状态表中的第一虚拟IP状态信息为有效状态,将第一虚拟IP状态信息更新为待检测状态;当第一虚拟IP状态表中的第一虚拟IP状态信息为待检测状态,将第一虚拟IP状态信息更新为失效状态。
在一些实施例中,虚拟IP检测单元还被设置成:按照预设的检测时间间隔向第一虚拟IP对应的虚拟网卡发送请求报文。
在一些实施例中,虚拟IP管理单元还被设置成:从第一虚拟IP状态表中获取当前网卡检测有效时间点;根据当前网卡检测有效时间点确定当前网卡失效时长,当失效时长超出预设时长阈值,将状态信息更新为失效状态。
在一些实施例中,虚拟IP检测单元还被设置成:从第一虚拟IP状态表获取对应第一虚拟IP的当前网卡标识;根据当前网卡标识确定第一虚拟网卡为对应第一虚拟IP的当前网卡。
在一些实施例中,虚拟IP管理单元还被设置成:确定发送请求应答报文的第二虚拟网卡为与第一虚拟IP对应的当前网卡;将第一虚拟IP状态表中的当前网卡标识更新为发送请求应答报文的第二虚拟网卡的网卡标识。
在一些实施例中,装置还包括北向接口模块,该北向接口模块被设置成接收虚拟化基础设施管理器VIM发送的创建第一虚拟IP指令。
在一些实施例中,虚拟IP管理单元还被设置成:根据创建虚拟IP指令构建第一虚拟IP信息表;以及,根据第一虚拟IP信息表构建第一虚拟IP状态表。具体的,第一虚拟IP信息表可以存储在数据库中。
在一些实施例中,虚拟IP管理单元还被设置成:根据第一虚拟IP信息表中的网卡标识获取第一虚拟网卡信息表;根据第一虚拟网卡信息表构建第一虚拟网卡状态表。在一些示例中,第一虚拟网卡信息表可以存储在数据库中。
在一些实施例中,虚拟IP管理单元还被设置成:根据第一虚拟IP信息表中的网卡标识获取第一虚拟网卡信息表;根据第一虚拟网卡信息表构建第一虚拟网卡状态表。
在一些实施例中,虚拟IP检测单元还被设置成:从第一虚拟网卡状态表获取第一虚拟网卡状态信息;当第一虚拟网卡状态信息指示第一虚拟网卡不可用或者未配置虚拟IP,则确定接收不到第一虚拟网卡发送的请求应答报文。
在一些实施例中,南向接口模块还被设置成接收交换机发送的交换机状态变化信息和/或接口状态变化信息。
在一些实施例中,虚拟IP管理单元还被设置成:根据交换机状态变化信息更新第一虚拟网卡状态表中的交换机状态信息。
在一些实施例中,虚拟IP管理单元还被设置成:根据接口状态变化信息更新第一虚拟网卡状态表中的接口状态信息。
在一些实施例中,北向接口模块还被设置成接收VIM发送的删除第一虚拟IP指令。
在一些实施例中,虚拟IP管理单元还被设置成:根据删除第一虚拟IP指令将第一虚拟IP状态信息更新为删除状态。
在一些实施例中,转发表项管理模块还被设置成:当接收不到第二虚拟网卡发送的请求应答报文,通过南向接口模块向交换机发送删除转发表项通知,以将交换机中与第一虚拟IP对应的转发表项删除。
进一步可以理解的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
图5示出了本申请实施例提供的电子设备600。如图5所示,该电子设备600包括但不限于:
存储器601,用于存储程序;
处理器602,用于执行存储器601存储的程序,当处理器602执行存储器601存储的程序时,处理器602用于执行上述的虚拟IP管理方法。
处理器602和存储器601可以通过总线或者其他方式连接。
存储器601作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序,如本申请任意实施例描述的虚拟IP管理方法。处理器602通过运行存储在存储器601中的非暂态软件程序以及指令,从而实现上述的虚拟IP管理方法。
存储器601可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储执行上述的虚拟IP管理方法。此外,存储器601可以包括高速随机存取存储器,还可以包括非暂态存储器,比如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器601可包括相对于处理器602远程设置的存储器,这些远程存储器可以通过网络连接至该处理器602。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
实现上述的虚拟IP管理方法所需的非暂态软件程序以及指令存储在存储器601中,当被一个或者多个处理器602执行时,执行本申请任意实施例提供的虚拟IP管理方法。
本申请实施例还提供了一种存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述的虚拟IP管理方法。
在一实施例中,该存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个控制处理器602执行,比如,被上述电子设备600中的一个处理器602执行,可使得上述一个或多个处理器602执行本申请任意实施例提供的虚拟IP管理方法。
本申请实施例包括:向第一虚拟IP对应的第一虚拟网卡发送请求报文;当确定接收不到所述第一虚拟网卡发送的请求应答报文,更新第一虚拟IP状态表中的第一虚拟IP状态信息;根据所述第一虚拟IP状态表中的第一虚拟IP状态信息确定当前第一虚拟IP状态;当确定当 前第一虚拟IP状态为失效状态,向至少一个第二虚拟网卡发送请求报文;当接收到所述第二虚拟网卡中的其中一个网卡发送的请求应答报文,向交换机发送更新转发表项通知,以将转发表项中与所述第一虚拟IP对应的Mac地址更新为发送所述请求应答报文的所述第二虚拟网卡的Mac地址。本申请实施例的方案,不再依赖虚拟网元主动发送的报文来更新转发表项,解决了报文丢失导致业务中断的问题,同时也降低了对网元的要求。
以上所描述的实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包括计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
以上是对本申请的一些实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请范围的共享条件下还可作出种种等同的变形或替换,这些等同的变形或替换均包括在本申请权利要求所限定的范围内。

Claims (12)

  1. 一种虚拟IP管理方法,包括:
    向第一虚拟IP对应的第一虚拟网卡发送请求报文;
    当确定接收不到所述第一虚拟网卡发送的请求应答报文,更新第一虚拟IP状态表中的第一虚拟IP状态信息;
    根据所述第一虚拟IP状态表中的第一虚拟IP状态信息确定当前第一虚拟IP状态;
    当确定当前第一虚拟IP状态为失效状态,向至少一个第二虚拟网卡发送请求报文;
    当接收到所述第二虚拟网卡中的其中一个网卡发送的请求应答报文,向交换机发送更新转发表项通知,以将转发表项中与所述第一虚拟IP对应的Mac地址更新为发送所述请求应答报文的所述第二虚拟网卡的Mac地址。
  2. 根据权利要求1所述的方法,其中,所述更新第一虚拟IP状态表中的第一虚拟IP状态信息,包括:
    当所述第一虚拟IP状态表中的第一虚拟IP状态信息为有效状态,将所述第一虚拟IP状态信息更新为待检测状态。
  3. 根据权利要求1所述的方法,其中,所述更新第一虚拟IP状态表中的第一虚拟IP状态信息,包括:
    当所述第一虚拟IP状态信息为待检测状态,将所述第一虚拟IP状态信息更新为失效状态。
  4. 根据权利要求3所述的方法,其中,所述方法还包括:
    按照预设的检测时间间隔向第一虚拟IP对应的虚拟网卡发送请求报文;
    当接收到所述第一虚拟网卡发送的请求应答报文,确定当前第一虚拟IP状态为有效状态;
    在所述第一虚拟IP状态表中记录确定当前第一虚拟IP状态为有效状态的时间点,并将所述时间点作为当前网卡检测有效时间点;
    在所述将所述第一虚拟IP状态信息更新为失效状态之前,所述方法还包括:
    从所述第一虚拟IP状态表中获取当前网卡检测有效时间点;
    根据当前网卡检测有效时间点确定当前网卡失效时长,当所述失效时长超出预设时长阈值,将所述状态信息更新为失效状态。
  5. 根据权利要求1所述的方法,其中,在向第一虚拟IP对应的第一虚拟网卡发送请求报文之前,所述方法还包括:
    接收虚拟化基础设施管理器VIM发送的创建第一虚拟IP指令,根据所述创建虚拟IP指令构建第一虚拟IP信息表;
    根据所述第一虚拟IP信息表构建所述第一虚拟IP状态表。
  6. 根据权利要求5所述的方法,其中,在根据所述创建虚拟IP指令构建第一虚拟IP信息表之后,所述方法还包括:
    根据所述第一虚拟IP信息表中的网卡标识获取第一虚拟网卡信息表;
    根据所述第一虚拟网卡信息表构建第一虚拟网卡状态表;
    在所述向第一虚拟IP对应的第一虚拟网卡发送请求报文之后,所述方法还包括:
    从所述第一虚拟网卡状态表获取第一虚拟网卡状态信息;
    当所述第一虚拟网卡状态信息指示所述第一虚拟网卡不可用或者未配置虚拟IP,则确定接收不到所述第一虚拟网卡发送的请求应答报文。
  7. 根据权利要求6所述的方法,其中,所述方法还包括如下至少之一:
    接收所述交换机发送的交换机状态变化信息,根据所述交换机状态变化信息更新所述第一虚拟网卡状态表中的交换机状态信息;
    接收所述交换机发送的接口状态变化信息,根据所述交换机状态变化信息更新所述第一虚拟网卡状态表中的接口状态信息。
  8. 根据权利要求5所述的方法,其中,所述方法还包括:
    接收所述VIM发送的删除第一虚拟IP指令,根据所述删除第一虚拟IP指令将所述第一虚拟IP状态信息更新为删除状态。
  9. 根据权利要求1所述的方法,其中,所述方法还包括:
    当接收不到所述第二虚拟网卡发送的请求应答报文,向交换机发送删除转发表项通知,以将所述交换机中与所述第一虚拟IP对应的转发表项删除。
  10. 一种虚拟IP管理装置,包括:
    南向接口模块,被设置成向第一虚拟IP对应的第一虚拟网卡发送请求报文;
    虚拟IP服务模块,被设置成当确定接收不到所述第一虚拟网卡发送的请求应答报文,更新第一虚拟IP状态表中的第一虚拟IP状态信息;以及,根据所述第一虚拟IP状态表中的第一虚拟IP状态信息确定当前第一虚拟IP状态;以及,当确定当前第一虚拟IP状态为失效状态,通过所述南向接口模块向至少一个第二虚拟网卡发送请求报文;
    转发表项管理模块,被设置成当所述南向接口模块接收到所述第二虚拟网卡中的其中一个网卡发送的请求应答报文,通过所述南向接口模块向交换机发送更新转发表项通知,以将转发表项中与所述第一虚拟IP对应的Mac地址更新为发送所述请求应答报文的所述第二虚拟网卡的Mac地址。
  11. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至9任一项所述的方法。
  12. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至9任一项所述的方法。
PCT/CN2021/116491 2020-09-07 2021-09-03 虚拟ip管理方法、装置、电子设备和存储介质 WO2022048646A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21863708.0A EP4164197A4 (en) 2020-09-07 2021-09-03 METHOD AND DEVICE FOR MANAGING VIRTUAL IP, ELECTRONIC DEVICE AND STORAGE MEDIUM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010930319.XA CN114244810A (zh) 2020-09-07 2020-09-07 虚拟ip管理方法、装置、电子设备和存储介质
CN202010930319.X 2020-09-07

Publications (1)

Publication Number Publication Date
WO2022048646A1 true WO2022048646A1 (zh) 2022-03-10

Family

ID=80490677

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/116491 WO2022048646A1 (zh) 2020-09-07 2021-09-03 虚拟ip管理方法、装置、电子设备和存储介质

Country Status (3)

Country Link
EP (1) EP4164197A4 (zh)
CN (1) CN114244810A (zh)
WO (1) WO2022048646A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679349A (zh) * 2022-03-29 2022-06-28 新华三技术有限公司 一种数据通信方法及装置
CN115550221A (zh) * 2022-10-10 2022-12-30 苏州浪潮智能科技有限公司 一种网卡测试的集成管理方法、系统及装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866509B (zh) * 2022-06-16 2024-04-26 北京百度网讯科技有限公司 虚拟ip切换方法、装置和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452857A (zh) * 2013-02-18 2017-02-22 华为技术有限公司 生成配置信息的方法和网络控制单元
CN107612834A (zh) * 2017-09-13 2018-01-19 杭州迪普科技股份有限公司 一种基于虚拟设备迁移的evpn路由更新方法
CN107623757A (zh) * 2017-10-27 2018-01-23 新华三技术有限公司 表项更新方法和装置
US20190245811A1 (en) * 2018-02-08 2019-08-08 Adva Optical Networking Se Device and method of forwarding data packets in a virtual switch of a software-defined wide area network environment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9483369B2 (en) * 2014-01-24 2016-11-01 Verizon Patent And Licensing Inc. Method and apparatus for failover detection and recovery using gratuitous address resolution messages
CN108293001B (zh) * 2015-12-31 2020-10-23 华为技术有限公司 一种软件定义数据中心及其中的服务集群的部署方法
EP3459225B1 (en) * 2016-05-17 2020-09-23 Telefonaktiebolaget LM Ericsson (PUBL) Methods and apparatus for enabling live virtual machine (vm) migration in software-defined networking networks
US10560375B2 (en) * 2018-05-28 2020-02-11 Vmware, Inc. Packet flow information invalidation in software-defined networking (SDN) environments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452857A (zh) * 2013-02-18 2017-02-22 华为技术有限公司 生成配置信息的方法和网络控制单元
CN107612834A (zh) * 2017-09-13 2018-01-19 杭州迪普科技股份有限公司 一种基于虚拟设备迁移的evpn路由更新方法
CN107623757A (zh) * 2017-10-27 2018-01-23 新华三技术有限公司 表项更新方法和装置
US20190245811A1 (en) * 2018-02-08 2019-08-08 Adva Optical Networking Se Device and method of forwarding data packets in a virtual switch of a software-defined wide area network environment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679349A (zh) * 2022-03-29 2022-06-28 新华三技术有限公司 一种数据通信方法及装置
CN114679349B (zh) * 2022-03-29 2023-07-21 新华三技术有限公司 一种数据通信方法及装置
CN115550221A (zh) * 2022-10-10 2022-12-30 苏州浪潮智能科技有限公司 一种网卡测试的集成管理方法、系统及装置

Also Published As

Publication number Publication date
EP4164197A1 (en) 2023-04-12
EP4164197A4 (en) 2023-08-30
CN114244810A (zh) 2022-03-25

Similar Documents

Publication Publication Date Title
WO2022048646A1 (zh) 虚拟ip管理方法、装置、电子设备和存储介质
CN109729111B (zh) 用于管理分布式系统的方法、设备和计算机程序产品
US9674139B2 (en) Detection of a misconfigured duplicate IP address in a distributed data center network fabric
US7894335B2 (en) Redundant routing capabilities for a network node cluster
EP3214816B1 (en) Method, gateway and system for synchronizing virtual machine location information between data center gateways
US10572291B2 (en) Virtual network management
CN109587286B (zh) 一种设备接入控制方法及装置
EP3451592B1 (en) Packet transmission between vxlan domains
CN108667575B (zh) 一种bras转控分离的备份方法和装置
US11445013B2 (en) Method for changing member in distributed system and distributed system
US10447652B2 (en) High availability bridging between layer 2 networks
CN111010329B (zh) 一种报文传输方法及装置
US20160134534A1 (en) Switching device, controller, method for configuring switching device, and method and system for processing packet
CN110943928B (zh) 转发信息状态同步方法、控制器、网络转发设备及存储介质
EP3570169A1 (en) Method and system for processing device failure
CN102752144B (zh) 一种软重启不中断业务升级过程中拓扑变化的处理方法及装置
CN114448789B (zh) 节点管控方法、网络系统、设备及存储介质
WO2022088931A1 (zh) 信息处理方法及其装置、宽带接入服务器、存储介质
CN111556179B (zh) Arp表项更新方法和装置
WO2021114978A1 (zh) 路由器链路更新方法、路由器及存储介质
US9769059B2 (en) Fast interlayer forwarding
US11943141B2 (en) Method and network device for managing MAC table, storage medium, and program product
CN114390023B (zh) 一种动态地址不老化方法、装置、电子设备及存储介质
WO2014040409A1 (zh) 路由管理的方法和节点
CN110099007B (zh) 一种倒换控制方法和装置、交换机和计算机可读存储介质

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021863708

Country of ref document: EP

Effective date: 20230109

NENP Non-entry into the national phase

Ref country code: DE