Subject: Re: Ping Is Broken

From: Jarek Poplawski <[email-masked]>
Date: Mon, 12 Oct 2009 23:45:44 +0200

Brian Haley wrote, On 10/12/2009 10:36 PM:

> 
> In this case ping is doing an SO_BINDTODEVICE to eth0, so the kernel is going
> to force the packets out of it, even if it isn't the "correct" interface.  If
> you ran tcpdump you'd probably see an ARP resolution failure, or an ICMP from
> a gateway.

BTW, SO_BINDTODEVICE is used only to acquire a source address, not the real
connection (unless I miss something).

Jarek P.