From owner-freebsd-net@FreeBSD.ORG Wed Feb 21 20:47:28 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 CCEF616A401; Wed, 21 Feb 2007 20:47:28 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id DEA4113C461; Wed, 21 Feb 2007 20:47:27 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (25qape8rw2utfuqy@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l1LKW7Ns071370; Wed, 21 Feb 2007 12:32:07 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l1LKW7nx071369; Wed, 21 Feb 2007 12:32:07 -0800 (PST) (envelope-from jmg) Date: Wed, 21 Feb 2007 12:32:07 -0800 From: John-Mark Gurney To: Martin Turgeon Message-ID: <20070221203207.GF73385@funkthat.com> Mail-Followup-To: Martin Turgeon , freebsd-bugs@freebsd.org, freebsd-net@freebsd.org References: <45DC7991.8070103@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45DC7991.8070103@gmail.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-net@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: Strange /etc/rc.d/netif behaviour X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney 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 20:47:28 -0000 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.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."