Date: Sat, 31 Mar 2007 11:18:01 -0700 From: "Bruce A. Mah" <bmah@freebsd.org> To: pluknet <pluknet@gmail.com> Cc: freebsd-net@freebsd.org, Tom Pusateri <pusateri@bangj.com> Subject: Re: IPv6 bridge0 link-local address Message-ID: <460EA5D9.2020908@freebsd.org> In-Reply-To: <a31046fc0703151110s37d454c2s9f79d09710777a3c@mail.gmail.com> References: <20070315163737.38462B8CA@jj.bangj.com> <a31046fc0703151110s37d454c2s9f79d09710777a3c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] If memory serves me right, pluknet wrote: > On 15/03/07, Tom Pusateri <pusateri@bangj.com> 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=8043<UP,BROADCAST,RUNNING,MULTICAST> 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=3<LEARNING,DISCOVER> >> member: em0 flags=3<LEARNING,DISCOVER> > [snip] > > 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 > > Hmm.. but if you try the `ifconfig bridge0 inet6 eui64` command, you''ll 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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGDqXd2MoxcVugUsMRAgzyAJ4xKVCtsxIyVexs3tFisLPjq4KlJQCeLrT0 1IH8rNZQWijAB8jxKQ6ywmQ= =1KiN -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?460EA5D9.2020908>
