Flent-users discussion archives
 help / color / mirror / Atom feed
* [Flent-users] [tohojo/flent] -6 Option ignored for hosts with IPv4 and IPv6 address (#241)
@ 2021-09-30 14:09 j-breyer
  2021-09-30 14:27 ` [Flent-users] " Toke Høiland-Jørgensen
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: j-breyer @ 2021-09-30 14:09 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 2199 bytes --]

In my current setup, I have two hosts defined in `/etc/hosts`, both capable of communicating via IPv4 and IPv6. Configuration:
`mn.h1` uses `10.0.6.1` and `a::601`
`mn.h2` uses `10.0.14.2` and `a::e02`

On `mn.h2`, netserver is listening on both addresses, and `irtt server` is started listening on all addresses.

Running `sudo flent rrul -6 -p all_scaled --local-bind mn.h1 -l 60 -H mn.h2 -o rrul6.pdf -v`
yields different results as follows:

Both hosts have their IPv4 enabled:
verbose output of flent is Error- and warning-free, however, the irtt server on mn.h2 shows:
```
[10.0.6.1:56747] [OpenClose] open-close connection
[10.0.6.1:34502] [NewConn] new connection, token=e6582ec0dc3b7161
[10.0.6.1:34942] [NewConn] new connection, token=5898db5f137d0b66
[10.0.6.1:42243] [NewConn] new connection, token=c412d2bb05eefd1d
```
Indicating that irtt is using the IPv4 despite the `-6` argument.

Removing the IPv4 resolution for `mn.h1`:
(partial) verbose output of flent:
```
which: Found irtt executable at /usr/bin/irtt
UDP RTT test: Cannot use irtt runner (Irtt connection check failed: Error: dial udp4 [a::601]:0->10.0.14.2:2112: address a::601: non-IPv4 address
). Using netperf UDP_RR
```

Removing the IPv4 from `mn.h2`, but keeping it on `mn.h1`:
(partial) verbose output of flent:
```
which: Found irtt executable at /usr/bin/irtt
UDP RTT test: Cannot use irtt runner (Irtt connection check failed: Error: dial udp6 10.0.6.1:0->[a::e02]:2112: bind: invalid argument
). Using netperf UDP_RR
```

Removing both IPv4 entries for `mn.h1` and `mn.h2`:
Flent verbose without errors, irtt server shows:
```
[[a::601]:55765] [OpenClose] open-close connection
[[a::601]:37744] [NewConn] new connection, token=df67b3a6d5892659
[[a::601]:38572] [NewConn] new connection, token=8326d482ae57f712
[[a::601]:55775] [NewConn] new connection, token=366ddbe19c620d6f
```

which is what I would expect every time, since the `-6` argument was passed.

I did not try this on too many tests, but it appears at least for `rrul` and `rrul_cs8`


-- 
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/241

[-- Attachment #2: Type: text/html, Size: 3764 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-01 13:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 14:09 [Flent-users] [tohojo/flent] -6 Option ignored for hosts with IPv4 and IPv6 address (#241) j-breyer
2021-09-30 14:27 ` [Flent-users] " Toke Høiland-Jørgensen
2021-09-30 15:15 ` Pete Heist
2021-10-01  9:07 ` j-breyer
2021-10-01 12:06 ` Toke Høiland-Jørgensen
2021-10-01 12:19 ` Toke Høiland-Jørgensen
2021-10-01 13:01 ` Pete Heist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox