From owner-freebsd-questions Wed Jan 27 05:20:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA14218 for freebsd-questions-outgoing; Wed, 27 Jan 1999 05:20:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA14212 for ; Wed, 27 Jan 1999 05:20:16 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.8/8.8.8) id HAA05360; Wed, 27 Jan 1999 07:19:43 -0600 (CST) (envelope-from proot) From: "Paul T. Root" Message-Id: <199901271319.HAA05360@horton.iaces.com> Subject: Re: ifconfig In-Reply-To: from Jeff Gray at "Jan 26, 99 08:09:20 pm" To: jwg@netbox.com (Jeff Gray) Date: Wed, 27 Jan 1999 07:19:43 -0600 (CST) Cc: freebsd-questions@FreeBSD.ORG X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Since your ethernet was already running, it's always a good idea to set the port down first. Interestingly, you can should be able to do that in one command as the code is sequential in operation. I.E. ifconfig ex0 inet xxx.xxx.xxx.xxx netmaske yyy.yyy.yyy.yyy down up should have done what you want. Paul. In a previous message, Jeff Gray said: > Hi, > > Running 2.2.6. > > Yesterday my cable modem folks decided I needed to have a different IP > address. No biggie in theory. As root ran > ifconfig ex0 inet xxx.xx.xxx.xx netmask yyy.yy.yy.yy up > > checked via ifconfig -a and it looked fine. > However, I was not connected to the net. No way. > > So, I edited /etc/rc.conf and rebooted and all was fine. > > My question is: shouldn't ifconfig have worked as above without > rebooting, or did I leave a step off? > > Thanks > jeff > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- If you make every game a life-and-death proposition, you're going to have problems. For one thing, you'll be dead a lot. -- Dean Smith, North Carolina University basketball coach To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message