# US 2021/0240514 A1 · Virtual machine client-side virtual network change

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

- Number: US 2021/0240514 A1
- Document ID: US20210240514A1
- Status: Published application
- Kind: A1
- Application number: 17/234,612
- Filed: 2021-04-19
- Published: 2021-08-05
- Earliest claimed: 2017-11-10
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Sushant Pramod REWASKAR; Md. Daud Hossain HOWLADER; Ashish BHARGAVA; Nisheeth SRIVASTAVA; Naveen PRABHAT; Jayesh KUMARAN; Xinyan ZAN; Abhishek SHUKLA; Rishabh TEWARI
- Web page: https://patentgrep.com/patent/US20210240514A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/4406: {Loading of operating system}
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- H04L 41/0813: characterised by the conditions triggering a change of settings
- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45575: {Starting, stopping, suspending or resuming virtual machine instances}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The disclosed technology is generally directed to virtual machines. In one example of the technology, a network change from a first virtual network to a second virtual network is reconfigured for a first virtual machine that is executing on a first virtual machine host. The reconfiguring includes the following. In the first virtual machine host, a mapping change from the first virtual network to the second virtual network is configured by reprogramming drivers in the first virtual machine host for route mapping for the second virtual network. A Dynamic Host Configuration Protocol (DHCP) retrigger is caused without rebooting the first virtual machine. A configuration file is provided to the first virtual machine. The configuration file includes user-specific networking settings. The first virtual machine is reconfigured in accordance with the user-specific networking settings.

## Claims

### Claim 1

An apparatus, comprising:
a first virtual machine host including at least one memory adapted to store run-time data for the first virtual machine host, and at least one processor that is adapted to execute processor-executable code that, in response to execution, enables the first virtual machine host to perform actions, including:
reconfiguring a network configuration from a first virtual network to a second virtual network for a first virtual machine that is executing on the first virtual machine host, wherein the first virtual machine is waiting for a full configuration that includes user-specific network settings, and wherein the reconfiguring includes:
changing, in the first virtual machine host, a mapping configuration from the first virtual network to the second virtual network by reprogramming drivers in the first virtual machine host for route mapping for the second virtual network based on the user-specific network settings;
causing a Dynamic Host Configuration Protocol (DHCP) retrigger without rebooting the first virtual machine;
providing a configuration file to the first virtual machine, wherein the configuration file includes the user-specific networking settings; and
reconfiguring the first virtual machine in accordance with the user-specific networking settings.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the first virtual machine is a partially configured virtual machine.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the configuration file includes a plurality of user-specific settings, and wherein reconfiguring the first virtual machine includes, via an agent in the first virtual machine: accepting the plurality of user-specific settings, and applying the plurality of user-specific settings to the first virtual machine.

### Claim 4 (depends on 1)

The apparatus of claim 1, the actions further including reporting a success message in response to successfully reconfiguring the first virtual machine.

### Claim 5 (depends on 1)

The apparatus of claim 1, the actions further including creating the configuration file.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein causing the DHCP retrigger includes disconnecting and reconnecting a network interface controller.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein causing the DHCP retrigger further includes triggering a DCHP renewal sequence in response to a link state change.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the reconfiguring further includes changing, for the first virtual machine, a customer internet protocol (IP) address from a customer IP address for the first virtual network to a customer IP address for the second virtual network, while using a media access control (MAC) address for the first virtual network as a MAC address for the second virtual network, and using an IP address for the first virtual network as an IP address for the second virtual network.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein changing, in the first virtual machine host, the mapping configuration includes reprogramming the drivers based on the change from the customer IP address for the first virtual network to the customer IP address for the second virtual network.

### Claim 10

A method, comprising:
reconfiguring a network configuration, including:
via at least one processor, changing, in a first virtual machine host executing a first virtual machine, a virtual network configuration for the first virtual machine from a first virtual network to a second virtual network, wherein the first virtual machine is awaiting a full configuration that includes user-specific network settings;
retriggering a Dynamic Host Configuration Protocol (DHCP);
publishing a configuration file to the first virtual machine, wherein the configuration file includes the user-specific network settings; and
reconfiguring the first virtual machine in accordance with the configuration file.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first virtual machine is a partially configured virtual machine.

### Claim 12 (depends on 10)

The method of claim 10, wherein retriggering the DHCP includes disconnecting and reconnecting a network interface controller.

### Claim 13 (depends on 12)

The method of claim 12, wherein retriggering the DHCP further includes:
triggering a DCHP renewal sequence in response to a link state change.

### Claim 14 (depends on 10)

The method of claim 10, wherein the reconfiguring further includes changing, for the first virtual machine, a customer internet protocol (IP) address from a customer IP address for the first virtual network to a customer IP address for the second virtual network, while using a media access control (MAC) address for the first virtual network as a MAC address for the second virtual network, and using an IP address for the first virtual network as an IP address for the second virtual network.

### Claim 15 (depends on 14)

The method of claim 14, wherein the changing, in the first virtual machine host, the virtual network configuration includes reprogramming drivers in the first virtual machine host based on the change from the customer IP address for the first virtual network to the customer IP address for the second virtual network.

### Claim 16

A processor-readable storage medium, having stored thereon processor-executable code that, upon execution by at least one processor, enables actions, comprising:
reconfiguring a virtual network configuration from a first virtual network to a second virtual network for a first virtual machine that is executing on a first virtual machine host, wherein the reconfiguring includes:
changing, in the first virtual machine host, a mapping configuration from the first virtual network to the second virtual network by reprogramming drivers in the first virtual machine host for route mapping for the second virtual network based on user-specific network settings;
causing a Dynamic Host Configuration Protocol (DHCP) retrigger without rebooting the first virtual machine;
providing a configuration file to the first virtual machine, wherein the configuration file includes the user-specific networking settings; and
reconfiguring the first virtual machine in accordance with the user-specific networking settings.

### Claim 17 (depends on 16)

The processor-readable storage medium of claim 16, wherein causing the DHCP retrigger includes disconnecting and reconnecting a network interface controller.

### Claim 18 (depends on 17)

The processor-readable storage medium of claim 17, wherein causing the DHCP retrigger further includes triggering a DCHP renewal sequence in response to a link state change.

### Claim 19 (depends on 16)

The processor-readable storage medium of claim 16, wherein the reconfiguring further includes changing, for the first virtual machine, a customer internet protocol (IP) address from a customer IP address for the first virtual network to a customer IP address for the second virtual network, while using a media access control (MAC) address for the first virtual network as a MAC address for the second virtual network, and using an IP address for the first virtual network as an IP address for the second virtual network.

### Claim 20 (depends on 19)

The processor-readable storage medium of claim 19, wherein changing, in the first virtual machine host, the mapping configuration includes reprogramming the drivers based on the change from the customer IP address for the first virtual network to the customer IP address for the second virtual network.
