|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] slightly less random random macs
Tim Post wrote: Hello all,There's been many posts lately about problems that stem from either duplicate macs, non static macs and other networking issues that would be averted if a mac was specified upon vm creation. I've been using this little function I wrote in my shell scripts that setup dom-u's from a csv file and its worked rather well, lets youcontrol the prefix and characters used in making the mac.As far as I know there is no "standard" mac prefix to denote a virtualnic. I seem to recall that the xen folks requested a mac prefix for virtuals and was awarded "00:16:3e:xx:xx:xx". Anyway here's the snippet / function which is very self explanatory and should work with bash / dash / etc. This can be accomplished with python using only a few lines of code, but bash seems more widely used whencreating back end helpers. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |