From owner-freebsd-questions@FreeBSD.ORG Fri Nov 3 00:24:45 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 3103716A403 for ; Fri, 3 Nov 2006 00:24:45 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crayfish.unsane.co.uk (badger.unsane.co.uk [62.140.220.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E5B243D46 for ; Fri, 3 Nov 2006 00:24:44 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from [127.0.0.1] by crayfish.unsane.co.uk with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GfmrE-000Nga-8x; Fri, 03 Nov 2006 00:24:28 +0000 Message-ID: <454A8C3C.60106@unsane.co.uk> Date: Fri, 03 Nov 2006 00:24:28 +0000 From: Vince Hoffman User-Agent: Thunderbird 1.5.0.7 (X11/20061024) MIME-Version: 1.0 To: Andrew Falanga References: <340a29540611020711v50a08a2ge07490323cf37af0@mail.gmail.com> <20061102152746.D0ACB43D72@mx1.FreeBSD.org> <340a29540611021048i2e113fbcj4ac2ff7d4d4fa245@mail.gmail.com> In-Reply-To: <340a29540611021048i2e113fbcj4ac2ff7d4d4fa245@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jhary@unsane.co.uk X-SA-Exim-Scanned: No (on crayfish.unsane.co.uk); SAEximRunCond expanded to false Cc: Steve Bertrand , freebsd-questions 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 00:24:45 -0000 Andrew Falanga wrote: > On 11/2/06, Steve Bertrand wrote: >> >> mybox# ifconfig >> rl0: flags=8843 mtu 1500 >> options=8 >> inet 208.70.104.3 netmask 0xffffff80 broadcast 208.70.104.127 >> inet 192.168.250.1 netmask 0xffffff00 broadcast 192.168.250.255 >> >> ...now, >> >> mybox# ifconfig rl0 delete 192.168.250.1 >> >> ...and finally, >> >> newmarlo# ifconfig >> rl0: flags=8843 mtu 1500 >> options=8 >> inet 208.70.104.3 netmask 0xffffff80 broadcast 208.70.104.127 >> > > This seems to work for IPv4 address as I tried the above. I added the > address and then deleted it. However, when I attempt to delete the IPv6 > address I've given to the interface, I continually get "bad value." For > example, > > ifconfig sis0 inet6 fec0:1:1:1::2/64 > > ifconfig sis0 delete fec0:1:1:1::2 > > Which returns: > > ifconfig: fec0:1:1:1::2: Bad value 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 > > I've even tried expressing all 8 "blocks" of the IPv6 address. Could > this > be a defect in how ifconfig handles IPv6 addresses? If so, whom do I > contact to look into it? > > Andy > _______________________________________________ > 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"