vCenter

 View Only

How to configure two network interface card?

  • 1.  How to configure two network interface card?

    Posted Jun 06, 2013 06:35 AM

    Hi all ,

    I have two NIC card in my system ,NIC-1,NIC-2. Now I need only NIC-2's bytesrecv / bytessent   data.

    Please let me know how get selected NIC data ?

    I get the NIC information from below API.

    String[] list = sigar.getNetInterfaceList();

    NetInterfaceConfig ifc = sigar.getNetInterfaceConfig(list[n]);

    Thanks