From owner-freebsd-net@FreeBSD.ORG Fri Mar 30 17:39:14 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 73626106566B for ; Fri, 30 Mar 2012 17:39:14 +0000 (UTC) (envelope-from krzysiek@airnet.opole.pl) Received: from base.airnet.opole.pl (dns.airnet.opole.pl [82.160.97.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8598FC0A for ; Fri, 30 Mar 2012 17:39:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by base.airnet.opole.pl (Postfix) with ESMTP id 4AB897FF02F for ; Fri, 30 Mar 2012 19:33:21 +0200 (CEST) Received: from base.airnet.opole.pl ([127.0.0.1]) by localhost (base.airnet.opole.pl [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 62934-04 for ; Fri, 30 Mar 2012 19:33:21 +0200 (CEST) Received: from [10.10.11.223] (unknown [82.160.97.77]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: krzysiek@airnet.opole.pl) by base.airnet.opole.pl (Postfix) with ESMTPSA id 1C93E7FF02D for ; Fri, 30 Mar 2012 19:33:21 +0200 (CEST) Message-ID: <4F75EE5C.4060002@airnet.opole.pl> Date: Fri, 30 Mar 2012 19:33:16 +0200 From: Krzysztof Barcikowski User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 9.0 unexpected change of static route 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: Fri, 30 Mar 2012 17:39:14 -0000 Hi, After upgrade from FreeBSD 8.1 to FreeBSD 9.0-release (amd64) I've observed an unexpected behavior. From time to time, the static route's gateway I have defined in my rc.conf changes to random IP address. In rc.conf I have: static_routes="spp" route_spp="-net 10.0.0.0/16 10.250.0.2" it results with: #netstat -nr | grep "10.0.0.0" 10.0.0.0/16 10.250.0.2 UGS 2 373253416 lan which is OK, but after two days the route changed to: #netstat -nr | grep "10.0.0.0" 10.0.0.0/16 213.199.225.14 UGS 455 2058321449 lan The changed gateway address is different each time, beside that I've noticed one or two cases when the default route changed. (changes gateway IP addressess are DNS ip's, popular sites ip's, but not only). No routing software is running, I have the same configuration as on FreeBSD 8.1 (which was OK for over a year). I tried to log all the "route -n monitor" output but no events are visible at the time when the static route is changed. Do you have any idea how can I track down what's happening, or what could change the routing table entry? Perhaps I'm not aware of differences between FreeBSD 8.1 and 9.0. Thank you for your help. Kind regards! Krzysiek Barcikowski