From owner-freebsd-questions Wed Jan 27 11:20:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27076 for freebsd-questions-outgoing; Wed, 27 Jan 1999 11:20:14 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ocswd.ocsny.com (ocswd.ocsny.com [204.107.76.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA27060 for ; Wed, 27 Jan 1999 11:20:10 -0800 (PST) (envelope-from pcollins@ocsny.com) Received: from ocsny.com (petent.ocsny.com [204.107.76.50]) by ocswd.ocsny.com (8.8.8/8.8.8) with ESMTP id OAA27887; Wed, 27 Jan 1999 14:19:11 -0500 (EST) Message-ID: <36AF2169.BC275CB2@ocsny.com> Date: Wed, 27 Jan 1999 14:23:37 +0000 From: Pete Collins X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: "Paul T. Root" CC: Jeff Gray , freebsd-questions@FreeBSD.ORG Subject: Re: ifconfig References: <199901271319.HAA05360@horton.iaces.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i have a similar problem that has been buggin me for the longest time here is my rc.conf example for ip#000.000.00.00: ifconfig_vx0_alias22="inet 000.000.00.00 netmask 0xffffffc0" #test how could i get this to work from the command line?? this would be an amazing help because everytime i add a new ip alias i reboot thanks pete "Paul T. Root" wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message