On Fri, Mar 4, 2011 at 8:07 PM, Christopher Brown <cjbrown...@gmail.com> wrote: > It will always return a MAC address, but in a virtualized environment those > are a fiction and under the control of the VM creator (and hence, not real > physical hardware). > > Since those MAC addrs are only required to be unique within the L2 domain, > two separate "private clouds" in the same organization, routable at L3 but in > separate L2, can have VMs with conflicting MAC addrs. > Admittedly, it's a nit to pick, but who would want to debug that?
Define "L2 domain". Of course, if you consider cases like this, there can *be* no sure-fire way to generate a node-unique number. IP addresses are right out, thanks to local network addresses like 192.168.1.1. There must be millions of machines out there that think their name is 192.168.1.1 in particular. :) MAC address probably gets you as close as you can get without having manually-assigned node IDs, or requiring every node have a domain name registered (yum! expensive! Verisign would love that suggestion!) :) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en