Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] bwctld.conf src_node syntax for multiple interfaces and ipv4 and ipv6

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] bwctld.conf src_node syntax for multiple interfaces and ipv4 and ipv6


Chronological Thread 
  • From: Zhi-Wei Lu <>
  • To: Aaron Brown <>
  • Cc: Brian Tierney <>, "" <>
  • Subject: Re: [perfsonar-user] bwctld.conf src_node syntax for multiple interfaces and ipv4 and ipv6
  • Date: Sat, 2 May 2015 09:07:54 -0700
  • Authentication-results: internet2.edu; dkim=none (message not signed) header.d=none;

Hi Aaron,

I enabled bwctl on all interfaces now and use iptable and ip6table hack to filter for certain interface.

Let me know when the option will be available so that I don't have to remember updating iptable rules for every perfSONAR update.

Thank you.

On 05/01/2015 01:51 PM, Aaron Brown wrote:
Hi,

Unfortunately, the bwctl configuration syntax doesn’t support this mode. You may be able to work around it by defining a hostname in /etc/hosts that has both the v4 and v6 address for that interface, and telling bwctld to use it.

Cheers,
Aaron

On Apr 30, 2015, at 12:11 PM, Zhi-Wei Lu <> wrote:

Hi Brian,
 
This is the daemon configuration, right now I can only enable the daemon to listen on v4 or v6, but not both.  I can make out-bound bwctl run on either v4 or v6.
I only want to enable on one interface, otherwise, by default, bwctld will listen on all interfaces and on v4 and v6.
 
Thank you.
 
Zhi-Wei Lu
IET-CR-Network Operations Center
University of California, Davis
(530) 752-0155
 
From: Brian Tierney [] 
Sent: Thursday, April 30, 2015 8:32 AM
To: Zhi-Wei Lu
Cc: 
Subject: Re: [perfsonar-user] bwctld.conf src_node syntax for multiple interfaces and ipv4 and ipv6
 
 
The tests will default to V6, but you should be able to do a V4 test by using the bwctl -4 flag.
Did you try that?


Sent from my tablet device


On Apr 29, 2015, at 6:58 PM, Zhi-Wei Lu <> wrote:

Hi all,
 
I have a two NIC perfSONAR node, one NIC is used for owamp, while the other was used for bw only.  Therefore, I have a very simple bwctld.conf file as follows:
 
log_location
src_node        ipv4-address:4823
#src_node [ipv6-address]:4823
peer_port       6001-6200
facility        local5
group   bwctl
nuttcp_port     5301-5600
owamp_port      5601-5900
iperf_port      5001-5300
user    bwctl
 
This works only for the ipv4 address on one interface, now I would like to make ipv6 test available.  I thought that I might be able to add a line below the ipv4, simply by adding the ipv6 address in the configuration above (with # at the moment).  If remove #
#src_node [ipv6-address]:4823
Restart bwctld, only ipv6 test is available.  How could I make both ipv4 and ipv6 tests available on the same NIC?  I would really appreciate if someone could guide me to the right direction. 
 
Thank you.
 
Zhi-Wei Lu
IET-CR-Network Operations Center
University of California, Davis
(530) 752-0155


-- 
Zhi-Wei Lu
IET-CR-Network Operations Center
University of California, Davis
(530) 752-0155



Archive powered by MHonArc 2.6.16.

Top of Page