Ping interface to its IP failed using -I option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iputils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Scenario:
$ifconfig
ens3: flags=4163<
inet 10.141.20.8 netmask 255.255.0.0 broadcast 10.141.255.255
inet6 fe80::250:
ether 00:50:56:8d:14:08 txqueuelen 1000 (Ethernet)
RX packets 152370 bytes 15937926 (15.9 MB)
RX errors 3 dropped 0 overruns 0 frame 3
TX packets 4092 bytes 470882 (470.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ens8: flags=4163<
inet 11.141.20.8 netmask 255.255.0.0 broadcast 11.141.255.255
inet6 fe80::268a:
ether 24:8a:07:1e:d5:72 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 29 bytes 2280 (2.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 200 bytes 16052 (16.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 200 bytes 16052 (16.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ping -c 10 -I ens8 11.141.20.8
PING 11.141.20.8 (11.141.20.8) from 11.141.20.8 ens8: 56(84) bytes of data.
^C
--- 11.141.20.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2050ms
$ping -c 10 -I ens3 10.141.20.8
PING 10.141.20.8 (10.141.20.8) from 10.141.20.8 ens3: 56(84) bytes of data.
^C
--- 10.141.20.8 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9200ms
Tested with driver mlx4 / mlx5 / e1000
iputils version
iputils-ping 3:20161105-1ubuntu2
Thanks,
Talat
description: | updated |