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
_______________________________________________
Flent-users mailing list -- flent-users@flent.org
To unsubscribe send an email to flent-users-le...@flent.org

Reply via email to