# US 2026/0039588 A1 · Method and system for efficient traffic forwarding from a private cloud

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

- Number: US 2026/0039588 A1
- Document ID: US20260039588A1
- Status: Published application
- Kind: A1
- Application number: 18/790,809
- Filed: 2024-07-31
- Published: 2026-02-05
- Earliest claimed: 2024-07-31
- Assignees: Nutanix, Inc.
- Applicants: Nutanix, Inc.
- Inventors: Sragdhara Datta Chaudhuri
- Web page: https://patentgrep.com/patent/US20260039588A1

## CPC

- H04L 45/38: {Flow based routing}
- H04L 45/586: of virtual routers
- H04L 45/66: {Layer 2 routing, e.g. in Ethernet based MAN's}
- H04L 45/74: Address processing for routing
- H04L 45/745: Address table lookup; Address filtering
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A host in a private cloud is provided. The private cloud can include one or more hosts running a set of VMs and appear as a logical router to an EGR coupling the private cloud. During operation, the host can receive a first packet from a virtual machine (VM) running on the host. The host can determine that a source media access control (MAC) address of the first packet from the VM includes a virtual MAC address associated with the logical router. The host can replace, based on an address replacement rule programmed at the host, the virtual MAC address with a physical MAC address of a local interface of the host as the source MAC address of the first packet. The host can determine the local interface as an egress interface for forwarding the first packet to the EGR.

## Claims

### Claim 1

A method, comprising:
identifying, by a host of a private cloud, a first packet from a virtual machine (VM) running on the host, wherein the private cloud includes one or more hosts running a set of VMs and appears as a logical router to an external router outside of the private cloud;
determining that a source media access control (MAC) address of the first packet from the VM includes a virtual MAC address associated with the logical router;
replacing, based on an address replacement rule programmed at the host, the virtual MAC address with a physical MAC address of a local interface of the host as the source MAC address of the first packet; and
determining the local interface as an egress interface for forwarding the first packet to the external router.

### Claim 2 (depends on 1)

The method of claim 1, wherein the local interface of the host is coupled to the external router and is associated with the virtual MAC address.

### Claim 3 (depends on 1)

The method of claim 1, wherein the virtual MAC address is associated with a respective host of the private cloud, and wherein the address replacement rule is programmed on a respective host of the private cloud.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating, at a local instance of the logical router on the host, a layer-2 header for the first packet; and
setting the virtual MAC address as the source MAC address in the layer-2 header.

### Claim 5 (depends on 4)

The method of claim 4, wherein the address replacement rule is programmed outside of the local instance of the logical router at the host.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving, by the host, a flow rule from a network controller provisioning the private cloud, wherein a respective flow rule indicates how traffic is to be processed at the host; and
determining the local interface as an egress interface based on the flow rule.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, at the local interface from the external router, a second packet based on a direct route for an IP address of the VM;
replacing, based on a reverse address replacement rule programmed at the host, the physical MAC address of the local interface with the virtual MAC address as a destination MAC address of the second packet; and
forwarding the second packet to the logical router for providing the second packet to the VM.

### Claim 8 (depends on 1)

The method of claim 1, further comprising storing information indicating a second host that hosts a second VM.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving, by the host, a third packet from the external router;
determining that the third packet is destined to second VM; and
encapsulating the third packet with a tunnel encapsulation header associated with a tunnel between the host and the second host.

### Claim 10

A computer system, comprising:
a processor; and
a memory coupled to the processor and storing instructions, which when executed by the processor cause the processor to perform a method, the method comprising:
identifying a first packet from a virtual machine (VM) running on the computer system, wherein the computer system is in a private cloud, which comprises one or more computer systems running a set of VMs and appears as a logical router to an external router outside of the private cloud;
determining that a source media access control (MAC) address of the first packet from the VM includes a virtual MAC address associated with the logical router;
replacing, based on an address replacement rule programmed at the computer system, the virtual MAC address with a physical MAC address of a local interface of the computer system as the source MAC address of the first packet; and
determining the local interface as an egress interface for forwarding the first packet to the external router.

### Claim 11 (depends on 10)

The computer system of claim 10, wherein the local interface of the computer system is coupled to the external router and is associated with the virtual MAC address.

### Claim 12 (depends on 10)

The computer system of claim 10, wherein the virtual MAC address is associated with a respective computer system of the private cloud, and wherein the address replacement rule is programmed on a respective computer system of the private cloud.

### Claim 13 (depends on 10)

The computer system of claim 10, wherein the method further comprises:
generating, at a local instance of the logical router on the computer system, a layer-2 header for the first packet; and
setting the virtual MAC address as the source MAC address in the layer-2 header.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein the address replacement rule is programmed outside of the local instance of the logical router at the computer system.

### Claim 15 (depends on 10)

The computer system of claim 10, wherein the method further comprises:
receiving, by the computer system, a flow rule from a network controller provisioning the private cloud, wherein a respective flow rule indicates how traffic is to be processed at the computer system; and
determining the local interface as an egress interface based on the flow rule.

### Claim 16 (depends on 10)

The computer system of claim 10, wherein the method further comprises:
receiving, at the local interface from the external router, a second packet based on a direct route for an IP address of the VM;
replacing, based on a reverse address replacement rule programmed at the host, the physical MAC address of the local interface with the virtual MAC address as a destination MAC address of the second packet; and
forwarding the second packet to the logical router for providing the second packet to the VM.

### Claim 17 (depends on 10)

The computer system of claim 10, wherein the method further comprises:
storing information indicating a second computer system that hosts a second VM;
receiving, by the computer system, a third packet from the external router;
determining that the third packet is destined to second VM; and
encapsulating the third packet with a tunnel encapsulation header associated with a tunnel between the computer system and the second computer system.

### Claim 18

A method, comprising:
identifying, by a router, a packet destined to a virtual machine (VM) reachable via a logical device, wherein the logical device corresponds to a private cloud comprising one or more hosts running a set of VMs;
looking up, in a forwarding data structure, a destination IP address of the packet to a route programmed on the router;
determining, from the route, a target IP address associated with the VM; and
determining a local interface of the router as an egress interface for forwarding the first packet to an external router outside of the private cloud.

### Claim 19 (depends on 18)

The method of claim 18, wherein the route includes a direct route for the destination IP address, and wherein the target IP address is allocated to a host running a VM associated with the destination IP address.

### Claim 20 (depends on 18)

The method of claim 18, wherein the route is for a subnet associated with the destination IP address, and wherein the target IP address is allocated to a host storing information location information of a VM associated with the destination IP address.
