From owner-freebsd-net@FreeBSD.ORG Wed Feb 21 21:02:19 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A738516A402 for ; Wed, 21 Feb 2007 21:02:19 +0000 (UTC) (envelope-from turgeon.martin@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.229]) by mx1.freebsd.org (Postfix) with ESMTP id 6884A13C461 for ; Wed, 21 Feb 2007 21:02:19 +0000 (UTC) (envelope-from turgeon.martin@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so2656396nzh for ; Wed, 21 Feb 2007 13:02:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Bvucbo0Ewq/4bzysqYDVi/FQwM89G6wL/xcDWRN3gwKzN2eoodp+s22SGZ67eyehFRUfvxDy92eh//U7iZY1Bih+ADqJLCLFXRqWsPjX1ZkNckenp+5keZHz9XzFTi3zYCJ83A6dGvNrd8dLz6Z8UJXZ2xTcdBInJqQaYwKmd0k= Received: by 10.65.233.18 with SMTP id k18mr14779392qbr.1172091738761; Wed, 21 Feb 2007 13:02:18 -0800 (PST) Received: from ?192.168.0.199? ( [70.81.172.47]) by mx.google.com with ESMTP id f18sm5839567qba.2007.02.21.13.02.18; Wed, 21 Feb 2007 13:02:18 -0800 (PST) Message-ID: <45DCB354.9000809@gmail.com> Date: Wed, 21 Feb 2007 16:02:12 -0500 From: Martin Turgeon User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) To: Martin Turgeon , freebsd-bugs@freebsd.org, freebsd-net@freebsd.org References: <45DC7991.8070103@gmail.com> <20070221203207.GF73385@funkthat.com> In-Reply-To: <20070221203207.GF73385@funkthat.com> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Strange /etc/rc.d/netif behaviour X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 21:02:19 -0000 John-Mark Gurney a écrit : Martin Turgeon wrote this message on Wed, Feb 21, 2007 at 11:55 -0500: I'm not sure if this is really a bug but it doesn't look all fine to me. When I do a /etc/rc.d/netif restart it does restart the network interfaces but doesn't replace the default route that it just erased even if it is specified in rc.conf correctly. I found that I should also restart routed but it looks strange to me. I know that the /etc/netstart script did it all but it's written in it that it's obsolete so I don't want to use it. So, is this normal and if so what is the best way to restart both a the same time. Why don't you restart /etc/rc.d/routing too? That will repopulate the default route(s) for you.. That is exactly what I did but I would like to know if it is the expected behaviour and what is the best way to automate this.