Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] loopback address

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] loopback address


Chronological Thread 
  • From: Victor Olifer <>
  • To: Andrew Lake <>, "" <>
  • Subject: Re: [perfsonar-user] loopback address
  • Date: Wed, 12 Oct 2016 14:31:49 +0000
  • Accept-language: en-GB, en-US
  • Ironport-phdr: 9a23:uSgBjR+BnEV2Y/9uRHKM819IXTAuvvDOBiVQ1KB90O8cTK2v8tzYMVDF4r011RmSAtWdtqkP0reempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBWB6kG1uBcUFg/yKkJRL+f4Utrbicim/+2pvZvef1MMzHClbKl8NxKwpB+Uq9Ibm6NjLLo80B3EviEOduhLjys8PV+JkQ374M6quYN4/j54uvQ9+tRGXLmgOak0UOoLIi4hNjUL5cb3sgOLag+O6HYGGjEokxFUBBKDyxX7UJrrmin7reE70SLcIM6gHuN8Yiir86o+EEygsywALTNsqGw=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hi Andrew, 
Many thanks! 
I’ve tried editing /etc/perfsonar/regulartesting.cong and it looks quite straightforward. My understanding is that if I  configure a test using the GUI I have to choose any interface in the drop-down menu but then to edit regulartesting.conf manually and after that  a test will start using the new local_interface value without the need to restart the service, is it correct? I haven’t tried it yet. 

Interesting, that if after a manual editing of local_interface I use the GUI again to edit something in this test, e.g. the test interval or description the GUI spoils my manual editing and removes local-interface line if I leave Default as an Interface option. So, it looks like after manual editing of regulartesting.conf I can’t use the GUI after editing this test at all.  

As for non-loopback aliases, yes, normal aliases seem to be also ignored by the GUI too. I have two interfaces eth0 and eth1; eth0 has an alias eth0:1 that is up and running but it  is also not shown in the GUI, only three options are shown: Default, eth0, and eth1.  If it is a bug maybe  a loopback aliases also could be added to the list wile correcting this bug?  I run perfsonar 3.5.7 on Centos 6. 

Thanks, 
Victor 




From: Andrew Lake <>
Date: Wednesday, 12 October 2016 at 14:39
To: VictorO <>, "" <>
Subject: Re: [perfsonar-user] loopback address

Hi,

I think the GUI intentionally leaves out the loopback interface to avoid confusion since in most cases that’s not what you want. Sounds like you have a case where you do though .  You should be able to specify it by editing the /etc/perfsonar/regulartesting.conf file and specifying the “local_interface” directive, for example:

<test>
   description     bwctl/iperf3 test
   
   local_interface lo:0
   target          host1.example
   target          host2.example
   target          host3.example

   <parameters>
       type             bwctl
       tool             iperf3
       duration         20
   </parameters>

   <schedule>
       type       regular_intervals
       interval   60
   </schedule>
</test>

Alternatively you can use “local_address” instead of local_interface and specify the IP. 

To confirm, it also sounds like interfaces like eth0:0 or similar aren’t showing up in the GUI list for you? You can obviously use the workaround above but I can’t imagine why those would be intentionally ignored, so if that is indeed the case I will file a bug.

Thanks,
Andy



On October 12, 2016 at 8:57:16 AM, Victor Olifer () wrote:

Hi,
Is it possible to use a loopback address with a public IP address assigned (as
lo:0) as an interface in the perfsonar tests? I failed to do so as a loopback
lo:0 is up, I can ping it from inside of a host but the perfsonar GUI 'Tests
configuration' doesn't show it in the drop-down Interface menu of a test. The
same happens with aliases of normal harware interfaces like eth0.

Thanks,
Victor

Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.



Archive powered by MHonArc 2.6.19.

Top of Page