From owner-freebsd-net@FreeBSD.ORG Thu Oct 4 22:23:39 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57800106566C; Thu, 4 Oct 2012 22:23:39 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1EBB88FC20; Thu, 4 Oct 2012 22:23:39 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TJtpH-000JAc-FG; Thu, 04 Oct 2012 18:23:27 -0400 Date: Thu, 4 Oct 2012 18:23:27 -0400 From: Gary Palmer To: Krzysztof Barcikowski Message-ID: <20121004222327.GA40357@in-addr.com> References: <2DE61B0869B7484997BCA012845482C7EBE8E280DB@WIN2008.Domnt.abi.ca> <5068AC17.8020704@FreeBSD.org> <2DE61B0869B7484997BCA012845482C7EBE8E280DC@WIN2008.Domnt.abi.ca> <5068ADCC.5030105@FreeBSD.org> <2DE61B0869B7484997BCA012845482C7EBE8E280DD@WIN2008.Domnt.abi.ca> <5068B48E.2070303@FreeBSD.org> <20121004160240.GA1967@funkthat.com> <506DC933.7080307@airnet.opole.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <506DC933.7080307@airnet.opole.pl> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: "freebsd-net@freebsd.org" , "Alexander V. Chernikov" , Dominic Blais Subject: Re: Default route destination changing without warning follow-up X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 22:23:39 -0000 On Thu, Oct 04, 2012 at 07:36:51PM +0200, Krzysztof Barcikowski wrote: > W dniu 2012-10-04 18:02, John-Mark Gurney pisze: > > Alexander V. Chernikov wrote this message on Mon, Oct 01, 2012 at 01:07 +0400: > >> On 01.10.2012 00:59, Dominic Blais wrote: > >>> It's all about IPv4 in my case. > >> It will be great to supply some more details (e.g. like FreeBSD version, > >> interfaces configuration, netstat -rn output). > >> > >> How often does this happen ? > >> (e.g. while true; do echo -n `date` ; route -n get default | grep gate; > >> sleep 1; done can help) > >> > >> If this is reproducible, what actions precedes this change? > >> Maybe some ARP traffic on that interface, or interface > >> creation/deletion, or.. ? > >> > >> Is route monitor completely silent when the change happens? > > Just for refernece, Dominic brought this up in an earlier thread: > > http://www.freebsd.org/cgi/mid.cgi?2DE61B0869B7484997BCA012845482C7EBE62DDD88@WIN2008.Domnt.abi.ca > > > > and at least on other person seems to have the same issue... > > > > quick question for you Dominic, do you see the correct number of routes, > > but a new wrong one appear? or does the route just simply disapear? or > > does a new one seem to replace the old one? > > > > The reason I ask is that if a new wrong one appears, it could be memory > > corruption, but if a new one replaces the old one, for some reason when > > allocating a new route, it could accidentatlly be replacing the default > > route... > > > > Just some thoughts... > > > > Hi, > > I don't see a second new route appearing in my case, just the default or > static route is replaced. > I'm not conviced of memory corruption, as it happens on 3 different > physical machines. Sorry for jumping into the middle of the thread (and apologies if this was asked/answered previously), however what are the settings for the following sysctls? net.inet.icmp.log_redirect net.inet.icmp.drop_redirect and potentially net.inet6.ip6.redirect net.inet6.icmp6.rediraccept Gary