From nobody@FreeBSD.org  Sun Jan 27 21:06:40 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 478C916A468
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 21:06:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3767413C4D3
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 21:06:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0RL4vCK083435
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 21:04:57 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0RL4vf0083434;
	Sun, 27 Jan 2008 21:04:57 GMT
	(envelope-from nobody)
Message-Id: <200801272104.m0RL4vf0083434@www.freebsd.org>
Date: Sun, 27 Jan 2008 21:04:57 GMT
From: Nathan Whitehorn <nathanw@uchicago.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: routed deletes link-level routes in the presence of a /32 alias
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120060
>Category:       bin
>Synopsis:       routed(8) deletes link-level routes in the presence of a /32 alias
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 21:10:03 UTC 2008
>Closed-Date:    
>Last-Modified:  Fri Jan 30 23:17:28 UTC 2009
>Originator:     Nathan Whitehorn
>Release:        7.0-PRERELEASE
>Organization:
University of Chicago
>Environment:
FreeBSD banshee.munuc.org 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Sun Jan 27 14:06:09 CST 2008     root@banshee.munuc.org:/usr/obj/usr/src/sys/X2100  amd64
>Description:
If any interface on the system has a /32 alias (even if it is marked
passive in /etc/gateways), routed will decide to delete all the link-level
routes on that interface. For example, if interface bge0 has IP addresses
128.135.214.56/24 and 128.135.214.58/32, then the 128.135.214.0/24 link-
level route will be deleted, leaving the machine unable to communicate
with anything out of the that interface.
>How-To-Repeat:
Set up a /32 alias in the same subnet as the main IP address, then turn
on routed.
>Fix:
Set the alias's netmask to /24.

>Release-Note:
>Audit-Trail:

From: NetLan - =?iso-8859-1?Q?Jo=E3o?= Henrique Bergamasco <jhb@netlan.net>
Date: Sun, 07 Sep 2008 00:49:30 -0300
Subject: Re: bin/120060: routed(8) deletes link-level routes in the presence of a /32 alias
 
 Hello folks,
 
 I am using FreeBSD 7 version:
 FreeBSD mozart.unetsul.com.br 7.0-RELEASE FreeBSD=20
 7.0-RELEASE #1: Wed Jun 11 04:02:34 UTC 2008=20
 netlan@clone.netlan.com.br:/usr/src/sys/i386/compile/sif  i386
 
 I have a following configuration:
 
    ifconfig ed0 192.168.1.1/24
    ifconfig ed0 192.168.10.1/24 alias
 
 After 5 minutes, the first IP (192.168.1.1) become unreachable.
 The route to 192.168.1.0/24 was deleted. But, 192.168.10.0/24 is working=
  well.
 
 Can anybody help me ?
 
 best regards,
 
 
 Jo=E3o Henrique Bergamasco
 Brazil - Florian=F3polis/SC
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Fri Jan 30 23:17:06 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120060 
>Unformatted:
