# US 2026/0254777 A1 · Packet mirroring in virtual networks using disaggregated network functions

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

- Number: US 2026/0254777 A1
- Document ID: US20260254777A1
- Status: Published application
- Kind: A1
- Application number: 19/063,256
- Filed: 2025-02-25
- Published: 2026-08-27
- Earliest claimed: 2025-02-25
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Chaitanya Kiran RAJE; Rishabh TEWARI; Michal Czeslaw ZYGMUNT; Avijit GUPTA; Pranjal SHRIVASTAVA
- Web page: https://patentgrep.com/patent/US20260254777A1

## CPC

- H04L 49/208: {Port mirroring}
- H04L 45/24: Multipath
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 69/22: Parsing or analysis of headers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Packet mirroring in virtual networks (VNets) uses disaggregated network functions, in which packet mirroring functionality is implemented on remotely-located switches positioned as intermediate hops between origin (source) virtual machines (VMs) and destination VMs. An origin VM transmits an original packet to the switch, which acts as a mirroring node and where the mirroring is offloaded to fast hardware. Application-specific integrated circuits (ASICs) may be used for speed and reduced complexity. This approach of leveraging hardware-based mirroring at an intermediary position eliminates the need for mirroring operations on the origin VM or host, preserving bandwidth and computational resources for the primary workload. The original packet, which carries the data intended for the destination VM, is encapsulated twice at the origin-once for transport across a VNet, and again with metadata for the mirroring included within the encapsulating packet. Some examples use Geneve packets, with the mirror metadata within the Geneve header.

## Claims

### Claim 1

A system comprising:
a processor; and
a computer-readable medium storing instructions that are operative upon execution by the processor to:
generate, at an origin host hosting an origin virtual machine (VM), a first packet in a first format comprising a first header and a first payload, wherein the first header identifies the origin VM as a source and a destination VM at a destination host as a destination, and wherein the first payload comprises data being sent from the origin VM to the destination VM;
encapsulate, at the origin host, the first packet in a second payload of a second packet in a second format comprising a second header, wherein the second format comprises a virtual network (VNet) packet format, and wherein the second header identifies the origin host as a source and the destination host as a destination;
encapsulate, at the origin host, the second packet in a third payload of a third packet in a third format comprising a third header, wherein the third format comprises a network encapsulation protocol packet format, and wherein the third header identifies a mirroring node within a VNet as a destination;
transmit, across the VNet, the third packet from the origin host toward the destination host hosting the destination VM;
extract, at the mirroring node, the second packet from the third packet;
forward, by the mirroring node, the second packet to the destination VM; and
mirror, by the mirroring node, at least the first packet.

### Claim 2 (depends on 1)

The system of claim 1, wherein the instructions are further operative to:
based on at least the mirroring, detect a security threat using the first packet or monitor VNet compliance.

### Claim 3 (depends on 1)

The system of claim 1, wherein mirroring at least the first packet comprises:
encapsulating, by the mirroring node, the first packet in a fourth payload of a fourth packet comprising a fourth header, wherein the fourth header identifies the origin VM as a source and a mirror VM as a destination;
encapsulating, by the mirroring node, the fourth packet in a fifth payload of a fifth packet comprising a fifth header, wherein the fifth header identifies the origin host as a source and the mirror host as a destination; and
transmitting the fifth packet from the mirroring node to the mirror VM.

### Claim 4 (depends on 3)

The system of claim 3, wherein the mirroring node comprises one or more application specific integrated circuits (ASICs), and wherein each ASIC performs the extraction and encapsulation of the mirroring node.

### Claim 5 (depends on 3)

The system of claim 3,
wherein the first header comprises an internet protocol (IP) header identifying the origin VM and the destination VM;
wherein the first format does not include a user datagram protocol (UDP) header or a virtual extensible local area network (VXLAN) header;
wherein the VNet packet format comprises a VXLAN packet format;
wherein the VXLAN format comprises an IP header, a UDP header, and a VXLAN header;
wherein the network encapsulation protocol packet format comprises a generic network virtualization encapsulation (Geneve) packet format; and
wherein the Geneve packet format comprises an IP header, a UDP header, and a Geneve header.

### Claim 6 (depends on 1)

The system of claim 1, wherein the mirroring comprises stateless mirroring.

### Claim 7

A computer-implemented method comprising:
generating, at an origin host hosting an origin virtual machine (VM), a first packet in a first format comprising a first header and a first payload, wherein the first header identifies the origin VM as a source and a destination VM at a destination host as a destination, and wherein the first payload comprises data being sent from the origin VM to the destination VM;
encapsulating, at the origin host, the first packet in a second payload of a second packet in a second format comprising a second header, wherein the second format comprises a virtual network (VNet) packet format, and wherein the second header identifies the origin host as a source and the destination host as a destination;
encapsulating, at the origin host, the second packet in a third payload of a third packet in a third format comprising a third header, wherein the third format comprises a network encapsulation protocol packet format, and wherein the third header identifies a mirroring node within a VNet as a destination;
transmitting, across the VNet, the third packet from the origin host toward the destination host hosting the destination VM;
extracting, at the mirroring node, the second packet from the third packet;
forwarding, by the mirroring node, the second packet to the destination VM; and
mirroring, by the mirroring node, at least the first packet.

