From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.github.com (out-22.smtp.github.com [192.30.252.205]) by mail.toke.dk (Postfix) with ESMTPS id CA99C8C5C60 for ; Thu, 30 Sep 2021 00:10:43 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key) header.d=github.com header.i=@github.com header.b=EIXP/Dox Received: from github-lowworker-bb778fb.ash1-iad.github.net (github-lowworker-bb778fb.ash1-iad.github.net [10.56.102.56]) by smtp.github.com (Postfix) with ESMTP id A0E565601EC for ; Wed, 29 Sep 2021 15:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1632953442; bh=5oGLAOgxyqKVpDbMhbIxJ8IODu76sts3nF+sHbGKGf8=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=EIXP/Doxavh1jneMasq5sV4VeFPv55JyOcwjnPzNOlYCD2hKiaKu7BGIgh69OJVol rdBN8iZSa5Na58cEFEPmhCq6CV6diSh+JNKWzm/mQldVy8ZHO5FefMrBQ0Q2lcfxS/ lqylQCIhCu6YR/ROKeqBQ6m8bNMC32UTBoj6X0sc= Date: Wed, 29 Sep 2021 15:10:42 -0700 From: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= To: tohojo/flent Message-ID: In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_6154e46292ee1_2873c76046661d"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: tohojo X-GitHub-Recipient: flent-users X-GitHub-Reason: subscribed X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org Message-ID-Hash: AEHE6D66X2KTGYFSA2U5WZB7IOPDIF25 X-Message-ID-Hash: AEHE6D66X2KTGYFSA2U5WZB7IOPDIF25 X-MailFrom: noreply@github.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Subscribed X-Mailman-Version: 3.3.4 Reply-To: tohojo/flent Subject: [Flent-users] Re: [tohojo/flent] irtt fails with IPv6 (wrong format) (#238) List-Id: Flent discussion list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: ----==_mimepart_6154e46292ee1_2873c76046661d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit j-breyer ***@***.***> writes: > I found another workaround by setting up non-scoped IPv6 addresses on the hosts (e.g., `a::601` and `a::e02`). > Then I added them to `/etc/hosts` with a related hostname, e.g., `a::601 mn.h1` and `a::e02 mn.h2` > > Running now `sudo flent rrul -p all_scaled -6 --local-bind mn.h1 -l 60 -H mn.h2 -o rrul_hosts6.pdf -v` gives Error free output. > > However, I noticed a different bug when using this: > If a host contains an IPv4 as well as an IPv6 address in `/etc/hosts`, flent seems to always prefer the IPv4 entry. This results in the process either failing, because it tries an irtt connection from IPv4 to IPv6 address, or the above test runs the irtt connection completely in IPv4, ignoring the `-6` argument, if both devices can be resolved to an IPv4 > > Maybe this is content for a separate Issue? Yes, please open a separate issue. Flent uses the host name resolution mechanism, so in the absence of -4/-6, it should prefer whatever the host does. However, a -6 should override this, so if it doesn't that's a bug... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/238#issuecomment-930581977 ----==_mimepart_6154e46292ee1_2873c76046661d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

j-breyer ***@***.***> writes:

> I found another workaround by setting up non-scoped IPv6 addresses on the hosts (e.g., `a::601` and `a::e02`).
> Then I added them to `/etc/hosts` with a related hostname, e.g., `a::601 mn.h1` and `a::e02 mn.h2`
>
> Running now `sudo flent rrul -p all_scaled -6 --local-bind mn.h1 -l 60 -H mn.h2 -o rrul_hosts6.pdf -v` gives Error free output.
>
> However, I noticed a different bug when using this:
> If a host contains an IPv4 as well as an IPv6 address in `/etc/hosts`, flent seems to always prefer the IPv4 entry. This results in the process either failing, because it tries an irtt connection from IPv4 to IPv6 address, or the above test runs the irtt connection completely in IPv4, ignoring the `-6` argument, if both devices can be resolved to an IPv4
>
> Maybe this is content for a separate Issue?

Yes, please open a separate issue. Flent uses the host name resolution
mechanism, so in the absence of -4/-6, it should prefer whatever the
host does. However, a -6 should override this, so if it doesn't that's a
bug...


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

----==_mimepart_6154e46292ee1_2873c76046661d--