From owner-freebsd-net@FreeBSD.ORG Tue Mar 3 17:51:38 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 361C3106564A for ; Tue, 3 Mar 2009 17:51:38 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E66308FC12 for ; Tue, 3 Mar 2009 17:51:37 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LeYmE-0005fU-BX for freebsd-net@freebsd.org; Tue, 03 Mar 2009 17:51:34 +0000 Received: from firewall.andxor.it ([195.223.2.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Mar 2009 17:51:34 +0000 Received: from lapo by firewall.andxor.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Mar 2009 17:51:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Lapo Luchini Date: Tue, 03 Mar 2009 18:51:22 +0100 Lines: 23 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: firewall.andxor.it User-Agent: Thunderbird 2.0.0.19 (X11/20090114) X-Enigmail-Version: 0.95.7 OpenPGP: id=C8F252FB Sender: news Subject: using 6to4 on two different IPv4 addresses (alias on stf0 or stf1?) 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: Tue, 03 Mar 2009 17:51:38 -0000 I'm renumbering a server of mine in order to ease migration and am setting most its services to listen to both the "old" and the "new" IPv4 address. I have a little more problems with the 6to4-serviced IPv6 address: adding an alias to stf0 doesn't seem to work, probably because the internal sanity checks use only the first address and don't know about the alias I added (thus this could probably be solved closing kern/123858 but I didn't yet try that); I then tried (unsuccesfully) to have two different 6to4 interfaces, which should IMHO work: % sudo ifconfig stf1 create ifconfig: SIOCIFCREATE: Invalid argument I guess the kernel is hardwired to support only one stf interface? BTW: that server is a 6-STABLE. "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). -- Lapo Luchini - http://lapo.it/