[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [patch 3/5] xen: xm/create mac selection



On Mon, Jan 31, 2005 at 11:07:16PM -0000, Ian Pratt wrote:
> 
> Please can you explain how the randomly generated MACs are kept
> different -- I was expecting to see the vif number being folded into the
> random MAC generation.
> 
> (I'm not saying what you've done doesn't work, I'd just like an
> explanation)

It doesn't prevent different domains from getting the same random MACs,
only within a domain. It keeps a list of generated MACs as it processes
the vifs, and loops until one is generated that hasn't been used yet.
For some reason i'd usually get several copies of the same MAC without
this code when creating multiple vifs within one domain.


J

-- 
Jody Belka
knew (at) pimb (dot) org


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.