Re: [PATCH] ipv4: fix the problem of ping failure in some cases

2020-08-23 Thread David Ahern
On 8/23/20 8:27 PM, David Ahern wrote: > On 8/22/20 1:46 AM, guodeqing wrote: >> ie., >> $ ifconfig eth0 9.9.9.9 netmask 255.255.255.0 >> >> $ ping -I lo 9.9.9.9 If that ever worked it was wrong; the address is scoped to eth0, not lo. >> ping: Warning: source address might be selected on device o

Re: [PATCH] ipv4: fix the problem of ping failure in some cases

2020-08-23 Thread David Ahern
On 8/22/20 1:46 AM, guodeqing wrote: > ie., > $ ifconfig eth0 9.9.9.9 netmask 255.255.255.0 > > $ ping -I lo 9.9.9.9 > ping: Warning: source address might be selected on device other than lo. > PING 9.9.9.9 (9.9.9.9) from 9.9.9.9 lo: 56(84) bytes of data. > > 4 packets transmitted, 0 received, 10