-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ping's interface option doesn't work on BSD #3721
Comments
Can you let me know a bit more about your platform and ping version ( |
The system is opnsense, which is based on freebsd. Ping doesn't have a -v,
and as with most things on bsd, most of the options aren't the same as on
Linux unfortunately
Le 25 janv. 2018 23:43, "Daniel Nelson" <[email protected]> a écrit :
Can you let me know a bit more about your platform and ping version (ping -V
perhaps)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3721 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA1Tz8A5uvSj349GM8fhlwtzieNJeMmsks5tORG4gaJpZM4Rs4VP>
.
|
Thanks, I'll take a look. |
danielnelson
added
bug
unexpected problem or unintended behavior
and removed
need more info
labels
Jan 25, 2018
FreeBSD ping doesn't have a parameter to specify the outgoing interface. But it has one to specify the source address. This has in most situations the same effect. To do it you have to use the parameter S. I'll make a pull request this evening (CET). |
Well that's a lot harder to use if you're trying to monitor dhcp or ppp
interfaces, since you don't know the IP you'll get, but if that's the only
solution it's better than nothing :)
2018-01-26 6:38 GMT+00:00 Philipp Weber <[email protected]>:
… FreeBSD ping doesn't have a parameter to specify the outgoing interface.
But it has one to specify the source address. This has in most situations
the same effect. To do it you have to use the parameter *S*. I'll make a
pull request this evening.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3721 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA1Tz5XJdmA54GSZ9L0-6Q-T4USebsj2ks5tOXLQgaJpZM4Rs4VP>
.
--
Kévin Lemonnier
|
3 tasks
@phlipse your patch will be in 1.6, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
The ping's interface option seems to use -I, which on linux is to set the interface but on BSD has to do with multicast. In any case, it doesn't work, so either a fix or a warning in the doc would be good.
The text was updated successfully, but these errors were encountered: