--- title: "Scenario 2: Inline inspection of traffic between virtual machines" slug: "scenario-2-inline-inspection-of-traffic-between-virtual-machines-4" tags: ["Product Usage"] updated: 2026-11-19T12:31:15Z published: 2026-11-19T12:31:15Z canonical: "docs.trellix.com/scenario-2-inline-inspection-of-traffic-between-virtual-machines-4" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Scenario 2: Inline inspection of traffic between virtual machines This scenario involves inspecting the traffic between virtual machines on the same ESX. ### Scenario description before Virtual Sensor deployment - The clients and servers belong to the same subnet (10.10.10.x). - The clients and servers are connected to different virtual machine port groups within the same standard vSwitch (vSwitch0). - For the sake of this discussion, assume that the clients and servers have no access from outside the ESX. That is, there is no physical NIC associated with vSwitch0. **Scenario before Virtual Sensor deployment**![Scenario before Virtual Sensor deployment](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-deb2037c-5642-e2db-91c8-678832eaf00e(2).png?sv=2026-02-06&spr=https&st=2026-11-20T16%3A19%3A07Z&se=2026-11-20T17%3A19%3A07Z&sr=c&sp=r&sig=%2FIsTJpC8CveE1jfgQ22ltuf%2BCr8xiik17P5y%2F%2FmC6z4%3D) ### Scenario description after Virtual Sensor deployment - Two more standard vSwitches (vSwitch1 and vSwitch2) are now added. - The Virtual Sensor is deployed on the ESX. - In this scenario, the Manager is installed on a VM connected to vSwitch2. - In this scenario, the Manager is connected to the management port of the Virtual Sensor through vSwitch2. This vSwitch2 has a physical adapter vminc0. So, you can access the Manager and the Sensor from outside the ESX. - The monitoring port pair 1-2 of the Virtual Sensor is inline between the client and server. - The client and the monitoring port 1 are connected to two different port groups within vSwitch0. The port group to which the monitoring port is connected is set to promiscuous mode. - Similarly, the server and monitoring port 2 are connected to two different port groups within vSwitch1. Any traffic from the client to the server is inspected by the monitoring port pair 1-2. **Scenario after Virtual Sensor deployment**![Scenario after Virtual Sensor deployment](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-aa396677-6022-4322-2571-f69898b19bbc(2).png?sv=2026-02-06&spr=https&st=2026-11-20T16%3A19%3A07Z&se=2026-11-20T17%3A19%3A07Z&sr=c&sp=r&sig=%2FIsTJpC8CveE1jfgQ22ltuf%2BCr8xiik17P5y%2F%2FmC6z4%3D)