Views:

Configure network settings in VMware vCenter to allow Virtual Network Sensor to monitor data.

Important
Important
  • The following instructions are valid as of July 2023.
  • If your throughput is less than 2 Gbps, your data port configuration may use VSS, VDS, or PCI passthrough. If your throughput is equal to or greater than 2 Gbps, then using a PCI passthrough is recommended. Your data port must be able to connect to the internet.

Procedure

  1. On the Virtual Network Sensor CLI console, type show interface and choose a network interface that shows "Supported" for Encapsulated Remote Mirroring.
    external-erspan1.png
  2. Execute the enable command.
    external-erspan2.png
  3. Execute the configure interface <network_interface> command.
  4. Execute the ip-encap enable [xxx.xxx.xxx.xxx] command.
  5. Type # exit to return to basic commands and verify that the IP address is shown next to Encapsulated Remote Mirroring.
    external-erspan3.png
  6. On the VMware vCenter console, click the circle-icon.png tab.
  7. Right-click the name of your data center, and go to Distributed SwitchNew Distributed Switch....
    external-erspan4.png
  8. On the Name and location screen, specify the distributed switch name and location and click NEXT.
    external-erspan5.png
  9. On the Select version screen, select your distributed switch version and click NEXT.
    external-erspan6.png
  10. On the Configure settings screen, specify the port group name and the number of uplinks, and click NEXT.
    external-erspan7.png
  11. On the Ready to complete screen, review the settings and click FINISH.
    external-erspan8.png
  12. Right-click the name of your switch and select Add and Manage Hosts....
    external-erspan9.png
  13. On the Select task screen, select Add hosts and click NEXT.
    external-erspan10.png
  14. On the Select hosts screen, select your virtual machine and click NEXT.
    external-erspan11.png
  15. On the Manage physical adapters screen, right-click the name of your NIC and select Uplink 1.
    external-erspan12.png
    WARNING
    WARNING
    If there are other virtual appliances using this network interface, the network settings need to be modified so that the appliances do not disconnect from the internet.
  16. Click NEXT.
  17. On the Manage VMkernel adapters screen, click NEXT.
    external-erspan13.png
  18. On the Migrate VM networking screen, click NEXT.
    external-erspan14.png
  19. On the Ready to complete screen, click FINISH.
    external-erspan15.png
  20. Click the name of your switch and click Networks.
    external-erspan16.png
  21. Right-click the name of your port group and select Edit Settings....
  22. Click VLAN, select VLAN trunking for VLAN type, and click OK.
    external-erspan17.png
  23. Click the vmware-vcenter-serve.png tab and then click the name of your client.
    external-erspan18.png
  24. Click edit-settings-icon.png.
  25. On the Edit Settings screen, click Network adapter 1 and select Browse....
    external-erspan19.png
  26. Click the name of your port group and click OK.
    external-erspan20.png
  27. Click OK.
  28. Click the circle-icon.png tab and then click the name of your switch.
    external-erspan21.png
  29. Click Configure, click Port Mirroring, and click NEW....
  30. On the Select session type screen, select Encapsulated Remote Mirroring (L3) Source and click NEXT.
    external-erspan22.png
  31. On the Edit properties screen, select Enabled for the status and click NEXT.
    external-erspan23.png
  32. On the Select sources screen, select the virtual appliance you want to be monitored and click NEXT.
    external-erspan24.png
  33. On the Select destinations screen, click ADD and type the Encapsulated Remote Mirroring IP you specified for your Virtual Network Sensor.
    external-erspan25.png
  34. Click NEXT.
  35. On the Ready to complete screen, review the settings and click FINISH.
    external-erspan26.png