From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 18:01:15 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2368D1065671 for ; Mon, 20 Oct 2008 18:01:15 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADED8FC1B for ; Mon, 20 Oct 2008 18:01:14 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 225579720 for freebsd-net@freebsd.org; Mon, 20 Oct 2008 20:01:13 +0300 Message-ID: <48FCB959.1010105@FreeBSD.org> Date: Mon, 20 Oct 2008 20:01:13 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Routing table issue 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: Mon, 20 Oct 2008 18:01:15 -0000 I have noticed one strange issue on recent 7-STABLE/8-CURRENT: - this works: %route add 10.0.0.0/8 192.168.3.1 add net 10.0.0.0: gateway 192.168.3.1 %route add 10.0.0.0/9 192.168.3.2 add net 10.0.0.0: gateway 192.168.3.2 - this doesn't: %route add 0.0.0.0/0 192.168.3.1 add net 0.0.0.0: gateway 192.168.3.1 %route add 0.0.0.0/1 192.168.3.2 route: writing to routing socket: File exists add net 0.0.0.0: gateway 192.168.3.2: route already in table Who wants to explain me why 0.0.0.0/0 and 0.0.0.0/1 is now the same? PS: Same test on 6.2 works fine. -- Alexander Motin