From owner-freebsd-net@FreeBSD.ORG Fri May 29 14:00:11 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B97CA106584E for ; Fri, 29 May 2009 14:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A6BF28FC25 for ; Fri, 29 May 2009 14:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4TE0BQ6033421 for ; Fri, 29 May 2009 14:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4TE0BXs033420; Fri, 29 May 2009 14:00:11 GMT (envelope-from gnats) Date: Fri, 29 May 2009 14:00:11 GMT Message-Id: <200905291400.n4TE0BXs033420@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Vick Khera Cc: Subject: Re: bin/131365: route(8): route add changes interpretation of network specification [regression] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vick Khera List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 14:00:13 -0000 The following reply was made to PR bin/131365; it has been noted by GNATS. From: Vick Khera To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/131365: route(8): route add changes interpretation of network specification [regression] Date: Fri, 29 May 2009 09:57:13 -0400 I'm not really following the discussion here so much, but in FreeBSD 7.2, it still sets the routes incorrectly from my perspective. I have in my rc.conf the following: route_vpn1="-net 192.168 192.168.100.202" and it results in the following route (from netstat -rn) Destination Gateway Flags Refs Use Netif Expire 192.168.0.0/24 192.168.100.202 UGS 0 0 em1 whereas in 7.0 and prior, it resulted in a /16 route as I expected, and as I understand it should be from the man page. The man page explicitly states: "-net 128.32 is interpreted as 128.32.0.0" so the man page and the behavior are seemingly inconsistent (still).