From owner-freebsd-stable@FreeBSD.ORG Fri Jun 1 10:12:04 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E74C1065676 for ; Fri, 1 Jun 2012 10:12:04 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id 522008FC1E for ; Fri, 1 Jun 2012 10:12:04 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 2E13525D3887; Fri, 1 Jun 2012 10:12:03 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 26007BE82F0; Fri, 1 Jun 2012 10:12:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 6pLzw-uEiz5q; Fri, 1 Jun 2012 10:12:01 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 06923BE82EF; Fri, 1 Jun 2012 10:11:59 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: <21cacc98d48babdb91db692d86ab4775@chef-ingenieur.de> Date: Fri, 1 Jun 2012 10:11:58 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <21cacc98d48babdb91db692d86ab4775@chef-ingenieur.de> To: Thomas Krause X-Mailer: Apple Mail (2.1084) Cc: freebsd-stable@freebsd.org Subject: Re: Config ipv4 and ipv6 aliases X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 10:12:04 -0000 On 1. Jun 2012, at 09:29 , Thomas Krause wrote: > Hi, >=20 > (I'm using FreeBSD 9.0-REL). >=20 > ifconfig_em0_ipv6_alias0 doesn't work. I've to use > ifconfig_em0_alias0 for both ipv4 and ipv6. > This is not consequent. It is actually a lot more consistent now that way than it was ever = before. The reason the "primary" entries are still different is that "DHCP" for = IPv4 etc is special magic as is some automatic handling depending on = ifconfig_IF_ipv6 is there or not to make your life easier. At least, as you can guess, I it this way a lot better. The rc.conf man = pages has a couple of rough edges still but... > My working config > looks like this: >=20 > ifconfig_em0=3D"inet 192.168.100.50/28" > ifconfig_em0_ipv6=3D"inet6 2a00:abcd:0:405::2/64" >=20 > ifconfig_em0_alias0=3D"inet 192.168.100.51/32" > ifconfig_em0_alias1=3D"inet6 2a00:abcd:0:405::3/64" >=20 > defaultrouter=3D"192.168.100.49" > ipv6_defaultrouter=3D"2a00:abcd:0:405::1" >=20 > Please correct me, if there is a better solution. --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do!