<HTML>
<HEAD>
<TITLE>Re: [dsc] Multiple interfaces</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi,<BR>
<BR>
No, I don’t have a ‘bpf_program’ line, since the one we tried did produce any results.<BR>
<BR>
I am under the impression that yes, we are only seeing traffic for the last interface on the config.<BR>
<BR>
<BR>
<BR>
On 11/2/07 4:44 PM, "Duane Wessels" <wessels@measurement-factory.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
<BR>
On Fri, 2 Nov 2007, David Soltero wrote:<BR>
<BR>
> Hi Guys,<BR>
><BR>
> Will a configuration with multiple interfaces work with the following<BR>
> entries in the dsc.conf?<BR>
><BR>
> interface eth2;<BR>
> interface eth3;<BR>
> interface eth4;<BR>
> interface eth5;<BR>
><BR>
> For some reason the DSC data only looks like its gathering results for the<BR>
> last one (eth5).<BR>
<BR>
It is supposed to work they way that you want.  I think you should<BR>
be getting data from all interfaces, but its been a while since<BR>
I've tested such a configuration.<BR>
<BR>
The code calls pcap_open() for each interface and then uses<BR>
select(2) on the pcap file descriptor to multiplex.<BR>
<BR>
you don't have more than one 'bpf_program' line, do you?<BR>
<BR>
If you re-order the interface lines do you then get only traffic<BR>
from the new last interface?<BR>
<BR>
Duane W.<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
-- <BR>
<BR>
David Soltero<BR>
Network Engineer <BR>
ICANN<BR>
Phone: 310-301-3890<BR>
Cell: 310-926-9635<BR>
Email: david.soltero@icann.org<BR>
</SPAN></FONT>
</BODY>
</HTML>