Re: IPv6 bridge0 link-local address



If memory serves me right, pluknet wrote:
On 15/03/07, Tom Pusateri <pusateri@xxxxxxxxx> 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: signature.asc
Description: OpenPGP digital signature



Relevant Pages