Page MenuHomeVyOS Platform

ping cannot force ipv4 or ipv6
Closed, ResolvedPublicFEATURE REQUEST

Description

The ping command is missing the options ipv4 and ipv6 to force resolving a hostname to its IPv4 or IPv6 address.

Details

Version
1.4-rolling-202206270217
Is it a breaking change?
Perfectly compatible

Event Timeline

aderouineau triaged this task as Normal priority.
aderouineau created this object in space S1 VyOS Public.
Viacheslav changed the subtype of this task from "Task" to "Feature Request".

Agree that both options are not available in cli.. But, you can use source-address:

vyos@vyos:~$ ping fqdn.example.com source-address                                                         
Possible completions:
  <Enter>       Execute the current command
  <x.x.x.x>     Ping options
  <h:h:h:h:h:h:h:h>

@n.fort source-address is useful especially when more precision is needed. At the moment its use is cumbersome as it does not provide help hint on the addresses assigned to the router, forcing an operator to first list those addresses.

n.fort changed the task status from Open to Confirmed.Jul 14 2023, 2:02 PM
n.fort claimed this task.