From owner-freebsd-net@FreeBSD.ORG Fri Jul 24 09:02:55 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC987106566C for ; Fri, 24 Jul 2009 09:02:55 +0000 (UTC) (envelope-from lapo@lapo.it) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with SMTP id 1B7A38FC0A for ; Fri, 24 Jul 2009 09:02:54 +0000 (UTC) (envelope-from lapo@lapo.it) Received: (qmail 68386 invoked from network); 24 Jul 2009 08:36:14 -0000 Received: from unknown (HELO lapo.andxor.it) (192.168.2.22) by andxor.it with SMTP; 24 Jul 2009 08:36:14 -0000 Message-ID: <4A69727E.2010206@lapo.it> Date: Fri, 24 Jul 2009 10:36:14 +0200 From: Lapo Luchini User-Agent: Thunderbird 2.0.0.22 (X11/20090722) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=C8F252FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: rea-fbsd@codelabs.ru Subject: error creating stf1 [Was: using 6to4 on two different IPv4 addresses] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2009 09:02:56 -0000 Lapo Luchini wrote: > % sudo ifconfig stf1 create > ifconfig: SIOCIFCREATE: Invalid argument > > I guess the kernel is hardwired to support only one stf interface? > > "man stf" states: > Each stf interface is created at runtime using interface cloning. > This is most easily done with the ifconfig(8) create command or > using the cloned_interfaces variable in rc.conf(5). I think this is either a bug or a documentation bug: if it's supposed to be able to create only one interface, then "Each stf interface is created" should probably be changed to something like "The one and only stf interface is created" ... else "ifconfig create" should work as stated. Mhh, Eygene Ryabinkin in message http://lists.freebsd.org/pipermail/freebsd-net/2009-July/022456.html states that "stf(4) is essentially a singleton interface", in that case I guess it's the man that should be patched (to remove that "each") and maybe support for aliases should be added. -- Lapo Luchini - http://lapo.it/