The ping command is missing the options ipv4 and ipv6 to force resolving a hostname to its IPv4 or IPv6 address.
Description
Description
Details
Details
- Version
- 1.4-rolling-202206270217
- Is it a breaking change?
- Perfectly compatible
Related Objects
Related Objects
Event Timeline
Comment Actions
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>
Comment Actions
@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.