Hi!

> > does anyone know how the system selects the MAC/ether adress of a
> > newly-created tap0 device ?
> >
> > ifconfig tap0 create
[...]
> > How is that selected ?

> > We had a case where two devices selected the same ether/MAC...
> 
> tap MACs are derived from the hostid (/etc/hostid) -- you generally
> end up with the same MAC in one of two scenarios:

Thanks! I've submitted two PRs to help others find this info in
the future.

augment if_tuntap man page on source of autogenerated MAC (/etc/hostid)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255294

man page for /etc/hostid and pointer in sethostid/gethostid(3) to /etc/hostid
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255293

If I find the time, I'll try to submit the necessary patches.

-- 
p...@freebsd.org         +49 171 3101372                  Now what ?
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to