# US 10,958,558 B2 · Reactive source routing associated with a network

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

- Number: US 10,958,558 B2
- Document ID: US10958558B2
- Status: Granted
- Kind: B2
- Application number: 14/191,358
- Filed: 2014-02-26
- Published: 2015-08-27
- Granted: 2021-03-23
- Earliest claimed: 2014-02-26
- Assignees: Red Hat Israel, Ltd.
- Applicants: Red Hat Israel, Ltd.
- Inventors: Assaf Muller; Dan Kenigsberg
- Web page: https://patentgrep.com/patent/US10958558B2

## CPC

- H04L 45/02: Topology update or discovery
- H04L 12/66: Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
- H04L 41/08: Configuration management of networks or network elements (address allocation H04L61/50)
- H04L 45/04: {Interdomain routing, e.g. hierarchical routing}
- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- H04L 63/02: {for separating internal from external traffic, e.g. firewalls}
- H04L 61/5007: Internet protocol [IP] addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An initiation of a network device on a host system may be detected and an IP address may be assigned to the network device. Furthermore, a network gateway may be associated with the IP address. In some embodiments, a network may be assigned to the network device. The network may be configured to route outgoing data from the network through the network gateway as opposed to a default network gateway.

## Claims

### Claim 1

A method comprising:
identifying an initiation of a network device of a host system associated with a network, wherein the network device is a network interface controller (NIC) of a host system that is currently running a virtual machine that is associated with a virtual machine display network;
transmitting a query for a static Internet Protocol (IP) address or a dynamic IP address for the IP address of the network device;
determining whether to assign the static IP address or the dynamic IP address to the IP address of the network device, wherein assigning the dynamic IP request is determined in view of whether a response includes an identifier specifying a Dynamic Host Configuration Protocol (DHCP);
receiving the IP address, being either the assigned static IP address or the assigned dynamic IP address, associated with the network device;
identifying a network gateway, from a plurality of network gateways of the network that are used by the host system, that is associated with the IP address;
configuring, by a processing device, the network to route outgoing data, comprising display data of the virtual machine, from the network device of the host system via the network through the identified network gateway by using the IP address of the network device, wherein:
the identified network gateway is different from, and has a different firewall setting than, a default network gateway of the plurality of network gateways,
the default network gateway being used to route incoming data via the network to the network device of the host system, and wherein the identified network gateway to route the outgoing data from the network device is associated with a different firewall setting than the default network gateway used to route the incoming data to the network device, wherein configuring the network to route the outgoing data through the identified network gateway comprises:
updating a routing table of the host system associated with the network to comprise the IP address of the network device and the identified network gateway;
receiving a new IP address to be assigned to the network device;
updating the routing table associated with the network to comprise the new IP address; and
updating the routing table to reroute return data traffic through the identified network gateway.

### Claim 2 (depends on 1)

The method of claim 1, wherein the updating of the routing table comprises replacing the IP address with the new IP address.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a request for data associated with a display of the virtual machine; and
transmitting the data associated with the display of the virtual machine from the network through the identified network gateway.

### Claim 4

A host system, comprising:
a routing table; and
a processing device, operatively coupled with the routing table, to:
identify an initiation of a network device of the host system associated with a network, wherein the network device is a network interface controller (NIC) of a host system that is currently running a virtual machine that is associated with a virtual machine display network;
transmit a query for a static Internet Protocol (IP) address or a dynamic IP address for the IP address of the network device;
determine whether to assign the static IP address or the dynamic IP address to the IP address, wherein assigning the dynamic IP request is determined in view of whether a response includes an identifier specifying a Dynamic Host Configuration Protocol (DHCP);
receive the IP address, being either the assigned static IP address or the dynamic IP address, associated with the network device;
identify a network gateway, from a plurality of network gateways of the network that are used by the host system, that is associated with the IP address;
configure the network to route outgoing data, comprising display data of the virtual machine, from the network device of the host system via the network through the identified network gateway by using the IP address of the network device, wherein:
the identified network gateway is different from, and has a different firewall setting than, a default network gateway of the plurality of network gateways,
the default network gateway being used to route incoming data via the network to the network device of the host system, wherein to configure the network to route the outgoing data through the identified network gateway, the processing device to:
update the routing table associated with the network to comprise the IP address of the network device and the identified network gateway;
receive a new IP address to be assigned to the network device;
update the routing table associated with the network to comprise the new IP address: and
update the routing table to route return data traffic through the identified network.

### Claim 5 (depends on 4)

The system of claim 4, wherein the processing device is further to:
receive a request for data associated with a display of the virtual machine; and
transmit the data associated with the display of the virtual machine from the network through the identified network gateway.

### Claim 6 (depends on 4)

The system of claim 4, wherein to update the routing table the processing device is further to replace the IP address with the new IP address.

### Claim 7

A non-transitory machine-readable storage medium comprising data that, when accessed by a processing device of a host system, cause the processing device to:
identify an initiation of a network device of the host system associated with a network, wherein the network device is a network interface controller (NIC) of a host system that is currently running a virtual machine that is associated with a virtual machine display network;
transmit a query for a static Internet Protocol (IP) address or a dynamic IP address for the IP address of the network device;
determine whether to assign the static IP address or the dynamic IP address to the IP address, wherein assigning the dynamic IP request is determined in view of whether a response includes an identifier specifying a Dynamic Host Configuration Protocol (DHCP);
receive the IP address, being either the assigned static IP address or the dynamic IP address, associated with the network device;
identify a network gateway, from a plurality of network gateways of the network that are used by the host system, that is associated with the IP address;
configure the network to route outgoing data, comprising display data of the virtual machine, from the network device of the host system via the network through the identified network gateway by using the IP address of the network device, wherein:
the identified network gateway is different from, and has a different firewall setting than, a default network gateway of the plurality of network gateways,
the default network gateway being used to route incoming data via the network to the network device of the host system, wherein to configure the network to route the outgoing data through the identified network gateway, the processing device to:
update a routing table associated with the network to comprise the IP address of the network device and the identified network gateway;
receive a new IP address to be assigned to the network device;
update the routing table associated with the network to comprise the new IP address; and
update the routing table to route return data traffic through the identified network gateway.

### Claim 8 (depends on 7)

The non-transitory machine-readable storage medium of claim 7, wherein to update the routing table the processing device is further to replace the IP address with the new IP address.

### Claim 9 (depends on 7)

The non-transitory machine-readable storage medium of claim 7, wherein the processing device is further to:
receive a request for data associated with a display of the virtual machine; and
transmit the data associated with the display of the virtual machine from the network through the identified network gateway.
