From nobody@FreeBSD.org  Tue Nov 18 09:49:32 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 94A3F1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Nov 2008 09:49:32 +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 85A838FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Nov 2008 09:49:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mAI9nWo3052190
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Nov 2008 09:49:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mAI9nV3i052189;
	Tue, 18 Nov 2008 09:49:31 GMT
	(envelope-from nobody)
Message-Id: <200811180949.mAI9nV3i052189@www.freebsd.org>
Date: Tue, 18 Nov 2008 09:49:31 GMT
From: Steven Hartland <steven.hartland@multiplay.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ifconfig deletes valid routes
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         128954
>Category:       bin
>Synopsis:       ifconfig(8) deletes valid routes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 18 09:50:01 UTC 2008
>Closed-Date:    
>Last-Modified:  Fri Jan 30 22:49:44 UTC 2009
>Originator:     Steven Hartland
>Release:        7.0
>Organization:
Multiplay
>Environment:
FreeBSD test 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 
2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When changing the primary IP of an interface it deletes routes associated with that IP even if the IP its changing to is in the same range and hence the routes are all still valid.
>How-To-Repeat:
Change the primary IP of an interface which has an associated route e.g. default route, to an IP in the same subnet.
Check the routing table the route will be gone.

This is a very nasty issue as it can make remote machine inaccessible.

For more information and discussion see the thread:
http://lists.freebsd.org/pipermail/freebsd-stable/2008-November/046620.html

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Fri Jan 30 22:49:20 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

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