From owner-freebsd-questions@FreeBSD.ORG Fri Nov 3 14:51:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1317116A407 for ; Fri, 3 Nov 2006 14:51:26 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DBBE43D45 for ; Fri, 3 Nov 2006 14:51:25 +0000 (GMT) (envelope-from af300wsm@gmail.com) Received: by nz-out-0102.google.com with SMTP id o37so330919nzf for ; Fri, 03 Nov 2006 06:51:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Hv3w38B94XZedgY7JD3QYcRM57/Bp9bDXe2mu1aHoh9vbe3WnU90xGMCrZlrdujMl6TUJHDoxhMMMtOVBi6C17f4uFD6qB7tzvXzD0ls/4GEsg5ptsP94Jfl+OhDs8XA+QXS8f75I9iZKxJ9y6iZwpo2DuLl8/3xyaqLz6wcsik= Received: by 10.35.125.16 with SMTP id c16mr3487495pyn.1162565484387; Fri, 03 Nov 2006 06:51:24 -0800 (PST) Received: by 10.35.121.10 with HTTP; Fri, 3 Nov 2006 06:51:24 -0800 (PST) Message-ID: <340a29540611030651h5eddd9dex4631163c5b9d2c02@mail.gmail.com> Date: Fri, 3 Nov 2006 07:51:24 -0700 From: "Andrew Falanga" To: "Vince Hoffman" , freebsd-questions In-Reply-To: <454A8C3C.60106@unsane.co.uk> MIME-Version: 1.0 References: <340a29540611020711v50a08a2ge07490323cf37af0@mail.gmail.com> <20061102152746.D0ACB43D72@mx1.FreeBSD.org> <340a29540611021048i2e113fbcj4ac2ff7d4d4fa245@mail.gmail.com> <454A8C3C.60106@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Change an IP address without a reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 14:51:26 -0000 On 11/2/06, Vince Hoffman wrote: > > You have the order wrong > > root@crayfish > (00:22:37 <~>) 0 # ifconfig xl0 inet6 2001:470:1f01:244::30 > root@crayfish > (00:23:27 <~>) 0 # ifconfig xl0 > xl0: flags=8843 mtu 1500 > options=9 > inet6 fe80::211:d8ff:fe9f:531c%xl0 prefixlen 64 scopeid 0x1 > inet 10.0.0.100 netmask 0xffffff80 broadcast 10.0.0.127 > inet6 2001:470:1f01:244::30 prefixlen 64 > ether 00:11:d8:9f:53:1c > media: Ethernet autoselect (100baseTX ) > status: active > root@crayfish > (00:23:32 <~>) 0 # ifconfig xl0 inet6 2001:470:1f01:244::30 remove > root@crayfish > (00:23:34 <~>) 0 # ifconfig xl0 > xl0: flags=8843 mtu 1500 > options=9 > inet6 fe80::211:d8ff:fe9f:531c%xl0 prefixlen 64 scopeid 0x1 > inet 10.0.0.100 netmask 0xffffff80 broadcast 10.0.0.127 > ether 00:11:d8:9f:53:1c > media: Ethernet autoselect (100baseTX ) > status: active > > Interesting! Thanks much for this. I tried and it works. Interesting that for IPv4 this command works: ifconfig delete but for IPv6 one must do: ifconfig inet6 remove Thanks again. Andy