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.. Thanks :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
"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