Date: Fri, 29 May 2009 14:00:11 GMT From: Vick Khera <vivek@khera.org> To: freebsd-net@FreeBSD.org Subject: Re: bin/131365: route(8): route add changes interpretation of network specification [regression] Message-ID: <200905291400.n4TE0BXs033420@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/131365; it has been noted by GNATS. From: Vick Khera <vivek@khera.org> 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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905291400.n4TE0BXs033420>