### Claim 8 (depends on 7)

The computerized method of claim 7, further comprising:
based on at least the mirroring, detecting a security threat using the first packet.

### Claim 9 (depends on 7)

The computerized method of claim 7, wherein mirroring at least the first packet comprises:
encapsulating, by the mirroring node, the first packet in a fourth payload of a fourth packet comprising a fourth header, wherein the fourth header identifies the origin VM as a source and a mirror VM as a destination;
encapsulating, by the mirroring node, the fourth packet in a fifth payload of a fifth packet comprising a fifth header, wherein the fifth header identifies the origin host as a source and the mirror host as a destination; and
transmitting the fifth packet from the mirroring node to the mirror VM.

### Claim 10 (depends on 9)

The computerized method of claim 9, wherein the mirroring node comprises an application specific integrated circuit (ASIC), and wherein the ASIC performs the extraction and encapsulation of the mirroring node.

### Claim 11 (depends on 9)

The computerized method of claim 9,
wherein the first header comprises an internet protocol (IP) header identifying the origin VM and the destination VM;
wherein the first format does not include a user datagram protocol (UDP) header or a virtual extensible local area network (VXLAN) header;
wherein the VNet packet format comprises a VXLAN packet format;
wherein the VXLAN format comprises an IP header, a UDP header, and a VXLAN header;
wherein the network encapsulation protocol packet format comprises a generic network virtualization encapsulation (Geneve) packet format; and
wherein the Geneve packet format comprises an IP header, a UDP header, and a Geneve header.

### Claim 12 (depends on 11)

The computerized method of claim 11,
wherein the first header comprises a first Ethernet header preceding the IP header of the first packet;
wherein the second header comprises a second Ethernet header preceding the IP header of the second packet;
wherein the third header comprises a third Ethernet header preceding the IP header of the third packet;
wherein the fourth header comprises a fourth Ethernet header preceding the IP header of the fourth packet; and
wherein the fifth header comprises a fifth Ethernet header preceding the IP header of the fifth packet.

### Claim 13 (depends on 12)

The computerized method of claim 12,
wherein each Ethernet header uses media access control (MAC) addresses;
wherein the IP headers of the first packet and the fourth packet use customer addresses (CAs); and
wherein the IP headers of the second packet, the third packet, and the fifth packet use physical addresses (PAs).

### Claim 14 (depends on 9)

The computerized method of claim 9, wherein the third header further comprises mirror metadata identifying the mirror VM as a destination for mirrored packets.

### Claim 15 (depends on 7)

The computerized method of claim 7, wherein the mirroring comprises stateless mirroring.

### Claim 16

A computer storage device having computer-executable instructions stored thereon, which, on execution by a computer, cause the computer to perform operations comprising:
generating, at an origin host hosting an origin virtual machine (VM), a first packet in a first format comprising a first header and a first payload, wherein the first header identifies the origin VM as a source and a destination VM at a destination host as a destination, and wherein the first payload comprises data being sent from the origin VM to the destination VM;
encapsulating, at the origin host, the first packet in a second payload of a second packet in a second format comprising a second header, wherein the second format comprises a virtual network (VNet) packet format, and wherein the second header identifies the origin host as a source and the destination host as a destination;
encapsulating, at the origin host, the second packet in a third payload of a third packet in a third format comprising a third header, wherein the third format comprises a network encapsulation protocol packet format, and wherein the third header identifies a mirroring node within a VNet as a destination;
transmitting, across the VNet, the third packet from the origin host toward the destination host hosting the destination VM;
extracting, at the mirroring node, the second packet from the third packet;
forwarding, by the mirroring node, the second packet to the destination VM; and
mirroring, by the mirroring node, at least the first packet.

### Claim 17 (depends on 16)

The computer storage device of claim 16, wherein the operations further comprise:
based on at least the mirroring, detecting a security threat using the first packet.

### Claim 18 (depends on 16)

The computer storage device of claim 16, wherein mirroring at least the first packet comprises:
encapsulating, by the mirroring node, the first packet in a fourth payload of a fourth packet in the second format comprising a fourth header, wherein the fourth header identifies the origin VM as a source and a mirror VM as a destination;
encapsulating, by the mirroring node, the fourth packet in a fifth payload of a fifth packet in the second format comprising a fifth header, wherein the fifth header identifies the origin host as a source and the mirror host as a destination; and
transmitting the fifth packet from the mirroring node to the mirror VM.

### Claim 19 (depends on 18)

The computer storage device of claim 18, wherein the mirroring node comprises an application specific integrated circuit (ASIC), and wherein the ASIC performs the extraction and encapsulation of the mirroring node.

### Claim 20 (depends on 18)

The computer storage device of claim 18,
wherein the first header comprises an internet protocol (IP) header identifying the origin VM and the destination VM;
wherein the first format does not include a user datagram protocol (UDP) header or a virtual extensible local area network (VXLAN) header;
wherein the VNet packet format comprises a VXLAN packet format;
wherein the VXLAN format comprises an IP header, a UDP header, and a VXLAN header;
wherein the network encapsulation protocol packet format comprises a generic network virtualization encapsulation (Geneve) packet format; and
wherein the Geneve packet format comprises an IP header, a UDP header, and a Geneve header.
