From owner-freebsd-net@FreeBSD.ORG Sat Mar 31 18:18:12 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E34E316A404 for ; Sat, 31 Mar 2007 18:18:12 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.freebsd.org (Postfix) with ESMTP id B54DB13C45D for ; Sat, 31 Mar 2007 18:18:12 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from [192.168.2.119] (hornet.kitchenlab.org [64.142.31.105]) (authenticated bits=0) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l2VII8oA032766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 31 Mar 2007 11:18:08 -0700 Message-ID: <460EA5D9.2020908@freebsd.org> Date: Sat, 31 Mar 2007 11:18:01 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: pluknet References: <20070315163737.38462B8CA@jj.bangj.com> In-Reply-To: X-Enigmail-Version: 0.94.3.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFC6039032F7F64753E031CCD" Cc: freebsd-net@freebsd.org, Tom Pusateri Subject: Re: IPv6 bridge0 link-local address 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: Sat, 31 Mar 2007 18:18:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFC6039032F7F64753E031CCD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If memory serves me right, pluknet wrote: > On 15/03/07, Tom Pusateri wrote: >> I've configured a bridge0 interface that bridges fxp0 and em0. >> I have a global IPv6 address configured on it and IPv6 works fine. >> >> # ifconfig bridge0 >> bridge0: flags=3D8043 mtu 1500 >> inet x.x.x.82 netmask 0xfffffff0 broadcast x.x.x.95 >> inet6 2001:4877:1777:1001::1 prefixlen 64 >> ether ac:de:48:49:71:91 >> priority 32768 hellotime 2 fwddelay 15 maxage 20 >> member: fxp0 flags=3D3 >> member: em0 flags=3D3 > [snip] >=20 > I don't know precisely what's about if_bridge. According to the rfc2373= (App.A) > it should be similar to: fe80::aede:48ff:fe49:7191%bridge0 >=20 > Hmm.. but if you try the `ifconfig bridge0 inet6 eui64` command, you''l= l see: > ifconfig: could not determine link local address Our IPv6 stack explicitly prevents if_bridge(4) interfaces from having link-local addresses. For the rationale behind this, see the commit message for rev. 1.28 of src/sys/netinet6/in6_ifattach.c: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet6/in6_ifattach.c This isn't to say that this decision couldn't be revisited, but that's why things are the way they are now. It looks like it'd be a one-line change to enable this, but it's not clear if this is the right thing to do or not. Bruce. --------------enigFC6039032F7F64753E031CCD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGDqXd2MoxcVugUsMRAgzyAJ4xKVCtsxIyVexs3tFisLPjq4KlJQCeLrT0 1IH8rNZQWijAB8jxKQ6ywmQ= =1KiN -----END PGP SIGNATURE----- --------------enigFC6039032F7F64753E031CCD--