Re: Bad interaction of SO_BINDTODEVICE and ARP in Linux 2.4.10

Joerg Pommnitz (pommnitz@yahoo.com)
Thu, 21 Mar 2002 10:47:24 -0800 (PST)


Hi Lists,
I worked around my previous problem by deleting the routing
entry that sent packets for my subnet directly to their
destination. Using our default router works (somewhat).

I can now see the ICMP packets on eth1:

jpo> /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:4C:71:05:92
inet addr:10.1.12.87 Bcast:10.1.12.255 Mask:255.255.255.0
eth1 Link encap:Ethernet HWaddr 00:E0:4C:71:05:91
inet addr:10.1.12.151 Bcast:10.1.12.255 Mask:255.255.255.0
jpo> netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
0.0.0.0 10.1.12.1 0.0.0.0 UG 40 0 0
eth0

jpo> ping -I eth0 10.1.12.151
jpo> sudo /usr/sbin/tcpdump -i eth1 host 10.1.12.151 -n
tcpdump: listening on eth1
20:40:46.289402 10.1.12.87 > 10.1.12.151: icmp: echo request (DF)
20:40:47.289402 10.1.12.87 > 10.1.12.151: icmp: echo request (DF)
20:40:48.289402 10.1.12.87 > 10.1.12.151: icmp: echo request (DF)
20:40:49.289402 10.1.12.87 > 10.1.12.151: icmp: echo request (DF)
20:40:50.289402 10.1.12.87 > 10.1.12.151: icmp: echo request (DF)

It seems that no answer is sent at all. Any ideas?

Regards
Jörg

=====

-- 
Regards
       Joerg

__________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/