Page MenuHomeVyOS Platform

Monitor bandwidth-test initiate not working
Closed, ResolvedPublicBUG

Description

Monitor bandwidth-test initiate not working on 1.3.0 version.
Accept mode is working as expected.

vyos@vyos:~$ monitor bandwidth-test initiate 203.0.113.2
error: Address family for hostname not supported
vyos@vyos:~$ show ver

Version:          VyOS 1.3.0
Release train:    equuleus

Also tested and not working on VyOS 1.4-rolling-202105272145 and VyOS 1.4-rolling-202201060842

Details

Difficulty level
Unknown (require assessment)
Version
vyos-1.3.0
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.3.3

Event Timeline

It seems -V option:

vyos@r1:~$ sudo iperf -V -c 100.64.0.12
error: Address family for hostname not supported
vyos@r1:~$ 
vyos@r1:~$ sudo iperf -c 100.64.0.12
------------------------------------------------------------
Client connecting to 100.64.0.12, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 100.64.0.11 port 54532 connected with 100.64.0.12 port 5001

https://github.com/vyos/vyos-1x/blob/equuleus/op-mode-definitions/monitor-bandwidth-test.xml.in
https://github.com/vyos/vyos-1x/blob/equuleus/src/op_mode/monitor_bandwidth_test.sh

n.fort reopened this task as Backport candidate.Nov 10 2022, 12:30 PM

Everything works on version 1.4

vyos@vyos:~$ monitor bandwidth-test initiate tcp 192.168.122.200
------------------------------------------------------------
Client connecting to 192.168.122.200, TCP port 5001
TCP window size:  306 KByte (default)
------------------------------------------------------------
[  3] local 192.168.122.150 port 37152 connected with 192.168.122.200 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3] 0.0000-10.0098 sec   357 MBytes   299 Mbits/sec

vyos@vyos:~$ monitor bandwidth-test initiate tcp 2001:cafe:fefe:1::200
------------------------------------------------------------
Client connecting to 2001:cafe:fefe:1::200, TCP port 5001
TCP window size:  255 KByte (default)
------------------------------------------------------------
[  3] local 2001:cafe:fefe:1::150 port 35436 connected with 2001:cafe:fefe:1::200 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3] 0.0000-10.0073 sec   354 MBytes   297 Mbits/sec


vyos@vyos:~$ show version 
Version:          VyOS 1.4-rolling-202302080317
Release train:    current

Built by:         [email protected]
Built on:         Wed 08 Feb 2023 03:17 UTC
Build UUID:       ce4d9361-2f83-44a1-88f4-488f1aa20f02
Build commit ID:  8cade9112a16ed

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Don't see any issue with 1.3

vyos@r1:~$ monitor bandwidth-test initiate 192.168.122.14
------------------------------------------------------------
Client connecting to 192.168.122.14, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.122.11 port 58042 connected with 192.168.122.14 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  6.37 GBytes  5.47 Gbits/sec
vyos@r1:~$ 
vyos@r1:~$ show version 

Version:          VyOS 1.3-stable-202302130442

Then lets close it