svn commit: r225380 - head/sys/net

Fabian Keil freebsd-listen at fabiankeil.de
Sun Sep 18 13:45:06 UTC 2011


Andrew Thompson <thompsa at FreeBSD.org> wrote:

> Author: thompsa
> Date: Sun Sep  4 22:06:32 2011
> New Revision: 225380
> URL: http://svn.freebsd.org/changeset/base/225380
> 
> Log:
>   On the first loop for generating a bridge MAC address use the local
>   hostid, this gives a good chance of keeping the same address over
>   reboots. This is intended to help IPV6 and similar which generate
>   their addresses from the mac.
>   
>   PR:		kern/160300
>   Submitted by:	mdodd
>   Approved by:	re (kib)
> 
> Modified:
>   head/sys/net/if_bridge.c

Are there other places where the system advertises the hostid on the
network? I always assumed it to be a somewhat private identifier,
so I'm a bit surprised by this commit.

BTW, the man page still claims that the MAC address is chosen randomly.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110918/e352390d/signature.pgp


More information about the freebsd-current mailing list