From owner-freebsd-stable@FreeBSD.ORG Fri May 14 09:40:47 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EEA61065674 for ; Fri, 14 May 2010 09:40:47 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id CD3808FC0A for ; Fri, 14 May 2010 09:40:46 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4E9ehUF005479 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 14 May 2010 10:40:43 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BED1A9A.10706@infracaninophile.co.uk> Date: Fri, 14 May 2010 10:40:42 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: ipv6_ifconfig__alias not working 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, 14 May 2010 09:40:47 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/05/2010 10:07:23, Spil Oss wrote: > I'm trying to set ipv6 aliases for my jails in my rc.conf but it > doesn't seem to work as advertised. I have a /48 range assigned to me > (for this example 2001:dead:beef) and am trying to assign ipv6 > addresses to a jail. The jails will all have ipv6 addresses in the > 2001:dead:beef:1 range. > >>From man rc.conf "Aliases should be set as ipv6_ifconfig__alias" > > My bge0 config in /etc/rc.conf: > ifconfig_bge0= > ipv4_addrs_bge0="10.10.2.1/24 10.10.2.2/24 10.10.2.3/24 10.10.2.5/24 > 10.10.2.6/24" > ipv6_ifconfig_bge0_alias0=" > rtadvd_interfaces="wlan0 bge0" > > Additional ipv6 config in /etc/rc.conf > ipv6_enable="YES" > ipv6_gateway_enable="YES" > > The "2001:dead:beef:1::5/64" address is not assigned to bge0. > There must be some stupid mistake I'm making in my config. Is it > perhaps the ifconfig_bge0 line that screws up my config? Hmmm... for consistencies' sake you should probably be using: ipv6_ifconfig_bge0="2001:dead:beef:2222::1/64" ipv6_ifconfig_bge0_alias0="2001:dead:beef:1::5/64" or, to make things absolutely parallel to your IPv4 settings: ipv6_addrs_bge0="2001:dead:beef:2222::1/64 2001:dead:beef:1::5/64" Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvtGpoACgkQ8Mjk52CukIyauACeIVpsDf2VfGT0IpJXf0DQ2wLc ROQAoIomIPblYcDCtYDU1pjDakzHMbWN =OwJ5 -----END PGP SIGNATURE-----