From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 20:04:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD59337B401 for ; Mon, 7 Jul 2003 20:04:18 -0700 (PDT) Received: from munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1827643F3F for ; Mon, 7 Jul 2003 20:04:18 -0700 (PDT) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.20) id 19Zim9-000DdO-D2 for freebsd-questions@freebsd.org; Tue, 08 Jul 2003 04:04:17 +0100 Date: Tue, 8 Jul 2003 04:04:17 +0100 From: Jez Hancock To: FreeBSD questions List Message-ID: <20030708030417.GC51951@users.munk.nu> Mail-Followup-To: FreeBSD questions List References: <3F0A31A8.2050201@users.sourceforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F0A31A8.2050201@users.sourceforge.net> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: How to restart my network without reboot? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 03:04:19 -0000 On Tue, Jul 08, 2003 at 11:51:20AM +0900, Rob Lahaye wrote: > I had to change the netmask of my ethernet card. So I modified > /etc/rc.conf. But for that to take > effect, I should reboot. Now, how can I avoid a reboot for such a small > change? To make this rc.conf setting take effect without rebooting: ifconfig_fxp0="inet 192.168.0.1 netmask 255.255.255.248" you would execute: ifconfig fxp0 inet 192.168.0.1 netmask 255.255.255.248 Try and go through rc.network though and understand exactly what is happening.