From owner-freebsd-stable@FreeBSD.ORG Fri May 14 10:30:29 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 35D181065670 for ; Fri, 14 May 2010 10:30:29 +0000 (UTC) (envelope-from spil.oss@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3EF8FC13 for ; Fri, 14 May 2010 10:30:28 +0000 (UTC) Received: by pxi20 with SMTP id 20so1454252pxi.13 for ; Fri, 14 May 2010 03:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=sSUG478rgi8LBTOHeFOfSqPaUVDPtnTFyt/32IzulTc=; b=ALTsvrIfZUTX4iLWqChQmsTwZY/SAif86yPlqQFHWGY2T9YdSkAhCE4ILf4Or9mWTY VeAvz08OdfDexcJ0AxC/fHJ9KQ6eIPvGq6e3+z8xj05nbtJ8vRnglKAh05Ystzgo16mI fWvmxBjZW3YJ1XcYDaUASr9TskPcbncOfEWnw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=S4p9RIuYrowZD9cj3491SaqKaTBWz6UlQH3X9yvIXUT0pAzQ/AriupZDbwt7BvzE52 WJU/1hXZvpZdv0mDA4Fc8/7BhwqzVTPVDtRvMl5vwq/TS2vamNxm6Xaqeoww+VUVaI/x /iuHls1nF/J7pOoCfLyAVwPGLddM7WC0FfqiM= MIME-Version: 1.0 Received: by 10.141.91.19 with SMTP id t19mr659652rvl.104.1273833028450; Fri, 14 May 2010 03:30:28 -0700 (PDT) Received: by 10.140.136.18 with HTTP; Fri, 14 May 2010 03:30:28 -0700 (PDT) In-Reply-To: <4BED1A9A.10706@infracaninophile.co.uk> References: <4BED1A9A.10706@infracaninophile.co.uk> Date: Fri, 14 May 2010 12:30:28 +0200 Message-ID: From: Spil Oss To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: ipv6_ifconfig__alias not working X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: spil.oss@gmail.com 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 10:30:29 -0000 Thanks for the hints Matthew! Cleaning up my config I found the culprit..... Copied ipv6_network_interfaces=3D"gif0" from some guide which off course defeated all my efforts to configure ipv6 on the other interfaces. The ipv6_addrs_ knob doesn't seem to work (this is 8.0-p2), can't find any references to it in the subr files either. Saw that there's quite a bit of changes in -head though.... Kind regards, Spil. On Fri, May 14, 2010 at 11:40 AM, Matthew Seaman wrote: > -----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__ali= as" >> >> My bge0 config in /etc/rc.conf: >> ifconfig_bge0=3D >> ipv4_addrs_bge0=3D"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=3D" >> rtadvd_interfaces=3D"wlan0 bge0" >> >> Additional ipv6 config in /etc/rc.conf >> ipv6_enable=3D"YES" >> ipv6_gateway_enable=3D"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=3D"2001:dead:beef:2222::1/64" > ipv6_ifconfig_bge0_alias0=3D"2001:dead:beef:1::5/64" > > or, to make things absolutely parallel to your IPv4 settings: > > ipv6_addrs_bge0=3D"2001:dead:beef:2222::1/64 2001:dead:beef:1::5/64" > > =A0 =A0 =A0 =A0Cheers, > > =A0 =A0 =A0 =A0Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 Pri= ory Courtyard > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkvtGpoACgkQ8Mjk52CukIyauACeIVpsDf2VfGT0IpJXf0DQ2wLc > ROQAoIomIPblYcDCtYDU1pjDakzHMbWN > =3DOwJ5 > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >