<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to map Virtual Nic card with its ethernet number? in vSphere SDK for Java Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-SDK-for-Java-Discussions/How-to-map-Virtual-Nic-card-with-its-ethernet-number/m-p/2907559#M733</link>
    <description>&lt;P&gt;From vSphere SDK we can get Virtual Nic card's details but there is no where I was able to find which ethernet number it is associated with.&lt;/P&gt;&lt;P&gt;Is there a way to figure out this mapping? Thank you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 19:23:39 GMT</pubDate>
    <dc:creator>woryn</dc:creator>
    <dc:date>2022-05-05T19:23:39Z</dc:date>
    <item>
      <title>How to map Virtual Nic card with its ethernet number?</title>
      <link>https://communities.vmware.com/t5/vSphere-SDK-for-Java-Discussions/How-to-map-Virtual-Nic-card-with-its-ethernet-number/m-p/2907559#M733</link>
      <description>&lt;P&gt;From vSphere SDK we can get Virtual Nic card's details but there is no where I was able to find which ethernet number it is associated with.&lt;/P&gt;&lt;P&gt;Is there a way to figure out this mapping? Thank you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 19:23:39 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-SDK-for-Java-Discussions/How-to-map-Virtual-Nic-card-with-its-ethernet-number/m-p/2907559#M733</guid>
      <dc:creator>woryn</dc:creator>
      <dc:date>2022-05-05T19:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to map Virtual Nic card with its ethernet number?</title>
      <link>https://communities.vmware.com/t5/vSphere-SDK-for-Java-Discussions/How-to-map-Virtual-Nic-card-with-its-ethernet-number/m-p/2908904#M735</link>
      <description>&lt;P&gt;If I understand the question correctly, guess you are looking for the mapping details of VM vnic to guest OS ethernet interface. Please let me know if you are looking for any other details.&lt;BR /&gt;&lt;BR /&gt;Sample program to print the Virtual machine network details(Nic name, IPv4, Mac, Nic Key, Portgroup) using vSphere java API. -&amp;nbsp;&lt;A href="https://github.com/doskiran/vSphereJavaAPIScripts/blob/master/PrintVMNetworkDetails.java" target="_self"&gt;PrintVMNetworkDetails.java&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Output:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Network Adatpter     IP4Address         Mac                  Key      Portgroup                                                                                         
----------------     ----------         ---                  ---      ---------                                                                                       
Network adapter 1    10.10.10.6         00:15:23:31:c9:22    4000     VM Network                                                                                       
Network adapter 2    10.20.20.7         07:89:61:14:38:66    4001     dvPortgroup                                                                                       &lt;/LI-CODE&gt;&lt;P&gt;Using the above VM network details it is easy to map the guest OS ethernet number.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 12:12:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-SDK-for-Java-Discussions/How-to-map-Virtual-Nic-card-with-its-ethernet-number/m-p/2908904#M735</guid>
      <dc:creator>doskiran</dc:creator>
      <dc:date>2022-05-13T12:12:09Z</dc:date>
    </item>
  </channel>
</rss>

