[dsc] Multiple interfaces

Duane Wessels wessels at measurement-factory.com
Fri Nov 2 23:44:51 UTC 2007



On Fri, 2 Nov 2007, David Soltero wrote:

> Hi Guys,
>
> Will a configuration with multiple interfaces work with the following
> entries in the dsc.conf?
>
> interface eth2;
> interface eth3;
> interface eth4;
> interface eth5;
>
> For some reason the DSC data only looks like its gathering results for the
> last one (eth5).

It is supposed to work they way that you want.  I think you should
be getting data from all interfaces, but its been a while since
I've tested such a configuration.

The code calls pcap_open() for each interface and then uses
select(2) on the pcap file descriptor to multiplex.

you don't have more than one 'bpf_program' line, do you?

If you re-order the interface lines do you then get only traffic
from the new last interface?

Duane W.



More information about the dsc mailing list