Home
News
Our Products
Downloads
Purchase
Contact Information
About Us
Nessoft logo
Knowledgebase Top : PingPlotter Pro
Specifying which network interface to use.
ID: 000061
Rating: 5.0 / 5.0 (2 votes)
 
Views: 1927

Question

I have multiple network cards on my computer. Is there any way to target one specific interface using PingPlotter (or maybe different ones when tracing to different targets)?


Answer

The answer to this is "Kind of".

Some of our packet types can have the source IP address specified, but there are a number of limitations.

  • Only ICMP Raw Sockets, UDP and TCP packets are supported with anything except for the default interface (the default ICMP method does *not* work wtih this).
  • You can specify which network interface to use only, and this is done by the IP Address of the network interface. You can't specify the gateway you want to use - only the network interface.
  • The configuration of source interfaces happens by IP address only (not the adpater name).
  • The source adpater is specified per named configuration. See our documentation on named configurations for more details.
  • This only works on PingPlotter Pro.
  • The configuration is a bit clunky.

This capability is implemented using the extensibility system in PingPlotter Pro. To enable this capability, follow these steps:

  • Download the script from here and save it in your "\Program Files\PingPlotter Pro\scripts" directory. (Right-click the link and "Save as").
  • Close and restart PingPlotter Pro.
  • You'll see a new "Tools" menu, and under that an option for "Edit source IP for this configuration".
  • Each named configuration can only have a single source IP. Create a named configuration for each of the network interface cards you want to route data over. Name them something easy to tell them apart. Make sure you pick ICMP Raw Sockets or UDP for the packet type on each configuration.
  • Start tracing to a target of your choice.
  • In the dropdown below the target name, pick the right nic (named configuration that you just created). Start the trace. At this point, it's using the configuration, but that configuration is not yet bound to the right NIC.
  • Bind the configuration to the right NIC. To do that, go to the "Tools" -> "Edit source IP for this configuration". Enter the IP address for the NIC you want to bind to. Note that you are specifying a source adapter for the configuration, not the target, so any other targets that use this same named configuration will use that NIC.
  • Now, start another trace and repeat the steps above, but use NIC 2 for the target name and settings / named configuration.

Closing and restarting PingPlotter Pro should keep the settings you made.

It's not entirely intuitive in how this works, so please feel free to ask if you have any questions or issues.


Rating
Did you find this article helpful? 

Related Articles
Scheduling start/stop of PingPlotter Pro tracing
Using SSL for sending alert emails.
How do I set up PingPlotter to use TCP packets?
Generating an SNMP Trap from PingPlotter or MultiPing
Saving data with MultiPing

E-mail us