# US 2023/0418648 A1 · Efficient network device failover management for virtual machines

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0418648 A1
- Document ID: US20230418648A1
- Status: Published application
- Kind: A1
- Application number: 17/852,200
- Filed: 2022-06-28
- Published: 2023-12-28
- Earliest claimed: 2022-06-28
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Michael Tsirkin
- Web page: https://patentgrep.com/patent/US20230418648A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/45545: {Guest-host, i.e. hypervisor is an application program itself, e.g. VirtualBox}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for virtual machine networking can include detecting, by a virtual machine (VM), a primary virtual Network Interface Controller (vNIC) configured with a first media access control (MAC) address assigned to the VM by a hypervisor running on a host computer system, and detecting a standby vNIC configured with a second MAC address. They can further include binding a software Network Interface Controller (NIC) configured with a third MAC address to the primary vNIC and the standby vNIC, and selecting a vNIC from among those two vNICs for use by the software NIC for communicating network data packets. Additionally, they can include assigning the third MAC address to the selected vNIC, and communicating network data packets through the software NIC using the third MAC address.

## Claims

### Claim 1

A method comprising:
detecting, by a virtual machine (VM), a primary virtual Network Interface Controller (vNIC) configured with a first media access control (MAC) address assigned to the VM by a hypervisor running on a host computer system;
detecting, by the VM, a standby vNIC configured with a second MAC address;
connecting a software Network Interface Controller (NIC) configured with a third MAC address to the primary vNIC and the standby vNIC;
selecting, for use by the software NIC for communicating network data packets, a vNIC represented by one of: the primary vNIC or the standby vNIC;
assigning the third MAC address to the selected vNIC; and
communicating network data packets through the software NIC using the third MAC address.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining, by the VM, one of: the first MAC address, the second MAC address, or the third MAC address by reading a control register of the standby vNIC.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
selecting a different vNIC represented by one of: the primary vNIC or the standby vNIC;
reassigning the third MAC address to the selected different vNIC; and
communicating network data packets through the software NIC and the selected different vNIC using the third MAC address.

### Claim 4 (depends on 1)

The method of claim 1, wherein the primary vNIC is associated with a physical NIC of the host computer.

### Claim 5 (depends on 1)

The method of claim 1, wherein the third MAC address is identical to one of: the first MAC address or the second MAC address.

### Claim 6 (depends on 1)

The method of claim 1, wherein communicating network data packets comprises at least one of: transmitting data network data packets to a physical NIC of the host computer or receiving data packets from the physical NIC of the host computer.

### Claim 7 (depends on 1)

The method of claim 1, wherein communicating network data packets comprises transmitting data network data packets to and receiving data packets from the hypervisor.

### Claim 8

A system comprising:
a memory device;
a processing device operatively coupled to the memory device, to perform operations comprising:
detecting, by a virtual machine (VM), a primary virtual Network Interface Controller (vNIC) configured with a first media access control (MAC) address assigned to the VM by a hypervisor running on a host computer system;
detecting, by the VM, a standby vNIC configured with a second MAC address;
connecting a software Network Interface Controller (NIC) configured with a third MAC address to the primary vNIC and the standby vNIC;
selecting, for use by the software NIC for communicating network data packets, a vNIC represented by one of: the primary vNIC or the standby vNIC;
assigning the third MAC address to the selected vNIC; and
communicating network data packets through the software NIC using the third MAC address.

### Claim 9 (depends on 8)

The system of claim 8, wherein the operations further comprise:
determining, by the VM, one of: the first MAC address, the second MAC address, or the third MAC address by reading a control register of the standby vNIC.

### Claim 10 (depends on 8)

The system of claim 8, further comprising:
selecting a different vNIC represented by one of: the primary vNIC or the standby vNIC;
reassigning the third MAC address to the selected different vNIC; and
communicating network data packets through the software NIC and the selected different vNIC using the third MAC address.

### Claim 11 (depends on 8)

The system of claim 8, wherein the primary vNIC is associated with a physical NIC of the host computer.

### Claim 12 (depends on 8)

The system of claim 8, wherein the third MAC address is identical to one of: the first MAC address or the second MAC address.

### Claim 13 (depends on 8)

The system of claim 8, wherein communicating network data packets comprises at least one of: transmitting data network data packets to a physical NIC of the host computer or receiving data packets from the physical NIC of the host computer.

### Claim 14 (depends on 8)

The system of claim 8, wherein communicating network data packets comprises at least one of: transmitting data network data packets to and receiving data packets from the hypervisor.

### Claim 15

A non-transitory computer-readable media storing instructions that, when executed, cause a processing device to:
detect, by a virtual machine (VM), a primary vNIC (virtual Network Interface Controller) configured with a first media access control (MAC) address assigned to the VM by a hypervisor running on a host computer system;
detect, by the VM, a standby vNIC configured with a second MAC address;
connect a software Network Interface Controller (NIC) configured with a third MAC address to the primary vNIC and the standby vNIC;
select, for use by the software NIC for communicating network data packets, a vNIC represented by one of: the primary vNIC or the standby vNIC;
assign the third MAC address to the selected vNIC; and
communicate network data packets through the software NIC using the third MAC address.

### Claim 16 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the instructions further cause the processing device to:
determine, by the VM, one of: the first MAC address, the second MAC address, or the third MAC address by reading a control register of the standby vNIC.

### Claim 17 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the instructions further cause the processing device to:
select a different vNIC represented by one of: the primary vNIC or the standby vNIC;
reassign the third MAC address to the selected different vNIC; and
communicate network data packets through the software NIC and the selected different vNIC using the third MAC address.

### Claim 18 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the primary vNIC is associated with a physical NIC of the host computer.

### Claim 19 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein the third MAC address is identical to one of: the first MAC address or the second MAC address.

### Claim 20 (depends on 15)

The non-transitory computer-readable media of claim 15, wherein communicating network data packets comprises at least one of: transmitting data network data packets to a physical NIC of the host computer or receiving data packets from the physical NIC of the host computer.
