OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Tian Yunhao - 12.04.2018

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

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 this commit and I suggest that the iputils packages should be updated.

LLEACHII commented on 16.04.2018 17:57

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.

Tian Yunhao commented on 19.04.2018 06:05

@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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing