bin/131365: route(8): route add changes interpretation of network specification [regression]

Vick Khera vivek at khera.org
Fri May 29 14:00:13 UTC 2009


The following reply was made to PR bin/131365; it has been noted by GNATS.

From: Vick Khera <vivek at khera.org>
To: bug-followup at 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).
 
 


More information about the freebsd-net mailing list