From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 20:53:55 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 920F237B401 for ; Mon, 7 Jul 2003 20:53:55 -0700 (PDT) Received: from interlude.mig15.net (mig15.net [150.101.230.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4695343F3F for ; Mon, 7 Jul 2003 20:53:54 -0700 (PDT) (envelope-from steven@mig15.net) Received: from mig15.net (shogun [10.0.0.1]) by interlude.mig15.net (8.12.9/8.12.3) with ESMTP id h683rt9m015145; Tue, 8 Jul 2003 13:23:55 +0930 (CST) (envelope-from steven@mig15.net) Message-ID: <3F0A4050.4020306@mig15.net> Date: Tue, 08 Jul 2003 13:23:52 +0930 From: Steven Wiltshire User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob Lahaye References: <3F0A31A8.2050201@users.sourceforge.net> In-Reply-To: <3F0A31A8.2050201@users.sourceforge.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org 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:53:55 -0000 Hi Rob, I suggest using ifconfig to modify the netmask. Try this: "ifconfig device inet ip.address.here netmask netmask.goes.here broadcast your.broadcast.address.here" For example, "ifconfig fxp0 inet 10.0.0.100 netmask 255.255.255.0 broadcast 10.0.0.255" - this should tide you over until the machine is next rebooted. Just in case it doesn't work, though, make sure you have non-ethernet access to the machine (as I've found out the hard way previously :) --Steven Rob Lahaye wrote: > > > Hi, > > 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? > > I had a look at the ifconfig command, to set the interface manually, > but I was completely > lost by the amount of settings and options there. > > I hoped that an easy command as: "/etc/rc.network restart" would do > the trick, but that didn't work. > > Can someone help me out here? > > Thanks, > Rob. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >