From owner-freebsd-questions Tue Jun 18 9:11:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-one.net (adsl-65-71-135-138.dsl.crchtx.swbell.net [65.71.135.138]) by hub.freebsd.org (Postfix) with ESMTP id A593B37B400 for ; Tue, 18 Jun 2002 09:11:39 -0700 (PDT) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g5IGB7E25345; Tue, 18 Jun 2002 11:11:07 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020618111106.01684610@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 18 Jun 2002 11:11:06 -0500 To: Fernando Gleiser , From: "Jack L. Stone" Subject: Re: How to remove multiple IP's off NIC Cc: In-Reply-To: <20020618123827.O66694-100000@localhost> References: <002c01c216de$10c2fc40$7b01a8c0@afi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 12:45 PM 6.18.2002 -0300, Fernando Gleiser wrote: >On Tue, 18 Jun 2002 lists@brenius.com wrote: > >> How would this compare to editing the rc.conf file? I just got a suggestion to do >> this, but I am not sure of the differences. > >In fact, you need to do both. If you edit rc.conf, you need to reboot to >activate the changes. with my method, you don't need to reboot but you >need to edit rc.conf anyway so the aliases aren't loaded the next time >you boot the machine. > >I always try to avoid rebooting. This isn't windows =0) >And I try to teach others ways to admin a host without rebooting for >every change they make. > > Fer I just went through this with a need to add an alias to an interface (and Fer had some good suggestions too then), but I was concerned about telling the system to add/delete some config lines by line command because it (or I) might mess up the ones I wanted to keep. The best suggestion I got that worked accurately and without need to reboot was to simply change the rc.conf to the way it should be whenever there is a reboot, BUT, rather than reboot, run: # /etc/netstart That causes the system to reread the rc.conf file with regards to any network lines without a reboot. Worked great! Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message