Date: Thu, 10 Mar 2011 21:19:00 -0800 From: Carl Johnson <carlj@peak.org> To: freebsd-stable@freebsd.org Subject: Re: if_bridge and IPv6 Message-ID: <87oc5i5j5n.fsf@oak.localnet> In-Reply-To: <FAF0B5E9-029E-4345-BFC4-98C0DFF505CC@gsoft.com.au> (Daniel O'Connor's message of "Fri, 11 Mar 2011 11:02:35 %2B1030") References: <FAF0B5E9-029E-4345-BFC4-98C0DFF505CC@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
"Daniel O'Connor" <doconnor@gsoft.com.au> writes: > Hi, I have a bridge interface with em0 and tap0/tap1 on it to run a > layer 2 VPN. > > I find that em0 gets an IPv6 link local address but bridge0 does not > (via net.inet6.ip6.auto_linklocal). I did some googling and it seems > that this is a deliberate policy decision, and unfortunately you can't > change it on a per interface basis :) > > It would be nice if I could suppress automatic link local for em0 and > enable it on bridge0 rather than having to delete & add them manually. > > Also, does anyone have a code snippet handy for generating link local > addresses? My google-fu was unable to find a description.. You should be able to do something like the following: ifconfig bridge0 inet6 fe80:: eui64 add That assumes that it has a MAC address already assigned. I can't help if it doesn't have one yet. -- Carl Johnson carlj@peak.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87oc5i5j5n.fsf>