From owner-freebsd-stable@FreeBSD.ORG Mon Nov 17 21:41:03 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15FD1065672 for ; Mon, 17 Nov 2008 21:41:03 +0000 (UTC) (envelope-from jrhett@netconsonance.com) Received: from mail.netconsonance.com (mail.netconsonance.com [198.207.204.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2DA8FC14 for ; Mon, 17 Nov 2008 21:41:03 +0000 (UTC) (envelope-from jrhett@netconsonance.com) Received: from [10.66.240.106] (public-wireless.sv.svcolo.com [64.13.135.30]) (authenticated bits=0) by mail.netconsonance.com (8.14.1/8.14.1) with ESMTP id mAHLf1J3067556; Mon, 17 Nov 2008 13:41:01 -0800 (PST) (envelope-from jrhett@netconsonance.com) X-Virus-Scanned: amavisd-new at netconsonance.com X-Spam-Flag: NO X-Spam-Score: -1.05 X-Spam-Level: X-Spam-Status: No, score=-1.05 tagged_above=-999 required=3.5 tests=[ALL_TRUSTED=-1.44, AWL=0.390] From: Jo Rhett To: Steven Hartland In-Reply-To: <89DE4FDF67DC40AE88477897DF4CD0E7@multiplay.co.uk> X-Priority: 3 References: <89DE4FDF67DC40AE88477897DF4CD0E7@multiplay.co.uk> Message-Id: <188BDB85-46C0-41AA-B270-DA03BBD4CFF2@netconsonance.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 17 Nov 2008 13:40:55 -0800 X-Mailer: Apple Mail (2.929.2) Cc: freebsd-stable@freebsd.org Subject: Re: Possible regression in ifconfig under7.0 - removes valid default route X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2008 21:41:03 -0000 This is a bug in my mind, but it's not a regression. FreeBSD has done this for at least 10 years now. If you are changing the IP of an interface, you *must* do a semicolon chained command to a route add default. It's been true for as long as I can remember. On Nov 17, 2008, at 11:11 AM, Steven Hartland wrote: > I believe there "may be" a regression in the behaviour of ifconfig or > possibly just something I've never experienced before. > > Basically when changing the IP of one of our machines, it suddenly > became inaccessible. After some investigation it turned out the > machine > was inaccessible from anything other than the local VLAN and continued > diagnostics determined that the process of changing the IP had also > removed the default route. > > This was clearly unexpected behaviour as the new IP was on the same > VLAN as the old IP and hence no routing table updates should be > required. > > I don't have any older machines to test this on but I believe we have > done this procedure in the past without any such issues so wanted to > raise it here to see if anyone else has had experience with it. > > Even if this isn't a regression it may well be something worth fixing > as its quite unexpected behaviour which could render a machine totally > inaccessible. > > Regards > Steve > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. > and the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, > printing or otherwise disseminating it or any information contained > in it. > In the event of misdirection, illegible or incomplete transmission > please telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness