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

Version
vyos-1.3.0
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

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 changed the task status from Resolved to Unknown Status.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:         autobuild@vyos.net
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
n.fort changed the task status from Unknown Status to Resolved.Feb 13 2023, 3:47 PM

Then lets close it