Skip to content
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

FS#1486 - ping from iputils-ping is not respecting the -I option #6451

Open
openwrt-bot opened this issue Apr 12, 2018 · 2 comments
Open

FS#1486 - ping from iputils-ping is not respecting the -I option #6451

openwrt-bot opened this issue Apr 12, 2018 · 2 comments
Labels
core packages pull request/issue for core (in-tree) packages flyspray

Comments

@openwrt-bot
Copy link

t123yh:

There're two WAN connections in my router. I installed iputils-ping for some fancy features. If I use ping -I wan2 x.x.x.x, the ICMP Echo request will still be sent from the main wan interface, ignoring the -I option. Busybox ping doesn't have this problem.

The iputils-* packages are version 20101006. This issue is solved by [[https://github.com/iputils/iputils/commit/f455fee41c077d4b700a473b2f5b3487b8febc1d|this commit]] and I suggest that the iputils packages should be updated.

@openwrt-bot
Copy link
Author

lleachii:

You noted: ping -I wan2 x.x.x.x

You should use the Linux interface names (e.g. eth0.x), not the OpenWRT aliases (e.g. lan or wan).

Please test again and verify the results.

@openwrt-bot
Copy link
Author

t123yh:

@lleachii This is a bug iputils-ping itself. I used the Linux interface name.
(actually if the name is invalid then it will refuse to run) Also, if I use busybox's ping I can get the desired result.

@aparcar aparcar added the core packages pull request/issue for core (in-tree) packages label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray
Projects
None yet
Development

No branches or pull requests

2 participants