Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Both endpoints behind NAT

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Both endpoints behind NAT


Chronological Thread 
  • From: "Nickless, Bill" <>
  • To: 'Aaron Brown' <>
  • Cc: "" <>
  • Subject: RE: [perfsonar-user] Both endpoints behind NAT
  • Date: Mon, 16 Feb 2015 22:50:03 +0000
  • Accept-language: en-US

Hi Aaron,


Would it be helpful for me to put that as a requirement in the perfSONAR toolkit issue tracker?  Alternatively, would you consider integrating a bwctl patch set adding that capability?

 

The specific use case I’m up against is measuring the network throughput between OpenStack and Amazon EC2 virtual instances.  The OpenStack and EC2 providers I’m working with interpose NAT between the virtual instances and external IP addresses.  (Speculation: they do this to ease migration of virtual instances between physical hosts.)

 

Thank you and best regards,

 

Bill Nickless / / +1 509 713 2455

 

From: [mailto:] On Behalf Of Aaron Brown
Sent: Monday, February 02, 2015 7:46 AM
To: Gaetano Vocca
Cc:
Subject: Re: [perfsonar-user] Both endpoints behind NAT

 

Hey Gaetano,

 

Unfortunately, no, bwctl doesn’t currently support both sides being behind a NAT. Each bwctl server is given the address to bind to (i.e. the public IP), and the server has no way of converting that public IP into the private IP it should be listening on.

 

Cheers,

Aaron

 

On Feb 2, 2015, at 4:26 AM, Gaetano Vocca <> wrote:

 

Hi all,

is it possible to use two  bwctld endpoints both behind NAT?

 

I tried such configuration by opening the needed ports on the router but I get the following error:

 

Jan 31 17:27:47 raspib bwctld[2364]: FILE=endpoint.c, LINE=319, bind([host31-160-dynamic.27-79-r.retail.telecomitalia.it]:6189): Cannot assign requested address

Jan 31 17:27:47 raspib bwctld[2364]: FILE=protocol.c, LINE=2056, _BWLWriteStopSession called in wrong state.

 

Most probably this is due to the fact that the endpoint is trying to use the private address of the counterpart instead of the public one. 

 

Please note that I am able to have the test performed regularly if I try against a public server if I use the —flip option.

 

Thank you

Gaetano

 




Archive powered by MHonArc 2.6.16.

Top of Page