From david.soltero at icann.org Fri Nov 2 23:33:12 2007 From: david.soltero at icann.org (David Soltero) Date: Fri, 2 Nov 2007 16:33:12 -0700 Subject: [dsc] Multiple interfaces Message-ID: 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). Thanks, David From wessels at measurement-factory.com Fri Nov 2 23:44:51 2007 From: wessels at measurement-factory.com (Duane Wessels) Date: Fri, 2 Nov 2007 17:44:51 -0600 (MDT) Subject: [dsc] Multiple interfaces In-Reply-To: References: Message-ID: <20071102174156.U50724@measurement-factory.com> 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. From david.soltero at icann.org Fri Nov 2 23:49:39 2007 From: david.soltero at icann.org (David Soltero) Date: Fri, 2 Nov 2007 16:49:39 -0700 Subject: [dsc] Multiple interfaces In-Reply-To: <20071102174156.U50724@measurement-factory.com> Message-ID: Hi, No, I don't have a 'bpf_program' line, since the one we tried did produce any results. I am under the impression that yes, we are only seeing traffic for the last interface on the config. On 11/2/07 4:44 PM, "Duane Wessels" wrote: 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. -- David Soltero Network Engineer ICANN Phone: 310-301-3890 Cell: 310-926-9635 Email: david.soltero at icann.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From chamberl at oakland.edu Mon Nov 5 21:21:45 2007 From: chamberl at oakland.edu (Chris Chamberlain) Date: Mon, 5 Nov 2007 16:21:45 -0500 Subject: [dsc] multiple local addresses Message-ID: I am trying to specify 2 IPv4 addresses in dsc.conf, and the documentation says to separate multiple addresses with whitespace. However, when I do this, I receive the following: complete failure r123: parse failure after 218 bytes, near 141.210.8.3; local_address ::1; # run_dir # # dsc passes this directory to chdir() after starting. # run_dir "/usr/local/dsc/var/run/adonis-dhe"; # pid_file # the line in the config file looks like this; local_address 141.210.8.2 141.210.8.3; local_address ::1; Anyone else with multiple address have any suggestions? I currently tried this, however I'm not sure its working: local_address 141.210.8.2; local_address 141.210.8.3; local_address ::1; Thanks, Chris Chamberlain Oakland University From wessels at measurement-factory.com Tue Nov 6 00:01:19 2007 From: wessels at measurement-factory.com (Duane Wessels) Date: Mon, 5 Nov 2007 17:01:19 -0700 (MST) Subject: [dsc] multiple local addresses In-Reply-To: References: Message-ID: <20071105165406.S38438@measurement-factory.com> On Mon, 5 Nov 2007, Chris Chamberlain wrote: > I am trying to specify 2 IPv4 addresses in dsc.conf, and the > documentation says to separate multiple addresses with whitespace. This form is not supported. I didn't see where the documentation says you can use whitespace separated entries on a single local_address line. Can you point it out out me? You'll have to list each address separately, as you did here: > local_address 141.210.8.2; > local_address 141.210.8.3; > local_address ::1; The collector code uses a singly linked list to hold the local address information. That means you should be able to specify as many as you need. If you have some local addresses that receive more traffic than others, you should order them starting with least popular to most popular. Duane W.